/* =========================================================
   Modern Front Design System - EdTech Youth Edition
   ========================================================= */

:root {
    --brand-primary: #0072bc;
    --brand-primary-light: #0098ea;
    --brand-primary-gradient: linear-gradient(135deg, #005691 0%, #0072bc 50%, #00b4d8 100%);
    --brand-accent: #00b4d8;
    --brand-accent-gradient: linear-gradient(135deg, #0072bc 0%, #00d2d3 100%);
    --brand-secondary: #00d2d3;
    --brand-cyan: #00f2fe;
    --brand-dark: #071526;
    --brand-dark-card: #0b1a30;
    --brand-light-bg: #f4f8fb;
    --brand-card-bg: #ffffff;
    --brand-text: #0f172a;
    --brand-text-muted: #475569;
    --brand-border: #dbeafe;
    --brand-radius-sm: 12px;
    --brand-radius: 18px;
    --brand-radius-lg: 26px;
    --brand-shadow: 0 10px 25px -5px rgba(0, 114, 188, 0.1), 0 8px 10px -6px rgba(0, 114, 188, 0.05);
    --brand-shadow-hover: 0 20px 35px -5px rgba(0, 114, 188, 0.22), 0 10px 15px -5px rgba(0, 114, 188, 0.12);
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 90px;
}

body {
    font-family: 'Cairo', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    background-color: var(--brand-light-bg);
    color: var(--brand-text);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .btn, .nav-link, input, select, textarea, label {
    font-family: 'Cairo', sans-serif !important;
}

/* =========================================================
   Keyframe Animations
   ========================================================= */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.08); }
}

@keyframes shineEffect {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(200%) rotate(45deg); }
}

/* =========================================================
   Modern Hero Section
   ========================================================= */
.modern-hero-section {
    position: relative;
    padding: 100px 0 120px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 210, 211, 0.25) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(0, 114, 188, 0.3) 0%, transparent 35%),
                linear-gradient(135deg, #051426 0%, #0a2d52 50%, #005691 100%);
    overflow: hidden;
    color: #ffffff;
    z-index: 1;
}

.modern-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(0, 210, 211, 0.2) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 210, 211, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 210, 211, 0.4);
    border-radius: 50px;
    color: #00f2fe;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-main-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-main-title span.highlight {
    background: linear-gradient(120deg, #00f2fe, #4facfe, #00d2d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto 36px;
    font-weight: 500;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-modern-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    background: linear-gradient(135deg, #0072bc 0%, #00d2d3 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 17px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 114, 188, 0.45);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-decoration: none !important;
}

.btn-modern-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 30px rgba(0, 210, 211, 0.5);
    color: #ffffff;
}


.btn-modern-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: rotate(30deg);
    animation: shineEffect 4s infinite ease-in-out;
}

.btn-modern-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 30px rgba(255, 71, 87, 0.6);
    color: #ffffff;
}

.btn-modern-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-modern-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-3px);
    color: #ffffff;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 700px;
    margin: 0 auto;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffd166;
}

