/* --- Google Font & Global Variables --- */
@import url('https://fonts.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #2c5b3b; /* Deep Forest Green */
    --secondary-color: #8b4513; /* Earthy Brown */
    --accent-color: #f0a500; /* Honey Gold */
    --text-color: #333;
    --light-bg-color: #f9f9f9;
    --white-color: #fff;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* --- General Styling & Utilities --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.page-section {
    /* Adjusted padding to start content cleanly below the banner */
    padding: 2rem 0 4rem; 
}

.page-section.bg-light {
    background-color: var(--light-bg-color);
}

/* --------------------------------------------------------------------------
| PAGE BANNER/HEADER STYLES (FIXED IMAGE ALIGNMENT)
|--------------------------------------------------------------------------
*/
.page-header-banner {
    background-color: #6a6a6a;
    padding: 80px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden; 
}

.page-header-banner .page-title {
    font-size: 3rem;
    color: var(--white-color);
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    padding: 0 20px;
}

.header-photo-container {
    width: 100%;
    max-width: 1000px;
    height: 450px;
    overflow: hidden;
    position: relative;
    margin-bottom: -50px; 
}

.header-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    min-width: 100%;
}


/* --- Dashboard / Header --- */
.dashboard {
    background: var(--white-color);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky; 
    top: 0;
    width: 100%;
    z-index: 1000;
}
.dashboard .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}
.logo-img {
    height: 90px;
    margin-right: 10px;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

/* --- Desktop Navigation (Default State) --- */
.main-nav {
    display: block; 
}
.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li {
    position: relative;
}
.nav-links a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--accent-color);
}

/* Dropdown Icon Styling */
.dropdown-icon {
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease; 
}

/* Dropdown Content Styling (Desktop) */
.dropdown-content {
    display: none; 
    position: absolute; 
    background-color: var(--white-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    list-style: none;
    z-index: 1002;
    border-radius: 4px; 
    padding: 5px 0; 
}
.dropdown-content li a {
    padding: 10px 16px; 
    white-space: nowrap;
    font-weight: 400; 
}
.dropdown-content li a:hover {
    background-color: var(--light-bg-color); 
}


/* UNIVERSAL CLICK LOGIC (Used for Mobile) */
.dropdown.active .dropdown-content {
    display: block;
}

/* Visual cue: Rotate icon when active */
.dropdown.active > a .dropdown-icon {
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
| DESKTOP DROPDOWN HOVER FIX (min-width: 769px)
|--------------------------------------------------------------------------
*/
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}


.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
}

/* --- Social Icons in Header (Top Right) --- */
.header-social-icons {
    position: absolute;
    top: 5px;
    right: 20px;
    z-index: 1001;
    padding: 0.5rem 0;
}

.header-social-icons a {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 0.4rem;
    transition: color 0.3s ease;
}

.header-social-icons a:hover {
    color: var(--accent-color);
}

/* --- Hero Section & Title --- */
.hero {
    min-height: 65vh; 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    position: relative;
}
.hero-overlay {
    position: relative;
    width: 100%;
    min-height: 65vh;
    background-color: rgba(0, 0, 0, 0.55);
    padding-top: 50px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes content and marquee apart */
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem; 
    color: var(--white-color);
    z-index: 1;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: 40px; 
    margin-top: 0; 
}

/* --------------------------------------------------------------------------
| HERO MARQUEE STYLES (Full Width, Bottom, Increased Size)
|--------------------------------------------------------------------------
*/

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: auto;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
}

.hero .marquee-content {
    display: flex;
    white-space: nowrap;
    /* *** INCREASED SIZE: 150px height for desktop view *** */
    height: 100; 
    align-items: center;
    animation: hero-marquee-scroll 40s linear infinite;
}

.hero .marquee-content img {
    /* CRITICAL: Fill the height of the content strip (150px) */
    height: 100%; 
    width: auto;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    margin: 0 10px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}


/* --------------------------------------------------------------------------
| END HERO MARQUEE STYLES
|--------------------------------------------------------------------------
*/

.vmo-section {
    display: flex;
    gap: 2rem;
    text-align: center;
}
.vmo-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex: 1;
}
.vmo-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}
.gallery-grid, .focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.focus-card {
    background: var(--light-bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.focus-image-container {
    width: 100%;
    height: 200px; 
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 6px;
}
.focus-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


.site-footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 2.5rem 0;
    text-align: center;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}
.footer-heading {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    line-height: 2;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.footer-links li a:hover {
    color: var(--accent-color);
}
.footer-col p, .footer-col a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}
.site-footer .social-icons a {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}
.site-footer .social-icons a:hover {
    color: var(--accent-color);
}
.footer-bottom {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    aspect-ratio: 1 / 1; 
}
.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.4s ease-in-out;
    display: block;
}
.gallery-item:hover img {
    transform: scale(1.1); 
}
.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 91, 59, 0.7); 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; 
    transition: opacity 0.4s ease-in-out;
    z-index: 5; 
}
.gallery-item:hover .gallery-item-overlay {
    opacity: 1; 
}
.gallery-item-overlay i {
    color: var(--white-color);
    font-size: 3rem;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-item-overlay i {
    transform: scale(1);
}
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 3rem;
    align-items: flex-start; 
    margin-top: 2rem;
}
.contact-form-area {
    padding: 2.5rem;
    background: var(--light-bg-color);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.contact-form-area h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.contact-form-area form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}
