header#home #navbar-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

header#home #navbar-menu .navbar-nav {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0;
    flex-direction: row !important;
}

header#home #navbar-menu .navbar-nav.navbar-right {
    float: none !important;
}

header#home #navbar-menu .navbar-nav > li {
    float: none !important;
}

header#home .navbar .navbar-nav > li > a {
    color: #1f2937 !important;
    font-weight: 600;
    padding: 18px 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}

header#home nav.navbar.bootsnav .navbar-collapse {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

header#home .navbar {
    min-height: 74px;
}

header#home .navbar-header {
    height: 74px;
    display: flex;
    align-items: center;
}

header#home .navbar .navbar-nav > li > a:hover {
    color: #0f172a !important;
    opacity: 0.9;
}

@media (max-width: 991px) {
    header#home #navbar-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    header#home nav.navbar.bootsnav .navbar-collapse.collapse.in {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }

    header#home #navbar-menu .navbar-nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 0 16px;
    }

    header#home .navbar .navbar-nav > li > a {
        padding: 10px 12px;
    }
}

.section-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.section-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(199, 174, 255, 0.35), rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.section-card:hover {
    transform: translate3d(0, -6px, 0);
    border-color: #c4b5fd;
    background-color: rgba(238, 234, 255, 0.35);
    box-shadow: 0 18px 40px -18px rgba(128, 90, 255, 0.5), 0 10px 20px rgba(15, 23, 42, 0.12);
}

.section-card:hover::before {
    opacity: 1;
}

.section-card > * {
    position: relative;
    z-index: 1;
}

.why-choose-modern {
    background: #f9fafb;
    padding: 80px 0 !important;
    margin: 40px 0 !important;
}

.why-choose-modern .why-choose-modern-grid {
    margin-left: -15px;
    margin-right: -15px;
}

.why-choose-modern .why-choose-image {
    display: flex;
    justify-content: center;
}

.why-choose-modern .why-choose-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border: 4px solid #ffffff;
    display: block;
}

.why-choose-modern .why-choose-title {
    margin: 0;
    font-size: 44px;
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
    text-transform: none;
}

.why-choose-modern .why-choose-subtitle {
    margin: 14px 0 0;
    max-width: 520px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.65;
}

.why-choose-modern .why-choose-list {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.why-choose-modern .why-choose-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-choose-modern .why-choose-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.why-choose-modern .why-choose-text h4 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
    text-transform: none;
}

.why-choose-modern .why-choose-text p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.why-choose-modern .why-choose-text .btn-link {
    padding: 0;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.why-choose-modern .why-choose-text .btn-link:hover,
.why-choose-modern .why-choose-text .btn-link:focus {
    color: #1d4ed8;
    text-decoration: underline;
}

.our-features.facilities-showcase {
    padding: 18px 0 36px;
    margin-bottom: 32px !important;
}

#featured-courses.featured-courses-area {
    margin-top: 40px !important;
}

@media (max-width: 991px) {
    .why-choose-modern {
        padding: 60px 0;
    }

    .why-choose-modern .why-choose-modern-grid {
        margin-left: -15px;
        margin-right: -15px;
    }

    .why-choose-modern .why-choose-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .why-choose-modern .why-choose-title {
        font-size: 32px;
    }

    .why-choose-modern .why-choose-subtitle {
        font-size: 15px;
    }
}
