/* ==========================================================================
   About Us Page — Light Theme Redesign
   ========================================================================== */

.text-brand { color: var(--brand-primary, #2563eb) !important; }
.bg-brand   { background-color: var(--brand-primary, #2563eb) !important; }

/* Smooth Hover Effects */
.hover-lift { 
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s ease; 
}
.hover-lift:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important; 
}

/* Stat Cards Strip */
.about-stat-card {
    background: var(--surface-card);
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.15);
}

.about-stat-icon {
    width: 52px;
    height: 52px;
    background: #eff6ff;
    color: var(--brand-primary, #2563eb);
    font-size: 1.3rem;
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    transition: all 0.25s ease;
}
.about-stat-card:hover .about-stat-icon {
    background: var(--brand-primary, #2563eb);
    border-color: var(--brand-primary, #2563eb);
    color: #ffffff;
    transform: scale(1.08);
}

/* Founder Avatar Ring */
.avatar-glow-wrap {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    position: relative;
    padding: 4px;
    background: linear-gradient(135deg, var(--brand-primary, #2563eb) 0%, #38bdf8 100%);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.22);
}
.avatar-glow-wrap img {
    border: 4px solid #ffffff;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Teacher speech box */
.teacher-speech-content {
    background: transparent !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Gallery Frame & Carousel */
.about-gallery-frame {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
.about-gallery-carousel.owl-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 1rem;
}
.about-gallery-carousel.owl-carousel .owl-dot {
    width: 8px;
    height: 8px;
    background: #cbd5e1 !important;
    border-radius: 50%;
    border: none;
    padding: 0;
    transition: all 0.25s ease;
}
.about-gallery-carousel.owl-carousel .owl-dot.active {
    background: var(--brand-primary, #2563eb) !important;
    width: 22px;
    border-radius: 999px;
}

/* --- Community Eyebrow Badge & Tags --- */
.community-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary, #2563eb);
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
}

.about-community-heading {
    color: var(--color-text-main, #0f172a);
}

.about-community-desc {
    color: var(--color-text-muted, #64748b);
}

.founder-name {
    color: var(--color-text-main, #0f172a);
}

.founder-sub {
    color: var(--color-text-muted, #64748b);
}

.teacher-speech-title {
    color: var(--color-text-main, #0f172a);
}

.teacher-speech-lead {
    color: var(--brand-primary, #2563eb);
}

.teacher-speech-text {
    color: var(--color-text-muted, #64748b);
}

.teacher-speech-farewell {
    color: var(--color-text-main, #0f172a);
}

.community-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.community-tag-pill.tag-blue {
    color: #2563eb;
    border: 1.5px solid rgba(37, 99, 235, 0.22);
    background: rgba(37, 99, 235, 0.06);
}
.community-tag-pill.tag-blue i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 0.85rem;
}
.community-tag-pill.tag-blue:hover {
    transform: translateY(-2px);
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.12);
}

.community-tag-pill.tag-green {
    color: #059669;
    border: 1.5px solid rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.06);
}
.community-tag-pill.tag-green i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #059669;
    font-size: 0.85rem;
}
.community-tag-pill.tag-green:hover {
    transform: translateY(-2px);
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

/* Student Features (Why Choose Us) */
.student-feature-card {
    background: var(--surface-card, #ffffff) !important;
    border: 1.5px solid var(--color-border, #e2e8f0) !important;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.student-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.35) !important;
    box-shadow: 0 14px 30px -8px rgba(37, 99, 235, 0.16) !important;
}

.student-feature-title {
    color: var(--color-text-main) !important;
    font-size: 1.05rem;
    font-weight: 700;
}

.student-feature-desc {
    color: var(--color-text-muted) !important;
    line-height: 1.5;
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary, #2563eb);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(37, 99, 235, 0.18);
    transition: all 0.25s ease;
}
.student-feature-card:hover .feature-icon-wrapper {
    background: var(--brand-primary, #2563eb);
    color: #ffffff;
    border-color: var(--brand-primary, #2563eb);
    transform: scale(1.08);
}

/* Bottom CTA Section */
.about-cta-section {
    background: linear-gradient(135deg, var(--brand-primary, #2563eb) 0%, var(--brand-primary-hover, #1d4ed8) 100%) !important;
    color: #ffffff !important;
    border-radius: 0;
}

/* --- Founder Social Buttons --- */
.founder-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card);
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    text-decoration: none;
}
.founder-social-btn.fb-btn {
    color: #1877f2;
}
.founder-social-btn.fb-btn:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(24, 119, 242, 0.3);
}
.founder-social-btn.yt-btn {
    color: #ff0000;
}
.founder-social-btn.yt-btn:hover {
    background: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(255, 0, 0, 0.3);
}

/* --- Bottom CTA Buttons --- */
.btn-about-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0.8rem 2.2rem !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.5) !important;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-about-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.65) !important;
    color: #ffffff !important;
}

.btn-about-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    padding: 0.8rem 2.2rem !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    backdrop-filter: blur(8px);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-about-secondary:hover {
    background: var(--surface-card) !important;
    color: #0f172a !important;
    border-color: #ffffff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.2) !important;
}

@media (max-width: 767.98px) {
    .avatar-glow-wrap { width: 145px; height: 145px; }
}

/* ══════════════════════════════════════════════════════════
   DARK MODE OVERRIDES
══════════════════════════════════════════════════════════ */
[data-theme="dark"] .about-stat-card {
    background: var(--surface-card) !important;
    border-color: var(--color-border) !important;
}
[data-theme="dark"] .about-stat-card:hover { border-color: rgba(37,99,235,0.5) !important; }
[data-theme="dark"] .about-stat-icon {
    background: rgba(37,99,235,0.15) !important;
    border-color: rgba(37,99,235,0.25) !important;
}
[data-theme="dark"] .about-stat-number { color: var(--color-text-main) !important; }
[data-theme="dark"] .about-stat-label  { color: var(--color-text-muted) !important; }

[data-theme="dark"] .teacher-speech-content {
    background: var(--body-bg) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text-muted) !important;
}
[data-theme="dark"] .about-community-heading { color: #ffffff !important; }
[data-theme="dark"] .about-community-desc    { color: var(--color-text-muted) !important; }
[data-theme="dark"] .founder-name            { color: #ffffff !important; }
[data-theme="dark"] .founder-sub             { color: var(--color-text-muted) !important; }
[data-theme="dark"] .teacher-speech-title    { color: #ffffff !important; }
[data-theme="dark"] .teacher-speech-text     { color: var(--color-text-muted) !important; }
[data-theme="dark"] .teacher-speech-farewell { color: #ffffff !important; }

[data-theme="dark"] .community-eyebrow-badge {
    background: rgba(37,99,235,0.15) !important;
    border-color: rgba(37,99,235,0.3) !important;
    color: #93c5fd !important;
}
[data-theme="dark"] .community-tag-pill.tag-blue {
    background: rgba(37,99,235,0.12) !important;
    border-color: rgba(37,99,235,0.3) !important;
    color: #93c5fd !important;
}
[data-theme="dark"] .community-tag-pill.tag-blue i {
    background: rgba(37,99,235,0.2) !important;
    color: #93c5fd !important;
}
[data-theme="dark"] .community-tag-pill.tag-green {
    background: rgba(5,150,105,0.12) !important;
    border-color: rgba(5,150,105,0.3) !important;
    color: #6ee7b7 !important;
}
[data-theme="dark"] .community-tag-pill.tag-green i {
    background: rgba(5,150,105,0.2) !important;
    color: #6ee7b7 !important;
}

[data-theme="dark"] .student-feature-card {
    background: var(--surface-card) !important;
    border-color: var(--color-border) !important;
}
[data-theme="dark"] .student-feature-card:hover { border-color: rgba(37,99,235,0.45) !important; }
[data-theme="dark"] .feature-icon-wrapper {
    background: rgba(37,99,235,0.15) !important;
    border-color: rgba(37,99,235,0.25) !important;
}
[data-theme="dark"] .student-feature-title { color: var(--color-text-main) !important; }
[data-theme="dark"] .student-feature-desc  { color: var(--color-text-muted) !important; }

[data-theme="dark"] .founder-social-btn {
    background: rgba(255,255,255,0.06) !important;
    border-color: var(--color-border) !important;
}
[data-theme="dark"] .founder-social-btn.fb-btn { color: #60a5fa !important; }
[data-theme="dark"] .founder-social-btn.yt-btn { color: #f87171 !important; }

[data-theme="dark"] .about-gallery-carousel .owl-dot { background: var(--color-border) !important; }
