/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #0d2c52;
    /* Deep Royal Blue */
    --secondary-color: #2e7d32;
    /* Nature Green */
    --accent-color: #c5a059;
    /* Muted Gold */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-radius: 8px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-main: 'Roboto Slab', serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: #d8eac4;
    /* Light Green Background */
    overflow-x: hidden;
    line-height: 1.6;
}

.page-container {
    max-width: 1300px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    /* Contains child floats/margins */
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =========================================
   2. TOP HEADER
   ========================================= */
.top-header {
    background-color: #94c044;
    color: var(--white);
    padding: 7px 0;
    font-size: 0.85rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
}

.top-header .dropdown-toggle {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.95;
    transition: opacity 0.3s;
}

.top-header .dropdown-toggle:hover {
    color: var(--white);
    opacity: 1;
}

.top-header .language-select .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    margin-top: 10px;
    font-size: 0.85rem;
}

.top-header .language-select .dropdown-item {
    padding: 8px 16px;
}

.top-header .language-select .dropdown-item:hover {
    background-color: #f0f7e6;
    color: #2e7d32;
    padding-left: 16px;
    /* Disable slide effect for this menu specifically if desired, or keep generic */
}

/* =========================================
   3. MAIN HEADER
   ========================================= */
.main-header {
    background: #c8dfa0;
    padding: 7px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-text p {
    font-size: 1.1rem;
    color: #000;
    margin: 5px 0 0;
}

@media (max-width: 768px) {
    .brand-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .brand-text h1 {
        font-size: 1.4rem;
    }

    .brand-text p {
        font-size: 1rem;
    }
}

/* =========================================
   4. NAVIGATION MENU
   ========================================= */
.navbar {
    background-color: #94c044;
    /* Matches the top header/logo green */
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 3px solid #2e7d32;
}

@media (min-width: 992px) {
    .navbar-collapse {
        width: 100%;
    }

    .navbar-nav {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 0;
        justify-content: space-between;
    }

    .navbar-nav .nav-item {
        flex: 1;
        /* Distribute space evenly */
        border-right: 1px solid #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        /* Anchor for dropdown */
    }

    .navbar-nav .nav-item:first-child {
        border-left: 1px solid #ffffff;
    }

    .navbar-nav .nav-link {
        color: #fff !important;
        font-weight: 700;
        padding: 10px 5px !important;
        /* Reduced side padding, rely on flex */
        text-transform: capitalize;
        font-size: 1rem;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        border-radius: 0;
        margin: 0;
        white-space: nowrap;
        text-align: center;
    }

    /* Remove the old underline effect */
    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active,
    .navbar-nav .show>.nav-link {
        background-color: #ffffff;
        color: #2e7d32 !important;
        box-shadow: none;
    }

    /* Dropdown Fix */
    .dropdown-menu {
        margin-top: 0;
        top: 100%;
        /* Position right at the bottom line of the nav item */
        left: 0;
        min-width: 100%;
        /* Match width of the parent menu item */
        border-radius: 0 0 4px 4px;
        border: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        color: #fff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

.dropdown-menu {
    border: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-top: 0;
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.dropdown-item:hover {
    background-color: #c8de9f;
    color: 000;
    padding-left: 25px;
    /* Subtle slide effect */
    transition: var(--transition);
}

.navbar-toggler {
    border: none;
    padding: 10px 15px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =========================================
   5. SLIDER SECTION
   ========================================= */
.hero-slider .carousel-item {
    height: 60vh;
    min-height: 400px;
    background-color: #000;
}

.hero-slider .carousel-item img {
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    /* Darken slightly for text readability */
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    left: 10%;
    right: 10%;
}

.carousel-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    max-width: 600px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.carousel-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: #f0f0f0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* =========================================
   6. MAIN CONTENT AREA
   ========================================= */
.main-content {
    padding-bottom: 40px;
    /*padding-top: 40px;*/
}

/* News Section */
/* News Section */
.section-title {
    background-color: #94c044;
    /* Green background */
    color: #fff;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    /* Rounded top corners */
    border-bottom: none;
    /* Remove old border */
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title h2 {
    font-size: 1.7rem;
    /* Adjusted for header bar style */
    color: #fff;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title h2::after {
    display: none;
    /* Remove old underline */
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #94c044;
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
    margin-top: -15px;
}

.news-content h3 a {
    color: #007bff;
}

.news-content h3 a:hover {
    color: #000;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

.btn-read-more {
    color: #007bff;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-read-more:hover {
    gap: 8px;
    color: #000;
}

/* Sidebar */
.sidebar {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 3px;
}

.feature-list li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #f8f9fa;
    color: #007bff;
    border-radius: 6px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.feature-list li a:hover {
    background-color: #e8f5e9;
    /* Light green tint */
    color: #000;
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

.feature-list li a i {
    margin-right: 10px;
    color: #000;
}

.sidebar-feature-img {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.btn-cta {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: rgba(107, 193, 255, 1);
    color: var(--white);
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 2px solid rgba(107, 193, 255, 1);
    transition: var(--transition);
}

.btn-cta-one {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #ddd;
    color: #000;
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    transition: var(--transition);
}

.btn-cta:hover {
    background-color: rgba(107, 193, 255, .8);
    color: #fff;
}

.btn-cta-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-cta-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* =========================================
   7. FOOTER SECTION
   ========================================= */
.footer {
    width: 100%;
    color: #fff;
    font-size: 0.9rem;
}

.footer-top {
    background-color: #555555;
    /* Dark Grey */
    padding: 6px 0;
    border-top: none;
    padding-bottom: 0px;
}

.footer h4 {
    color: #000;
    font-size: 1.5rem;
    /* font-weight: 700; */
    margin-bottom: -9px;
}

/* Vertical Footer Links */
.footer-links-vertical {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-vertical li {
    margin-bottom: 10px;
}

.footer-links-vertical li a {
    color: #3b82f6;
    /* Bright Blue link color */
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.footer-links-vertical li a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 12px;
    color: #3b82f6;
    /* Bright Blue text color */
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.contact-list li i {
    width: 25px;
    color: #3b82f6;
    /* Blue icons */
    font-size: 1rem;
}

/* Visitor Simple */
.visitor-simple p {
    color: #fff;
    font-size: 1rem;
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #222;
    /* Black */
    padding: 15px 0;
    font-size: 0.85rem;
    text-align: center;
    border-top: solid 1px;
}

.footer-bottom p {
    margin: 0;
    color: #fff;
}

.footer-bottom .text-success {
    color: #94c044 !important;
    /* Custom green matching theme */
}

/* =========================================
   8. RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 20px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: var(--shadow-lg);
    }

    .hero-slider .carousel-item {
        height: 50vh;
    }

    .carousel-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-slider .carousel-item {
        height: 40vh;
    }

    .carousel-content {
        padding: 15px;
        width: 100%;
    }

    .carousel-caption {
        bottom: 10%;
    }
}

.section-title-one {
    background-color: #94c044;
    color: #fff;
    padding: 1px 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border-bottom: none;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding-top: 9px;
}

h2 {
    font-size: 27px;
    padding-bottom: 7px;
    margin-bottom: 5px;
}

/* More News Button */
.btn-more-news {
    background-color: #94c044;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 10px;
    float: right;
    transition: background-color 0.3s;
}

.btn-more-news:hover {
    background-color: #7aa533;
    color: #fff;
    text-decoration: none;
}

.page-container-one {
    max-width: 1300px;
    margin: 0 auto;
    background-color: #94c044;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    overflow: visible;
}

.footer {
    background-color: #555555;
    color: var(--white);
    padding: 0px 0;
    font-size: 0.85rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
}

.footer-links li a {
    color: #fff;
}

.footer-color {
    color: #94c044;
}
.subpage h3{
        color: #94c044;
    font-size: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}
.subpage h4{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 0px !important;
}
.page-title-area ul{
    display: flex;
    padding-bottom: 30px;
}
.page-title-area ul li a{
    color: #000;
}

.page-title-area{
    /* margin-bottom: 50px; */
    padding-top: 30px;
    background-color: #c8dfa0;
    padding-left: 20px;
}
.contact-info-area{
    padding: 10px;
}
.page-title-area h2{
    font-size: 30px;
    padding-bottom: 0px !important;
    margin-bottom: 5px;
}
.common-btn{
    background-color: #94c044; /* change this color */
    color: #000;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.common-btn:hover{
    background-color: #94c044; /* hover color */
    color: #fff;
}
p {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: justify;
}
.subpage ul li{
    list-style: disc;
    margin-left: 20px;
}
.subpage ul li ul li{
    list-style: disc;
    margin-left: 20px;
}
.section-title{
    margin-top: 20px;
}
.section-title-one{
    margin-top: 20px;
}
h3{
    font-size: 24px;
    margin-bottom: 15px;
}
.footer-bottom p {
    text-align: center;
}
.footer-color a{
    color: #7aa533;
}
.block-item h4{
    font-size: 23px;
    margin-top: 30px;
    margin-left: 10px;
}
.news-meta-item{
    margin-left: 10px;
    margin-top: -26px;
    margin-bottom: 20px;
}
.footer-links{
    display: block;
    margin: 0px;
    text-align: center;
}
.footer-links p{
    display: block;
    padding-top: 15px;
    text-align: center;
}
.footer-links p a{
    padding-top: 15px;
    text-align: center;
    color: #fff;
    text-decoration: underline;
}