/* =========================================================
   Custom styles – ATAZ LMS
   ========================================================= */

/* ---------------------------------------------------------
   Brand colour overrides – unify all blue shades to #1660a9
   --------------------------------------------------------- */
:root {
    --primary: #1660a9;
    --primary-saturated: #4d8fc4; /* lighter tint for highlights  */
    --primary-hover: #124e87; /* ~10% darker for hover states */
    --primary-border: #1660a9;
    --primary-hover-border: #124e87;
}

body .text-gray-400,
body .text-gray-500 {
    color: #000 !important;
}

/* ---------------------------------------------------------
   Fix double scrollbar.
   app.min.css forces html { overflow-y: scroll } which always
   shows a scrollbar track. We override html to auto (only
   shows when needed) and ensure body is NOT a separate scroll
   container — only the html/viewport scrolls.
   --------------------------------------------------------- */
html {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
}
body {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    min-height: 100vh !important;
    height: auto !important;
    position: relative !important;
}
#app {
    overflow: visible !important;
    min-height: 0 !important;
    height: auto !important;
}

/* ---------------------------------------------------------
   Top bar — keep search clear of overlapping white main bar
   --------------------------------------------------------- */
.theme-header-1__top-navbar {
    height: auto !important;
    min-height: 114px;
    padding-bottom: 66px !important;
}

@media (min-width: 992px) {
    .theme-header-1__top-navbar > .container > .row > .col-lg-8 > .row {
        margin-bottom: 12px;
    }
}

/* ---------------------------------------------------------
   Main header bar — alignment (tall logo)
   --------------------------------------------------------- */
.theme-header-1__main {
    height: auto !important;
    min-height: 104px;
    top: -42px !important;
    margin-bottom: -42px !important;
}

.theme-header-1__main > .container {
    height: auto !important;
}

.theme-header-1__main.sticky {
    top: 12px !important;
    margin-bottom: 0 !important;
    min-height: 88px !important;
    height: auto !important;
    z-index: 300;
}

.theme-header-1__main.sticky .theme-header-1__bar-shell {
    min-height: 88px;
    padding: 6px 14px !important;
}

.theme-header-1__main.sticky .theme-header-1__logo {
    height: 76px !important;
}

.theme-header-1__main.sticky .theme-header-1__logo img {
    height: 76px;
}

.theme-header-1__main-mask {
    bottom: -6px !important;
}

.theme-header-1__bar-shell {
    display: flex;
    align-items: center;
    min-height: 0;
    padding: 2px 12px !important;
    overflow: visible;
    border-bottom: none;
    box-shadow: 0 4px 14px rgba(14, 33, 69, 0.08);
}

.theme-header-1__bar-shell::after {
    display: none;
}

.theme-header-1__bar {
    align-items: center !important;
}

.theme-header-1__nav a {
    position: relative;
    padding: 10px 2px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    color: #0e2145 !important;
    transition: color 0.18s ease;
}

.theme-header-1__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    height: 3px;
    border-radius: 999px;
    background: #0aa64f;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.theme-header-1__nav a:hover,
.theme-header-1__nav a.is-active {
    color: #0073ff !important;
}

.theme-header-1__nav a:hover::after,
.theme-header-1__nav a.is-active::after {
    transform: scaleX(1);
}

.theme-header-1__logo {
    height: 100px !important;
    display: flex;
    align-items: center;
    line-height: 0;
}

.theme-header-1__logo img {
    height: 100px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}

.theme-header-1__mobile-toggle {
    display: none;
}

