/* ================================================================
   GA Academy — School Modern UI (full redesign)
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --sm-primary: #2B3663;
    --sm-primary-dark: #1a2340;
    --sm-primary-light: #3d4f85;
    --sm-accent: #D82B27;
    --sm-accent-dark: #a82320;
    --sm-gold: #f59e0b;
    --sm-red: #D82B27;
    --sm-blue: #2B3663;
    --sm-dark: #0f172a;
    --sm-text: #1e293b;
    --sm-muted: #64748b;
    --sm-bg: #f1f5f9;
    --sm-white: #ffffff;
    --sm-border: #e2e8f0;
    --sm-radius: 16px;
    --sm-radius-sm: 10px;
    --sm-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --sm-shadow-lg: 0 20px 50px rgba(43, 54, 99, 0.12);
    --sm-font: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    --sm-container: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.sm-body {
    margin: 0;
    font-family: var(--sm-font) !important;
    background: #d5dae3 url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23b8c0cc' fill-opacity='0.25'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23b8c0cc' fill-opacity='0.25'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/g%3E%3C/svg%3E") !important;
    color: var(--sm-text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.sm-body.bn { font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif !important; }

.sm-container {
    width: 100%;
    max-width: var(--sm-container);
    margin: 0 auto;
    padding: 0 16px;
}

/* ---- PAGE BOX (chhagalnaiya-style centered layout) ---- */
.sm-page-wrap {
    padding: 14px 0 0;
}

.sm-page-wrap__box {
    padding: 0 !important;
    background: var(--sm-white);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.1);
    overflow: visible;
}

.sm-hero {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.sm-main {
    padding: 0 0 28px;
}

.sm-main > .sm-container {
    background: var(--sm-white);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
    padding: 22px 16px 36px;
    margin-top: -1px;
    border-radius: 0 0 8px 8px;
}

/* ---- TOP BAR ---- */
.sm-topbar {
    background: linear-gradient(90deg, var(--sm-primary-dark), var(--sm-primary));
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 2px solid var(--sm-accent);
}

.sm-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.sm-topbar__info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sm-topbar__info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sm-topbar__info i { color: var(--sm-accent); font-size: 12px; }

.sm-topbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sm-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.sm-pill--ghost {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
    border-color: rgba(255,255,255,0.15);
}
.sm-pill--ghost:hover {
    background: var(--sm-accent);
    border-color: var(--sm-accent);
    transform: translateY(-1px);
}

.sm-pill--lang {
    background: var(--sm-accent);
    color: #fff !important;
}
.sm-pill--lang:hover { background: var(--sm-accent-dark); }

.sm-pill img { width: 18px; height: 18px; border-radius: 50%; }

/* ---- HERO SLIDER ---- */
.sm-hero { position: relative; }

.sm-hero .carousel-item { height: 300px; }

.sm-hero__slide {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sm-hero__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 35, 64, 0.88) 0%, rgba(43, 54, 99, 0.55) 45%, rgba(43, 54, 99, 0.15) 100%);
}

.sm-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 0 24px 28px;
}

.sm-hero__brand {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none !important;
    max-width: 100%;
}

.sm-hero__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.sm-hero__text h1 {
    margin: 0 0 4px;
    color: #fff;
    font-size: clamp(1.25rem, 3.2vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.sm-hero__text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.sm-hero .carousel-control-prev,
.sm-hero .carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    border: 1px solid rgba(255,255,255,0.2);
}

.sm-hero .carousel-control-prev { left: 20px; }
.sm-hero .carousel-control-next { right: 20px; }

.sm-hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    opacity: 0.6;
}
.sm-hero .carousel-indicators .active {
    background: var(--sm-accent);
    border-color: var(--sm-accent);
    opacity: 1;
}

/* ---- NAVIGATION ---- */
.sm-nav-wrap {
    background: linear-gradient(180deg, #141c33, var(--sm-primary-dark));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--sm-accent);
    overflow: visible;
}

.sm-nav-wrap .navbar,
.sm-nav-wrap .navbar-collapse {
    overflow: visible !important;
}

.sm-nav-wrap .menubar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.sm-nav-wrap .navbar-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.sm-nav-wrap .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    padding: 11px 10px !important;
    border-bottom: 3px solid transparent !important;
    margin-bottom: -3px !important;
    transition: all 0.2s !important;
    text-transform: none !important;
}

.sm-nav-wrap .nav-link:hover,
.sm-nav-wrap .nav-item.show .nav-link {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-bottom-color: var(--sm-accent) !important;
}

