/* ============================================================
   ABOUT PAGE — page-specific styles
   (shared palette/nav/footer come from styles.css)
   ============================================================ */

:root {
    --sky-base:   #EBF4FF;
    --sky-mid:    #D0E8FF;
    --blue-main:  #1A6FBF;
    --blue-dark:  #0F4C8A;
    --gold:       #F0932B;
    --gold-light: #FFF3E0;
    --text-dark:  #1A2D45;
    --text-muted: #5A7A9B;
    --card-shadow: 0 4px 24px rgba(26,111,191,0.10);
    --radius:     16px;
}

body {
    background: var(--sky-base);
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

/* ── HERO (light blue) ────────────────────── */
.about-hero {
    position: relative;
    background:
        radial-gradient(70% 80% at 85% 18%, rgba(140,190,240,.45) 0%, transparent 60%),
        radial-gradient(60% 70% at 8% 92%, rgba(180,210,245,.5) 0%, transparent 60%),
        linear-gradient(180deg, #EBF4FF 0%, #D8E9FB 55%, #CFE3F8 100%);
    overflow: hidden;
    padding: 150px 0 90px;
}
.about-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 70px;
    background: var(--sky-base);
    clip-path: ellipse(55% 100% at 50% 100%);
}
/* soft drifting color blobs */
.about-hero .hero-blob { position:absolute; border-radius:50%; filter:blur(60px); pointer-events:none; z-index:0; }
.about-hero .hero-blob.o {
    width:360px; height:360px; top:-60px; right:6%;
    background: radial-gradient(circle, rgba(242,107,33,.28) 0%, transparent 70%);
    animation: aboutDriftA 16s ease-in-out infinite;
}
.about-hero .hero-blob.g {
    width:300px; height:300px; bottom:-40px; left:4%;
    background: radial-gradient(circle, rgba(22,169,124,.22) 0%, transparent 70%);
    animation: aboutDriftB 20s ease-in-out infinite;
}
@keyframes aboutDriftA { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-40px,30px) scale(1.1);} }
@keyframes aboutDriftB { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(40px,-25px) scale(1.08);} }
.about-hero .container { position: relative; z-index: 2; }

.hero-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 18px;
}
.hero-title span { color: var(--orange); }
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Stat pills (light) */
.stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.stat-pill {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(27,20,112,0.10);
    border-radius: 50px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    box-shadow: 0 8px 20px -12px rgba(27,20,112,.3);
}
.stat-pill .pill-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--orange);
}
.stat-pill .pill-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Hero graphic (animated illustration card) */
.hero-graphic { position: relative; display: grid; place-items: center; min-height: 360px; }
.hg-card {
    position: relative; width: 480px; max-width: 100%; background: #fff; border-radius: 20px;
    box-shadow: 0 30px 60px -25px rgba(27,20,112,.35); border: 1px solid rgba(27,20,112,.08);
    padding: 24px; animation: hgFloat 6s ease-in-out infinite; z-index: 2;
}
.hg-card svg { display:block; width:100%; height:auto; }
@keyframes hgFloat { 0%,100%{transform:translateY(0) rotate(-1deg);} 50%{transform:translateY(-14px) rotate(.6deg);} }
.hg-badge {
    position:absolute; background:#fff; border-radius:14px; padding:10px 14px;
    box-shadow:0 18px 40px -18px rgba(27,20,112,.4); display:flex; align-items:center; gap:8px;
    font-family:'Poppins',sans-serif; font-weight:700; font-size:.72rem; color: var(--ink); z-index:3;
}
.hg-badge i { color: var(--orange); }
.hg-badge.b-top { top: 4%; left: 0; animation: hgFloat 7s ease-in-out infinite .4s; }
.hg-badge.b-bot { bottom: 8%; right: 0; animation: hgFloat 8s ease-in-out infinite 1s; }
.hg-badge.b-bot i { color: var(--green); }
@media (max-width: 991px){ .hero-graphic { margin-top: 46px; } }
@media (prefers-reduced-motion: reduce){
    .about-hero .hero-blob, .hg-card, .hg-badge { animation: none !important; }
}

/* ── IDENTITY CARD ────────────────────────── */
.identity-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    border-top: 5px solid var(--gold);
    padding: 44px 48px;
    position: relative;
    overflow: hidden;
    margin-top: -20px;
}
.identity-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(240,147,43,0.07) 0%, transparent 70%);
    border-radius: 50%;
}
.brand-badge {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #e67e22);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(240,147,43,0.35);
    flex-shrink: 0;
}
.brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 2px;
}
.brand-sub {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.brand-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ── SECTION TITLES ───────────────────────── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-main);
    margin-bottom: 8px;
}
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 16px;
}
.section-divider {
    width: 48px; height: 4px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 24px;
}

