/* ==========================================================================
   100% CSP-COMPLIANT SCHOOL CMS STYLESHEET (Dynamic Theme Variables Ready)
   ========================================================================== */

/* ==========================================================
   GLOBAL DYNAMIC FONT FAMILY (MANAGED VIA /admin/settings)
   ========================================================== */
body,
*:not(.bi):not([class^="bi-"]):not([class*=" bi-"]) {
    font-family: var(--school-font-family, "Lato", sans-serif) !important;
    font-style: normal;
}


body {
    color: var(--school-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}


.text-school-primary {
    color: var(--school-primary) !important;
}

.bg-school-primary {
    background-color: var(--school-primary) !important;
}

/* ==========================================================
   TOP INFO BAR & NAVIGATION
   ========================================================== */
.top-info-bar {
    background-color: var(--school-primary);
    color: #ffffff;
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 2px solid var(--school-secondary);
}

.top-info-bar a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-info-bar a:hover {
    color: #000;
    background-color: #fff;
}

.portal-pill {
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 500;
    margin-left: 6px;
    border: 1px solid rgba(201, 162, 39, 0.4);
}

.main-navbar {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    padding: 12px 0;
}

.brand-emblem-circle {
    width: 58px;
    height: 58px;
    background: var(--school-primary);
    border: 2px solid var(--school-secondary);
    color: var(--school-secondary);
}

.school-brand-title {
    color: var(--school-primary);
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.15;
}

.school-brand-subtitle {
    color: #333333;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
}

.school-affiliation-text {
    font-size: 0.72rem;
}

.navbar-nav .nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #222222 !important;
    text-transform: uppercase;
    padding: 8px 11px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--school-primary) !important;
}

/* ==========================================================
   CUSTOM BUTTONS
   ========================================================== */