.sm-nav-wrap .nav-item:first-child .nav-link {
    color: #fff !important;
    font-size: 15px !important;
}

.sm-nav-wrap .dropdown-menu {
    border: none !important;
    border-radius: var(--sm-radius-sm) !important;
    box-shadow: var(--sm-shadow-lg) !important;
    padding: 12px !important;
    border-top: 3px solid var(--sm-accent) !important;
    margin-top: 0 !important;
    z-index: 1100 !important;
}

@media only screen and (min-width: 992px) {
    .sm-nav-wrap .nav-item.dropdown {
        position: relative;
    }

    .btco-hover-menu .collapse ul li.dropdown:hover > .dropdown-menu,
    .btco-hover-menu .collapse ul li.dropdown:focus-within > .dropdown-menu {
        display: block !important;
    }

    .btco-hover-menu .collapse ul ul.dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        min-width: 250px;
    }
}

.sm-nav-wrap .dmenu li a {
    display: block;
    padding: 8px 14px !important;
    color: var(--sm-text) !important;
    font-size: 13px !important;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s;
}

.sm-nav-wrap .dmenu li a:hover {
    background: rgba(43, 54, 99, 0.08) !important;
    color: var(--sm-primary) !important;
    padding-left: 18px !important;
}

.sm-nav-wrap .navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 6px !important;
    padding: 5px 9px !important;
}

.sm-nav-wrap .navbar-brand {
    color: #fff !important;
    font-size: 13px !important;
}

/* Hide old sliders & mobile carousel when modern layout is active */
.sm-body .slider#slider1 { display: none !important; }
.sm-body #carouselExampleControls { display: none !important; }

/* ---- MAIN CONTENT ---- */
.sm-layout { display: grid; grid-template-columns: 1fr 290px; gap: 22px; align-items: start; }

/* Announcement */
.sm-ticker {
    display: flex;
    align-items: stretch;
    background: var(--sm-white);
    border-radius: var(--sm-radius-sm);
    overflow: hidden;
    box-shadow: var(--sm-shadow);
    margin-bottom: 24px;
    border: 1px solid var(--sm-border);
}

.sm-ticker__label {
    background: linear-gradient(135deg, var(--sm-red), #dc2626);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.sm-ticker__track {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #fffbeb;
}

.sm-ticker__text {
    white-space: nowrap;
    animation: sm-marquee 30s linear infinite;
    font-weight: 500;
    color: var(--sm-text);
    font-size: 14px;
}

.sm-ticker__content {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: sm-marquee 30s linear infinite;
    font-weight: 500;
    color: var(--sm-text);
    font-size: 14px;
}

.sm-ticker__inner {
    display: flex;
    align-items: stretch;
    width: 100%;
}

@keyframes sm-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sm-info-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
    padding: 14px 20px;
    background: linear-gradient(90deg, #1d4ed8, #2563eb, #3b82f6);
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    border-radius: var(--sm-radius-sm);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease;
}

.sm-info-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
    color: #fff !important;
}

.sm-info-banner__arrow {
    font-size: 12px;
    opacity: 0.85;
}

/* Quick links */
.sm-quick {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.sm-quick__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    background: #f8fafc;
    border-radius: var(--sm-radius-sm);
    text-decoration: none !important;
    color: var(--sm-text) !important;
    border: 1px solid var(--sm-border);
    transition: all 0.25s ease;
    text-align: center;
}

.sm-quick__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--sm-shadow);
    border-color: var(--sm-primary-light);
    background: #fff;
}

