/* ============================================================
   1. GLOBAL & HERO ALIGNMENT
   ============================================================ */
* {
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    padding-top: 100px !important; 
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.about-hero {
    position: relative;
    padding: 100px 0 60px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -10%, rgba(130, 180, 54, 0.1), transparent 70%);
    z-index: 1;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto !important;
    text-align: center;
    position: relative;
    z-index: 5;
}

.eyebrow {
    font-size: 0.85rem;
    font-weight: 800;
    color: #82b436;
    letter-spacing: 3px;
    background: rgba(130, 180, 54, 0.1);
    padding: 10px 24px;
    border-radius: 50px;
    display: inline-block;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin: 20px 0;
}

.highlight-line {
    color: #82b436;
}

.about-subtext {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
}

.stat-text {
    font-size: 0.8rem;
    color: #82b436;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 2px;
    height: 90px;
    background: linear-gradient(to bottom, #82b436, transparent);
    margin: 30px auto 0;
}

/* ============================================================
   2. MISSION SECTION (The "Lifted" Image Logic)
   ============================================================ */

.mission-section {
    padding: 140px 0 100px; /* Top padding is high to give image space */
}

.mission-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px;
    background: #ffffff;
    border: 2px solid #82b436;
    border-radius: 24px;
    position: relative;
    overflow: visible !important; /* Critical: Allows image to lift out of box */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card:hover {
    background-color: #82b436;
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(130, 180, 54, 0.2);
}

.mission-card:hover h2, 
.mission-card:hover p {
    color: #ffffff !important;
}

/* THE IMAGE LIFT */
.mission-image-wrapper {
    position: relative;
    z-index: 10;
}

.mission-img {
    width: 100%;
    border-radius: 20px;
    margin-top: -120px; /* Lifts image up */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.image-accent-frame {
    position: absolute;
    top: -100px; /* Frame follows image */
    left: 20px;
    right: -15px;
    bottom: 15px;
    border: 3px solid #82b436;
    border-radius: 20px;
    z-index: -1;
    transition: all 0.4s ease;
}

/* Hover effects for image lift */
.mission-card:hover .mission-img {
    margin-top: -140px;
    transform: scale(1.03);
}

.mission-card:hover .image-accent-frame {
    top: -120px;
    border-color: rgba(255, 255, 255, 0.5);
}

.accent-bar {
    width: 60px;
    height: 5px;
    background: #82b436;
    margin-top: 25px;
    transition: 0.4s;
}

.mission-card:hover .accent-bar {
    background: #fff;
    width: 100px;
}

/* ============================================================
   3. ANIMATIONS & RESPONSIVE
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.17, 0.55, 0.55, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .mission-card {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        margin-top: 80px;
    }
    .mission-img { margin-top: -80px; }
    .image-accent-frame { display: none; }
}

/* --- MISSION TEXT CONTAINER --- */
.mission-text {
    padding-left: 50px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-eyebrow {
    font-size: 0.8rem;
    font-weight: 800;
    color: #82b436; /* Brand Green */
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
    transition: color 0.4s ease;
}

.mission-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 25px;
    transition: color 0.4s ease;
}

.mission-lead {
    font-size: 1.4rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.mission-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 90%;
    transition: color 0.4s ease;
}

/* Specific styling for bold keywords */
.mission-text strong {
    color: #82b436;
    transition: color 0.4s ease;
}

/* --- ACCENT BAR --- */
.accent-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.accent-bar {
    width: 60px;
    height: 4px;
    background: #82b436;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.accent-dot {
    width: 8px;
    height: 8px;
    background: #82b436;
    border-radius: 50%;
    transition: all 0.4s ease;
}

/* ============================================================
   HOVER FIX: Ensuring Visibility on Green Background
   ============================================================ */

.mission-card:hover {
    background-color: #82b436; /* Background turns Green */
}

/* On hover, change green text to dark-grey or white for visibility */
.mission-card:hover .mission-eyebrow,
.mission-card:hover .mission-text strong {
    color: #1a1a1a; /* Dark contrast against green */
}

/* Main text turns white for clean professional look */
.mission-card:hover .mission-title,
.mission-card:hover .mission-lead,
.mission-card:hover .mission-description {
    color: #ffffff !important;
}

/* Accents turn white to stay visible */
.mission-card:hover .accent-bar,
.mission-card:hover .accent-dot {
    background-color: #ffffff;
    width: 100px; /* Animate bar width */
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr; /* Stack vertically on small screens */
        gap: 50px;
        padding-top: 40px;
    }
    
    .form-side {
        padding: 30px;
    }
}
