/* ============================================================
   EduzPlus — About Us Page Styles
   Premium design with animated hero, feature cards, and
   mission pillars. White / light theme.
   ============================================================ */

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

/* ─── Page Base ─── */
.eduzplus-about-page {
    background: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
}

/* ═══════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════ */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 7rem 2rem 5rem;
}

/* Animated gradient background */
.about-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #0f172a 0%,
        #1e293b 20%,
        #0f3460 45%,
        #1a1a2e 65%,
        #16213e 85%,
        #0f172a 100%
    );
    background-size: 400% 400%;
    animation: aboutHeroGradient 15s ease infinite;
    z-index: 0;
}

@keyframes aboutHeroGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles */
.about-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.about-hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    animation: aboutParticleFloat linear infinite;
}

.about-hero-particle:nth-child(1) {
    width: 300px; height: 300px;
    top: -80px; left: -60px;
    animation-duration: 20s;
}
.about-hero-particle:nth-child(2) {
    width: 200px; height: 200px;
    top: 30%; right: -40px;
    animation-duration: 25s;
    animation-delay: -5s;
}
.about-hero-particle:nth-child(3) {
    width: 150px; height: 150px;
    bottom: -30px; left: 40%;
    animation-duration: 18s;
    animation-delay: -10s;
}
.about-hero-particle:nth-child(4) {
    width: 100px; height: 100px;
    top: 20%; left: 60%;
    animation-duration: 22s;
    animation-delay: -3s;
}

@keyframes aboutParticleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(30px, -30px) scale(1.1); }
    50%      { transform: translate(-20px, 20px) scale(0.95); }
    75%      { transform: translate(15px, 15px) scale(1.05); }
}

/* Overlay gradients */
.about-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(0, 86, 179, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

/* Content */
.about-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    color: #ffffff;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(15px);
    animation: aboutFadeUp 0.6s 0.1s ease forwards;
}

.about-hero-badge svg {
    width: 14px; height: 14px;
    fill: none; stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.about-hero-title {
    font-family: var(--eduzplus-font-primary, 'Inter', sans-serif);
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 1.25rem;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(25px);
    animation: aboutFadeUp 0.7s 0.2s ease forwards;
}

.about-hero-title em {
    font-style: italic;
    font-family: 'Playfair Display', Georgia, serif;
    color: #93c5fd;
}

.about-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 620px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(15px);
    animation: aboutFadeUp 0.6s 0.4s ease forwards;
}

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

/* ═══════════════════════════════════
   SHARED SECTION STYLES
   ═══════════════════════════════════ */
.about-section {
    padding: 5rem 2rem;
}

.about-container {
    max-width: var(--eduzplus-container-width, 1200px);
    margin: 0 auto;
}

.about-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.about-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--eduzplus-primary, #0056b3);
    margin-bottom: 1rem;
}

.about-label-line {
    display: inline-block;
    width: 28px;
    height: 3px;
    background: var(--eduzplus-primary, #0056b3);
    border-radius: 10px;
}

.about-section-title {
    font-family: var(--eduzplus-font-primary, 'Inter', sans-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.about-section-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════
   INTRO SECTION
   ═══════════════════════════════════ */
.about-intro {
    padding: 4rem 2rem 3rem;
    background: #f8fafc;
}

.about-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--eduzplus-primary, #0056b3), #6366f1);
    border-radius: 10px;
    margin: 0 auto 2rem;
}

.about-lead-text {
    font-size: 1.2rem;
    line-height: 1.85;
    color: #334155;
    font-weight: 400;
    margin: 0;
}

/* ═══════════════════════════════════
   OFFERINGS GRID
   ═══════════════════════════════════ */
.about-offerings {
    background: #ffffff;
}

.about-offerings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.about-offer-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--eduzplus-primary, #0056b3), #6366f1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 20px 20px 0 0;
}

.about-offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 86, 179, 0.2);
}

.about-offer-card:hover::before {
    transform: scaleX(1);
}

.about-offer-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.08), rgba(0, 86, 179, 0.04));
    color: var(--eduzplus-primary, #0056b3);
    transition: all 0.3s ease;
}

