/* ==========================================================================
   Corporate Premium About Page Styles
   ========================================================================== */
.about-page {
    padding-bottom: 100px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #334155;
    background-color: #ffffff;
    overflow-x: hidden;
}

.about-page .wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

/* Base Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleLine {
    from { width: 0; }
    to { width: 80px; }
}

.about-page__section,
.about-page__hero .wrap {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-page__section:nth-child(2) { animation-delay: 0.1s; }
.about-page__section:nth-child(3) { animation-delay: 0.2s; }
.about-page__section:nth-child(4) { animation-delay: 0.3s; }
.about-page__section:nth-child(5) { animation-delay: 0.4s; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.about-page__hero {
    position: relative;
    padding: 140px 20px 120px;
    background: #0B213E url('../images/about-hero.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    border-bottom: 4px solid #0F8B7F;
    margin-bottom: 80px;
}

.about-page__hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(11, 33, 62, 0.95) 0%, rgba(26, 54, 93, 0.8) 100%);
    z-index: 1;
}

.about-page__hero .wrap {
    position: relative;
    z-index: 2;
}

p.about-page__eyebrow {
    display: inline-block;
    color: #FCD34D !important; /* Brighter Gold */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    border-bottom: 2px solid rgba(252, 211, 77, 0.6);
    padding-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.about-page h1 {
    font-family: 'Playfair Display', 'Poppins', serif;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.15;
    color: #ffffff !important;
    margin: 0 auto 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    max-width: 900px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

p.about-page__tagline {
    font-size: clamp(20px, 3vw, 26px);
    color: #F8FAFC !important; /* Bright White/Slate */
    font-weight: 500;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.about-page__intro-text {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-page__hero p:not(.about-page__eyebrow):not(.about-page__tagline) {
    font-size: 18px;
    line-height: 1.8;
    color: #CBD5E1;
    margin-bottom: 20px;
}
.about-page__hero p:not(.about-page__eyebrow):not(.about-page__tagline) strong {
    color: #ffffff;
    font-weight: 600;
}

/* ==========================================================================
   General Sections
   ========================================================================== */
.about-page__section {
    margin-bottom: 100px;
    position: relative;
    padding: 0 20px;
}

.about-page__section h2 {
    font-family: 'Playfair Display', 'Poppins', serif;
    font-size: clamp(32px, 5vw, 42px);
    color: #0B213E;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

/* Corporate Accent Line */
.about-page__section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #0F8B7F;
    animation: scaleLine 1s ease-out 0.5s forwards;
}

.about-page p {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 24px;
    max-width: 900px;
}

.about-page strong {
    color: #0B213E;
    font-weight: 600;
}

/* ==========================================================================
   Two Column Layout (Text + Image)
   ========================================================================== */
.about-page__two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-page__two-col--reverse {
    direction: rtl;
}

.about-page__two-col--reverse > * {
    direction: ltr;
}

.about-page__image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #E2E8F0;
    transition: transform 0.3s ease;
}

.about-page__image-wrapper:hover {
    transform: scale(1.02);
}

.about-page__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-page__section--alt {
    background-color: #F8FAFC;
    padding: 80px 0;
    margin: 80px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.about-page__learning {
    background: #0B213E;
    color: #ffffff;
    padding: 80px 0;
    margin: 80px 0;
    text-align: center;
}

.about-page__learning h2 {
    color: #ffffff;
}

.about-page__learning p {
    color: #CBD5E1;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Leadership Grid
   ========================================================================== */
.about-page__leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.about-page__leader.card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #0B213E;
}

.about-page__leader.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-top-color: #0F8B7F;
}

.about-page__leader h3 {
    font-family: 'Playfair Display', 'Poppins', serif;
    font-size: 22px;
    color: #0B213E;
    margin: 0 0 20px;
    font-weight: 700;
    padding-bottom: 16px;
    border-bottom: 1px solid #F1F5F9;
}

.about-page__leader p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 0;
}

.about-page__leadership-summary {
    font-size: 19px;
    font-weight: 400;
    color: #334155;
    background: #F8FAFC;
    padding: 30px 40px;
    border-left: 4px solid #0B213E;
    margin-top: 20px;
    max-width: none;
    font-style: italic;
}

/* ==========================================================================
   Vision & Mission Panels
   ========================================================================== */
.about-page__vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.about-page__vision.card,
.about-page__mission.card {
    padding: 50px 40px;
    position: relative;
    border-radius: 4px;
    color: #ffffff;
    box-shadow: 0 15px 30px -10px rgba(11, 33, 62, 0.2);
    transition: transform 0.3s ease;
}

.about-page__vision.card:hover,
.about-page__mission.card:hover {
    transform: translateY(-4px);
}

.about-page__vision.card {
    background: #0B213E;
}

.about-page__mission.card {
    background: #1A365D;
}

.about-page__vision.card h2,
.about-page__mission.card h2 {
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 32px;
    border: none;
}

.about-page__vision.card h2::after,
.about-page__mission.card h2::after {
    background: #D4AF37; /* Gold accent */
}

.about-page__vision.card p,
.about-page__mission.card p {
    color: #CBD5E1;
    font-size: 17px;
}

/* ==========================================================================
   Milestones
   ========================================================================== */
.about-page__milestones {
    list-style: none;
    padding: 0;
    margin: 60px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0; /* Connected look */
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
}

.about-page__milestone.card {
    background: #ffffff;
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #E2E8F0;
    transition: background 0.3s ease;
}

.about-page__milestone.card:last-child {
    border-right: none;
}

.about-page__milestone.card:hover {
    background: #F8FAFC;
}

.about-page__milestone strong {
    font-family: 'Playfair Display', 'Poppins', serif;
    font-size: 42px;
    color: #0F8B7F;
    line-height: 1;
    margin-bottom: 16px;
    font-weight: 700;
}

.about-page__milestone span {
    font-size: 16px;
    color: #475569;
    font-weight: 500;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.about-page__cta-inner {
    background: #F8FAFC;
    padding: 80px 40px;
    text-align: center;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.about-page__cta-inner h2 {
    margin-bottom: 24px;
    justify-content: center;
}
.about-page__cta-inner h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-page__cta-inner p {
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    color: #475569;
}

.about-page__contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.about-page__contacts p {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-page__contacts a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0B213E;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 4px; /* Sharp corners for corporate feel */
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 1px solid #0B213E;
}

.about-page__contacts a.btn:hover {
    background: #0F8B7F;
    border-color: #0F8B7F;
    color: #ffffff;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .about-page__vision-mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-page__two-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-page__two-col--reverse {
        direction: ltr;
    }

    .about-page__hero {
        padding: 80px 20px 60px;
    }
    
    .about-page__intro-text {
        padding: 24px;
    }
    
    .about-page__milestones {
        grid-template-columns: 1fr;
    }
    
    .about-page__milestone.card {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
    }
    .about-page__milestone.card:last-child {
        border-bottom: none;
    }
    
    .about-page__cta-inner {
        padding: 60px 20px;
    }
    
    .about-page__contacts {
        flex-direction: column;
        align-items: stretch;
    }
    
    .about-page__contacts p {
        width: 100%;
    }
    
    .about-page__contacts a.btn {
        width: 100%;
    }
}

/* ==========================================================================
   Redesigned Journey & Legacy (Timeline)
   ========================================================================== */
.about-page__legacy-header { text-align: center; margin-bottom: 60px; }
.about-page__legacy-header .eyebrow { margin-bottom: 16px; color: #0F8B7F; display: inline-block; font-weight: 700; letter-spacing: 0.15em; font-size: 13px; text-transform: uppercase; position: relative; padding: 0 50px; }
.about-page__legacy-header .eyebrow::before, .about-page__legacy-header .eyebrow::after { content: '◆'; position: absolute; top: 50%; width: 30px; height: 1px; background: #0F8B7F; color: #0F8B7F; font-size: 8px; line-height: 0; display: flex; align-items: center; justify-content: center; transform: translateY(-50%); }
.about-page__legacy-header .eyebrow::before { left: 0; }
.about-page__legacy-header .eyebrow::after { right: 0; }
.about-page__legacy-header h2::after { left: 50%; transform: translateX(-50%); width: 80px; }

.about-page__timeline { max-width: 900px; margin: 0 auto 60px; position: relative; }
.about-page__timeline-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; position: relative; z-index: 2; }
.about-page__timeline-card { padding: 30px 24px; text-align: left; border-radius: 8px; border-top: none; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative; }
/* Vertical dotted lines from card to track */
.about-page__timeline-card::after { content: ''; position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); width: 2px; height: 50px; border-left: 2px dotted #94A3B8; z-index: 0; }

.timeline-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.timeline-year { background: #0F8B7F; color: #fff; font-weight: 700; font-size: 20px; padding: 6px 20px 6px 16px; border-radius: 4px 0 0 4px; display: inline-block; clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); }
.about-page__timeline-card:nth-child(2) .timeline-year { background: #1D4ED8; }
.about-page__timeline-card:nth-child(3) .timeline-year { background: #0B213E; clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%); }
.timeline-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #0F8B7F; }
.about-page__timeline-card:nth-child(1) .timeline-icon { background: #f0fdfa; color: #0F8B7F; }
.about-page__timeline-card:nth-child(2) .timeline-icon { background: #eff6ff; color: #1D4ED8; }
.about-page__timeline-card:nth-child(3) .timeline-icon { background: #f8fafc; color: #0B213E; }
.timeline-icon svg { width: 24px; height: 24px; }

.about-page__timeline-card p { font-size: 13px; font-weight: 700; color: #0B213E; text-transform: uppercase; margin: 0; line-height: 1.5; letter-spacing: 0.02em; }
.about-page__timeline-card:nth-child(1) p::after { content: ''; display: block; width: 24px; height: 3px; background: #0F8B7F; margin-top: 16px; border-radius: 2px; }
.about-page__timeline-card:nth-child(2) p::after { content: ''; display: block; width: 24px; height: 3px; background: #1D4ED8; margin-top: 16px; border-radius: 2px; }
.about-page__timeline-card:nth-child(3) p::after { content: ''; display: block; width: 24px; height: 3px; background: #0B213E; margin-top: 16px; border-radius: 2px; }

.about-page__timeline-track { position: relative; height: 20px; margin-top: -40px; }
.track-line { position: absolute; top: 50%; left: 16.66%; right: 16.66%; height: 2px; background: #475569; transform: translateY(-50%); z-index: 1; }
.track-dot { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; transform: translate(-50%, -50%); z-index: 2; box-shadow: 0 0 0 2px #fff; }
.track-dot.dot-1 { left: 16.66%; background: #0F8B7F; }
.track-dot.dot-2 { left: 50%; background: #1D4ED8; }
.track-dot.dot-3 { left: 83.33%; background: #0B213E; }

.about-page__legacy-details { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid #F1F5F9; padding: 48px; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); position: relative; }
/* The vertical dashed line connecting the icons */
.about-page__legacy-details::before { content: ''; position: absolute; top: 80px; bottom: 80px; left: 79.5px; width: 1px; border-left: 1px dashed #CBD5E1; z-index: 0; }
.legacy-detail__row { display: grid; grid-template-columns: 64px 1fr; gap: 32px; align-items: center; margin-bottom: 40px; position: relative; z-index: 1; }
.legacy-detail__row:last-child { margin-bottom: 0; }
.legacy-icon { width: 64px; height: 64px; background: #F8FAFC; border-radius: 50%; display: grid; place-items: center; color: #0F8B7F; }
.legacy-icon svg { width: 28px; height: 28px; }
.legacy-detail__row p { margin: 0; font-size: 16px; color: #475569; line-height: 1.8; }

/* ==========================================================================
   Redesigned Commitment Section (Hub Layout)
   ========================================================================== */
.about-page__commitment-section { background: #F8FAFC; border-top: 1px solid #E2E8F0; padding: 120px 20px; }
.about-commitment__grid { display: grid; grid-template-columns: 400px 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-commitment__content .eyebrow { color: #0F8B7F; margin-bottom: 16px; display: inline-block; font-weight: 700; letter-spacing: 0.15em; font-size: 13px; text-transform: uppercase; }
.about-commitment__content h2 { margin-bottom: 32px; padding-bottom: 0; }
.about-commitment__content h2::after { display: none; }
.about-commitment__content p { color: #475569; font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.about-commitment__content a.btn { margin-top: 24px; display: inline-flex; background: #0F8B7F; color: #fff; padding: 14px 28px; border-radius: 4px; text-decoration: none; font-weight: 600; box-shadow: 0 4px 12px rgba(15, 139, 127, 0.3); transition: all 0.3s; }
.about-commitment__content a.btn:hover { background: #0c756b; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15, 139, 127, 0.4); }

.about-commitment__hub { position: relative; height: 600px; display: flex; justify-content: center; align-items: center; }
.hub-center { width: 320px; height: 320px; border-radius: 50%; overflow: hidden; border: 12px solid #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.1); z-index: 10; position: relative; }
.hub-center img { width: 100%; height: 100%; object-fit: cover; }
.hub-item { position: absolute; width: 260px; background: #fff; padding: 32px 24px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); z-index: 5; text-align: left; }
.hub-item h3 { font-size: 17px; color: #0B213E; margin-bottom: 12px; font-weight: 700; }
.hub-item p { font-size: 14px; color: #64748B; margin: 0; line-height: 1.6; }
.hub-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-bottom: 20px; }
.hub-icon svg { width: 28px; height: 28px; }
.hub-icon--teal { background: #0F8B7F; }
.hub-icon--navy { background: #1D4ED8; }
.hub-icon--purple { background: #8B5CF6; }
.hub-icon--gold { background: #F59E0B; }

/* Background tints for the hub items */
.hub-item--tl { top: 0; left: 0; background: #f0fdfa; border: 1px solid #ccfbf1; }
.hub-item--tr { top: 0; right: 0; background: #eff6ff; border: 1px solid #dbeafe; }
.hub-item--bl { bottom: 0; left: 0; background: #faf5ff; border: 1px solid #f3e8ff; }
.hub-item--br { bottom: 0; right: 0; background: #fffbeb; border: 1px solid #fef3c7; }

/* Connecting dots */
.hub-item::after { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; }
.hub-item--tl::after { bottom: -6px; right: 24px; background: #0F8B7F; }
.hub-item--tr::after { bottom: -6px; left: 24px; background: #1D4ED8; }
.hub-item--bl::after { top: -6px; right: 24px; background: #8B5CF6; }
.hub-item--br::after { top: -6px; left: 24px; background: #F59E0B; }

@media (max-width: 1100px) {
    .about-commitment__grid { grid-template-columns: 1fr; gap: 80px; }
    .about-commitment__hub { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 40px; }
    .hub-center { display: none; }
    .hub-item { position: relative; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: auto; }
    .hub-item::after { display: none; }
    .about-page__timeline-cards { grid-template-columns: 1fr; gap: 20px; }
    .about-page__timeline-card::after { display: none; }
    .about-page__timeline-track { display: none; }
    .legacy-detail__row { grid-template-columns: 1fr; gap: 16px; text-align: center; }
    .legacy-icon { margin: 0 auto; }
}
