:root {
    --primary: #0d47a1;
    --secondary: #1565c0;
    --dark: #081f44;
    --light: #f5f8ff;
    --text: #27364b;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

.front-navbar {
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.front-navbar .navbar-brand {
    font-weight: 800;
    color: var(--primary);
}

.front-navbar .nav-link {
    font-weight: 600;
    color: var(--dark);
    margin: 0 6px;
}

.hero-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255,255,255,.15);
    margin-bottom: 18px;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
}

.hero-section p {
    font-size: 18px;
    opacity: .95;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.hero-card {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 30px;
    padding: 45px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.hero-card i {
    font-size: 70px;
    margin-bottom: 20px;
}

.front-section {
    padding: 70px 0;
}

.light-bg {
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title span {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
}

.section-title h2 {
    font-weight: 900;
    color: var(--dark);
    margin-top: 8px;
}

.category-card,
.course-card,
.stat-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(13,71,161,.08);
    height: 100%;
}

.category-card {
    padding: 30px;
    text-align: center;
}

.category-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.course-card {
    overflow: hidden;
}

.course-img {
    height: 210px;
    background: #e9efff;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-img {
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 45px;
    color: var(--primary);
}

.course-body {
    padding: 24px;
}

.course-category {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.course-body h4 {
    font-weight: 800;
    color: var(--dark);
}

.course-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 18px 0;
    font-size: 14px;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-card h3 {
    font-weight: 900;
    color: var(--primary);
}

.front-footer {
    background: var(--dark);
    color: #fff;
    padding: 55px 0 25px;
}

.front-footer a {
    display: block;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    margin-bottom: 8px;
}

.front-footer hr {
    border-color: rgba(255,255,255,.15);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 34px;
    }

    .hero-actions {
        justify-content: center;
    }

    .course-meta {
        flex-direction: column;
    }
}
.page-banner {
    padding: 75px 0;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff;
    text-align: center;
}

.page-banner h1 {
    font-size: 44px;
    font-weight: 900;
}

.page-banner p {
    font-size: 18px;
    opacity: .9;
}

.course-filter-box {
    background: #fff;
    padding: 22px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(13,71,161,.08);
}

.empty-box {
    background: #fff;
    padding: 50px;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(13,71,161,.08);
}

.empty-box i {
    font-size: 55px;
    color: var(--primary);
}

.detail-image {
    background: #eef4ff;
    border-radius: 28px;
    overflow: hidden;
    min-height: 360px;
}

.detail-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.detail-no-img {
    height: 420px;
    display: grid;
    place-items: center;
    font-size: 70px;
    color: var(--primary);
}

.detail-content {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(13,71,161,.08);
}

.detail-content h2 {
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 15px;
}

.course-info-box {
    position: sticky;
    top: 100px;
    background: #fff;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(13,71,161,.12);
}

.course-info-box h3 {
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #eef1f7;
    padding: 14px 0;
}

.info-row span {
    color: #6b7280;
}

.info-row strong {
    color: var(--dark);
    text-align: right;
}

@media (max-width: 768px) {
    .page-banner {
        padding: 55px 0;
    }

    .page-banner h1 {
        font-size: 32px;
    }

    .course-info-box {
        position: static;
    }

    .detail-image img,
    .detail-no-img {
        height: 280px;
    }
}
.verify-box {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    padding: 35px;
    border-radius: 28px;
    box-shadow: 0 12px 35px rgba(13,71,161,.10);
}

.verification-result {
    border-radius: 24px;
    padding: 30px;
    text-align: center;
}

.verification-result.success {
    background: #f0fff6;
    border: 1px solid #b7f0cf;
}

.verify-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    display: grid;
    place-items: center;
    font-size: 40px;
}

.verification-result h3 {
    font-weight: 900;
    color: var(--dark);
}

.verify-table {
    margin-top: 25px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5eaf5;
    text-align: left;
}

.verify-table div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-bottom: 1px solid #e5eaf5;
}

.verify-table div:last-child {
    border-bottom: 0;
}

