﻿/* ============================================
   GLOBAL HOMEPAGE
============================================= */

.eldia-section {
    padding: 95px 0;
}

.eldia-section-label {
    display: inline-block;
    color: #ff7900;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.eldia-section-title {
    font-family: 'Poppins', sans-serif;
    color: #102f55;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 22px;
}

    .eldia-section-title span {
        color: #ff7900;
    }

.eldia-section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
}

    .eldia-section-heading p,
    .eldia-section-content p {
        color: #64748b;
        font-size: 16px;
        line-height: 1.9;
    }

.eldia-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: .3s;
}

    .eldia-btn:hover {
        transform: translateY(-3px);
    }

.eldia-btn-orange {
    background: #ff7900;
    color: white;
    box-shadow: 0 8px 22px rgba(255,121,0,.25);
}

    .eldia-btn-orange:hover {
        background: #e66d00;
        color: white;
    }

.eldia-btn-blue {
    background: #2563eb;
    color: white;
}

    .eldia-btn-blue:hover {
        background: #1d4ed8;
        color: white;
    }

.eldia-btn-white {
    background: white;
    color: #102f55;
}

    .eldia-btn-white:hover {
        background: #fff7ed;
        color: #ff7900;
    }


/* ============================================
   HERO
============================================= */

.eldia-hero {
    position: relative;
    height: 620px;
    overflow: hidden;
    background: #102f55;
}

.eldia-hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.eldia-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s ease;
}

    .eldia-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

.eldia-slide-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.eldia-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(9, 32, 64, .92) 0%, rgba(9, 32, 64, .72) 45%, rgba(9, 32, 64, .20) 100% );
}

.eldia-hero-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 3;
}

.eldia-hero-content {
    max-width: 700px;
    color: white;
}

.eldia-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    padding: 10px 18px;
    border-radius: 50px;
    color: white;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 25px;
}

    .eldia-hero-badge i {
        color: #facc15;
    }

.eldia-hero h1,
.eldia-hero h2 {
    font-family: 'Poppins', sans-serif;
    color: white;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 25px;
}

    .eldia-hero h1 span,
    .eldia-hero h2 span {
        display: block;
        color: #facc15;
    }

.eldia-hero-content p {
    color: #f1f5f9;
    font-size: 18px;
    line-height: 1.8;
    max-width: 620px;
}

.eldia-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.eldia-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: white;
    cursor: pointer;
}

    .eldia-slider-arrow:hover {
        background: #ff7900;
        border-color: #ff7900;
    }

    .eldia-slider-arrow.prev {
        left: 20px;
    }

    .eldia-slider-arrow.next {
        right: 20px;
    }

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

    .eldia-slider-dots button {
        width: 11px;
        height: 11px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(255,255,255,.5);
        cursor: pointer;
    }

        .eldia-slider-dots button.active {
            width: 30px;
            border-radius: 20px;
            background: #ff7900;
        }

.eldia-hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
}

.decoration-one {
    width: 110px;
    height: 110px;
    background: rgba(250,204,21,.25);
    top: -55px;
    right: 10%;
}

.decoration-two {
    width: 80px;
    height: 80px;
    background: rgba(251,113,133,.25);
    bottom: 45px;
    right: 15%;
}


/* ============================================
   WELCOME
============================================= */

.eldia-welcome {
    background: white;
}

.eldia-welcome-media {
    position: relative;
    padding: 20px;
}

.eldia-welcome-image {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(15,23,42,.12);
}

.eldia-experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px;
    background: #facc15;
    color: #102f55;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

    .eldia-experience-badge strong {
        font-size: 34px;
        font-weight: 900;
    }

    .eldia-experience-badge span {
        font-size: 12px;
        font-weight: 800;
        line-height: 1.5;
    }

.eldia-welcome-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 28px 0;
}

    .eldia-welcome-features div {
        font-size: 14px;
        font-weight: 800;
        color: #102f55;
    }

    .eldia-welcome-features i {
        color: #22c55e;
        margin-right: 7px;
    }


/* ============================================
   ACADEMIC PROGRAMS
============================================= */

.eldia-programs {
    background: #fffaf3;
}

.eldia-program-card {
    height: 100%;
    min-height: 355px;
    padding: 35px 25px;
    border-radius: 25px;
    transition: .3s;
    border: 1px solid rgba(0,0,0,.03);
}

    .eldia-program-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 35px rgba(15,23,42,.10);
    }

.program-pink {
    background: #ffe4ec;
}

.program-yellow {
    background: #fff2bd;
}

.program-green {
    background: #dcfce7;
}

.program-blue {
    background: #dbeafe;
}

.eldia-program-icon {
    width: 75px;
    height: 75px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    font-size: 32px;
    margin-bottom: 25px;
    color: #102f55;
}

.eldia-program-card h3 {
    font-size: 22px;
    font-weight: 900;
    color: #102f55;
    margin-bottom: 15px;
}

.eldia-program-card p {
    font-size: 14px;
    line-height: 1.9;
    color: #475569;
}

.eldia-program-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #102f55;
    font-weight: 900;
    font-size: 14px;
    margin-top: 15px;
}

    .eldia-program-card a:hover {
        color: #ff7900;
    }


/* ============================================
   WHY CHOOSE US
============================================= */

.eldia-why {
    background: white;
}

.eldia-feature-card {
    height: 100%;
    background: #fff;
    border: 1px solid #edf2f7;
    padding: 35px 30px;
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(15,23,42,.04);
    transition: .3s;
}

    .eldia-feature-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 18px 40px rgba(15,23,42,.10);
    }

