/* =========================================
   1. GLOBAL VARIABLES & UTILS (Consistent with Home)
   ========================================= */
:root {
    --primary: #215a5d;       /* Brand Teal */
    --primary-dark: #14383a;  /* Deep Teal */
    --primary-light: #f0f7f7; /* Light Background Tint */
    --gold: #eebb5d;          /* Accent Gold */
    --white: #ffffff;
    --text-dark: #222222;
    --text-grey: #555555;
    --border-light: #e0e0e0;
    --shadow-soft: 0 15px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 50px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Layout Resets */
.site-main { width: 100%; overflow-x: hidden; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: #f9f9f9; }
.bg-light-gradient { background: linear-gradient(180deg, #ffffff 0%, #f4f9f9 100%); }
.bg-theme-solid { background-color: var(--primary); }
.bg-white { background-color: #ffffff; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.narrow-width { max-width: 800px; margin: 0 auto; }

/* Text Utils */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-white-80 { color: rgba(255,255,255,0.85); line-height: 1.7; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-5 { margin-bottom: 3rem; }

/* =========================================
   2. TYPOGRAPHY & DECORATORS
   ========================================= */
.section-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-sub {
    font-size: 1.15rem;
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Center Decorator */
.heading-decorator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
    margin: 0 auto 30px auto;
    border-radius: 4px;
}

/* Left Decorator */
.heading-decorator-left {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px 0 30px 0;
    border-radius: 4px;
}
.heading-decorator-left.white-line { background: var(--white); }

/* =========================================
   3. STORY SECTION & STATS
   ========================================= */
.sec-story .lead-text {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}
.story-content strong { color: var(--primary); font-weight: 700; }

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold); /* Gold Accent */
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   4. MISSION vs VISION (Split Grid)
   ========================================= */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* Left: Mission (White) */
.card-problem {
    background: var(--white);
    padding: 80px 60px;
    color: var(--text-dark);
}
.card-problem h3 { font-size: 2.2rem; font-family: 'Poppins', sans-serif; margin-bottom: 0; }

/* Right: Vision (Theme) */
.card-solution {
    background: var(--primary);
    padding: 80px 60px;
    color: var(--white);
}
.card-solution h3 { font-size: 2.2rem; font-family: 'Poppins', sans-serif; color: var(--white); margin-bottom: 0; }

/* Lists Styles */
.pain-points-list li {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-left: 35px;
    position: relative;
    color: var(--text-grey);
}

.pain-points-list li strong { color: var(--primary); }

.pain-points-list li::before {
    content: '✔'; /* Checkmark for Mission list too */
    color: var(--primary);
    font-weight: 900;
    position: absolute;
    left: 0; top: 0;
}

/* =========================================
   5. TEAM SECTION
   ========================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.team-img-wrapper {
    height: 380px; /* Tall portraits */
    overflow: hidden;
    position: relative;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05); /* Zoom Effect */
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.team-info .role {
    display: block;
    font-size: 0.9rem;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.team-info p {
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.5;
}

/* =========================================
   6. VALUES (Reusing Why Grid styles)
   ========================================= */
.why-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card { text-align: center; }

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px auto;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg); /* Subtle 3D flip */
}

.why-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 10px; font-weight: 700; }
.why-card p { font-size: 0.95rem; color: #666; line-height: 1.6; }

/* =========================================
   7. FINAL CTA
   ========================================= */
.cta-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-glowing-white {
    background: var(--white);
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
    transition: var(--transition);
}

.btn-glowing-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255,255,255,0.7);
}

.btn-border-white {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-border-white:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* =========================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .split-grid { grid-template-columns: 1fr; }
    .card-problem, .card-solution { padding: 50px 30px; text-align: center; }
    .heading-decorator-left { margin: 15px auto 30px auto; }
    
    .pain-points-list li { text-align: left; }
    
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid-premium { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .section-heading { font-size: 2.2rem; }
    
    .stats-row { gap: 30px; }
    .stat-item { width: 100%; } /* Stack stats */
    
    .team-grid { grid-template-columns: 1fr; }
    .team-img-wrapper { height: 300px; }
    
    .why-grid-premium { grid-template-columns: 1fr; }
    
    .cta-buttons-wrapper { flex-direction: column; }
    .btn-glowing-white, .btn-border-white { width: 100%; text-align: center; }
}