.verify-table span {
    color: #64748b;
}

.verify-table strong {
    color: var(--dark);
    text-align: right;
}

@media (max-width: 768px) {
    .verify-box {
        padding: 22px;
    }

    .verify-box .input-group {
        display: block;
    }

    .verify-box .input-group input,
    .verify-box .input-group button {
        width: 100%;
        border-radius: 12px !important;
        margin-bottom: 10px;
    }

    .verify-table div {
        display: block;
    }

    .verify-table strong {
        display: block;
        text-align: left;
        margin-top: 4px;
    }
}
.login-card {
    display: block;
    height: 100%;
    background: #fff;
    border-radius: 26px;
    padding: 35px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 12px 35px rgba(13,71,161,.10);
    transition: .25s ease;
}

.login-card:hover {
    transform: translateY(-6px);
    color: var(--text);
}

.login-card i {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    font-size: 38px;
}

.login-card h4 {
    font-weight: 900;
    color: var(--dark);
}

.login-card p {
    color: #64748b;
    min-height: 55px;
}

.login-card span {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 800;
}
.about-box span {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
}

.about-box h2 {
    font-size: 38px;
    font-weight: 900;
    color: var(--dark);
    margin: 12px 0 18px;
}

.about-box p {
    font-size: 17px;
    line-height: 1.8;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.about-feature-grid div {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(13,71,161,.10);
}

.about-feature-grid i {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-feature-grid h5 {
    font-weight: 900;
    color: var(--dark);
}

.contact-info-box,
.contact-form-box {
    background: #fff;
    border-radius: 28px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 12px 35px rgba(13,71,161,.10);
}

.contact-info-box h3,
.contact-form-box h3 {
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

.contact-item i {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    font-size: 24px;
    flex: 0 0 55px;
}

.contact-item strong {
    color: var(--dark);
}

.contact-item p {
    margin-bottom: 0;
    color: #64748b;
}

@media (max-width: 768px) {
    .about-box h2 {
        font-size: 30px;
    }

    .about-feature-grid {
        grid-template-columns: 1fr;
    }
}
.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: .25s ease;
}

.category-link:hover {
    transform: translateY(-6px);
    color: inherit;
}
.home-gallery-slide {
    height: 430px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: #eaf2ff;
}

.home-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-gallery-caption {
    position: absolute;
    left: 25px;
    bottom: 25px;
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: 14px 22px;
    border-radius: 18px;
}

.home-gallery-caption h4 {
    margin: 0;
    font-weight: 800;
}

.home-event-slide {
    background: #fff;
    border-radius: 28px;
    padding: 45px 75px;
    display: flex;
    gap: 30px;
    align-items: center;
    min-height: 250px;
    box-shadow: 0 12px 35px rgba(13,71,161,.10);
}

.event-date.big {
    width: 95px;
    height: 95px;
    flex: 0 0 95px;
}

.event-date.big strong {
    font-size: 34px;
}

.home-event-slide h3 {
    font-weight: 900;
    color: var(--dark);
}

.home-event-slide p {
    font-size: 17px;
    color: #64748b;
}

.dark-control .carousel-control-prev-icon,
.dark-control .carousel-control-next-icon {
    filter: invert(1);
}

@media (max-width: 768px) {
    .home-gallery-slide {
        height: 260px;
        border-radius: 20px;
    }

    .home-gallery-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 10px 14px;
    }

    .home-event-slide {
        display: block;
        padding: 28px;
        text-align: center;
    }

    .event-date.big {
        margin: 0 auto 18px;
    }
}
.gallery-slider-wrap,
.event-slider-wrap {
    position: relative;
    overflow: hidden;
    padding: 10px 45px;
}

.gallery-track,
.event-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar,
.event-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide-card {
    flex: 0 0 calc(20% - 18px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(13,71,161,.12);
}

.gallery-slide-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.gallery-card-content {
    padding: 15px 18px;
}

.gallery-card-content h5 {
    font-size: 16px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 4px;
}

.gallery-card-content p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.event-slide-card {
    flex: 0 0 calc(25% - 18px);
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(13,71,161,.12);
}

.event-slide-card > img,
.event-no-img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    background: #eaf2ff;
}

.event-no-img {
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 45px;
}

.event-card-body {
    display: flex;
    gap: 14px;
    padding: 18px;
}

.event-date-small {
    width: 58px;
    height: 68px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    flex: 0 0 58px;
    padding-top: 7px;
}

.event-date-small strong {
    display: block;
    font-size: 22px;
    line-height: 1;
}

.event-date-small span {
    font-size: 12px;
    text-transform: uppercase;
}

.event-card-body h5 {
    font-weight: 900;
    color: var(--dark);
    font-size: 16px;
    margin-bottom: 6px;
}

.event-card-body p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 0;
}

