/* ==================== GLOBAL STYLES & VARIABLES ==================== */
:root {
    --primary-green: #008060;
    --primary-green-dark: #006a4e;
    --light-green-bg: #f0f7f5;
    --dark-text: #2c3e50;
    --light-text: #5f6c7b;
    --border-color: #e0e0e0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background-color: #ffffff; color: var(--dark-text); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.page-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ==================== HEADER & NAVIGATION ==================== */
.page-header {
    background-color: #fff; /* White background for the entire header */
    position: static;
    width: auto;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--border-color);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 200px;
}
.nav-logo img {
    height: 200px; /* Adjusted logo size */
    width: auto;
}
.nav-menu { display: flex; gap: 1rem; align-items: center; }
.nav-link {
    font-weight: 600;
    color: var(--dark-text); /* Black font for navigation links */
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
}
.nav-link.active, .nav-link:hover {
    background-color: var(--light-green-bg); /* Light highlight on hover */
    color: var(--primary-green);
}
.nav-link .fa-chevron-down { font-size: 0.7em; margin-left: 0.3rem; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background-color: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 0.5rem 0; min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s; z-index: 100; }
.dropdown-menu a { display: block; padding: 0.75rem 1.5rem; font-weight: 500; }
.dropdown-menu a:hover { background-color: var(--light-green-bg); }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 100;
    max-height: 250px; /* Add this line to limit the height */
    overflow-y: auto;   /* Add this line to enable vertical scrolling */
}

.hamburger { display: none; cursor: pointer; }
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-text); /* Black hamburger icon */
    transition: all 0.3s ease-in-out;
}

/* ==================== MAIN CONTENT & SECTIONS ==================== */
main { padding-top: 0; }
.page-hero {
    background: linear-gradient(rgba(0, 90, 60, 0.8), rgba(0, 45, 30, 0.9)), url('https://placehold.co/1920x800/cccccc/cccccc?text=') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}
.page-hero h1 { font-size: 2.8rem; font-weight: 700; }

/* Other sections */
section { padding: 4rem 0; }
section:nth-of-type(odd) { background-color: var(--light-green-bg); }
h2 { text-align: center; font-size: 2.2rem; font-weight: 600; margin-bottom: 2.5rem; }

/* ==================== FOOTER ==================== */
.page-footer { text-align: center; padding: 2rem; border-top: 1px solid var(--border-color); color: var(--light-text); font-size: 0.9rem; }
/* Find this existing rule */
.hero-title-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* And add one new line to it */
.hero-title-container {
    display: flex;
    flex-direction: column; /* Add this line */
    align-items: center;
    gap: 1rem; /* Adjusted gap for vertical stacking */
}
/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .nav-menu { position: absolute; left: -100%; top: 80px; flex-direction: column; background-color: #fff; width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.1); padding-bottom: 1rem; border-top: 1px solid var(--border-color); z-index: 1050;}
    .nav-menu.active { left: 0; }
    .nav-item { margin: 1rem 0; width: 100%; 
    /* --- Add these new rules for the "X" transformation --- */

.hamburger.active .bar:nth-child(2) {
    /* Fades out the middle bar */
    opacity: 0; 
}

.hamburger.active .bar:nth-child(1) {
    /* Rotates the top bar down and into position */
    transform: translateY(8px) rotate(45deg); 
}

.hamburger.active .bar:nth-child(3) {
    /* Rotates the bottom bar up and into position */
    transform: translateY(-8px) rotate(-45deg); 
}
/* Make sure this rule in your CSS has the 'transition' line */
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-text);
    /* This line is crucial for the smooth animation */
    transition: all 0.3s ease-in-out; 
}
    }
    /* Find this in your style.css file */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1100; /* Add this line */
}
}
/* ==================== ANIMATIONS ==================== */

/* Page Load Fade-In Animation */
@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeInPage 0.7s ease-in-out;
}
/* On-Scroll Fade-Up Animation */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}
  /* ==================== INTRO VIDEO SECTION ==================== */
.intro-video-section {
    padding: 4rem 0;
    background-color: var(--light-green-bg);
}

.video-wrapper {
    max-width: 800px; /* You can adjust this width */
    margin: 0 auto;   
    border-radius: 12px;
    overflow: hidden; 
    box-shadow: var(--shadow);
    line-height: 0; /* Helps remove any extra space */
}

.video-wrapper video {
    width: 100%; /* Make the video responsive */
    height: auto; /* Let the height adjust automatically */
    border: 0;
}


/* ==================== FOOTER ==================== */
.page-footer {
    background-color: var(--dark-text, #2c3e50);
    color: #fff;
    padding-top: 3rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}
.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-green, #008060);
}
.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}
.footer-tagline {
    font-style: italic;
    opacity: 0.8;
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column li {
    margin-bottom: 0.8rem;
}
.footer-column a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.footer-column a:hover {
    opacity: 1;
}
.footer-column p {
    opacity: 0.8;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}
.footer-column .fa-solid, .footer-column .fab {
    font-size: 1.1rem;
    width: 20px;
}
.footer-column .fa-brands {
    font-size: 1.1rem;
    width: 20px;
}
.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}
/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    /* ... existing rules for tablets ... */
}