.sm-quick__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.sm-quick__icon--p { background: linear-gradient(135deg, var(--sm-primary), var(--sm-primary-light)); }
.sm-quick__icon--g { background: linear-gradient(135deg, var(--sm-accent), #e85a56); }
.sm-quick__icon--b { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.sm-quick__icon--o { background: linear-gradient(135deg, var(--sm-gold), #fbbf24); }
.sm-quick__icon--r { background: linear-gradient(135deg, var(--sm-red), #e85a56); }
.sm-quick__icon--t { background: linear-gradient(135deg, var(--sm-primary-dark), var(--sm-primary)); }

.sm-quick__label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

/* Cards */
.sm-card {
    background: var(--sm-white);
    border-radius: var(--sm-radius);
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow);
    overflow: hidden;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}

.sm-card:hover { box-shadow: var(--sm-shadow-lg); }

.sm-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--sm-primary), var(--sm-primary-dark));
    color: #fff;
    gap: 12px;
    flex-wrap: wrap;
}

.sm-card__head .sm-btn--outline {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    border-color: rgba(255,255,255,0.45) !important;
    font-size: 12px;
    padding: 6px 14px;
}

.sm-card__head .sm-btn--outline:hover {
    background: #fff;
    color: var(--sm-primary) !important;
}

.sm-card__head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sm-card__head--alt {
    background: linear-gradient(135deg, var(--sm-primary-light), var(--sm-primary)) !important;
}

.sm-card__head .sm-live {
    width: 8px; height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: sm-pulse 1.5s infinite;
}

@keyframes sm-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

.sm-card__body { padding: 16px 20px; }

.sm-notice-list { list-style: none; margin: 0; padding: 0; }

.sm-notice-list li {
    border-bottom: 1px dashed var(--sm-border);
    padding: 0;
}

.sm-notice-list li:last-child { border-bottom: none; }

.sm-notice-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 4px;
    color: var(--sm-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    line-height: 1.4;
}

.sm-notice-list a:hover {
    color: var(--sm-primary);
    padding-left: 8px;
}

.sm-notice-list a i {
    color: var(--sm-accent);
    margin-top: 3px;
    font-size: 10px;
}

.sm-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}

.sm-btn--primary {
    background: var(--sm-primary);
    color: #fff !important;
}
.sm-btn--primary:hover {
    background: var(--sm-primary-dark);
    transform: translateY(-1px);
}

.sm-btn--outline {
    background: transparent;
    color: var(--sm-primary) !important;
    border: 2px solid var(--sm-primary);
}
.sm-btn--outline:hover {
    background: var(--sm-primary);
    color: #fff !important;
}

.sm-section-head {
    margin: 4px 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sm-border);
    text-align: left;
}

.sm-section-head h2 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sm-primary);
}

.sm-section-head p {
    margin: 0;
    color: var(--sm-muted);
    font-size: 13px;
}

/* Service grid */
.sm-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.sm-service {
    background: var(--sm-white);
    border-radius: var(--sm-radius);
    border: 1px solid var(--sm-border);
    overflow: hidden;
    transition: all 0.3s;
}

.sm-service:hover {
    transform: translateY(-4px);
    box-shadow: var(--sm-shadow-lg);
}