.contact-form-area form input[type="text"],
.contact-form-area form input[type="email"],
.contact-form-area form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.contact-form-area form input:focus,
.contact-form-area form textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}
.contact-form-area form textarea {
    resize: vertical;
    min-height: 150px;
}
.btn-submit {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}
.btn-submit:hover {
    background-color: var(--secondary-color);
}
.contact-details-area {
    padding: 2rem;
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.contact-details-area h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.contact-details-area p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.contact-details-area i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 10px;
}
.map-embed {
    margin-top: 2rem;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.map-embed iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* --------------------------------------------------------------------------
| OUR VALUED PARTNERS MARQUEE STYLES 
|--------------------------------------------------------------------------
*/
.partners-marquee-wrapper {
    overflow: hidden; 
    padding: 30px 0;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.partners-marquee-content {
    display: flex;
    align-items: center; 
    white-space: nowrap;
    height: 100px; 
    animation: marquee-scroll 15s linear infinite; 
}

.partner-logo-container {
    height: 100%; 
    display: flex;
    justify-content: center;
    align-items: center; 
    margin: 0 100px; 
    flex-shrink: 0; 
}

.partners-marquee-content img {
    max-height: 80%; 
    width: auto;
    object-fit: contain; 
    opacity: 0.9;
    transition: all 0.3s ease;
}

.partners-marquee-content img:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
| MARQUEE ANIMATION DEFINITION
|--------------------------------------------------------------------------
*/

@keyframes marquee-scroll {
    from { 
        transform: translateX(0);
    }
    to { 
        transform: translateX(-50%); 
    } 
}

@keyframes hero-marquee-scroll {
    from { 
        transform: translateX(0);
    }
    to { 
        transform: translateX(-50%); 
    } 
}

/* Hide header social icons on tablets */
@media (max-width: 992px) {
    .header-social-icons {
        display: none;
    }
}

@media (max-width: 768px) {
    /* --- GENERAL MOBILE STYLES --- */
    .logo-text {
        font-size: 1.2rem;
    }
    .vmo-section, .focus-grid, .gallery-grid {
        grid-template-columns: 1fr; 
    }
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr; 
        text-align: center;
    }
    .contact-content {
        grid-template-columns: 1fr; 
        gap: 2rem;
    }
    
    /* 1. Mobile Toggle Button - SHOW */
    .mobile-nav-toggle {
        display: block;
        color: var(--primary-color);
        z-index: 1005;
    }

    /* 2. Mobile Menu Container - HIDDEN BY DEFAULT */
    .main-nav {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        overflow: hidden; 
        z-index: 999;
        box-shadow: var(--shadow);
    }

    /* 3. Open state - SHOW (Toggled by JS adding .nav-visible) */
    .main-nav.nav-visible {
        display: block; 
        border-top: 1px solid #eee;
    }

    /* 4. Mobile link buttons */
    .nav-links {
        flex-direction: column; 
        align-items: flex-start;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    .nav-links li {
        width: 100%;
        text-align: left;
        margin-bottom: 0; 
    }
    .nav-links a {
        padding: 15px 20px; 
        font-size: 1.1rem;
        border-bottom: 1px solid var(--light-bg-color);
        color: var(--text-color); 
    }
    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* 5. Mobile Dropdown Sub-menu Styling (Stacks vertically) */
    .dropdown-content {
        position: static; 
        box-shadow: none;
        background-color: var(--light-bg-color);
        padding-left: 20px;
        width: 100%;
        border-radius: 0;
    }
    .dropdown-content li a {
        padding: 10px 30px; 
        color: var(--text-color);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
    }
    .dropdown-content li:last-child a {
        border-bottom: none;
    }

    /* Banner/Header Adjustments for Mobile */
    .page-header-banner {
        padding-top: 50px;
    }

    .page-header-banner .page-title {
        font-size: 2rem;
    }

    .header-photo-container {
        height: 300px;
        margin-bottom: -30px;
    }
    
    /* Marquee Adjustments for Mobile */
    .partners-marquee-content {
        height: 70px; 
    }

    .partner-logo-container {
        margin: 0 20px; 
    }

    /* *** INCREASED SIZE: 80px height for mobile screens *** */
    .hero .marquee-content {
        height: 80px; 
    }
}