.slider-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    z-index: 5;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(13,71,161,.25);
}

.slider-arrow.left {
    left: 0;
}

.slider-arrow.right {
    right: 0;
}

.slider-note {
    text-align: center;
    margin-top: 20px;
    color: #64748b;
    font-weight: 600;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.82);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 99999;
    padding: 20px;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 78vh;
    border-radius: 16px;
    object-fit: contain;
}

.gallery-modal h4 {
    color: #fff;
    margin-top: 18px;
    font-weight: 800;
}

.gallery-close {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    font-size: 26px;
}

@media (max-width: 1200px) {
    .gallery-slide-card {
        flex: 0 0 calc(33.333% - 16px);
    }

    .event-slide-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .gallery-slider-wrap,
    .event-slider-wrap {
        padding: 10px 10px;
    }

    .gallery-slide-card,
    .event-slide-card {
        flex: 0 0 82%;
    }

    .gallery-slide-card img,
    .event-slide-card > img,
    .event-no-img {
        height: 180px;
    }

    .slider-arrow {
        display: none;
    }
}
.front-hero-slider {
    position: relative;
}

.hero-slide {
    min-height: 580px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-slide.default {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
}

.hero-slide-content {
    max-width: 680px;
}

.hero-slide-content span {
    display: inline-block;
    background: rgba(255,255,255,.16);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 18px;
    font-weight: 700;
}

.hero-slide-content h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
}

.hero-slide-content p {
    font-size: 20px;
    margin: 18px 0 28px;
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: 460px;
        text-align: center;
    }

    .hero-slide-content h1 {
        font-size: 34px;
    }

    .hero-slide-content p {
        font-size: 16px;
    }
}
.front-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.front-section-head span {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.front-section-head h2 {
    margin: 6px 0 0;
    font-size: 34px;
    font-weight: 900;
    color: var(--dark);
}

.view-all-btn {
    text-decoration: none;
    background: var(--primary);
    color: #fff;
    padding: 11px 20px;
    border-radius: 30px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(13, 71, 161, .18);
}

.view-all-btn:hover {
    color: #fff;
    background: var(--secondary);
}

.slider-shell {
    position: relative;
    padding: 0 44px;
}

.front-slider-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    z-index: 5;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(13, 71, 161, .25);
}

.front-slider-btn:hover {
    background: var(--secondary);
}

.category-prev,
.course-prev {
    left: 0;
}

.category-next,
.course-next {
    right: 0;
}

.home-category-card {
    display: block;
    background: #fff;
    border-radius: 20px;
    padding: 18px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    min-height: 178px;
    box-shadow: 0 10px 28px rgba(13, 71, 161, .10);
    transition: .25s ease;
}

.home-category-card:hover {
    transform: translateY(-6px);
    color: var(--dark);
}

.home-category-img {
    width: 78px;
    height: 78px;
    margin: 0 auto 13px;
    border-radius: 18px;
    background: #eef5ff;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--primary);
    font-size: 34px;
}

.home-category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-category-card h5 {
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 4px;
}

.home-category-card p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
}

.home-course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 28px rgba(13, 71, 161, .10);
}

.home-course-img {
    height: 155px;
    background: #eef5ff;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 42px;
    overflow: hidden;
}

