@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

.about-page {
    --brand-primary: #06357A;
    --brand-secondary: #656C73;
    --brand-primary-dark: #042451;
    --brand-primary-light: #0a4599;
    --text-dark: #1a1f2e;
    --text-body: #3d4852;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --accent-gold: #f59e0b;
    --accent-emerald: #10b981;
    --gradient-primary: linear-gradient(135deg, #06357A 0%, #0a4599 50%, #042451 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-overlay: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
}

.about-page * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


.about-page {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-white);
    overflow-x: clip;
}

/* Hero Section */
.about-page .hero {
    --header-height: 145px;
    height: calc(100dvh - var(--header-height));
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .about-page .hero {
        --header-height: 85px;
    }
}

.about-page .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z'/%3E%3C/g%3E%3C/svg%3E");
    animation: drift 30s ease-in-out infinite;
}

@keyframes drift {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(-20px) translateY(-30px);
    }
}

.about-page .hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-page .hero-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-page .hero-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 8vw, 6rem);
    color: white;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-page .hero-desc {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-weight: 300;
}

.about-page .hero-desc+.hero-desc {
    margin-top: 1rem;
}


.about-page .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.about-page .scroll-indicator::before {
    content: '\2193';
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Chapter Sections */
.about-page .chapter {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-page .chapter:nth-child(even) {
    background: var(--bg-light);
}

.about-page .chapter-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.about-page .chapter-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
}

.about-page .chapter-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-page .chapter-text {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-play-state: paused;
}

.about-page .chapter:nth-child(even) .chapter-content {
    grid-template-columns: 1fr 1fr;
}

.about-page p {
    text-align: justify;
}

.about-page .chapter:nth-child(even) .chapter-text {
    order: 2;
}

.about-page .chapter:nth-child(even) .chapter-visual {
    order: 1;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-page .chapter-number {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-page .chapter-year {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--brand-primary);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-page .chapter-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.about-page .chapter-description {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    color: var(--text-body);
    font-weight: 400;
}

.about-page .chapter-description p+p {
    margin-top: 1.25rem;
}

.about-page .chapter-highlight {
    margin-top: 1.5rem;
    text-align: center;
    font-style: italic;
    font-weight: 500;
}



.about-page .chapter-visual {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.8s ease-out 0.3s forwards;
    animation-play-state: paused;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.about-page .chapter-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    z-index: 1;
}

.about-page .chapter-visual-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    font-weight: 600;
    font-size: 1.125rem;
}

/* Special styling for different chapters */
.about-page .chapter-origin {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-page .chapter-origin .chapter-visual::before {
    background: #06357A;
}

.about-page .chapter-early .chapter-visual::before {
    background: #656C73;
}

.about-page .chapter-covid .chapter-visual::before {
    background: #06357A;
}

.about-page .chapter-transform .chapter-visual::before {
    background: #656C73;
}

.about-page .chapter-today .chapter-visual::before {
    background: #06357A;
}

/* Mission Section */
.about-page .mission {
    background: var(--gradient-hero);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.about-page .mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M0 0h80v80H0V0zm20 20v40h40V20H20zm20 35a15 15 0 1 1 0-30 15 15 0 0 1 0 30z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.about-page .mission-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-page .mission-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-page .mission-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-page .mission-intro {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

.about-page .mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.about-page .mission-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-page .mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.about-page .mission-card:hover::before {
    left: 100%;
}

.about-page .mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.about-page .mission-card-number {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.about-page .mission-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.about-page .mission-card-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.about-page .mission-conclusion {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-page .mission-conclusion p {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-style: italic;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-page .chapter-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-page .chapter:nth-child(even) .chapter-text,
    .about-page .chapter:nth-child(even) .chapter-visual {
        order: unset;
    }

    .about-page .chapter-visual {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .about-page .hero {
        height: 80vh;
    }

    .about-page .chapter {
        min-height: auto;
        padding: 4rem 0;
    }

    .about-page .chapter-content {
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .about-page .mission {
        padding: 4rem 1rem;
    }

    .about-page .mission-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-page .mission-card {
        padding: 2rem 1.5rem;
    }
}

/* Scroll-triggered animations */
.about-page .fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-page .fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}