.hero-stat-info h4 {
    font-size: 19px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

.hero-stat-info p {
    font-size: 13px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* =========================================================
   Modern Section Alternating Backgrounds & Layout (High Contrast)
   ========================================================= */
.section-cool-ice {
    background: #eaf3fb !important;
    border-top: 2px solid #d0e4f7 !important;
    border-bottom: 2px solid #d0e4f7 !important;
    position: relative;
}

.section-pure-white {
    background: #ffffff !important;
    border-top: 2px solid #edf2f7 !important;
    border-bottom: 2px solid #edf2f7 !important;
    position: relative;
}

.section-slate-soft {
    background: #e4edf5 !important;
    border-top: 2px solid #cce0ee !important;
    border-bottom: 2px solid #cce0ee !important;
    position: relative;
}

/* Contrast Enhancement for Cards Inside Colored Sections */
.section-cool-ice .modern-feature-card,
.section-cool-ice .modern-course-card,
.section-cool-ice .modern-quiz-card,
.section-slate-soft .modern-feature-card,
.section-slate-soft .modern-course-card,
.section-slate-soft .modern-quiz-card {
    background: #ffffff !important;
    border: 1.5px solid #d5e5f5 !important;
    box-shadow: 0 8px 24px rgba(0, 70, 130, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.section-cool-ice .modern-feature-card:hover,
.section-cool-ice .modern-course-card:hover,
.section-cool-ice .modern-quiz-card:hover,
.section-slate-soft .modern-feature-card:hover,
.section-slate-soft .modern-course-card:hover,
.section-slate-soft .modern-quiz-card:hover {
    border-color: #0072bc !important;
    box-shadow: 0 16px 36px rgba(0, 114, 188, 0.16) !important;
}

/* =========================================================
   Modern Section Headers
   ========================================================= */
.modern-section-header {
    text-align: center;
    margin-bottom: 45px;
    position: relative;
}

.modern-section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(0, 114, 188, 0.08);
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 114, 188, 0.15);
}

.modern-section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 10px;
}

.modern-section-desc {
    font-size: 1.05rem;
    color: var(--brand-text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.modern-section-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #0072bc, #00d2d3);
    border-radius: 4px;
    margin: 16px auto 0 auto;
}

/* =========================================================
   Modern Feature Cards & Elevated Containers
   ========================================================= */
.modern-feature-card, .modern-course-card, .modern-quiz-card, .modern-faq-card {
    background: #ffffff;
    border-radius: var(--brand-radius);
    padding: 28px 22px;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 18px rgba(0, 70, 130, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-feature-card:hover, .modern-course-card:hover, .modern-quiz-card:hover {
    border-color: #0072bc !important;
    box-shadow: 0 14px 30px rgba(0, 114, 188, 0.14), 0 4px 10px rgba(0, 0, 0, 0.04) !important;
    transform: translateY(-5px) !important;
}

.modern-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--brand-shadow-hover);
    border-color: rgba(0, 114, 188, 0.3);
}

.modern-feature-card:hover::before {
    opacity: 1;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.modern-feature-card:hover .feature-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.icon-blue, .icon-purple {
    background: rgba(0, 114, 188, 0.1);
    color: var(--brand-primary);
}

.icon-cyan {
    background: rgba(0, 210, 211, 0.15);
    color: #008ba3;
}

.icon-navy, .icon-rose {
    background: rgba(7, 21, 38, 0.08);
    color: #005691;
}

.modern-feature-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.modern-feature-card p {
    font-size: 0.95rem;
    color: var(--brand-text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* =========================================================
   Modern Course Cards
   ========================================================= */
.modern-course-card {
    background: #ffffff;
    border-radius: var(--brand-radius);
    border: 1px solid var(--brand-border);
    box-shadow: var(--brand-shadow);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modern-course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--brand-shadow-hover);
    border-color: rgba(0, 114, 188, 0.25);
}

.course-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.course-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-course-card:hover .course-thumb-wrapper img {
    transform: scale(1.08);
}

.course-class-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: right;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.4;
}

.course-title a {
    color: var(--brand-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.course-title a:hover {
    color: var(--brand-primary);
}

.course-teacher-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.course-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--brand-border);
}

.btn-course-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 18px;
    background: rgba(0, 114, 188, 0.08);
    color: var(--brand-primary) !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.btn-course-view:hover {
    background: var(--brand-primary);
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(0, 114, 188, 0.3);
}

/* =========================================================
   Modern Quiz / Exam Cards
   ========================================================= */
.modern-quiz-card {
    background: #ffffff;
    border-radius: var(--brand-radius);
    border: 1px solid var(--brand-border);
    box-shadow: var(--brand-shadow);
    padding: 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-quiz-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--brand-shadow-hover);
    border-color: rgba(0, 114, 188, 0.3);
}

.quiz-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 14px;
}

.badge-free {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-paid {
    background: #e6fffa;
    color: #0072bc;
}

.quiz-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 6px;
}

.quiz-card-course {
    font-size: 0.9rem;
    color: var(--brand-text-muted);
    margin-bottom: 16px;
}

.quiz-meta-grid {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.quiz-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.quiz-meta-row:last-child {
    margin-bottom: 0;
}

.quiz-action-wrapper {
    margin-top: auto;
}

/* =========================================================
   Modern FAQ Accordion
   ========================================================= */
.modern-faq-card {
    background: #ffffff;
    border-radius: var(--brand-radius-sm);
    border: 1px solid var(--brand-border);
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.modern-faq-header {
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    user-select: none;
    transition: background-color 0.2s ease;
}

.modern-faq-header:hover {
    background: #f8fafc;
}

.modern-faq-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modern-faq-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 114, 188, 0.1);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.modern-faq-body {
    padding: 0 22px 20px 22px;
    color: var(--brand-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* =========================================================
   Modern Auth Styles (Login & Register)
   ========================================================= */
.modern-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 15px;
    background: radial-gradient(circle at 10% 20%, rgba(0, 114, 188, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 210, 211, 0.08) 0%, transparent 40%),
                #f8fafc;
    position: relative;
}

.modern-auth-card {
    background: #ffffff;
    border-radius: var(--brand-radius-lg);
    box-shadow: 0 25px 60px -15px rgba(0, 114, 188, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 40px;
    width: 100%;
    max-width: 520px;
    position: relative;
    overflow: hidden;
}

.modern-auth-card.wide {
    max-width: 820px;
}

.modern-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--brand-primary-gradient);
}

.auth-header-box {
    text-align: center;
    margin-bottom: 30px;
}

.auth-brand-logo {
    max-height: 65px;
    width: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 10px rgba(0, 114, 188, 0.15));
}

.auth-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--brand-text-muted);
}

.modern-input-group {
    margin-bottom: 20px;
    text-align: right;
}

.modern-input-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 8px;
}