.home-course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-course-body {
    padding: 16px;
}

.home-course-body span {
    display: inline-block;
    background: #eef5ff;
    color: var(--primary);
    border-radius: 30px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}

.home-course-body h5 {
    font-size: 15px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.35;
    min-height: 42px;
}

.home-course-meta {
    margin: 8px 0 12px;
    color: #64748b;
}

.home-course-body a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    font-weight: 900;
    color: var(--primary);
    font-size: 14px;
}

@media (max-width: 768px) {
    .front-section-head {
        align-items: center;
        margin-bottom: 22px;
    }

    .front-section-head h2 {
        font-size: 24px;
    }

    .view-all-btn {
        padding: 9px 14px;
        font-size: 13px;
    }

    .slider-shell {
        padding: 0;
    }

    .front-slider-btn {
        display: none;
    }

    .home-category-card {
        min-height: 150px;
        padding: 14px 8px;
        border-radius: 16px;
    }

    .home-category-img {
        width: 58px;
        height: 58px;
        border-radius: 14px;
        font-size: 26px;
    }

    .home-category-card h5 {
        font-size: 13px;
    }

    .home-course-img {
        height: 115px;
    }

    .home-course-body {
        padding: 12px;
    }

    .home-course-body h5 {
        font-size: 13px;
        min-height: 38px;
    }

    .home-course-body span {
        font-size: 10px;
    }

    .home-course-body a {
        font-size: 12px;
    }
}
.front-topbar {
    background: #081f44;
    color: #fff;
    font-size: 14px;
}

.front-topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.top-contact span,
.top-social a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-social a {
    font-weight: 700;
}

.front-main-header {
    background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.front-header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.front-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--dark);
}

.front-brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.front-brand > i {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 30px;
}

.front-brand strong {
    display: block;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
}

.front-brand small {
    color: #64748b;
    font-weight: 700;
}

.front-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.front-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 800;
    padding: 10px 12px;
    border-radius: 30px;
    font-size: 15px;
}

.front-menu a:hover {
    background: #eef5ff;
    color: var(--primary);
}

.front-menu .login-btn {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    margin-left: 6px;
}

.front-menu .login-btn:hover {
    background: var(--secondary);
    color: #fff;
}

.mobile-menu-btn {
    border: 0;
    background: var(--primary);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 24px;
}

@media (max-width: 991px) {
    .front-topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .top-contact {
        justify-content: center;
        gap: 10px;
    }

    .top-contact span:nth-child(3) {
        display: none;
    }

    .top-social {
        display: none;
    }

    .front-header-inner {
        min-height: 74px;
        flex-wrap: wrap;
    }

    .front-brand img {
        width: 52px;
        height: 52px;
    }

    .front-brand strong {
        font-size: 17px;
    }

    .front-brand small {
        font-size: 11px;
    }

    .front-menu {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        padding: 10px 0 18px;
    }

    .front-menu.show {
        display: flex;
    }

    .front-menu a {
        padding: 12px 15px;
        border-radius: 12px;
    }

    .front-menu .login-btn {
        margin-left: 0;
        text-align: center;
    }
}
@media (min-width: 992px) {
    .front-menu {
        display: flex !important;
    }
}

@media (max-width: 991px) {
    .front-menu {
        display: none;
    }

    .front-menu.show {
        display: flex !important;
    }
}
.testimonial-section {
    background: #fff;
}

.testimonial-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    min-height: 310px;
    box-shadow: 0 12px 35px rgba(13, 71, 161, .10);
    border: 1px solid #eef2ff;
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: #475569;
    line-height: 1.75;
    min-height: 115px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.testimonial-user img,
.testimonial-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-avatar {
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 900;
}

.testimonial-user h5 {
    margin: 0;
    font-weight: 900;
    color: var(--dark);
}

.testimonial-user span {
    color: #64748b;
    font-size: 14px;
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 22px;
        min-height: auto;
    }

    .testimonial-card p {
        min-height: auto;
    }
}
.front-section {
    padding: 42px 0;
}