.btn-school-primary {
    background-color: var(--school-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 9px 18px;
    border-radius: 4px;
    border: 1px solid var(--school-primary);
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.btn-school-primary:hover {
    background-color: var(--school-secondary);
    color: #ffffff;
}

.btn-school-gold,
.btn-school-accent {
    background-color: var(--school-accent);
    color: #111111;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 9px 18px;
    border-radius: 4px;
    text-transform: uppercase;
}
.btn-outline-dark:hover{
    background-color:  var(--school-primary);
}
.btn-school-gold:hover
{
    background-color: var(--school-secondary) !important;
    color: #ffffff !important;
    box-shadow: 1px 1px 12px -3.5px var(--school-primary) !important;

}
.btn-school-accent:hover {
    background-color: var(--school-secondary) !important;
    color: #ffffff;
}

.btn-xs-readmore {
    font-size: 0.72rem;
}

/* ==========================================================
   HERO BANNER & SLIDER
   ========================================================== */
.hero-banner,
.hero-banner-slide {
    position: relative;
    min-height: 440px;
    background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-welcome-subtitle {
    letter-spacing: 2px;
}

.hero-slide-img {
    height: 320px;
    object-fit: cover;
}

/* ==========================================================
   NEWS TICKER STRIP
   ========================================================== */
.news-ticker {
    background-color: var(--school-secondary);
    color: #ffffff;
    border-top: 2px solid var(--school-accent);
    border-bottom: 2px solid var(--school-accent);
    padding: 8px 0;
}

.ticker-scroll-wrap {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-scroll-content {
    display: inline-block;
    animation: tickerSlide 28s linear infinite;
}

.ticker-scroll-wrap:hover .ticker-scroll-content {
    animation-play-state: paused;
}

@keyframes tickerSlide {
    0% { transform: translateX(15%); }
    100% { transform: translateX(-100%); }
}

.ticker-dot-icon {
    font-size: 0.45rem;
    vertical-align: middle;
}

/* ==========================================================
   QUICK ACTION CARDS & SECTIONS
   ========================================================== */
.quick-card {
    background: #ffffff;
    border: 1px solid #e5dec9;
    border-radius: 6px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #222222;
    transition: all 0.2s ease;
    height: 100%;
}

.quick-card:hover {
    border-color: var(--school-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 0, 25, 0.1);
}

.quick-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(122, 0, 25, 0.08);
    color: var(--school-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.quick-sub-label {
    font-size: 0.72rem;
}

.about-curved-photo {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 20px 180px 180px 20px;
}

.about-section-heading {
    color: var(--school-primary);
    font-size: 1.85rem;
    font-weight: 700;
}

.about-body-copy {
    line-height: 1.75;
}

.btn-about-outline {
    display: inline-block;
    border: 1.5px solid var(--school-primary);
    color: var(--school-primary);
    padding: 8px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-about-outline:hover {
    background-color: var(--school-primary);
    color: #ffffff;
}

.notice-board-panel {
    background: #ffffff;
    border-top: 4px solid var(--school-primary) !important;
    border-radius: 4px;
}

.notice-row-item {
    padding-bottom: 14px;
    border-bottom: 1px solid #eeeeee;
}

.notice-row-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.notice-tag-icon {
    font-size: 0.82rem;
    color: #444444;
    margin-top: 3px;
}

.notice-title-link {
    color: #222222;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.notice-title-link:hover {
    color: var(--school-primary);
}

/* ==========================================================
   LEADERSHIP CARDS
   ========================================================== */
.leadership-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.leadership-card h6 {
    color: var(--school-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--school-accent);
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.leader-photo-wrap {
    width: 180px;
    flex-shrink: 0;
}

.leader-portrait-img {
    height: 200px;
    object-fit: cover;
    border: 3px solid var(--school-accent);
}

.leader-label-plate {
    background: var(--school-primary);
    font-size: 0.72rem;
    line-height: 1.25;
}

.leader-qual-text {
    font-size: 0.65rem;
}

.leader-quote-copy {
    line-height: 1.6;
    text-align: justify;
}

.leader-signature-img {
    height: 36px;
    max-width: 110px;
    object-fit: contain;
}

.leader-sign-caption {
    font-size: 0.65rem;
}

/* ==========================================================
   STATISTICS STRIP & FACILITIES
   ========================================================== */
.stats-strip,
.stats-solid-strip {
    background: linear-gradient(90deg, var(--school-secondary) 0%, var(--school-primary) 50%, var(--school-secondary) 100%);
    color: #ffffff;
    padding: 32px 0;
    border-top: 3px solid var(--school-accent);
    border-bottom: 3px solid var(--school-accent);
}

.stat-inline-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.stat-inline-icon {
    font-size: 2.35rem;
    color: #ffffff;
    line-height: 1;
}

.stat-inline-number {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.stat-inline-label {
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
}

.facility-box {
    text-align: center;
    padding: 16px 10px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    transition: all 0.2s ease;
    height: 100%;
}

.facility-box:hover {
    border-color: var(--school-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.facility-icon {
    color: var(--school-primary);
}

.facility-sub {
    font-size: 0.72rem;
}

/* ==========================================================
   ADMISSIONS PROMO BANNER & HIGHLIGHTS GRID
   ========================================================== */
.admissions-promo-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(145, 25, 30, 0.82) 0%, var(--school-primary) 90%),
                url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
    color: #ffffff;
    min-height: 350px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 28px rgba(122, 0, 25, 0.18);
}

.admissions-promo-inner {
    padding: 36px 34px 48px 34px;
    width: 100%;
}

.admissions-promo-heading {
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.18;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.admissions-promo-session {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.admissions-promo-sub {
    font-size: 0.9rem;
    opacity: 0.92;
    margin-bottom: 24px;
}

.btn-apply-white {
    display: inline-block;
    background-color: #ffffff;
    color: var(--school-primary);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 11px 26px;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-apply-white:hover {
    background-color: var(--school-accent);
    color: #111111;
    transform: translateY(-2px);
}

.highlight-feature-card {
    text-align: center;
    padding: 28px 16px;
    border-radius: 10px;
    background-color: transparent;
    transition: all 0.28s ease;
    height: 100%;
    cursor: pointer;
}

.highlight-feature-card:hover,
.highlight-feature-card.is-featured {
    background-color: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.highlight-feature-icon {
    font-size: 2.3rem;
    color: var(--school-primary);
    margin-bottom: 12px;
    line-height: 1;
}

.highlight-feature-title {
    font-weight: 600;
    font-size: 0.88rem;
    color: #1e1e1e;
    margin-bottom: 0;
}

/* ==========================================================
   GALLERY SECTION
   ========================================================== */
.gallery-section-title {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    color: #111111;
}

.gallery-card-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 210px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    background-color: #f0f0f0;
}

.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-card-box:hover .gallery-card-img {
    transform: scale(1.06);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.75) 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    color: #ffffff;
}

.gallery-card-box:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--school-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.35);
    z-index: 2;
}

.btn-view-full-gallery {
    display: inline-block;
    background-color: var(--school-primary);
    color: #ffffff;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 10px 30px;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.btn-view-full-gallery:hover {
    background-color: var(--school-secondary);
    color: #ffffff;
}

.gallery-carousel-control {
    width: 40px;
    height: 40px;
    background-color: var(--school-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
}

.gallery-carousel-control:hover {
    opacity: 1;
}

.lightbox-modal-img {
    max-height: 78vh;
    width: auto;
    object-fit: contain;
}

/* ==========================================================
   PAGINATION STYLING
   ========================================================== */
.pagination { gap: 6px; }
.pagination li a, .pagination li span {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: var(--school-primary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    background: #ffffff;
}
.pagination li.active a, .pagination li.active span {
    background-color: var(--school-primary);
    border-color: var(--school-primary);
    color: #ffffff;
}

/* ==========================================================
   ADMIN PANEL SIDE-BY-SIDE FIXED LAYOUT & SCROLL FIX
   ========================================================== */
.admin-wrapper {
    display: flex;
    flex-wrap: nowrap !important;
    min-height: 100vh;
    width: 100%;
    align-items: flex-start;
    background-color: #f4f6f9;
}

.admin-sidebar,
#adminSidebar,
aside.sidebar {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1030;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background-color: #1e293b; /* Dark Slate Sidebar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    padding-bottom: 3rem !important;
}

.admin-sidebar::-webkit-scrollbar,
#adminSidebar::-webkit-scrollbar,
aside.sidebar::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-thumb,
#adminSidebar::-webkit-scrollbar-thumb,
aside.sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.admin-main-content {
    flex: 1 1 auto;
    margin-left: 260px !important;
    width: calc(100% - 260px) !important;
    min-height: 100vh;
    background-color: #f8fafc;
}

/* ==========================================================
   ADMIN SIDEBAR MENU HOVER & ACTIVE HIGHLIGHT STYLING
   ========================================================== */
.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    border-radius: 8px;
    padding: 0.58rem 0.85rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s ease-in-out;
}

.admin-sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-left-color: var(--school-accent);
    transform: translateX(3px);
}

.admin-sidebar .nav-link.active {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
    color: var(--school-accent) !important;
    font-weight: 700;
    border-left: 4px solid var(--school-accent);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.admin-sidebar .nav-link.active i {
    color: var(--school-accent) !important;
}

/* ==========================================================
   MOBILE RESPONSIVE
   ========================================================== */
@media (max-width: 991.98px) {
    .admin-wrapper {
        flex-direction: column !important;
    }
    .admin-sidebar,
    #adminSidebar,
    aside.sidebar {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 350px !important;
    }
    .admin-main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
}
/* ==========================================================
   DYNAMIC SCHOOL LOGO SIZING (HEADER, FOOTER & ADMIN)
   ========================================================== */
.navbar-logo-img {
    height: 58px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 75px;
    object-fit: contain;
    border: 2px solid var(--school-accent);
}

.admin-sidebar-logo {
    height: 38px;
    width: 38px;
    object-fit: contain;
}

.school-logo-admin-preview {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.school-favicon-admin-preview {
    height: 36px;
    width: 36px;
    object-fit: contain;
}
.footer-link>li>a{
    text-decoration: none !important;
    color: var(--school-accent);
}
/* ==========================================================
   NOTICE BOARD VERTICAL MARQUEE (PURE CSS, PAUSE ON HOVER)
   ========================================================== */
.notice-marquee-window {
    height: 270px;
    overflow: hidden;
    position: relative;
}

.notice-marquee-track {
    animation: noticeVerticalScroll 16s linear infinite;
}

.notice-marquee-window:hover .notice-marquee-track {
    animation-play-state: paused;
}

@keyframes noticeVerticalScroll {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}
/* Dashboard Analytics Chart Container */
.dashboard-chart-box {
    position: relative;
    height: 260px;
    width: 100%;
}
.rounded-circle-logo{
    height: 60px !important;
    width: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ==========================================================
   PROFESSIONAL ADMIN PAGE & FORM SUBMISSION LOADER
   ========================================================== */
.admin-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.admin-page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.admin-loader-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 20px 28px;
    text-align: center;
    min-width: 210px;
}

.admin-dual-spinner {
    display: inline-block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3.5px solid rgba(139, 0, 0, 0.15);
    border-top-color: var(--school-primary, #8b0000);
    border-right-color: var(--school-secondary, #d4af37);
    animation: adminSpin 0.7s linear infinite;
}

.extra-small {
    font-size: 0.72rem;
}

@keyframes adminSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Fix DataTables or Pagination <> arrows & processing box */
div.dataTables_wrapper div.dataTables_processing {
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    font-weight: 600;
}

.dataTables_wrapper .paginate_button {
    border-radius: 6px !important;
    font-weight: 500;
}
/* ==========================================================
   MODERN SINGLE-ROW TESTIMONIAL SLIDER (LARGE PHOTO EDITION)
   ========================================================== *

.testimonial-slider-track::-webkit-scrollbar {
    display: none;
}

/* Desktop: 3 cards per row */
.testimonial-slide-item {
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    scroll-snap-align: start;
}

/* Tablet: 2 cards per row */
@media (max-width: 991.98px) {
    .testimonial-slide-item {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
}

/* Mobile: 1 card per row */
@media (max-width: 575.98px) {
    .testimonial-slide-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.testimonial-card-modern {
    border-radius: 18px;
    border-top: 4px solid var(--school-primary, #8b0000) !important;
    background: #ffffff;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.testimonial-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Large 92x92px Portrait Photo with Double Ring */
.testimonial-avatar-lg,
.testimonial-avatar-lg-fallback {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar-lg-fallback {
    background: linear-gradient(135deg, var(--school-primary, #8b0000), #4a0000);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
}

.testimonial-quote-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--school-secondary, #ffc107);
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.testimonial-quote-text {
    font-size: 0.98rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-nav-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Larger 58x58px Photo Preview in Admin Table */
.testimonial-admin-thumb {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
}
.text-uppercase{
    text-transform: uppercase !important;
    line-height: inherit;
    font-weight: 500;
    font-size: 0.8rem;
}

/* Optional: If you have 2 or fewer testimonials total, center them automatically without clipping */
.testimonial-slide-item:first-child {
    margin-left: auto;
}
.testimonial-slide-item:last-child {
    margin-right: auto;
}
/* Clips the 4th card at the exact container boundary while keeping card shadows intact */
.testimonial-slider-viewport {
    overflow: hidden;
    width: 100%;
    padding: 0.5rem 0.25rem 1.25rem;
    margin: 0 -0.25rem;
}

.testimonial-slider-track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 1.5rem;
    padding: 0;
    will-change: transform;
}

/* Remove the auto margins from earlier so card 1 always starts at 0px */
.testimonial-slide-item:first-child,
.testimonial-slide-item:last-child {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Desktop: Exactly 3 cards visible (2 gaps of 1.5rem = 3rem total divided by 3 cards = 1rem per card) */
.testimonial-slide-item {
    flex: 0 0 calc((100% - 3rem) / 3);
    max-width: calc((100% - 3rem) / 3);
}

/* Tablet: Exactly 2 cards visible */
@media (max-width: 991.98px) {
    .testimonial-slide-item {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
    }
}

/* Mobile: Exactly 1 card visible */
@media (max-width: 575.98px) {
    .testimonial-slide-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* ==========================================================
   HOMEPAGE FAQ ACCORDION SECTION
   ========================================================== */
.faq-support-icon {
    width: 48px;
    height: 48px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: #fff5f5;
    color: var(--school-primary, #8b0000) !important;
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(139, 0, 0, 0.2);
}
.max-w-700 {
    max-width: 700px;
}
/* ==========================================================
   FOOTER GPS MAP BOX (CSP-SAFE)
   ========================================================== */
.footer-map-box {
    height: 165px;
    background-color: #1e293b;
}

.footer-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}