/**
 * Infinity Classes - Ultra-Premium About Us Stylesheet
 * 1:1 Pixel-Perfect Match with Reference Architecture
 * Math Watermarks, Interactive Timeline, Mission Cards, Dark Vision & 6-Stage Engine
 */

/* ==========================================================================
   1. HERO SECTION WITH MATH WATERMARKS
   ========================================================================== */
.about-hero-clean {
    position: relative;
    background: #FFFDFB;
    background-image: 
        linear-gradient(rgba(245, 158, 11, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 5.5rem 1rem 4.5rem;
    overflow: hidden;
    border-bottom: 1px solid #F1F5F9;
}

/* Faint Math & Science Formula Watermarks */
.math-watermark {
    position: absolute;
    font-family: 'Times New Roman', 'Cambria Math', serif;
    font-style: italic;
    color: #94A3B8;
    opacity: 0.22;
    pointer-events: none;
    user-select: none;
    font-weight: 500;
}

.math-wm-1 { top: 12%; left: 3%; font-size: 1.5rem; }
.math-wm-2 { top: 18%; right: 5%; font-size: 1.4rem; }
.math-wm-3 { top: 52%; left: 2%; font-size: 1.6rem; }
.math-wm-4 { top: 52%; right: 3%; font-size: 1.5rem; }
.math-wm-5 { bottom: 10%; left: 6%; font-size: 1.3rem; }
.math-wm-6 { bottom: 10%; right: 7%; font-size: 1.3rem; }

/* Eyebrow Badge */
.about-pill-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1.15rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.about-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF4D15;
}

/* Orange Tilted Highlight for "Better Education." */
.hero-orange-badge {
    display: inline-block;
    background: #FF4D15;
    color: #FFFFFF;
    padding: 0.25rem 1.5rem 0.35rem;
    border-radius: 1.25rem;
    transform: rotate(-1.5deg);
    box-shadow: 0 10px 25px rgba(255, 77, 21, 0.25);
    margin-top: 0.35rem;
    transition: transform 0.3s ease;
}

.hero-orange-badge:hover {
    transform: rotate(0deg) scale(1.02);
}

/* ==========================================================================
   2. OUR JOURNEY (HORIZONTAL INTERACTIVE TIMELINE)
   ========================================================================== */
.journey-section {
    padding: 5rem 1rem;
    background: #FFFFFF;
    border-bottom: 1px solid #F1F5F9;
}

.journey-timeline-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 52rem;
    margin: 3rem auto 2rem;
    position: relative;
    padding: 0 1rem;
}

.journey-timeline-nav::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 2.5rem;
    right: 2.5rem;
    height: 2px;
    background: #E2E8F0;
    z-index: 1;
}

.journey-step-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.25s ease;
    padding: 0 0.5rem;
}

.journey-step-year {
    font-size: 0.85rem;
    font-weight: 800;
    color: #64748B;
    transition: color 0.2s ease;
}

.journey-step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #CBD5E1;
    transition: all 0.25s ease;
}

.journey-step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748B;
    text-align: center;
    max-width: 90px;
    line-height: 1.25;
}

.journey-step-btn:hover .journey-step-dot {
    border-color: #FB923C;
}

.journey-step-btn.active .journey-step-year {
    color: #FF4D15;
}

.journey-step-btn.active .journey-step-dot {
    background: #FF4D15;
    border-color: #FF4D15;
    box-shadow: 0 0 0 4px rgba(255, 77, 21, 0.2);
}

.journey-step-btn.active .journey-step-label {
    color: #0F172A;
    font-weight: 800;
}

/* Dynamic Journey Card */
.journey-card-display {
    max-width: 52rem;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1.5px solid #FEE2E2;
    border-radius: 1.5rem;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   3. OUR MISSION (4 FEATURE CARDS)
   ========================================================================== */
.mission-section {
    padding: 5rem 1rem;
    background: #FFFDFB;
    border-bottom: 1px solid #F1F5F9;
}

.mission-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 1.75rem;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(245, 158, 11, 0.1);
    border-color: #FDBA74;
}

.mission-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    background: #FFF7ED;
    color: #EA580C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid #FFEDD5;
}

/* ==========================================================================
   4. OUR VISION (DARK DRAMATIC SECTION)
   ========================================================================== */
.vision-dark-section {
    position: relative;
    background: #0B0F19;
    color: #FFFFFF;
    padding: 6rem 1rem;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vision-dark-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
    pointer-events: none;
}

.vision-radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 77, 21, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.vision-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 1.5rem 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.vision-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 77, 21, 0.4);
}

/* ==========================================================================
   5. WHY CHOOSE US (ENGINEERED FOR REAL BOARD RESULTS)
   ========================================================================== */
.why-us-section {
    padding: 5.5rem 1rem;
    background: #FFFFFF;
    border-bottom: 1px solid #F1F5F9;
}

.why-card-asymmetric {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 1.5rem;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.why-card-asymmetric:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.why-card-highlighted {
    background: #FFFFFF;
    border: 1.5px solid #FB923C;
    border-radius: 1.5rem;
    padding: 2rem 1.75rem;
    box-shadow: 0 8px 25px rgba(251, 146, 60, 0.1);
    transition: all 0.3s ease;
}

.why-card-highlighted:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(251, 146, 60, 0.18);
}

/* ==========================================================================
   6. THE 6-STAGE ENGINE & STUDENT-FIRST PHILOSOPHY
   ========================================================================== */
.engine-section {
    padding: 5.5rem 1rem;
    background: #FFFDFB;
    border-bottom: 1px solid #F1F5F9;
}

.stage-step-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 1.25rem;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.stage-step-card:hover {
    transform: translateY(-4px);
    border-color: #FB923C;
    box-shadow: 0 10px 25px rgba(251, 146, 60, 0.12);
}

.philosophy-section {
    padding: 5.5rem 1rem;
    background: #FFFFFF;
}

.philosophy-img-frame {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    border: 3px solid #FFFFFF;
}

.philosophy-img-frame::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid #FB923C;
    border-radius: 2.25rem;
    pointer-events: none;
    z-index: 1;
}