@media (max-width: 991px) {
    .theme-header-1__top-navbar {
        min-height: 0;
        padding-bottom: 28px !important;
    }

    .theme-header-1__top-navbar .gap-24 {
        gap: 12px !important;
        flex-direction: column;
        align-items: flex-start !important;
    }

    .theme-header-1__top-navbar a {
        font-size: 14px;
        line-height: 1.35;
    }

    .theme-header-1__top-navbar-search {
        width: 100%;
    }

    .theme-header-1__main {
        top: -18px !important;
        margin-bottom: 0 !important;
        min-height: auto;
    }

    .theme-header-1__bar-shell {
        min-height: auto;
        padding: 12px 16px !important;
        border-radius: 22px !important;
    }

    .theme-header-1__mobile-brand {
        justify-content: space-between;
        gap: 16px;
    }

    .theme-header-1__logo img {
        height: 68px;
        max-width: 190px;
        margin: 0;
    }

    .theme-header-1__logo {
        height: 68px !important;
        justify-content: flex-start;
        width: auto;
        margin-bottom: 0;
        flex: 1;
    }

    .theme-header-1__mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        width: 46px;
        height: 46px;
        border: 1px solid rgba(22, 96, 169, 0.18);
        border-radius: 12px;
        background: rgba(22, 96, 169, 0.08);
        color: #0e2145;
        cursor: pointer;
    }

    .theme-header-1__mobile-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition:
            transform 0.18s ease,
            opacity 0.18s ease;
    }

    .theme-header-1__bar.is-mobile-menu-open .theme-header-1__mobile-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .theme-header-1__bar.is-mobile-menu-open .theme-header-1__mobile-toggle span:nth-child(2) {
        opacity: 0;
    }

    .theme-header-1__bar.is-mobile-menu-open .theme-header-1__mobile-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .theme-header-1__mobile-menu,
    .theme-header-1__mobile-cta {
        display: none !important;
    }

    .theme-header-1__bar.is-mobile-menu-open .theme-header-1__mobile-menu,
    .theme-header-1__bar.is-mobile-menu-open .theme-header-1__mobile-cta {
        display: flex !important;
    }

    .theme-header-1__bar.is-mobile-menu-open .theme-header-1__mobile-menu {
        margin-top: 14px !important;
    }

    .theme-header-1__nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
        width: 100%;
        align-items: stretch !important;
        justify-content: stretch !important;
        margin-top: 0;
    }

    .theme-header-1__nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 8px 10px;
        border-radius: 10px;
        font-size: 15px;
        line-height: 1.2;
        text-align: center;
        background: rgba(22, 96, 169, 0.07);
    }

    .theme-header-1__nav a::after {
        left: 14px;
        right: 14px;
        bottom: 6px;
    }

    .theme-header-1__bar .btn-flip-effect {
        width: 100%;
        max-width: 220px;
        justify-content: center;
        margin: 12px auto 0;
    }
}

/* ---------------------------------------------------------
   Best-selling & upcoming — remove theme bleed, align with hero
   --------------------------------------------------------- */
.best-selling-courses-section,
.upcoming-courses-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.best-selling-courses-section {
    background-color: transparent;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 0 !important;
}

/* Testimonials — heading content already uses inner .container;
   add vertical breathing room so it stands on its own */
.sliding-testimonials-2-rows-section {
    padding-top: 16px;
    padding-bottom: 16px;
}

/* ---------------------------------------------------------
   Hero Slideshow
   --------------------------------------------------------- */