.sm-service__head {
    padding: 14px 18px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sm-service__head--1 { background: linear-gradient(135deg, var(--sm-primary), var(--sm-primary-light)); }
.sm-service__head--2 { background: linear-gradient(135deg, var(--sm-primary-dark), var(--sm-primary)); }
.sm-service__head--3 { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.sm-service__head--4 { background: linear-gradient(135deg, var(--sm-accent-dark), var(--sm-accent)); }
.sm-service__head--5 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.sm-service__head--6 { background: linear-gradient(135deg, #dc2626, #ef4444); }
.sm-service__head--7 { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.sm-service__head--8 { background: linear-gradient(135deg, #4f46e5, #6366f1); }

.sm-service__body { padding: 14px 18px; }

.sm-service__links { list-style: none; margin: 0; padding: 0; }

.sm-service__links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    color: var(--sm-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.sm-service__links li a i { color: var(--sm-accent); font-size: 10px; }

.sm-service__links li a:hover {
    color: var(--sm-primary);
    padding-left: 6px;
}

/* CTA Banner */
.sm-cta {
    background: linear-gradient(135deg, var(--sm-primary-dark), var(--sm-primary), var(--sm-primary-light));
    border-radius: var(--sm-radius);
    padding: 32px;
    text-align: center;
    color: #fff;
    margin: 28px 0;
    position: relative;
    overflow: hidden;
}

.sm-cta::before {
    content: '\f19d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    opacity: 0.08;
}

.sm-cta h3 { margin: 0 0 8px; font-size: 1.4rem; font-weight: 800; }
.sm-cta p { margin: 0 0 20px; opacity: 0.85; }

.sm-cta .sm-btn {
    background: var(--sm-accent);
    color: #fff !important;
    padding: 12px 28px;
    font-size: 14px;
}
.sm-cta .sm-btn:hover { background: var(--sm-accent-dark); }

/* Video */
.sm-video {
    border-radius: var(--sm-radius);
    overflow: hidden;
    box-shadow: var(--sm-shadow-lg);
    margin-top: 24px;
}

.sm-video iframe { display: block; width: 100%; height: 400px; border: none; }

/* ---- SIDEBAR ---- */
.sm-sidebar { display: flex; flex-direction: column; gap: 20px; }

.sm-widget {
    background: var(--sm-white);
    border-radius: var(--sm-radius);
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow);
    overflow: hidden;
}

.sm-widget__title {
    background: linear-gradient(135deg, var(--sm-primary), var(--sm-primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 18px;
    margin: 0;
}

.sm-widget__body { padding: 16px; }

.sm-person {
    text-align: center;
}

.sm-person img {
    width: 100%;
    /* max-height: 200px; */
    object-fit: cover;
    border-radius: var(--sm-radius-sm);
    margin-bottom: 12px;
}

.sm-person__name {
    font-weight: 700;
    font-size: 14px;
    color: var(--sm-text);
    display: block;
    margin-bottom: 10px;
}

.sm-widget .feature {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.sm-widget .feature a {
    display: block;
    padding: 10px 14px;
    color: var(--sm-text);
    text-decoration: none;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.2s;
}

.sm-widget .feature a:hover {
    background: rgba(43, 54, 99, 0.06);
    color: var(--sm-primary);
}

.sm-widget .feature li { list-style: none; }

/* ---- FOOTER ---- */
.sm-footer {
    background: var(--sm-primary-dark);
    color: rgba(255,255,255,0.75);
    padding: 0;
    margin-top: 0;
}

.sm-footer__wave {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(0.05);
}

.sm-footer__inner {
    padding: 32px 0;
    text-align: center;
}

.sm-footer__inner p { margin: 0 0 6px; font-size: 13px; }

.sm-footer a {
    color: var(--sm-accent);
    text-decoration: none;
    font-weight: 600;
}
.sm-footer a:hover { color: #fff; }

/* ---- INNER PAGES ---- */
.sm-body .list-group-item.bg-success,
.sm-body #about,
.sm-body #featureheads,
.sm-body #featurehead {
    background: linear-gradient(135deg, var(--sm-primary), var(--sm-primary-dark)) !important;
    border: none !important;
    font-weight: 700 !important;
    padding: 14px 20px !important;
    border-radius: var(--sm-radius-sm) var(--sm-radius-sm) 0 0 !important;
}

.sm-body .container {
    width: 100%;
    max-width: var(--sm-container) !important;
    margin: -1px auto 28px !important;
    padding: 22px 16px 36px !important;
    background: var(--sm-white) !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
    border-radius: 0 0 8px 8px;
}

.sm-body #mainpage .row > .col-sm-9 {
    background: var(--sm-white);
    border-radius: var(--sm-radius);
    padding: 24px !important;
    box-shadow: var(--sm-shadow);
    border: 1px solid var(--sm-border);
}

/* Mobile menu */
.sm-body .sidemenu {
    background: linear-gradient(180deg, var(--sm-primary-dark), var(--sm-dark)) !important;
}

.sm-body .sidemenu .uk-nav li a {
    color: rgba(255,255,255,0.85) !important;
    padding: 12px 16px !important;
    border-radius: 8px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .sm-layout { grid-template-columns: 1fr; }
    .sm-quick { grid-template-columns: repeat(3, 1fr); }
    .sm-hero .carousel-item, .sm-hero__slide { height: 260px; }
    .sm-services { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .sm-page-wrap { padding-top: 8px; }
    .sm-hero__logo { width: 56px; height: 56px; }
    .sm-hero__overlay { padding: 0 14px 18px; }
    .sm-hero__brand { gap: 12px; }
    .sm-topbar__info { display: none; }
    .sm-body .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .sm-quick { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .sm-quick__item { padding: 12px 6px; }
    .sm-quick__icon { width: 38px; height: 38px; font-size: 1rem; }
    .sm-quick__label { font-size: 10px; }
    .sm-hero .carousel-item, .sm-hero__slide { height: 220px; }
    .sm-cta { padding: 24px 16px; }
    .sm-cta::before { display: none; }
    .sm-video iframe { height: 220px; }
    .sm-nav-wrap .nav-link { font-size: 12px !important; padding: 10px 7px !important; }
}

@media (max-width: 480px) {
    .sm-quick { grid-template-columns: repeat(2, 1fr); }
}

/* Kill old conflicting styles */
.sm-body .topheader,
.sm-body .logo-sm-header,
.sm-body .logoName,
.sm-body .siteNameEst,
.sm-body .sm-brand { display: none !important; }

.sm-body .developerdiv { display: none !important; }