.eldia-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.feature-orange {
    background: #ffedd5;
    color: #f97316;
}

.feature-green {
    background: #dcfce7;
    color: #16a34a;
}

.feature-blue {
    background: #dbeafe;
    color: #2563eb;
}

.feature-pink {
    background: #fce7f3;
    color: #db2777;
}

.feature-yellow {
    background: #fef9c3;
    color: #ca8a04;
}

.feature-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.eldia-feature-card h3 {
    font-size: 20px;
    font-weight: 900;
    color: #102f55;
    margin-bottom: 15px;
}

.eldia-feature-card p {
    font-size: 14px;
    line-height: 1.9;
    color: #64748b;
    margin: 0;
}


/* ============================================
   VIDEO
============================================= */

.eldia-video-section {
    background: #eff6ff;
}

    .eldia-video-section p {
        font-size: 16px;
        line-height: 1.9;
        color: #64748b;
        margin-bottom: 25px;
    }

.eldia-video-wrapper {
    border-radius: 25px;
    overflow: hidden;
    background: #102f55;
    box-shadow: 0 20px 45px rgba(15,23,42,.15);
}

    .eldia-video-wrapper video {
        display: block;
        width: 100%;
        height: auto;
        max-height: 440px;
    }


/* ============================================
   GALLERY
============================================= */

.eldia-gallery {
    background: white;
}

.eldia-gallery-card {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 22px;
}

    .eldia-gallery-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s;
    }

    .eldia-gallery-card:hover img {
        transform: scale(1.08);
    }

.eldia-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    background: linear-gradient( transparent, rgba(9,32,64,.75) );
}

    .eldia-gallery-overlay span {
        color: white;
        font-size: 18px;
        font-weight: 900;
    }


/* ============================================
   COMMUNITY
============================================= */

.eldia-testimonials {
    background: #fff7ed;
}

.eldia-community-card {
    max-width: 800px;
    margin: auto;
    padding: 50px;
    text-align: center;
    border-radius: 25px;
    background: white;
    box-shadow: 0 15px 40px rgba(15,23,42,.06);
}

.eldia-community-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #ffe4ec;
    color: #fb7185;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 25px;
}

.eldia-community-card h3 {
    font-size: 24px;
    font-weight: 900;
    color: #102f55;
}

.eldia-community-card p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
    margin: 20px 0 30px;
}


/* ============================================
   ADMISSION
============================================= */

.eldia-admission-section {
    padding: 75px 0;
    background: white;
}

.eldia-admission-box {
    padding: 65px;
    border-radius: 30px;
    background: linear-gradient( 120deg, #2563eb, #102f55 );
    color: white;
    position: relative;
    overflow: hidden;
}

    .eldia-admission-box::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(250,204,21,.16);
        right: -60px;
        top: -80px;
        pointer-events: none;
    }

.eldia-admission-label {
    color: #facc15;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.eldia-admission-box h2 {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.3;
    margin: 15px 0;
}

.eldia-admission-box p {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.eldia-slide:not(.active) {
    pointer-events: none;
}

.eldia-slide.active {
    pointer-events: auto;
}


/* ============================================
   RESPONSIVE
============================================= */

@media (max-width: 991px) {

    .eldia-section {
        padding: 70px 0;
    }

    .eldia-hero {
        height: 550px;
    }

    .eldia-section-title {
        font-size: 34px;
    }

    .eldia-welcome-image {
        height: 380px;
    }

    .eldia-admission-box {
        padding: 45px;
    }
}

@media (max-width: 767px) {

    .eldia-section {
        padding: 55px 0;
    }

    .eldia-section-title {
        font-size: 28px;
    }

    .eldia-hero {
        height: 560px;
    }

    .eldia-hero-content {
        padding: 0 20px;
    }

    .eldia-hero h1,
    .eldia-hero h2 {
        font-size: 36px;
    }

    .eldia-hero-content p {
        font-size: 15px;
    }

    .eldia-hero-actions {
        gap: 12px;
    }

    .eldia-btn {
        padding: 13px 18px;
        font-size: 13px;
    }

    .eldia-slider-arrow {
        width: 35px;
        height: 35px;
        top: auto;
        bottom: 20px;
        transform: none;
    }

        .eldia-slider-arrow.prev {
            left: 15px;
        }

        .eldia-slider-arrow.next {
            right: 15px;
        }

    .eldia-slider-dots {
        bottom: 32px;
    }

    .eldia-welcome-image {
        height: 300px;
    }

    .eldia-welcome-features {
        grid-template-columns: 1fr;
    }

    .eldia-program-card {
        min-height: auto;
    }

    .eldia-community-card {
        padding: 30px 20px;
    }

    .eldia-admission-box {
        padding: 35px 25px;
        text-align: center;
    }

        .eldia-admission-box h2 {
            font-size: 27px;
        }
}

@media (max-width: 400px) {

    .eldia-hero h1,
    .eldia-hero h2 {
        font-size: 30px;
    }

    .eldia-hero-badge {
        font-size: 11px;
        padding: 9px 12px;
    }

    .eldia-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

        .eldia-hero-actions .eldia-btn {
            max-width: 100%;
        }
}

@media (prefers-reduced-motion: reduce) {

    .eldia-slide,
    .eldia-program-card,
    .eldia-feature-card,
    .eldia-gallery-card img {
        transition: none;
    }
}
