.loading-spinner-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background: transparent;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid transparent;
    border-top: 4px solid var(--theme-color);
    border-right: 4px solid var(--theme-color);
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
    position: relative;
}

.spinner::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 3px solid transparent;
    border-bottom: 3px solid var(--theme-color);
    border-left: 3px solid var(--theme-color);
    border-radius: 50%;
    animation: spinReverse 1.2s ease-in-out infinite;
    opacity: 0.6;
}

.loading-text {
    margin-top: 10px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}





@keyframes slideFadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideFadeOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}


/* Minimal & Responsive Toast */
.swal2-popup.minimal-toast {
    /* font-family: 'Inter', 'Segoe UI', sans-serif; */
    font-size: 14px;
    font-weight: bold;
    border-radius: 12px;
    padding: 8px 14px;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    width: auto;
    max-width: 90vw;
    margin: 12px auto;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.swal2-hide {
    animation: slideFadeOut 0.3s ease-in !important;
}

/* Icon & Text Flex Layout */
.swal2-html-container {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    text-align: left;
    color: #333;
}

.toast-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon i {
    font-size: 20px;
    line-height: 1;
}

.toast-message {
    flex: 1;
    word-break: break-word;
    font-size: 14px;
}

@media (max-width: 480px) {
    .swal2-popup.minimal-toast {
        font-size: 13px;
        min-width: 90%;
    }

    .toast-message {
        font-size: 13px;
    }

    .toast-icon i {
        font-size: 18px;
    }
}




:root {
    --ecom-hue: 223;
    --ecom-bg: #ffffff;
    --ecom-fg: #111111;
    --ecom-trans-dur: 0.4s;
}


/* Loader container */
#ecom-preloader {
    position: fixed;
    inset: 0;
    background-color: var(--ecom-bg);
    color: var(--ecom-fg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    font-family: 'Segoe UI', 'DM Sans', sans-serif;
}

/* SVG styles */
.ecom-preloader-cart {
    width: 100px;
    height: 100px;
    margin-bottom: 1.2em;
}

.ecom-preloader-track {
    stroke: hsla(var(--ecom-hue), 10%, 10%, 0.1);
}

.ecom-preloader-lines {
    stroke: var(--theme-color, #1d2d64);
    /* Uses active theme */
}

.ecom-preloader-top {
    animation: ecomCartTop 2.5s ease-in-out infinite;
}

.ecom-preloader-wheel1 {
    animation: ecomWheel1 2.5s linear infinite;
    transform-origin: 43px 111px;
}

.ecom-preloader-wheel2 {
    animation: ecomWheel2 2.5s linear infinite;
    transform-origin: 102px 111px;
}

.ecom-preloader-wheelstroke {
    animation: ecomWheelStroke 2.5s ease-in-out infinite;
}

/* Text loading */
.ecom-preloader-text {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
}

.ecom-preloader-dot::after {
    content: '';
    display: inline-block;
    animation: ecomDots 1.2s steps(4, end) infinite;
}

/* Loader exit transition */
body.loaded #ecom-preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Animations */
@keyframes ecomCartTop {
    0% {
        stroke-dashoffset: -338;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: 338;
    }
}

@keyframes ecomWheel1 {
    from {
        transform: rotate(-0.25turn);
    }

    to {
        transform: rotate(2.75turn);
    }
}

@keyframes ecomWheel2 {
    from {
        transform: rotate(0.25turn);
    }

    to {
        transform: rotate(3.25turn);
    }
}

@keyframes ecomWheelStroke {

    0%,
    100% {
        stroke-dashoffset: 81.68;
    }

    50% {
        stroke-dashoffset: 40.84;
    }
}

@keyframes ecomDots {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }

    100% {
        content: '';
    }
}



body {
    --sb-track-color: #ffffff;
    --sb-thumb-color: var(--theme-color);
    --sb-size: 5px;
}

body::-webkit-scrollbar {
    width: var(--sb-size)
}

body::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 1px;
}

body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 1px;

}

@supports not selector(::-webkit-scrollbar) {
    body {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}



html {
  scroll-behavior: smooth;
}




/* Outer Container */
.banner-full {
    width: 100%;
    padding: 80px 0;
    background: url('assets/svg/graphy.png') repeat, #fff;
}

/* Image Styling */
.school-banner-img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 10px;
}

/* Text Column */
.school-banner-text h3 {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.school-banner-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--theme-color);
}

.school-banner-text h1 span {
    color: var(--theme-color);
    font-weight: 800;
}

.school-banner-text p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
    margin-inline: auto;
}

/* CTA Button */
.btn-enroll {
    display: inline-block;
    background: var(--theme-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-enroll:hover {
    background: #333;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .school-banner-text h1 {
        font-size: 2.2rem;
    }

    .school-banner-text p {
        font-size: 1rem;
        max-width: 100%;
    }

    .btn-enroll {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .school-banner-img {
        max-height: 500px;
    }
}



.search-result-item:hover {
    background-color: #f1f1f1;
    font-weight: bold;
}

.search-result-item img {
    flex-shrink: 0;
}

.search-result-item .badge {
    font-size: 10px;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
}