.light-bg {
    background: #f6f9ff;
}

.front-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 15px;
    margin-bottom: 22px;
}

.front-section-head span {
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
}

.front-section-head h2 {
    margin: 5px 0 0;
    font-size: 30px;
    font-weight: 900;
    color: var(--dark);
}

.view-all-btn {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 800;
    white-space: nowrap;
}

.view-all-btn:hover {
    color: #fff;
    background: var(--secondary);
}

.slider-shell {
    position: relative;
    padding: 0 44px;
}

.front-slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    z-index: 10;
}

.category-prev,
.course-prev,
.gallery-prev,
.event-prev,
.testimonial-prev {
    left: 0;
}

.category-next,
.course-next,
.gallery-next,
.event-next,
.testimonial-next {
    right: 0;
}

.home-gallery-card,
.home-event-card,
.home-course-card,
.home-category-card,
.testimonial-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(13,71,161,.10);
    height: 100%;
}

.home-category-card {
    display: block;
    text-align: center;
    padding: 18px 10px;
    color: var(--dark);
    text-decoration: none;
    min-height: 160px;
}

.home-category-img {
    width: 66px;
    height: 66px;
    margin: 0 auto 12px;
    border-radius: 16px;
    background: #eef5ff;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--primary);
    font-size: 30px;
}

.home-category-img img,
.home-course-img img,
.home-gallery-card img,
.home-event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-category-card h5 {
    font-size: 14px;
    font-weight: 900;
}

.home-category-card p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

.home-course-img {
    height: 150px;
    background: #eef5ff;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 38px;
}

.home-course-body {
    padding: 15px;
}

.home-course-body span {
    background: #eef5ff;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.home-course-body h5 {
    margin-top: 9px;
    font-size: 15px;
    min-height: 40px;
    font-weight: 900;
    color: var(--dark);
}

.home-course-body a {
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}

.stat-section {
    padding: 35px 0;
}

.stat-card {
    padding: 24px;
    border-radius: 18px;
}

.home-gallery-card {
    cursor: pointer;
}

.home-gallery-card img {
    height: 190px;
}

.home-gallery-info {
    padding: 12px 15px;
}

.home-gallery-info h5 {
    font-size: 15px;
    font-weight: 900;
    margin: 0;
}

.home-event-img {
    height: 155px;
    background: #eef5ff;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 38px;
}

.home-event-body {
    padding: 16px;
}

.event-date-small {
    width: 56px;
    height: 64px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding-top: 7px;
    margin-bottom: 12px;
}

.event-date-small strong {
    display: block;
    font-size: 22px;
    line-height: 1;
}

.event-date-small span {
    font-size: 12px;
}

.home-event-body h5 {
    font-size: 16px;
    font-weight: 900;
    color: var(--dark);
}

.home-event-body p {
    font-size: 14px;
    color: #64748b;
}

.testimonial-card {
    padding: 24px;
    min-height: 285px;
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 12px;
}

.testimonial-user {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

.testimonial-user img,
.testimonial-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-avatar {
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 99999;
    padding: 20px;
}

.gallery-modal img {
    max-width: 92%;
    max-height: 78vh;
    border-radius: 14px;
}

.gallery-modal h4 {
    color: #fff;
    margin-top: 14px;
}

.gallery-close {
    position: absolute;
    top: 22px;
    right: 26px;
    border: 0;
    background: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 26px;
}

@media (max-width: 768px) {
    .front-section {
        padding: 32px 0;
    }

    .front-section-head {
        align-items: center;
        margin-bottom: 18px;
    }

    .front-section-head h2 {
        font-size: 23px;
    }

    .view-all-btn {
        padding: 8px 13px;
        font-size: 13px;
    }

    .slider-shell {
        padding: 0;
    }

    .front-slider-btn {
        display: none;
    }

    .home-course-img,
    .home-event-img {
        height: 115px;
    }

    .home-gallery-card img {
        height: 125px;
    }

    .home-category-card {
        min-height: 140px;
    }
}