/* --- CSS VARIABLES & RESET --- */
:root {
    --primary-green: #2e7d32; /* Deep leaf green */
    --light-green: #4caf50;   /* Bright green for hovers/accents */
    --dark-green: #145218;    /* Footer bottom background */
    --white: #ffffff;
    --off-white: #f9fdf9;     /* Very light green tint background */
    --text-dark: #333333;
    --text-light: #666666;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body { background-color: var(--white); color: var(--text-dark); line-height: 1.6; }

a { text-decoration: none; }


/* --- HEADER / NAVBAR --- */
header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: auto; padding: 15px 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo h1 { color: var(--primary-green); font-size: 24px; font-weight: 700; }
.nav-links { display: flex; list-style: none; align-items: center; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-green); }
.btn-nav { padding: 8px 20px; border-radius: 25px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-order { background: var(--primary-green); color: var(--white); }
.btn-order:hover { background: var(--light-green); }
.btn-contact { border: 2px solid var(--primary-green); color: var(--primary-green); }
.btn-contact:hover { background: var(--primary-green); color: var(--white); }


/* --- HERO SLIDER SECTION --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh; /* Takes up 85% of the screen height */
    overflow: hidden;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth fade effect */
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the area without stretching */
}

/* Dark overlay to make text pop */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Adjust the 0.45 to make it darker/lighter */
    z-index: 1;
}

/* Centered Text over the slider */
.hero-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Puts text above the overlay and images */
    text-align: center;
    color: white;
    width: 80%;
    max-width: 800px;
}

.hero-overlay-content h2 { 
    font-size: 48px; 
    color: white; 
    margin-bottom: 20px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Adds slight shadow to text */
}

.hero-overlay-content p { 
    color: #f0f0f0; 
    font-size: 18px; 
    margin-bottom: 30px; 
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-buttons { 
    display: flex; 
    gap: 20px; 
    justify-content: center; 
}

/* Specific Button Styles for the dark slider background */
.btn-order-slider { 
    background: var(--primary-green); 
    color: white; 
    padding: 14px 35px; 
    border-radius: 5px; 
    font-weight: 600; 
    font-size: 16px;
    transition: 0.3s;
}
.btn-order-slider:hover { background: var(--light-green); }

.btn-contact-slider { 
    background: transparent; 
    color: white; 
    padding: 14px 35px; 
    border: 2px solid white; 
    border-radius: 5px; 
    font-weight: 600; 
    font-size: 16px;
    transition: 0.3s;
}
.btn-contact-slider:hover { background: white; color: var(--primary-green); }

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .hero-slider { height: 70vh; }
    .hero-overlay-content h2 { font-size: 32px; }
    .hero-overlay-content p { font-size: 16px; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .btn-order-slider, .btn-contact-slider { width: 100%; display: block; box-sizing: border-box; }
}

/* --- GENERAL SECTION STYLING (Products, Services, Training) --- */
.section { padding: 70px 20px; }
.section-title { text-align: center; color: var(--primary-green); font-size: 32px; margin-bottom: 50px; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--light-green); margin: 10px auto 0; border-radius: 2px; }

.blocks-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: auto; }
.block { background: var(--white); border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); padding: 25px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; border-bottom: 4px solid transparent; }
.block:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-bottom: 4px solid var(--primary-green); }
.block img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; }
.block h3 { color: var(--primary-green); margin-bottom: 10px; font-size: 22px; }
.block p { color: var(--text-light); font-size: 14px; margin-bottom: 15px; }
.block .btn-readmore { color: var(--primary-green); font-weight: 600; text-decoration: none; font-size: 14px; }

.bg-light { background-color: var(--off-white); }


/* --- INNER PAGE BANNERS --- */
.page-banner { background: var(--primary-green); color: var(--white); padding: 60px 20px; text-align: center; }
.page-banner h2 { font-size: 36px; margin-bottom: 10px; }
.page-banner p { font-size: 16px; color: #e8f5e9; }


/* --- ABOUT US PAGE --- */
.about-container { display: flex; max-width: 1200px; margin: auto; gap: 50px; padding: 60px 20px; align-items: center; }
.about-text { flex: 1; }
.about-text h3 { color: var(--primary-green); font-size: 28px; margin-bottom: 15px; }
.about-text p { color: var(--text-light); margin-bottom: 15px; line-height: 1.8; }
.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto 60px; padding: 0 20px; }
.value-card { background: var(--white); padding: 30px; text-align: center; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border-top: 4px solid var(--primary-green); }
.value-card h4 { color: var(--primary-green); margin: 15px 0 10px; font-size: 20px; }
.value-card p { color: var(--text-light); font-size: 14px; }


/* --- GALLERY PAGE --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 1200px; margin: auto; padding: 60px 20px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 10px; height: 250px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }


/* --- BLOG PAGE --- */
.blog-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1200px; margin: auto; padding: 60px 20px; }
.blog-card { background: var(--white); border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); overflow: hidden; transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-5px); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-content { padding: 25px; }
.blog-date { color: var(--light-green); font-size: 13px; font-weight: 600; margin-bottom: 10px; display: block; }
.blog-content h3 { color: var(--text-dark); font-size: 20px; margin-bottom: 10px; }
.blog-content p { color: var(--text-light); font-size: 14px; margin-bottom: 15px; }
.btn-blog { color: var(--primary-green); text-decoration: none; font-weight: 600; font-size: 14px; }


