/* ============================================================
   1. ABOUT HERO / OUR STORY
   ============================================================ */
.about-hero-section {
    min-height: 100vh;
    padding: 140px 5% var(--s-xl);
    background: linear-gradient(135deg, var(--gradient-green), var(--gradient-blue));
}

.about-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content {
    color: var(--white);
}

.story-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.story-subtitle {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-text p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    text-align: justify;
}

.story-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-logo-wrapper {
    background: var(--white);
    padding: 60px;
    border-radius: var(--r-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    max-width: 450px;
    width: 100%;
}

.story-logo-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}


/* ============================================================
   2. MISSION & VISION
   ============================================================ */
.mission-vision-section {
    padding: var(--s-xl) 5%;
    background: var(--light-bg);
}

.mission-vision-header {
    text-align: center;
    margin-bottom: var(--s-lg);
}

.mission-vision-header > p:first-child {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.mission-vision-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.mission-vision-header > p:last-child {
    font-size: 16px;
    color: var(--text-light);
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mv-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--r-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.mission-card { border-color: var(--medium-green); }
.vision-card  { border-color: var(--accent-blue); }

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--dark-green);
}

.vision-card .mv-icon { color: var(--accent-blue); }

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-green);
}

.mv-content h4 {
    font-size: 1.5rem;
    color: var(--medium-green);
    margin-bottom: 15px;
    line-height: 1.3;
}

.vision-card .mv-content h4 { color: var(--accent-blue); }

.mv-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}


/* ============================================================
   3. CORE VALUES
   ============================================================ */
.core-values-section {
    padding: var(--s-xl) 5%;
    background: var(--light-bg);
}

.values-header {
    text-align: center;
    margin-bottom: var(--s-lg);
}

.values-header > p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.values-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-green);
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.value-card {
    background: linear-gradient(135deg, var(--gradient-green) 0%, var(--gradient-blue) 100%);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.value-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.value-card:hover .value-image img { transform: scale(1.1); }

.value-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-overlay i {
    font-size: 60px;
    color: var(--white);
    opacity: 0.9;
}

.value-content {
    padding: 30px 25px;
    text-align: center;
    color: var(--white);
}

.value-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.value-content p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.95;
}

.values-footer {
    text-align: center;
    margin-top: var(--s-lg);
    color: var(--text-light);
    font-size: 16px;
}


/* ============================================================
   4. TEAM SECTION — OUTER WRAPPER
   ============================================================ */
.team-section {
    padding: var(--s-xl) 5%;
    background: linear-gradient(135deg, var(--gradient-green), var(--gradient-blue));
}

.team-header {
    text-align: center;
    margin-bottom: var(--s-lg);
    color: var(--white);
}

.team-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.team-header > p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}


/* ============================================================
   4a. TIER DIVIDER LABELS
   ============================================================ */
.tier-label {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto var(--s-md) auto;
    padding: 0 20px;
}

.tier-label::before,
.tier-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.tier-label span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    padding: 4px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}


/* ============================================================
   4b. TIER 1 — CEO
   Largest card. Gold accent. Maximum visual weight.
   ============================================================ */
.ceo-spotlight {
    max-width: 1200px;
    margin: 0 auto var(--s-xl) auto;
    padding: 0 20px;
}

.ceo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--r-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 380px 1fr;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

/* Gold crown line */
.ceo-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 210, 80, 0.7) 25%,
        rgba(255, 235, 140, 1) 50%,
        rgba(255, 210, 80, 0.7) 75%,
        transparent 100%
    );
    border-radius: var(--r-md) var(--r-md) 0 0;
}

.ceo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
}

.ceo-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
    background: var(--light-bg);
}

.ceo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.ceo-card:hover .ceo-image img { transform: scale(1.05); }

.ceo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg,
        rgba(160, 120, 10, 0.95),
        rgba(210, 165, 40, 0.95)
    );
    color: #fff8dc;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ceo-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.ceo-header { margin-bottom: 25px; }

.ceo-header h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 8px;
    color: var(--white);
}

.ceo-title {
    font-size: 13px;
    color: rgba(255, 220, 100, 0.9);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ceo-bio { margin-bottom: 30px; }

.ceo-bio p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 15px;
}

.ceo-bio p:last-child { margin-bottom: 0; }

.ceo-social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ceo-social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ceo-social-link:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.ceo-social-link i { font-size: 18px; }


/* ============================================================
   4c. TIER 2 — EXECUTIVE DIRECTORS
   Slightly smaller than CEO. Teal accent.
   .ed-row auto-wraps — drop in more .ed-card as needed.
   ============================================================ */
.ed-row {
    max-width: 1200px;
    margin: 0 auto var(--s-xl) auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.ed-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--r-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Teal accent strip — one step below CEO gold */
.ed-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 188, 212, 0.6) 25%,
        rgba(100, 230, 220, 0.9) 50%,
        rgba(0, 188, 212, 0.6) 75%,
        transparent 100%
    );
    border-radius: var(--r-md) var(--r-md) 0 0;
}

.ed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.ed-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
    background: var(--light-bg);
}

.ed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.ed-card:hover .ed-image img { transform: scale(1.05); }

.ed-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: linear-gradient(135deg,
        rgba(0, 150, 136, 0.95),
        rgba(0, 188, 212, 0.95)
    );
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ed-details {
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.ed-header { margin-bottom: 18px; }

.ed-header h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    margin-bottom: 6px;
    color: var(--white);
}

.ed-title {
    font-size: 12px;
    color: rgba(0, 230, 220, 0.85);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ed-bio { margin-bottom: 22px; }

.ed-bio p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.ed-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ed-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ed-social-link:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.ed-social-link i { font-size: 16px; }


/* ============================================================
   4d. TIER 3 — REGULAR TEAM MEMBERS
   Portrait cards in a 4-col grid.
   No accent strip — keeps hierarchy immediately readable.
   ============================================================ */
.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.team-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--light-bg);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.team-card:hover .team-image img { transform: scale(1.1); }

.team-social {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.social-link i { font-size: 16px; }

.team-info {
    padding: 25px 20px;
    text-align: center;
    color: var(--white);
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.team-position {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.8;
}


/* ============================================================
   5. RESPONSIVE
   ============================================================ */

/* Large tablet — 1024px */
@media (max-width: 1024px) {

    .about-hero-container {
        grid-template-columns: 1fr;
    }

    .mission-vision-container {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CEO */
    .ceo-card {
        grid-template-columns: 320px 1fr;
    }
    .ceo-image { min-height: 400px; }
    .ceo-details { padding: 30px; }

    /* ED */
    .ed-row {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
    .ed-card {
        grid-template-columns: 230px 1fr;
    }
    .ed-image { min-height: 300px; }
    .ed-details { padding: 25px 28px; }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet portrait — 768px */
@media (max-width: 768px) {

    .values-grid {
        grid-template-columns: 1fr;
    }

    .story-logo-wrapper { padding: 40px; }

    /* CEO — stack vertically */
    .ceo-card {
        grid-template-columns: 1fr;
    }
    .ceo-image { min-height: 320px; }
    .ceo-details { padding: 28px 24px; }
    .ceo-header h3 { font-size: 1.8rem; }
    .ceo-bio p { font-size: 14px; }
    .ceo-badge { font-size: 13px; padding: 10px 15px; }

    /* ED — stack vertically, full width */
    .ed-row {
        grid-template-columns: 1fr;
    }
    .ed-card {
        grid-template-columns: 1fr;
    }
    .ed-image { min-height: 260px; }
    .ed-details { padding: 22px 20px; }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small phones — 480px */
@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}