/* ============================================================
   Education Slider — Frontend Styles
   Uses high-specificity selectors to override theme CSS
   ============================================================ */


/* ── Wrapper ──────────────────────────────────────────────── */
.edu-slider-wrapper {
    position: relative !important;
    width: 100% !important;
    height: var(--slider-height, 90vh) !important;
    min-height: 420px !important;
    overflow: hidden !important;
    font-family: 'Poppins', sans-serif !important;
    box-sizing: border-box !important;
}

/* ── Slide track & individual slides ─────────────────────── */
.edu-slider-wrapper .edu-slider-track {
    position: absolute !important;
    top: 0 !important; right: 0 !important;
    bottom: 0 !important; left: 0 !important;
    z-index: 0 !important;
}

.edu-slider-wrapper .edu-slide {
    position: absolute !important;
    top: 0 !important; right: 0 !important;
    bottom: 0 !important; left: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0 !important;
    transform: scale(1.04) !important;
    transition: opacity 1s ease, transform 6s ease !important;
    will-change: opacity, transform !important;
}

.edu-slider-wrapper .edu-slide.active {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Dark overlay */
.edu-slider-wrapper .edu-slide-overlay {
    position: absolute !important;
    top: 0 !important; right: 0 !important;
    bottom: 0 !important; left: 0 !important;
    background: linear-gradient(
        to right,
        rgba(10, 12, 30, 0.82) 0%,
        rgba(10, 12, 30, 0.55) 55%,
        rgba(10, 12, 30, 0.15) 100%
    ) !important;
    z-index: 1 !important;
}

/* ── Static content (does NOT slide) ─────────────────────── */
.edu-slider-wrapper .edu-slider-content {
    position: absolute !important;
    top: 0 !important; right: 0 !important;
    bottom: 0 !important; left: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
}

.edu-slider-wrapper .edu-content-inner {
    max-width: 620px !important;
    padding: 0 60px !important;
    animation: eduFadeUp 1s ease both !important;
}

@keyframes eduFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero Title — force white regardless of theme ─────────── */
.edu-slider-wrapper .edu-slider-content .edu-hero-title,
.edu-slider-wrapper .edu-content-inner .edu-hero-title,
.edu-slider-wrapper h1.edu-hero-title {
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: clamp(1.5rem, 3vw, 2.6rem) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    margin: 0 0 12px !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5) !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

.edu-slider-wrapper .edu-hero-title em {
    font-style: normal !important;
    text-decoration: underline !important;
    text-decoration-color: #eebe1d !important;
    text-underline-offset: 6px !important;
    text-decoration-thickness: 3px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* ── Description — force white ────────────────────────────── */
.edu-slider-wrapper .edu-slider-content .edu-hero-desc,
.edu-slider-wrapper .edu-content-inner .edu-hero-desc,
.edu-slider-wrapper p.edu-hero-desc {
   font-size: clamp(0.82rem, 1.1vw, 0.95rem) !important;
    font-weight: 300 !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 0 22px !important;
    max-width: 520px !important;
    background: none !important;
}

/* ── CTA Buttons ─────────────────────────────────────────── */
.edu-slider-wrapper .edu-hero-btns {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin-bottom: 0 !important;
}

.edu-slider-wrapper .edu-btn {
    display: inline-flex !important;
    align-items: center !important;
    padding: 11px 24px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    line-height: 1 !important;
}

.edu-slider-wrapper .edu-btn-primary {
    background: #eebe1d !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 2px solid #eebe1d !important;
}
.edu-slider-wrapper .edu-btn-primary:hover {
    background: #eebe1d !important;
    border-color: #eebe1d !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(230, 200, 10, 0.69) !important;
}

.edu-slider-wrapper .edu-btn-outline {
    background: transparent !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.85) !important;
}
.edu-slider-wrapper .edu-btn-outline:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* ── Navigation Dots — properly sized, no yellow ─────────── */
.edu-slider-wrapper .edu-slider-dots {
    position: absolute !important;
    bottom: 24px !important;
    left: 60px !important;
    display: flex !important;
    gap: 8px !important;
    z-index: 20 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

.edu-slider-wrapper .edu-slider-dots .edu-dot {
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: 10px !important;
    max-height: 10px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255,255,255,0.7) !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.edu-slider-wrapper .edu-slider-dots .edu-dot.active,
.edu-slider-wrapper .edu-slider-dots .edu-dot:hover {
    background: #eebe1d !important;
    background-color: #eebe1d !important;
    border-color: #eebe1d !important;
    transform: scale(1.35) !important;
}

/* ── Prev / Next Arrows ───────────────────────────────────── */
.edu-slider-wrapper .edu-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    width: 52px !important;
    height: 52px !important;
    background: rgba(255,255,255,0.12) !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 2rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
    backdrop-filter: blur(6px) !important;
    padding: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.edu-slider-wrapper .edu-arrow:hover {
    background: #eebe1d !important;
    border-color: #eebe1d !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.edu-slider-wrapper .edu-arrow-prev { left: 16px !important; }
.edu-slider-wrapper .edu-arrow-next { right: 16px !important; }

/* ── Empty state ─────────────────────────────────────────── */
.edu-slider-empty {
    background: #f0f0f0;
    padding: 40px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* ── Feature Blocks ──────────────────────────────────────── */
.edu-features-row {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.edu-features-row .edu-feature-block {
    flex: 1 !important;
    padding: 44px 40px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.edu-features-row .edu-feature-block:nth-child(1),
.edu-features-row .edu-feat-navy {
    background: #192b8f !important;
    background-color: #192b8f !important;
}
.edu-features-row .edu-feature-block:nth-child(2),
.edu-features-row .edu-feat-blue {
    background: #0925a8 !important;
    background-color: #0925a8 !important;
}
.edu-features-row .edu-feature-block:nth-child(3),
.edu-features-row .edu-feat-red {
    background: #eebe1d !important;
    background-color: #eebe1d !important;
}

.edu-features-row .edu-feature-icon {
    display: block !important;
    font-size: 2rem !important;
    margin-bottom: 16px !important;
    opacity: 0.9 !important;
}

.edu-features-row .edu-feature-block h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    margin: 0 0 12px !important;
}

.edu-features-row .edu-feature-block p {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    color: rgba(255,255,255,0.85) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.85) !important;
    margin: 0 !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .edu-slider-wrapper .edu-content-inner {
        padding: 0 24px !important;
        max-width: 100% !important;
    }
    .edu-slider-wrapper .edu-slider-dots {
        left: 24px !important;
        bottom: 16px !important;
    }
    .edu-features-row {
        flex-direction: column !important;
    }
    .edu-features-row .edu-feature-block {
        padding: 28px 24px !important;
    }
    .edu-slider-wrapper .edu-hero-btns {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .edu-slider-wrapper .edu-arrow { display: none !important; }
}
