/* ══════════════════════════════════════
   INDEX / HOME PAGE — Slider & Sections
   ══════════════════════════════════════ */

/* ── Hero Slider ── */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--surface-800);
}

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

.slider__item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s;
    display: flex;
    align-items: center;
    padding-top: 124px;
    /* ← navbar height offset */
}

.slider__item.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.slider__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 8s ease-out;
}

.slider__bg--mobile {
    display: none;
}

.slider__item.active .slider__bg {
    transform: scale(1);
}

.slider__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.70);
}

.slider__body {
    position: relative;
    z-index: 20;
    max-width: 700px;
    padding: 0 24px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.9s var(--ease-out) 0.4s;
}

.slider__item.active .slider__body {
    transform: translateY(0);
    opacity: 1;
}

.slider__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(217, 104, 70, 0.08);
    border: 1px solid rgba(217, 104, 70, 0.18);
    border-radius: var(--rad-pill);
    color: var(--clr-emerald-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
}

.slider__title {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--txt-primary);
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.slider__desc {
    font-size: 1.15rem;
    color: var(--txt-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 560px;
}

.slider__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--clr-emerald-dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--speed-smooth) var(--ease-out);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.slider__arrow:hover {
    background: var(--clr-emerald);
    color: #ffffff;
    border-color: var(--clr-emerald);
    transform: translateY(-50%) scale(1.08);
    box-shadow: var(--glow-md);
}

.slider__arrow--prev {
    left: 30px;
}

.slider__arrow--next {
    right: 30px;
}

.slider__dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 30;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(12px);
    border-radius: var(--rad-pill);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    border: none;
    cursor: pointer;
    transition: all var(--speed-fast);
}

.slider__dot.active {
    background: var(--clr-emerald);
    transform: scale(1.35);
    box-shadow: 0 0 10px rgba(217, 104, 70, 0.35);
}

/* ── Why Education Loans Section ── */
.why-loans {
    padding: 110px 0;
    background: var(--surface-900);
}

.why-loans__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-loans__content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--txt-primary);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.why-loans__content h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--clr-emerald);
    border-radius: 2px;
    margin-top: 16px;
}

.why-loans__content p {
    font-size: 1.05rem;
    color: var(--txt-secondary);
    line-height: 1.85;
    margin-bottom: 18px;
}

.why-loans__points {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
}

.why-loans__point {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: var(--surface-800);
    border: 1px solid rgba(217, 104, 70, 0.10);
    border-radius: var(--rad-md);
    transition: all var(--speed-smooth) var(--ease-out);
}

.why-loans__point:hover {
    transform: translateX(6px);
    border-color: rgba(217, 104, 70, 0.25);
    box-shadow: 0 8px 24px rgba(217, 104, 70, 0.08);
}

.why-loans__point-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(217, 104, 70, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-emerald);
    font-size: 1.1rem;
}

.why-loans__point h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--txt-primary);
    margin-bottom: 4px;
}

.why-loans__point p {
    font-size: 0.92rem;
    color: var(--txt-dim);
    line-height: 1.6;
    margin-bottom: 0;
}

.why-loans__visual {
    position: relative;
}

.why-loans__visual img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--rad-lg);
    border: 1px solid rgba(217, 104, 70, 0.10);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.why-loans__visual::after {
    content: "";
    position: absolute;
    bottom: -14px;
    right: -14px;
    width: 55%;
    height: 55%;
    border: 2px solid rgba(217, 104, 70, 0.14);
    border-radius: var(--rad-lg);
    z-index: -1;
}

/* ── Stats Bar ── */
.stats-bar {
    padding: 70px 0;
    background: var(--clr-emerald);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.stats-bar__item {
    color: #ffffff;
}

.stats-bar__number {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stats-bar__label {
    font-size: 0.92rem;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.3px;
}

/* ── Services Cards ── */
.services-block {
    padding: 110px 0;
    background: var(--surface-800);
    position: relative;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-tile {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--rad-lg);
    padding: 44px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--speed-smooth) var(--ease-out);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.service-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--clr-emerald);
    opacity: 0;
    transition: opacity var(--speed-smooth);
}

.service-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(217, 104, 70, 0.10), 0 8px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(217, 104, 70, 0.18);
}

.service-tile:hover::before {
    opacity: 1;
}

.service-tile__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--rad-md);
    background: rgba(217, 104, 70, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--clr-emerald);
    margin-bottom: 24px;
    transition: all var(--speed-smooth) var(--ease-out);
}

