/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #38761d; /* Dark Olive Green */
    --secondary-color: #6aa84f; /* Lighter Olive Green */
    --accent-color: #f1c232; /* Yellow/Gold for accents */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #f2f7f2; /* NEW: Very Pale Olive Tint for overall site background */
    --bg-white: #ffffff; /* Keeping white for cards and nav for contrast */
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Global Reset and Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light); /* Now uses the pale olive tint */
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

/* --- Navigation Bar --- */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: all 0.3s ease-in-out;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(56, 118, 29, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106, 168, 79, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* --- Hero Section (Home Page) --- */
.hero {
    /* Uses the lighter olive color */
    background-color: var(--secondary-color); 
    background-image: none;
    background-size: cover;
    background-position: center;
    color: var(--text-light); /* Light text for high contrast on the olive green */
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); 
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Specific button styles for the hero section to ensure contrast */
.hero .btn-primary {
    background-color: var(--primary-color); /* Darker green for contrast */
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.hero .btn-secondary {
    background-color: var(--bg-white); /* White background */
    color: var(--primary-color); /* Dark green text/border */
    border: 2px solid var(--primary-color);
}

.hero .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* --- Section Styling (General) --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-title span {
    display: block;
    font-size: 1em;
    color: var(--accent-color);
    margin-bottom: 5px;
}

/* --- Features/Services Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card i {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.card h3 {
    color: var(--primary-color);
}

/* --- About Page Specific --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
}

.vision-mission-grid {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.vm-box {
    flex: 1;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    border-top: 5px solid var(--accent-color);
    background-color: var(--bg-white);
}

.vm-box h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* --- Services Page Specific --- */
.service-item {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
    border-left: 5px solid var(--secondary-color);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-item-alt {
    border-left: 5px solid var(--accent-color);
}


/* --- Contact Page Specific --- */
.contact-grid {
    /* Now it's just a single column. */
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 40px;
    max-width: 800px;
    margin: 0 auto; 
}

.contact-info-card {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
}

.contact-info-card h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5em;
    margin-right: 15px;
}

/* --- Gallery Page Specific --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* --- Footer --- */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

.footer p {
    margin: 0;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: var(--bg-light);
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* --- Responsiveness (Mobile First) --- */

/* Tablet and Mobile adjustments */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .vision-mission-grid {
        flex-direction: column;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-light);
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .nav-links a::after {
        display: none;
    }
    
    .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);
    }
    
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5em;
    }
}