/* --- FOOTER STYLES --- */
.footer { background: #1b5e20; color: var(--white); }

/* Top CTA Section */
.footer-cta { 
    background: var(--primary-green); 
    padding: 40px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.cta-content h2 { font-size: 28px; margin-bottom: 5px; color: var(--white); }
.cta-content p { color: #e8f5e9; font-size: 16px; }
.cta-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.cta-btn { 
    padding: 12px 25px; 
    border-radius: 5px; 
    text-decoration: none; 
    font-weight: 600; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    transition: 0.3s; 
    font-size: 15px;
}
.cta-btn.phone { background: var(--white); color: var(--primary-green); }
.cta-btn.phone:hover { background: #f0f0f0; }
.cta-btn.whatsapp { background: #25D366; color: var(--white); }
.cta-btn.whatsapp:hover { background: #1ebe57; }
.cta-btn.contact { border: 2px solid var(--white); color: var(--white); background: transparent; }
.cta-btn.contact:hover { background: var(--white); color: var(--primary-green); }

/* Main Grid Section (6 Columns) */
.footer-main { padding: 50px 5%; }
.container-footer-grid { 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); /* Creates exactly 6 columns */
    gap: 30px; 
}

.footer-col h3 { 
    font-size: 16px; 
    margin-bottom: 20px; 
    color: var(--white); 
    position: relative; 
    padding-bottom: 10px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}
.footer-col h3::after { 
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: 0; 
    width: 40px; 
    height: 3px; 
    background: var(--light-green); 
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #c8e6c9; text-decoration: none; font-size: 14px; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--white); padding-left: 5px; }

.contact-info p { color: #c8e6c9; font-size: 14px; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.contact-info i { color: var(--light-green); margin-top: 3px; width: 16px; text-align: center;}

.newsletter-text { color: #c8e6c9; font-size: 14px; margin-bottom: 15px; line-height: 1.6; }
.newsletter-form { display: flex; }
.newsletter-form input { 
    padding: 10px; 
    border: none; 
    border-radius: 5px 0 0 5px; 
    outline: none; 
    flex: 1; 
    font-size: 14px; 
}
.newsletter-form button { 
    padding: 10px 15px; 
    background: var(--light-green); 
    color: var(--white); 
    border: none; 
    border-radius: 0 5px 5px 0; 
    cursor: pointer; 
    transition: 0.3s;
}
.newsletter-form button:hover { background: var(--white); color: var(--primary-green); }

/* Bottom Bar (Logo, Socials, Copyright) */
.footer-bottom { padding: 25px 5%; border-top: 1px solid rgba(255,255,255,0.2); background: var(--dark-green); }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; max-width: 1200px; margin: auto; }
.footer-logo h2 { font-size: 20px; color: var(--white); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { 
    color: var(--white); 
    background: rgba(255,255,255,0.1); 
    width: 35px; height: 35px; 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    text-decoration: none; transition: 0.3s; font-size: 14px;
}
.footer-socials a:hover { background: var(--light-green); transform: translateY(-3px); }
.footer-copyright p { color: #c8e6c9; font-size: 13px; margin: 0; }


/* --- HAMBURGER MENU --- */
.hamburger {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-green);
    cursor: pointer;
    padding: 5px;
}

/* --- RESPONSIVE DESIGN (Mobile & Tablet Adjustments) --- */
@media (max-width: 1024px) {
    .container-footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    /* Show Hamburger on smaller screens */
    .hamburger { display: block; }
    
    /* Convert Nav Links to vertical dropdown */
    .nav-links {
        position: absolute;
        top: 100%; /* Right below the header */
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-top: 2px solid var(--primary-green);
        
        /* Hide by default on mobile */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
        padding: 0;
    }

    /* When the menu is toggled open via JS */
    .nav-links.active {
        max-height: 500px; /* Enough height for all links */
        padding: 20px 0;
    }

    /* Mobile button adjustments */
    .btn-nav { width: 80%; text-align: center; }
}

@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-image { text-align: center; }
    .footer-cta { flex-direction: column; text-align: center; }
    .cta-buttons { justify-content: center; }
    .container-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom-content { flex-direction: column; text-align: center; }
    .about-container { flex-direction: column; }

@media (max-width: 480px) {
    .container-footer-grid { grid-template-columns: 1fr; }
}
}
/* --- VISION & MISSION SECTION --- */
.vision-mission-section {
    background: linear-gradient(135deg, #f9fdf9 0%, #e8f5e9 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

/* Modern decorative background circle */
.vision-mission-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(46, 125, 50, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.vm-container {
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 10px;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.vm-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 6px solid var(--primary-green);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.15);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    box-shadow: 0 8px 16px rgba(46, 125, 50, 0.3);
}

.vm-card h3 {
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.vm-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .vm-grid { grid-template-columns: 1fr; }
    .vm-card { padding: 30px; }
}
/* --- Training Portal Styles --- */
.program-fee { 
    font-size: 20px; 
    color: var(--primary-green); 
    font-weight: 700; 
    margin-top: 15px; 
    padding-top: 10px; 
    border-top: 1px solid #eee; 
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; }