.service-tile:hover .service-tile__icon {
    background: var(--clr-emerald);
    color: #ffffff;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 20px rgba(217, 104, 70, 0.25);
}

.service-tile__name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--txt-primary);
    margin-bottom: 14px;
}

.service-tile__info {
    color: var(--txt-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Process Timeline ── */
.process-block {
    padding: 110px 0;
    background: var(--surface-900);
    position: relative;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--clr-emerald);
}

.timeline__node {
    display: flex;
    gap: 28px;
    padding: 30px 0;
    position: relative;
}

.timeline__marker {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    background: var(--clr-emerald);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(217, 104, 70, 0.25), 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 4px solid var(--surface-900);
    transition: transform var(--speed-fast);
}

.timeline__node:hover .timeline__marker {
    transform: scale(1.08);
}

.timeline__body {
    padding-top: 8px;
}

.timeline__body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--txt-primary);
    margin-bottom: 8px;
}

.timeline__body p {
    color: var(--txt-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ── Challenges Section ── */
.challenges {
    padding: 110px 0;
    background: var(--surface-800);
}

.challenges__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.challenge-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 26px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--rad-md);
    transition: all var(--speed-smooth) var(--ease-out);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    border-color: rgba(217, 104, 70, 0.15);
}

.challenge-card__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: rgba(217, 104, 70, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-amber);
    font-size: 1.15rem;
}

.challenge-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--txt-primary);
    margin-bottom: 6px;
}

.challenge-card p {
    font-size: 0.9rem;
    color: var(--txt-dim);
    line-height: 1.65;
}

/* ── Mission & Vision ── */
.about-panel {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.about-panel--dark {
    background: var(--surface-900);
}

.about-panel--alt {
    background: var(--surface-800);
}

.about-panel__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-panel__grid--flip {
    direction: rtl;
}

.about-panel__grid--flip>* {
    direction: ltr;
}

.about-panel__text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--txt-primary);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.about-panel__text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: var(--clr-emerald);
    border-radius: 2px;
}

.about-panel__text p {
    color: var(--txt-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 18px;
}

.about-panel__photo {
    position: relative;
}

.about-panel__photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--rad-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(217, 104, 70, 0.08);
}

/* ── CTA Banner ── */
.cta-banner {
    padding: 100px 24px;
    background: var(--surface-900);
}

.cta-banner__box {
    background: var(--clr-emerald);
    border-radius: var(--rad-lg);
    padding: 80px 40px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(217, 104, 70, 0.18);
}

.cta-banner__box::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -40%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    animation: cta-spin 25s linear infinite;
    pointer-events: none;
}

@keyframes cta-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-banner__title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.cta-banner__desc {
    font-size: 1.1rem;
    opacity: 0.88;
    max-width: 560px;
    margin: 0 auto 36px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.cta-banner__box .site-btn--ghost {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-banner__box .site-btn--ghost:hover {
    background: #ffffff;
    color: var(--clr-emerald);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 32px;
    }
}

@media (max-width: 992px) {
    .slider__item {
        padding-top: 110px;
    }
}

@media (max-width: 768px) {
    .slider__bg--desktop {
        display: none;
    }

    .slider__bg--mobile {
        display: block;
    }

    .hero-slider {
        height: 100svh;
        min-height: -webkit-fill-available;
    }

    .slider__item {
        padding-top: 100px;
    }

    .slider__body {
        transform: translateY(10px);
    }

    .slider__badge {
        margin-bottom: 16px;
    }

    .slider__title {
        font-size: 2rem;
        letter-spacing: -0.5px;
        margin-bottom: 16px;
    }

    .slider__desc {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .slider__actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .slider__actions .site-btn {
        width: 100%;
        justify-content: center;
    }

    .slider__arrow {
        display: none;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .service-tile {
        padding: 32px 24px;
    }

    .why-loans__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-loans__visual img {
        height: 320px;
    }

    .why-loans__visual::after {
        display: none;
    }

    .why-loans__content h2 {
        font-size: 2rem;
    }

    .stats-bar__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }

    .stats-bar__number {
        font-size: 2rem;
    }

    .challenges__grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 22px;
    }

    .timeline__marker {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1rem;
    }

    .about-panel__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-panel__grid--flip {
        direction: ltr;
    }

    .about-panel__text h2 {
        font-size: 2rem;
    }

    .about-panel__photo img {
        height: 280px;
    }

    .cta-banner__title {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .slider__item {
        padding-top: 90px;
    }

    .slider__title {
        font-size: 1.7rem;
    }

    .slider__desc {
        font-size: 0.92rem;
    }
}