:where(*, *:before, *:after) {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    --s-c: #2AD2C1;
    --bg-w: white;
    --t-c-l: white;
    --t-c-d: #00203B;
    --acc-1: #134175;
}

.font-poppins {
    font-family: "Poppins", sans-serif !important;
}

/* Layout & Containers */

.section-wrapper {
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .section-wrapper {
        padding-top: 1.25rem;
    }
}

.container-wrapper {
    width: 96%;
    max-width: 1350px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.section-headings {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 10px;
}

@media (min-width: 1024px) {
    .section-headings {
        font-size: 16px;
    }
}

@media (min-width: 1280px) {
    .section-headings {
        font-size: 19px;
    }
}

.heading-sub {
    color: var(--s-c);
    text-align: center;
    font-size: 1em;
    font-weight: 500;
}

@media (min-width: 640px) {
    .heading-sub {
        font-size: 0.8em;
    }
}

.heading-main {
    color: var(--acc-1);
    font-weight: 600;
    text-align: center;
    font-size: 2.3em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.heading-desc {
    color: var(--t-c-d);
    text-align: center;
    font-size: 1em;
}

/* Grid */
.course-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin-top: 1.25rem;
    padding-top: 1rem;
    gap: 1rem;
}

@media (min-width: 768px) {
    .course-grid {
        margin-top: 3rem;
    }
}

@media (min-width: 1024px) {
    .course-grid {
        gap: 1.5rem;
    }
}

.grid-col {
    grid-column: span 12 / span 12;
}

@media (min-width: 640px) {
    .grid-col {
        grid-column: span 6 / span 6;
    }
}

@media (min-width: 1024px) {
    .grid-col {
        grid-column: span 4 / span 4;
    }
}

/* Cards */
.courses-sec {
    transition-duration: 300ms;
    font-size: 17px;
    background-color: var(--bg-w);
    position: relative;
    display: flex;
    box-shadow: 6px 6px 17px rgba(0, 0, 0, 0.25);
    isolation: isolate;
    aspect-ratio: 1.7;
    border-radius: 11px;
    overflow: hidden;
}

@media (min-width: 640px) {
    .courses-sec {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .courses-sec {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .courses-sec {
        font-size: 14px;
    }
}

@media (min-width: 1280px) {
    .courses-sec {
        font-size: 20px;
    }
}

.courses-sec.align-end {
    align-items: flex-end;
}

.courses-sec.align-center {
    align-items: center;
}

/* Overlays & Card Content */
.card-content-abs {
    height: max-content;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem;
}

@media (min-width: 1024px) {
    .card-content-abs {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.card-content {
    width: 100%;
    height: max-content;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .card-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .card-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.card-text-wrap {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.ct-title {
    color: var(--t-c-l);
    font-weight: 600;
    font-size: 1em;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.ct-title.uppercase {
    text-transform: uppercase;
}

.ct-desc {
    color: var(--t-c-l);
    font-weight: 500;
    font-size: 0.7em;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn-view {
    transition-duration: 300ms;
    gap: 1rem;
    width: max-content;
    font-size: 16px;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-radius: 9999px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-view:hover {
    transform: scale(1.05);
}
a:focus, a:hover {
    text-decoration: none;
    outline: none;
}
.btn-view span {
    color: var(--t-c-l);
    font-size: 0.7em;
    letter-spacing: 0.5px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-view span:hover {
    outline: none;
    text-decoration: none;
}

/* Specific buttons */
.btn-show-more {
    gap: 0.75rem;
    width: max-content;
    font-size: 16px;
    font-weight: bold;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 9999px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    color: white;
    transition-duration: 300ms;
    border: none;
    cursor: pointer;
}

.btn-show-more:hover {
    transform: scale(1.05);
}

.btn-show-more span {
    font-size: 0.75em;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Images and Utilities */
.img-bg {
    position: absolute;
    transition-duration: 2s;
    object-fit: cover;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.rounded-11 {
    border-radius: 11px;
}

/* Swiper Overrides */
.offerSwiper .swiper-button-next,
.offerSwiper .swiper-button-prev {
    color: white !important;
    width: 2rem !important;
    height: 2rem !important;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offerSwiper .swiper-button-next::after,
.offerSwiper .swiper-button-prev::after {
    font-size: 0px !important;
}

.offerSwiper .swiper-button-next {
    margin-right: -0.5rem;
}

.offerSwiper .swiper-button-prev {
    margin-left: -0.5rem;
}

.swp-icon {
    width: 0.8em;
    height: 0.8em;
    background-color: var(--bg-w);
    -webkit-mask-image: url(../img/icons/ar-3.svg);
    mask-image: url(../img/icons/ar-3.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.swp-icon.rotate-180 {
    transform: rotate(180deg);
}

.abs-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.icon-sm {
    width: 0.75rem;
    height: 0.75rem;
}

.maskimage.hoverLevel-1:hover {
    background-color: var(--h, var(--bg)) !important;
}

*:hover>.maskimage.hoverLevel-2 {
    background-color: var(--h, var(--bg)) !important;
}

*:hover>*>.maskimage.hoverLevel-3 {
    background-color: var(--h, var(--bg)) !important;
}


.gra-5 {
    background: linear-gradient(132deg, #2495f1 5%, #2AD2C1);
}

.gra-4 {
    background: linear-gradient(132deg, #F7B04F, #EF5630);
}



.courses-sec:hover .j-images {
    transform: scale(1.08);

}

.dropdown-container {
    position: relative;
}

.mbbs-core-dropdown {
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0;
    width: 280px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(42, 210, 193, 0.3);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(42, 210, 193, 0.1);
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 100;
}

.mbbs-core-dropdown.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(42, 210, 193, 0.15);
    color: #2AD2C1;
    transform: translateX(3px);
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.chevron-icon.rotate {
    transform: rotate(180deg);
}