/* ===========================
   Hero Slider
=========================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: all;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 44, 109, 0.62);
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    right: 60px;
    z-index: 2;
    text-align: left;
}

.slide-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

/* Prev / Next Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--color-white);
    font-size: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.slider-btn:hover {
    background: var(--color-white);
    border-color: var(--color-secondary);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: var(--color-white);
    border-color: var(--color-secondary);
    transform: scale(1.2);
}



/* ===========================
   Stats Bar
=========================== */
.stats-bar {
    background: var(--color-secondary);
    padding: var(--spacing-lg) 0;
    position: sticky;
    top: 70px;
    z-index: 90;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: var(--spacing-md);
}
.stat-item h3 {
    color: var(--color-white);
    font-size: var(--font-size-xxl);
    margin-bottom: var(--spacing-xs);
    transition: color 0.3s ease, font-size 0.3s ease;
}
.stat-item p {
    color: rgba(255,255,255,0.85);
    font-size: var(--font-size-sm);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

/* Sticky state — triggered by JS */
.stats-bar.is-sticky {
    background: var(--color-white);
    padding: 8px 0;
    border-bottom: 3px solid var(--color-secondary);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.stats-bar.is-sticky .stat-item h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
}
.stats-bar.is-sticky .stat-item p {
    color: var(--color-grey);
}

/* ===========================
   About Snapshot
=========================== */
.align-center {
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* ===========================
   Program Cards
=========================== */
.card-icon {
    font-size: 36px;
    padding: var(--spacing-lg) var(--spacing-lg) 0;
}

/* ===========================
   Why Choose Us
=========================== */
.why-item {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--border-radius-lg);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    box-shadow: var(--box-shadow);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.why-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-white);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}
.why-item:hover::before {
    transform: scaleX(1);
}
.why-item:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 20px 48px rgba(27,44,101,0.2);
    transform: translateY(-8px);
}
.why-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    display: block;
    transition: transform 0.35s ease;
}
.why-item:hover .why-icon {
    transform: scale(1.15);
}
.why-item h4 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    transition: color 0.35s ease;
}
.why-item:hover h4 {
    color: var(--color-white);
}
.why-item p {
    color: var(--color-grey);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    transition: color 0.35s ease;
}
.why-item:hover p {
    color: rgba(255,255,255,0.8);
}
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

/* ===========================
   News Cards
=========================== */
.news-date {
    font-size: var(--font-size-sm);
    color: var(--color-secondary);
    font-weight: 600;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.news-card .card-body h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.read-more {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.read-more:hover {
    color: var(--color-primary);
}

/* ===========================
   Testimonials
=========================== */
.testimonials-section {
    background: var(--color-primary);
}

.testimonials-section .section-header h2 {
    color: var(--color-white);
}

.testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.75);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    border-left: 4px solid var(--color-secondary);
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonial-author strong {
    display: block;
    color: var(--color-white);
    font-size: var(--font-size-base);
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
}

/* ===========================
   CTA Section
=========================== */

    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 992px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    .slide-content {
        left: 55px;
        right: 55px;
        bottom: 70px;
    }
    .slide-content p {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-md);
    }
    .hero-btns {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    .hero-btns .btn {
        width: 100%;
        text-align: center;
        display: block;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .slider-prev { left: 6px; }
    .slider-next { right: 6px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-lg); }
    .about-image img { height: 250px; }
}

@media (max-width: 480px) {
    .hero-slider { height: 380px; }
    .slide-content {
        left: 15px;
        right: 15px;
        bottom: 50px;
    }
    .slide-content p { font-size: var(--font-size-sm); }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .slider-dots { bottom: 10px; }
}

.program-level {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}