/* ── VISION/MISSION SPLIT ─────────────────── */
.vm-section {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}
.vm-image-wrap {
    position: relative;
    height: 100%;
    min-height: 360px;
}
.vm-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.vm-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(15,76,138,0.55) 0%, transparent 60%);
}
.vm-content {
    padding: 52px 48px;
}

/* VM Cards (vision & mission as mini cards) */
.vm-card {
    background: var(--sky-base);
    border-left: 4px solid var(--blue-main);
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 16px;
}
.vm-card h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 6px;
}
.vm-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}
.vm-card.mission { border-left-color: var(--gold); }
.vm-card.mission h5 { color: #b35a00; }

/* Checklist */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #E8F0FB;
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.check-list li:last-child { border-bottom: none; }
.check-list li .check-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-main), #2589D8);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.check-list li .check-dot i { font-size: 0.65rem; color: #fff; }

/* ── FEATURE STRIP (light) ────────────────── */
.feature-strip {
    background:
        radial-gradient(120% 130% at 0% 0%, rgba(242,107,33,.06) 0%, transparent 45%),
        radial-gradient(120% 130% at 100% 100%, rgba(22,169,124,.08) 0%, transparent 45%),
        linear-gradient(160deg, #66c3de 0%, #F1F6FD 100%);
    border: 1px solid rgba(27,20,112,.08);
    border-radius: var(--radius);
    padding: 30px 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 55px -34px rgba(27,20,112,.4);
}
.feature-strip::before {
    content: '';
    position: absolute; top: -70px; right: -70px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,107,33,.08) 0%, transparent 70%);
    pointer-events: none;
}
.feature-item {
    text-align: center;
    padding: 26px 18px;
    background: #fff;
    border: 1px solid rgba(27,20,112,.07);
    border-radius: 16px;
    box-shadow: 0 12px 30px -22px rgba(27,20,112,.55);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    /* staggered entrance — runs when the .reveal parent scrolls in */
    opacity: 0;
    transform: translateY(22px);
}
/* accent bar that grows on hover */
.feature-item::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 3px; background: linear-gradient(90deg, var(--orange), var(--gold));
    transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px -24px rgba(27,20,112,.5);
    border-color: rgba(242,107,33,.35);
}
.feature-item:hover::after { transform: scaleX(1); }

.feature-item .feature-icon-wrap {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold-light), #FFE6C7);
    border: 1px solid rgba(242,107,33,.18);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--orange);
    transition: transform .35s ease, background .35s ease, color .35s ease;
}
.feature-item:hover .feature-icon-wrap {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: #fff;
    transform: translateY(-4px) rotate(-6deg) scale(1.06);
}
.feature-item h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ink);
}
.feature-item p {
    font-size: 0.94rem;
    color: #255a90;
    margin: 0;
    line-height: 1.55;
}

/* Staggered reveal: when the parent .reveal becomes visible, fade the cards up in sequence */
@keyframes featureUp { to { opacity: 1; transform: translateY(0); } }
.reveal.in .feature-item,
.reveal.visible .feature-item {
    animation: featureUp .55s ease forwards;
}
.reveal.in .col-6:nth-child(1) .feature-item,
.reveal.visible .col-6:nth-child(1) .feature-item { animation-delay: .05s; }
.reveal.in .col-6:nth-child(2) .feature-item,
.reveal.visible .col-6:nth-child(2) .feature-item { animation-delay: .17s; }
.reveal.in .col-6:nth-child(3) .feature-item,
.reveal.visible .col-6:nth-child(3) .feature-item { animation-delay: .29s; }
.reveal.in .col-6:nth-child(4) .feature-item,
.reveal.visible .col-6:nth-child(4) .feature-item { animation-delay: .41s; }

@media (prefers-reduced-motion: reduce) {
    .feature-item { opacity: 1; transform: none; animation: none !important; }
}

/* ── SCROLL ANIMATION ─────────────────────── */
/* Accept BOTH hooks: the footer JS adds `.in`; the legacy inline script used `.visible` */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible,
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
/* Safety: never leave content permanently hidden if JS doesn't run */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}
.hg-image{
    width: 35vw;
}
@media (max-width: 767px) {
    .identity-card { padding: 28px 22px; }
    .vm-content { padding: 32px 24px; }
    .about-hero { padding: 120px 0 70px; }
    .stat-pills { gap: 8px; }
    .hg-image{
        width: 85vw;
    }
}
