/* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: #1d2533;
    color: #222222;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================= MOBILE UI FIXES (iPhone) ================= */

/* Makes the "X" Close icon white and easy to see */
.fa-times, .fa-close, .close-menu, .t-Button--close {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* WhatsApp Floating Button - Fixed Layering */
.whatsapp-float {
    position: fixed;
    bottom: 30px; 
    right: 20px;
    z-index: 999999 !important; 
    display: block;
}

.whatsapp-float img {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0px 4px 12px rgba(0,0,0,0.4));
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: justify;
    overflow: hidden;
    background: #1d2533;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideFade 16s infinite;
}

.hero-slider img:nth-child(1) { animation-delay: 0s; }
.hero-slider img:nth-child(2) { animation-delay: 8s; }

@keyframes slideFade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    40% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(166, 216, 69, 0.8);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #000;
    padding: 40px 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= MISSION / VISION (Justified) ================= */
.mv {
    padding: 60px 0;
    background: #fafafa;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 90%;
    margin: 0 auto;
}

.mv-box {
    padding: 30px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    font-size: 14px;
}

.mv-box.active {
    background: #739E21;
    color: #ffffff;
    border-radius: 8px;
}

/* ================= ABOUT SECTION (The Fix) ================= */
.about {
    padding: 80px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
}

/* This targets the text in your second image */
.about-text {
    text-align: left; /* Desktop default */
}

.about-text h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 15px;
    margin-bottom: 25px;
}

/* ================= BUTTONS ================= */
.btn-primary, .btn-secondary, .about-text .btn {
    display: inline-block;
    background: #557418;
    color: #ffffff;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}


/* ================= RESPONSIVE (FOR ALL DEVICES) ================= */

@media (max-width: 768px) {
    /* Center the Hero Text */
    .hero-content {
        text-align: Center;
        word-spacing: -1px;
    }

    /* Force Grid to Stack */
    .about-grid, .mv-grid {
        grid-template-columns: 1fr;
    }

    /* CENTER THE ABOUT TEXT FOR MOBILE (Your image fix) */
    .about-text {
        text-align: Center;
         word-spacing: -1px;
        padding: 0 10px;
    }

    .about-text .btn {
        margin: 0 auto;
    }

    /* Center Vision text on mobile */
    .mv-box {
        text-align: center;
        hyphens: none;
    }
}
/* Specific Fix for Large iPhones */
@media (max-width: 430px) {
    .hero-content h1 {
        font-size: 28px;
    }
}