.hero-slideshow {
    padding: 24px 0 8px;
    position: relative;
}
.hero-slideshow__container {
    position: relative;
    height: 46vh;
    min-height: 340px;
}
.hero-slideshow .swiper {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}
.hero-slide {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #050d1a;
}
.hero-slide__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #050d1a;
}
.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(5, 13, 26, 0.82) 0%,
        rgba(5, 13, 26, 0.48) 55%,
        rgba(5, 13, 26, 0.12) 100%
    );
}
.hero-slide__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 88px;
}
.hero-slide__inner {
    max-width: 640px;
}
@media (max-width: 768px) {
    .hero-slide__content {
        padding: 0 24px;
    }
}
.hero-slide__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 30px;
    padding: 7px 18px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.65s 0.25s ease,
        transform 0.65s 0.25s ease;
}
.hero-slide__eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary, #0070f3);
    flex-shrink: 0;
}
.hero-slide__heading {
    font-size: clamp(28px, 3.6vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s 0.45s ease,
        transform 0.7s 0.45s ease;
}
.hero-slide__sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.65s 0.65s ease,
        transform 0.65s 0.65s ease;
}
.hero-slide__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--primary, #0070f3);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0, 112, 243, 0.45);
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.65s 0.85s ease,
        transform 0.65s 0.85s ease,
        box-shadow 0.2s ease;
}
.hero-slide__cta:hover {
    color: #fff;
    box-shadow: 0 14px 38px rgba(0, 112, 243, 0.6);
    text-decoration: none;
}
.swiper-slide-active .hero-slide__eyebrow,
.swiper-slide-active .hero-slide__heading,
.swiper-slide-active .hero-slide__sub,
.swiper-slide-active .hero-slide__cta {
    opacity: 1;
    transform: translateY(0);
}