.about-offer-card:hover .about-offer-icon {
    background: linear-gradient(135deg, var(--eduzplus-primary, #0056b3), #3b82f6);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 86, 179, 0.3);
}

/* Color variants */
.about-offer-icon--news {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.04));
    color: #10b981;
}
.about-offer-card:hover .about-offer-icon--news {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.about-offer-icon--audio {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.04));
    color: #8b5cf6;
}
.about-offer-card:hover .about-offer-icon--audio {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: #fff;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.about-offer-icon--video {
    background: linear-gradient(135deg, rgba(245, 101, 63, 0.08), rgba(245, 101, 63, 0.04));
    color: #f5653f;
}
.about-offer-card:hover .about-offer-icon--video {
    background: linear-gradient(135deg, #f5653f, #fb923c);
    color: #fff;
    box-shadow: 0 8px 24px rgba(245, 101, 63, 0.3);
}

.about-offer-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-offer-title {
    font-family: var(--eduzplus-font-primary, 'Inter', sans-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.about-offer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* ═══════════════════════════════════
   COMMUNITY BANNER
   ═══════════════════════════════════ */
.about-community {
    background: #f8fafc;
    padding: 4rem 2rem;
}

.about-community-card {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f3460 100%);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    overflow: hidden;
    color: #ffffff;
}

.about-community-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.about-community-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-community-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    fill: none;
    stroke: #93c5fd;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 4px;
}

.about-community-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.about-community-text strong {
    color: #ffffff;
    font-weight: 700;
}

/* ═══════════════════════════════════
   MISSION SECTION
   ═══════════════════════════════════ */
.about-mission {
    background: #ffffff;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.about-mission-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.about-mission-item:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transform: translateY(-3px);
}

.about-mission-number {
    font-family: var(--eduzplus-font-primary, 'Inter', sans-serif);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 86, 179, 0.1);
    flex-shrink: 0;
    min-width: 56px;
    transition: color 0.3s;
}

.about-mission-item:hover .about-mission-number {
    color: rgba(0, 86, 179, 0.2);
}

.about-mission-body {
    flex: 1;
}

.about-mission-title {
    font-family: var(--eduzplus-font-primary, 'Inter', sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.about-mission-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

/* ═══════════════════════════════════
   CLOSING SECTION
   ═══════════════════════════════════ */
.about-closing {
    background: #f8fafc;
    padding: 5rem 2rem;
}

.about-closing-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.about-closing-quote {
    position: relative;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
    font-weight: 700;
    line-height: 1.7;
    color: #0f172a;
    margin: 0 0 2rem;
    padding: 0;
    border: none;
}

.about-closing-quote em {
    color: var(--eduzplus-primary, #0056b3);
    font-style: italic;
}

.about-quote-icon {
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto 1.25rem;
    fill: rgba(0, 86, 179, 0.12);
    stroke: none;
}

.about-closing-cta {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.about-closing-cta strong {
    color: #334155;
}

/* ═══════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════ */
.about-offer-card,
.about-mission-item,
.about-community-card,
.about-intro-content,
.about-closing-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-offer-card.is-visible,
.about-mission-item.is-visible,
.about-community-card.is-visible,
.about-intro-content.is-visible,
.about-closing-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.about-offer-card:nth-child(1) { transition-delay: 0.05s; }
.about-offer-card:nth-child(2) { transition-delay: 0.15s; }
.about-offer-card:nth-child(3) { transition-delay: 0.25s; }
.about-offer-card:nth-child(4) { transition-delay: 0.35s; }

.about-mission-item:nth-child(1) { transition-delay: 0.05s; }
.about-mission-item:nth-child(2) { transition-delay: 0.15s; }
.about-mission-item:nth-child(3) { transition-delay: 0.25s; }
.about-mission-item:nth-child(4) { transition-delay: 0.35s; }

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 1024px) {
    .about-offerings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .about-mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 380px;
        padding: 5rem 1.25rem 4rem;
    }

    .about-hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .about-hero-subtitle {
        font-size: 1rem;
    }

    .about-section {
        padding: 3.5rem 1.25rem;
    }

    .about-intro {
        padding: 3rem 1.25rem 2.5rem;
    }

    .about-lead-text {
        font-size: 1.05rem;
    }

    .about-offerings-grid,
    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-offer-card {
        padding: 2rem;
    }

    .about-community-card {
        padding: 2.5rem 1.75rem;
    }

    .about-community-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .about-community-text {
        font-size: 1.05rem;
    }

    .about-mission-item {
        padding: 1.5rem;
    }

    .about-mission-number {
        font-size: 2rem;
        min-width: 44px;
    }

    .about-closing {
        padding: 3.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        min-height: 320px;
        padding: 4rem 1rem 3rem;
    }

    .about-offer-card {
        padding: 1.5rem;
    }

    .about-community-card {
        padding: 2rem 1.25rem;
    }

    .about-closing-quote {
        font-size: 1.15rem;
    }
}