.modern-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.modern-input-control {
    width: 100%;
    height: 50px;
    border-radius: var(--brand-radius-sm);
    border: 1.5px solid var(--brand-border);
    padding: 10px 16px;
    font-size: 0.95rem;
    color: var(--brand-dark);
    background: #ffffff;
    transition: all 0.25s ease;
    outline: none;
}

.modern-input-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(0, 114, 188, 0.12);
}

.modern-input-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.btn-auth-submit {
    width: 100%;
    height: 52px;
    border-radius: var(--brand-radius-sm);
    background: var(--brand-primary-gradient);
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 114, 188, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
}

.btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 114, 188, 0.4);
    color: #ffffff;
}

.btn-auth-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: var(--brand-radius-sm);
    background: rgba(0, 114, 188, 0.06);
    color: var(--brand-primary) !important;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid rgba(0, 114, 188, 0.15);
    text-decoration: none !important;
    transition: all 0.25s ease;
    margin-top: 12px;
}

.btn-auth-secondary:hover {
    background: rgba(0, 114, 188, 0.12);
    color: var(--brand-primary);
}

/* =========================================================
   Modern Footer Styles
   ========================================================= */
.modern-footer {
    background: linear-gradient(180deg, #071526 0%, #030a14 100%);
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}

.footer-glow-bar {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #0072bc 30%, #00d2d3 50%, #0072bc 70%, transparent 100%);
    box-shadow: 0 0 15px #00d2d3;
}

.footer-about-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #94a3b8;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2.5px;
    background: #00d2d3;
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list a:hover {
    color: #00d2d3;
    transform: translateX(-4px);
}

.footer-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    color: #ffffff;
}

.social-btn.facebook:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4); }
.social-btn.youtube:hover { background: #ff0000; border-color: #ff0000; box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4); }
.social-btn.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }
.social-btn.whatsapp:hover { background: #25d366; border-color: #25d366; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }

.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.footer-contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 210, 211, 0.15);
    color: #00d2d3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text span {
    font-size: 11px;
    color: #94a3b8;
}

.contact-text a {
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s ease;
    direction: ltr;
    text-align: right;
}

.contact-text a:hover {
    color: #00d2d3;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 210, 211, 0.1);
    border: 1px solid rgba(0, 210, 211, 0.25);
    border-radius: 30px;
    color: #00d2d3;
    font-size: 12px;
    font-weight: 700;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00d2d3;
    border-radius: 50%;
    box-shadow: 0 0 8px #00d2d3;
    animation: pulseGlow 1.5s infinite;
}

.footer-bottom-bar {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.copyright-text {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */
@media (max-width: 991px) {
    .hero-main-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .modern-hero-section {
        padding: 60px 0 80px;
    }

    .hero-main-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .modern-section-title {
        font-size: 1.8rem;
    }

/* =========================================================
   Modern Slick Slider Styling (Classes, Subjects, Courses, Teachers)
   ========================================================= */
.classes-slider, .subjects-slider, .courses-slider, .teachers-slider {
    position: relative;
    padding: 10px 0 45px 0;
    margin: 0 -10px;
}

.classes-slider .slick-track, .subjects-slider .slick-track, .courses-slider .slick-track, .teachers-slider .slick-track {
    display: flex !important;
    align-items: stretch !important;
}

.classes-slider .slick-slide, .subjects-slider .slick-slide, .courses-slider .slick-slide, .teachers-slider .slick-slide {
    height: auto !important;
    padding: 0 10px;
    outline: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.classes-slider .slick-slide > div, .subjects-slider .slick-slide > div, .courses-slider .slick-slide > div, .teachers-slider .slick-slide > div {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.slick-arrow-custom {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #dbeafe;
    color: #0072bc;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 114, 188, 0.15);
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
}

.slick-arrow-custom:hover {
    background: #0072bc;
    color: #ffffff;
    border-color: #0072bc;
    box-shadow: 0 8px 20px rgba(0, 114, 188, 0.35);
    transform: translateY(-50%) scale(1.08);
}

.slick-prev.slick-arrow-custom {
    right: -20px;
}

.slick-next.slick-arrow-custom {
    left: -20px;
}

@media (max-width: 768px) {
    .slick-prev.slick-arrow-custom { right: -5px; width: 36px; height: 36px; font-size: 16px; }
    .slick-next.slick-arrow-custom { left: -5px; width: 36px; height: 36px; font-size: 16px; }
}

.slick-dots {
    bottom: 0px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.slick-dots li {
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}

.slick-dots li button {
    width: 10px !important;
    height: 10px !important;
    padding: 0 !important;
    border-radius: 50%;
    background: #cbd5e1 !important;
    border: none;
    transition: all 0.3s ease;
    font-size: 0;
}

.slick-dots li button::before {
    display: none !important;
}

.slick-dots li.slick-active button {
    width: 26px !important;
    border-radius: 10px !important;
    background: #0072bc !important;
    box-shadow: 0 2px 8px rgba(0, 114, 188, 0.4);
}