/* Nav buttons */
.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
    padding: 0;
}
.hero-nav:hover {
    background: var(--primary, #0070f3);
    transform: translateY(-50%) scale(1.12);
}
.hero-nav--prev {
    left: 16px;
}
.hero-nav--next {
    right: 16px;
}
@media (max-width: 576px) {
    .hero-nav {
        display: none;
    }
}

/* Pagination */
.hero-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}
.hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    border-radius: 4px;
    transition:
        width 0.4s ease,
        background 0.3s ease;
}
.hero-pagination .swiper-pagination-bullet-active {
    width: 30px;
    background: var(--primary, #0070f3);
}

/* ---------------------------------------------------------
   Find Your Course — search & filter section
   --------------------------------------------------------- */
.find-course-section {
    padding: 40px 0 28px;
}
.find-course__heading {
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    color: var(--dark, #0e2145);
    text-align: center;
    margin-bottom: 24px;
}
.find-course__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}
.find-course__input-wrap {
    flex: 1;
    position: relative;
}
.find-course__input {
    width: 100%;
    height: 54px;
    border: 1.5px solid #dde3ef;
    border-radius: 50px;
    padding: 0 52px 0 24px;
    font-size: 15px;
    color: #4a5568;
    background: #fff;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.find-course__input:focus {
    border-color: var(--primary, #0170ff);
    box-shadow: 0 0 0 3px rgba(1, 112, 255, 0.12);
}
.find-course__input::placeholder {
    color: #a0aec0;
}
.find-course__search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a9bb5;
    pointer-events: none;
    display: flex;
    align-items: center;
}
.find-course__filter-wrap {
    position: relative;
    flex-shrink: 0;
}
.find-course__filter-btn {
    height: 54px;
    padding: 0 24px;
    border: 1.5px solid #dde3ef;
    border-radius: 50px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}
.find-course__filter-btn:hover,
.find-course__filter-btn.active {
    border-color: var(--primary, #0170ff);
    color: var(--primary, #0170ff);
}
/* Active-filter count badge on the button */
.filter-btn-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--primary, #0170ff);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.find-course__no-results {
    display: none;
    text-align: center;
    padding: 48px 0 24px;
}
.find-course__no-results svg {
    color: #c8d3e8;
    margin-bottom: 12px;
}
.find-course__no-results p {
    font-size: 15px;
    color: #8a9bb5;
    margin-bottom: 12px;
}
@media (max-width: 576px) {
    .find-course__bar {
        flex-direction: column;
        align-items: stretch;
    }
    .find-course__filter-btn {
        justify-content: center;
    }
}

/* ---------------------------------------------------------
   Filter Modal
   --------------------------------------------------------- */
.filter-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.46);
    z-index: 1055;
    align-items: flex-start;
    justify-content: flex-end;
}
.filter-modal-overlay.open {
    display: flex;
}
.filter-modal {
    background: #fff;
    width: 100%;
    max-width: 520px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    animation: filterSlideIn 0.28s ease;
    overflow: hidden;
}
@keyframes filterSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0.6;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.filter-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 18px;
    flex-shrink: 0;
}
.filter-modal__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark, #0e2145);
}
.filter-modal__close {
    width: 34px;
    height: 34px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    border-radius: 8px;
    transition: background 0.15s ease;
    padding: 0;
}
.filter-modal__close:hover {
    background: #f0f3f8;
}
.filter-modal__hr {
    height: 1px;
    background: #e8edf4;
    margin: 0;
    flex-shrink: 0;
    border: none;
}
.filter-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 0 0 16px;
}
/* Accordion row */
.filter-accordion {
    border-bottom: 1px solid #e8edf4;
}
.filter-accordion__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: #f5f7fa;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #1a202c;
    text-align: left;
    transition: background 0.15s ease;
}
.filter-accordion__toggle:hover {
    background: #eceff5;
}
.filter-accordion__chevron {
    flex-shrink: 0;
    transition: transform 0.22s ease;
    color: #4a5568;
}
.filter-accordion.open .filter-accordion__chevron {
    transform: rotate(90deg);
}
.filter-accordion__panel {
    display: none;
    padding: 14px 24px 18px;
    background: #fff;
}
.filter-accordion.open .filter-accordion__panel {
    display: block;
}
/* Checkbox rows inside accordion panel */
.filter-modal-cbrow {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #2d3748;
    cursor: pointer;
    user-select: none;
}
.filter-modal-cbrow input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary, #0170ff);
    cursor: pointer;
    flex-shrink: 0;
}
/* "Only open" checkbox row (outside accordion) */
.filter-modal__open-only {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    font-size: 14px;
    color: #2d3748;
    cursor: pointer;
    user-select: none;
}
.filter-modal__open-only input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary, #0170ff);
    cursor: pointer;
    flex-shrink: 0;
}
/* Footer bar */
.filter-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid #e8edf4;
    flex-shrink: 0;
    background: #fff;
}
.filter-modal__clear {
    background: none;
    border: none;
    color: var(--primary, #0170ff);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}
.filter-modal__clear:hover {
    text-decoration: underline;
}
.filter-modal__actions {
    display: flex;
    gap: 10px;
}
.filter-modal__cancel {
    padding: 10px 22px;
    border: 1.5px solid #dde3ef;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.filter-modal__cancel:hover {
    border-color: #a0aec0;
}
.filter-modal__apply {
    padding: 10px 26px;
    border: none;
    border-radius: 8px;
    background: var(--secondary, #0e2145);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}
.filter-modal__apply:hover {
    background: #1a3460;
}
@media (max-width: 576px) {
    .filter-modal {
        max-width: 100%;
    }
}

/* ---------------------------------------------------------
   Footer — full-viewport-width blue background
   --------------------------------------------------------- */

/* Break the footer out of any centering/padding ancestor so the
   blue background truly spans edge-to-edge. */
#appFooterArea {
    position: relative;
    margin-top: 130px; /* extra room for the newsletter overhang */
    width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
    min-height: auto;
}
#appFooterArea,
.theme-footer-1,
.theme-footer-1__section,
.theme-footer-1__section-bg-wrapper {
    overflow: visible;
    min-height: auto;
}

/* Use the primary blue instead of the dark-navy secondary */
.theme-footer-1__section-bg-wrapper {
    background-color: var(--primary) !important;
}

/* Footer section — allow content to grow (theme uses fixed height that clips the bar) */
.theme-footer-1__section {
    height: auto !important;
    min-height: 524px;
    padding-bottom: 32px !important;
}
.theme-footer-1.has-newsletter .theme-footer-1__section {
    height: auto !important;
    min-height: 524px;
    padding-bottom: 32px !important;
}
.theme-footer-1__section .container.py-24 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.theme-footer-1,
.theme-footer-1 a,
.theme-footer-1 span,
.theme-footer-1 p,
.theme-footer-1 div {
    color: #fff;
}

.theme-footer-1 a {
    transition: color 0.16s ease, opacity 0.16s ease;
}

.theme-footer-1 a:hover {
    color: #dcecff !important;
    opacity: 1 !important;
}

.theme-footer-1 svg,
.theme-footer-1 svg *,
.theme-footer-1 .icons {
    color: #fff !important;
    stroke: currentColor;
}

.theme-footer-1 img {
    filter: brightness(0) invert(1);
}

.theme-footer-1__newsletter img,
.theme-footer-1__newsletter svg,
.theme-footer-1__newsletter svg * {
    filter: none;
    color: inherit !important;
}

.theme-footer-1__newsletter,
.theme-footer-1__newsletter *,
.theme-footer-1__newsletter input {
    color: inherit;
}

.theme-footer-1__newsletter h4 {
    color: #0e2145;
}

.theme-footer-1__newsletter .text-gray-500,
.theme-footer-1__newsletter input {
    color: #5f6f86 !important;
}

.theme-header-1__top-navbar-search input,
.theme-header-1__top-navbar-search input:focus,
.theme-header-1__top-navbar-search input:active {
    color: #fff !important;
    opacity: 1 !important;
}

.theme-header-1__top-navbar-search input::placeholder {
    color: rgba(255, 255, 255, 0.78) !important;
    opacity: 1 !important;
}

.theme-header-1__top-navbar-search {
    width: min(340px, 100%);
}

.header-login-btn {
    min-height: 38px;
    padding: 0 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 8px !important;
    background: #0aa64f !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(10, 166, 79, 0.22);
}

.header-login-btn:hover,
.header-login-btn:focus {
    background: #078c43 !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
}

.course-grid-card-1 {
    height: 100%;
    overflow: visible !important;
}

.course-grid-card-1 > .position-relative.z-index-2 {
    height: 100%;
}

.course-grid-card-1__body {
    min-height: 240px;
    height: auto !important;
    font-size: 15px;
    line-height: 1.55;
}

.course-grid-card-1__body .border-top-gray-100 {
    flex-shrink: 0;
    min-height: 44px;
}

.course-grid-card-1__body .course-title {
    font-size: 18px !important;
    line-height: 1.28 !important;
}

.course-grid-card-1__body p,
.course-grid-card-1__body .font-12,
.course-grid-card-1__body .font-13 {
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.course-grid-card-1__body .badge {
    font-size: 12px !important;
}

.course-card-intakes {
    display: block;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
}

.course-grid-card-1:hover .course-grid-card-1__body {
    transform: none !important;
}

.courses-lists-filters .courses-lists-card-view input[type="radio"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.courses-lists-filters .courses-lists-card-view label {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.courses-lists-filters .form-group .bg-gray-100:has(input[name="search"]) {
    border: 1px solid #c9d5e8;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(14, 33, 69, 0.04);
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.courses-lists-filters .form-group .bg-gray-100:has(input[name="search"]:focus) {
    border-color: #1660a9;
    box-shadow: 0 0 0 3px rgba(22, 96, 169, 0.12);
}

.contact-map-frame {
    width: 100%;
    min-height: 520px;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e9f0;
    background: #f0f4f9;
}

.contact-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
}

@media (max-width: 767px) {
    .contact-map-frame,
    .contact-map-frame iframe {
        min-height: 340px;
    }
}

@media (max-width: 991px) {
    .theme-header-1__top-navbar-search {
        width: 100%;
    }
}

/* Orientation is baked into pixels on upload; ignore EXIF so browsers don't double-rotate. */
.img-cover,
.course-grid-card-1__image img,
.course-list-row-card__thumb img {
    image-orientation: none;
    object-fit: cover;
    object-position: center;
}

@keyframes ataz-btn-spin {
    to { transform: rotate(360deg); }
}

.ataz-btn-spinner {
    display: inline-block;
    flex-shrink: 0;
    animation: ataz-btn-spin 0.8s linear infinite;
}
