/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE — Modern Premium Design
   ═══════════════════════════════════════════════════════════════ */

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

/* ─── Page Wrapper ─── */
.about-page {
    background: linear-gradient(180deg, #f8faff 0%, #eef4fb 100%);
    min-height: 100vh;
}

html.dark .about-page {
    background: linear-gradient(180deg, #0a0f1c 0%, #0d1a2d 100%);
}

/* ═══ Hero Section ═══ */
.about-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 5rem) 2rem clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a3d7e 0%, #0b56a8 40%, #1a6fcc 100%);
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(79, 155, 255, 0.2), transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08), transparent 40%);
    animation: heroShift 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroShift {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* Floating decorative orbs */
.about-hero .orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.about-hero .orb-1 {
    width: 200px;
    height: 200px;
    top: -60px;
    right: -40px;
    background: radial-gradient(circle, rgba(79, 155, 255, 0.25), transparent 70%);
    animation-delay: 0s;
}

.about-hero .orb-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    animation-delay: 2s;
}

.about-hero .orb-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 60%;
    background: radial-gradient(circle, rgba(232, 185, 35, 0.15), transparent 70%);
    animation-delay: 4s;
}

@keyframes orbFloat {

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

    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
    position: relative;
    z-index: 1;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

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

.about-hero h1 {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.15;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.about-hero p {
    position: relative;
    z-index: 1;
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ═══ Content Container ═══ */
.about-content {
    max-width: 900px;
    margin: -2rem auto 0;
    padding: 0 1.5rem 4rem;
    position: relative;
    z-index: 2;
}

/* ═══ Content Card — Glassmorphism ═══ */
.about-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(10, 74, 150, 0.08);
    border-radius: 24px;
    padding: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    box-shadow:
        0 20px 60px rgba(10, 74, 150, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 28px 70px rgba(10, 74, 150, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.06);
}

html.dark .about-card {
    background: rgba(26, 35, 50, 0.9);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

html.dark .about-card:hover {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

/* ─── Card Header ─── */
.about-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid rgba(10, 74, 150, 0.08);
}

html.dark .about-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.about-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8f0fe, #d4e4f7);
    box-shadow: 0 4px 12px rgba(10, 74, 150, 0.1);
}

html.dark .about-card-icon {
    background: linear-gradient(135deg, #1a3a5c, #0d2240);
}

.about-card-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 800;
    color: #0a4a96;
    margin: 0;
    line-height: 1.2;
}

html.dark .about-card-title {
    color: #4f9bff;
}

/* ─── Card Body Text ─── */
.about-card p {
    font-size: 1.02rem;
    line-height: 1.9;
    color: #334155;
    margin: 0 0 1rem;
    text-align: justify;
}

html.dark .about-card p {
    color: #b0bec5;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* ═══ Highlight Box ═══ */
.about-highlight {
    background: linear-gradient(135deg, #f0f7ff, #e0ecf9);
    border-left: 4px solid #0a4a96;
    border-radius: 0 16px 16px 0;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #1e3a5f;
}

html.dark .about-highlight {
    background: linear-gradient(135deg, rgba(10, 74, 150, 0.15), rgba(79, 155, 255, 0.08));
    border-left-color: #4f9bff;
    color: #b0c4de;
}

/* ═══ Timeline Section ═══ */
.about-timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #0a4a96, #4f9bff, transparent);
    border-radius: 3px;
}

html.dark .about-timeline::before {
    background: linear-gradient(to bottom, #4f9bff, #1a73e8, transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #0a4a96;
    border: 3px solid #e8f0fe;
    box-shadow: 0 0 0 4px rgba(10, 74, 150, 0.15);
}

html.dark .timeline-item::before {
    background: #4f9bff;
    border-color: #0d1a2d;
    box-shadow: 0 0 0 4px rgba(79, 155, 255, 0.2);
}

.timeline-year {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0a4a96;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

html.dark .timeline-year {
    color: #4f9bff;
}

.timeline-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
}

html.dark .timeline-text {
    color: #94a3b8;
}

/* ═══ Clan Tags ═══ */
.clan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.clan-tag {
    display: inline-block;
    background: linear-gradient(135deg, #e8f0fe, #d4e4f7);
    color: #0a4a96;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(10, 74, 150, 0.1);
    transition: all 0.3s;
}

.clan-tag:hover {
    background: linear-gradient(135deg, #0a4a96, #1a73e8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 74, 150, 0.2);
}

html.dark .clan-tag {
    background: linear-gradient(135deg, rgba(79, 155, 255, 0.12), rgba(10, 74, 150, 0.2));
    color: #8bb8f0;
    border-color: rgba(79, 155, 255, 0.15);
}

html.dark .clan-tag:hover {
    background: linear-gradient(135deg, #1a73e8, #4f9bff);
    color: white;
}

/* ═══ Stats Row ═══ */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.about-stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, rgba(10, 74, 150, 0.04), rgba(79, 155, 255, 0.06));
    border-radius: 16px;
    border: 1px solid rgba(10, 74, 150, 0.06);
    transition: all 0.3s;
}

.about-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 74, 150, 0.1);
}

html.dark .about-stat {
    background: linear-gradient(135deg, rgba(79, 155, 255, 0.06), rgba(10, 74, 150, 0.1));
    border-color: rgba(79, 155, 255, 0.08);
}

.about-stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-stat-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #0a4a96;
    line-height: 1;
}

html.dark .about-stat-value {
    color: #4f9bff;
}

.about-stat-label {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.3rem;
    font-weight: 600;
}

html.dark .about-stat-label {
    color: #8899aa;
}

/* ═══ CTA Section ═══ */
.about-cta {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #0a4a96, #1a6fcc);
    border-radius: 24px;
    margin-top: 2rem;
}

.about-cta h3 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.about-cta p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0 1.5rem !important;
    text-align: center !important;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: white;
    color: #0a4a96;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ═══ Responsive ═══ */
@media (max-width: 768px) {
    .about-hero {
        padding: 2.5rem 1.5rem 2rem;
    }

    .about-content {
        margin-top: -1.5rem;
        padding: 0 1rem 3rem;
    }

    .about-card {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .about-card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.6rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1rem;
    }

    .timeline-item::before {
        left: -1.5rem;
    }
}

@media (max-width: 480px) {
    .about-card {
        padding: 1.2rem;
        border-radius: 14px;
    }

    .about-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .about-stat {
        padding: 1rem 0.8rem;
    }
}