/* --- BRAND COLORS --- */
:root {
    --brand-green: #306e3e; 
    --brand-lime: #a2d25c;  
    --brand-gold: #f2a900;  
    --white: #ffffff;
    --dark: #1a1a1a;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Roboto', sans-serif; 
    overflow-x: hidden; 
    line-height: 1.6; 
    background-color: #fdfdfd; 
}
.container { width: 95%; max-width: 1200px; margin: auto; }

/* --- HEADER & NAVIGATION --- */
.main-header { 
    background: #fff; 
    padding: 12px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 90px; width: auto; display: block; }
nav ul { display: flex; list-style: none; gap: 25px; align-items: center; }
nav ul li { list-style: none !important; }
nav ul li a { text-decoration: none; color: var(--dark); font-weight: 700; font-size: 15px; padding: 8px 12px; transition: 0.3s; }
nav ul li a:hover { color: var(--brand-green) !important; }

.enquiry-btn { 
    background: var(--brand-lime) !important; 
    color: #000 !important; 
    border-radius: 4px; 
    padding: 10px 20px !important;
    text-decoration: none;
    font-weight: bold;
}

/* --- HERO SLIDER --- */
.hero-slider, .slide { height: 450px !important; width: 100%; }
.slide { 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    align-items: flex-end; 
    justify-content: flex-start; 
    padding-bottom: 80px; 
    padding-left: 5%;
}
.hero-content { color: #fff; max-width: 700px; text-shadow: 2px 2px 12px rgba(0,0,0,0.8); }
.hero-content h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 15px; font-weight: 700; }
.highlight { color: var(--brand-lime); }

/* --- SOLUTIONS GRID --- */
.section-title { text-align: center; margin: 60px 0 40px; color: var(--brand-green); font-size: 2.2rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card { background: #fff; border: 1px solid #eee; text-align: center; padding-bottom: 25px; transition: 0.4s; border-radius: 4px; height: 100%; }
.card:hover { transform: translateY(-10px); box-shadow: 0 12px 25px rgba(0,0,0,0.1); }
.card-img { height: 300px; background-size: cover; background-position: center; }
.card h3 { margin: 20px 0 10px; color: var(--brand-green); font-size: 1.4rem; }

/* --- MAIN FOOTER --- */
.main-footer {
    position: relative; /* Required for grass positioning */
    background: linear-gradient(rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.95)), 
                url('http://googleusercontent.com/image_collection/image_retrieval/10804244864630945748_0');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    padding: 80px 0 0 0;
    margin-top: 80px;
    border-top: 5px solid var(--brand-lime);
    overflow: hidden;
}

/* --- FOOTER GRASS IMAGE FIX --- */
.footer-grass {
    position: absolute;
    bottom: 65px; /* Sits right above the footer-bottom bar */
    left: 0;
    width: 100%;
    height: 50px; /* Adjust based on your image height */
    background: url('images/grass-white.png') repeat-x bottom;
    background-size: contain;
    opacity: 0.4; /* Makes it subtle and professional */
    pointer-events: none;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; 
    gap: 40px;
    padding-bottom: 80px; /* Extra space for the grass */
    position: relative;
    z-index: 2;
}

.footer-logo { height: 75px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-col h4 { color: var(--brand-lime); margin-bottom: 25px; text-transform: uppercase; font-weight: bold; }
.footer-col p { color: #bbb; font-size: 0.9rem; line-height: 1.7; }

.footer-col ul { list-style: none !important; padding: 0 !important; }
.footer-col ul li a { color: #bbb !important; text-decoration: none !important; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--brand-lime) !important; padding-left: 5px; }

/* --- SOCIAL MEDIA --- */
.footer-social { display: flex; gap: 12px; margin-top: 25px; }
.footer-social a {
    width: 42px; height: 42px;
    background: #333;
    color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.3s;
}
.footer-social a:hover { background: var(--brand-lime); color: #000 !important; transform: translateY(-5px); }

/* --- FOOTER BOTTOM --- */
.footer-bottom {
    background: rgba(0, 0, 0, 0.7);
    padding: 25px 0;
    text-align: center;
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p { color: #777; font-size: 0.85rem; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .hero-content h1 { font-size: 2rem; }
    .product-grid { grid-template-columns: 1fr; }
}




/* --- CONTACT PAGE STYLES --- */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero1.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.contact-hero h1 { font-size: 3rem; margin-bottom: 10px; }

.contact-section { padding: 80px 0; background: #f9f9f9; }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-info h3 { color: var(--brand-green); margin-bottom: 20px; font-size: 1.8rem; }
.info-item { display: flex; gap: 20px; margin-top: 30px; }
.info-item i { 
    width: 50px; height: 50px; 
    background: var(--brand-lime); 
    color: #000; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; font-size: 1.2rem;
}
.info-item h4 { color: var(--dark); margin-bottom: 5px; }
.info-item p { color: #666; font-size: 0.95rem; }

/* Form Styling */
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: bold; color: var(--dark); }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit;
}
.contact-form .enquiry-btn { width: 100%; border: none; cursor: pointer; font-size: 1rem; }

.map-section { line-height: 0; }

@media (max-width: 768px) {
    .contact-wrapper { grid-template-columns: 1fr; padding: 20px; }
    .contact-hero h1 { font-size: 2.2rem; }
}





/* Mobile Header Logic */
.menu-toggle {
    display: none; /* Hidden on Desktop */
    background: none;
    border: none;
    color: #2e7d32;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show on Mobile */
    }

    .nav-menu {
        display: none; /* Hide standard menu */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        display: block; /* Show when toggle is clicked */
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
    }

    .nav-menu ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .enquiry-btn-nav {
        background: #2e7d32;
        color: #fff !important;
        padding: 10px;
        display: block;
        border-radius: 5px;
    }
}


/* WAITING SCREEN */



#loader-overlay {
    display: none; /* Keep hidden until form submit */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.98); /* Clean white backdrop */
    z-index: 10000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Pulsing Logo with soft glow */
.loader-logo {
    width: 250px; /* Adjust size as needed */
    margin-bottom: 40px;
    
    /* Center the glow on the logo */
    box-shadow: 0 0 0 rgba(198, 40, 40, 0); /* Match the red color */
    
    border-radius: 20px; /* Optional: soft edges */
    animation: logo-pulse 1.8s ease-in-out infinite;
}

/* Advanced Progress Bar */
.progress-container {
    width: 300px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); /* Adds depth */
}

.progress-bar {
    width: 100%;
    height: 100%;
    
    /* Brand Green and Gold Gradient */
    background: linear-gradient(90deg, #2e7d32, #ffeb3b); 
    
    position: absolute;
    left: -100%;
    border-radius: 10px;
    animation: bar-slide 2.5s infinite ease-in-out;
}

/* The Animations */
@keyframes logo-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(198, 40, 40, 0); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(198, 40, 40, 0.6); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(198, 40, 40, 0); }
}

@keyframes bar-slide {
    0% { left: -100%; }
    40% { left: 0%; }
    60% { left: 0%; }
    100% { left: 100%; }
}

/* Updated Text Style */
.loader-text {
    margin-top: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}