/* ==========================================================================
   SHRI RAM INSTITUTE OF MEDICAL SCIENCES (SRIOMS)
   Bright, Crystal-Clear, High-Luminance Medical Design System
   ========================================================================== */

:root {
    /* Luminous Vibrant Brand Colors */
    --primary-950: #06192e;
    --primary-900: #0a2540;
    --primary-800: #0d3b66;
    --primary-700: #0369a1;
    --primary-600: #0284c7;
    --primary-500: #0ea5e9;
    --primary-400: #38bdf8;
    --primary-200: #bae6fd;
    --primary-100: #e0f2fe;
    --primary-50:  #f0f9ff;

    /* Logo Emblem Crimson Red (Solid Vibrant Secondary Color) */
    --red-brand:    #d61a29;
    --red-dark:     #b91c1c;
    --red-light:    #ef4444;
    --red-100:      #fee2e2;
    --red-50:       #fef2f2;
    --red-glow:     0 4px 14px rgba(214, 26, 41, 0.3);

    /* Blue Colors */
    --blue-glow:    0 4px 14px rgba(2, 132, 199, 0.28);

    /* Vivid Accent & Semantic */
    --cyan-600:    #0891b2;
    --cyan-500:    #06b6d4;
    --cyan-100:    #cffafe;
    --cyan-50:     #ecfeff;

    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;

    --amber-500:   #f59e0b;
    --amber-100:   #fef3c7;

    --rose-600:    #e11d48;
    --rose-100:    #ffe4e6;

    /* Neutrals & Surfaces (Bright & Solid) */
    --bg-main:     #f8fafc;
    --bg-surface:  #ffffff;
    --bg-subtle:   #f1f5f9;
    --bg-card:     #ffffff;

    --text-heading: #0a2540;
    --text-body:    #334155;
    --text-muted:   #64748b;
    --text-light:   #94a3b8;
    --text-white:   #ffffff;

    /* Borders & Lines */
    --border-subtle: #e2e8f0;
    --border-strong: #cbd5e1;
    --border-bright: #bae6fd;
    --border-glow:   rgba(14, 165, 233, 0.35);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows & Depth */
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow-md: 0 8px 24px -3px rgba(2, 132, 199, 0.08), 0 2px 8px -1px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 8px 25px rgba(2, 132, 199, 0.28);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-700);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1340px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   TOPBAR (Deep Dark Navy)
   ========================================================================== */
.site-topbar {
    background: var(--primary-950);
    color: #ffffff;
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.88);
}

.topbar-item i {
    color: var(--primary-400);
}

.topbar-emergency {
    background: var(--red-brand);
    color: #ffffff !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(214, 26, 41, 0.35);
    white-space: nowrap;
}

.topbar-socials {
    display: flex;
    gap: 8px;
}

.topbar-socials a {
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    transition: var(--transition);
}

.topbar-socials a:hover {
    background: var(--red-brand);
    color: #ffffff;
    transform: translateY(-1px);
}

.topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red-brand);
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
}

.topbar-socials a {
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.topbar-socials a:hover {
    background: var(--red-brand);
    color: #ffffff;
    transform: translateY(-1px);
}

.topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red-brand);
    color: #ffffff !important;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    transition: var(--transition);
}

.topbar-btn:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.site-navbar {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    border-bottom: 2px solid var(--red-brand);
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 16px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo {
    height: 52px;
    max-height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.38rem;
    font-weight: 800;
    color: var(--primary-900);
    line-height: 1;
    letter-spacing: -0.3px;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--red-brand);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-top: 3px;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.58rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-heading);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--red-brand);
    background: var(--red-50);
}

.nav-link.active {
    color: var(--red-brand);
    background: var(--red-50);
    font-weight: 700;
    border-bottom: 2px solid var(--red-brand);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Solid Buttons (Crimson Red as Primary) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
}

/* Primary Button (Crimson Red) */
.btn-primary, .btn-red, .navbar-actions .btn-primary, .btn-emergency {
    background: var(--red-brand) !important;
    color: #ffffff !important;
    border: 1px solid var(--red-brand) !important;
    box-shadow: 0 4px 14px rgba(214, 26, 41, 0.35) !important;
}

.btn-primary:hover, .btn-red:hover, .navbar-actions .btn-primary:hover, .btn-emergency:hover {
    background: var(--red-dark) !important;
    border-color: var(--red-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(214, 26, 41, 0.5) !important;
}

/* Accent Button (Medical Blue) */
.btn-accent {
    background: var(--primary-600);
    color: #ffffff !important;
    border: 1px solid var(--primary-600);
}

.btn-accent:hover {
    background: var(--primary-700);
    border-color: var(--primary-700);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--red-brand);
    color: var(--red-brand);
}

.btn-outline:hover {
    background: var(--red-50);
    border-color: var(--red-dark);
    color: var(--red-dark);
}

.btn-outline-white {
    background: transparent;
    border: 1.5px solid #ffffff;
    color: #ffffff !important;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: var(--red-brand) !important;
    border-color: #ffffff;
}

.btn-compact {
    padding: 8px 16px;
    font-size: 0.86rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.02rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 7px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: var(--transition);
}

/* Notice Ticker (Solid Crimson Ribbon Badge) */
.notice-ticker {
    background: #06192e;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    overflow: hidden;
}

.ticker-container {
    display: flex;
    align-items: center;
}

.ticker-badge {
    background: var(--red-brand);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.76rem;
    padding: 8px 18px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ticker-badge i {
    color: #ffffff;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 18px;
}

.ticker-marquee {
    display: inline-block;
    animation: marquee 28s linear infinite;
}

.ticker-marquee span {
    margin-right: 60px;
}

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

/* ==========================================================================
   HERO SECTION (Full-Width 3:1 Ratio Pure Image Slider)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #06192e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    min-height: 440px;
    max-height: 560px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: brightness(1.05) contrast(1.02) saturate(1.06);
}

/* Slider Navigation Controls */
.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    color: var(--red-brand);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.hero-slider-prev { left: 28px; }
.hero-slider-next { right: 28px; }

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: var(--red-brand);
    border-color: var(--red-brand);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 22px rgba(214, 26, 41, 0.4);
}

/* Slider Indicators */
.hero-slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 13px;
    height: 13px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-dot.active {
    width: 36px;
    background: var(--red-brand);
    border-color: #ffffff;
}

@media (max-width: 1080px) {
    .hero-slider-wrapper {
        aspect-ratio: 2.4 / 1;
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .hero-slider-wrapper {
        aspect-ratio: 16 / 9;
        min-height: 260px;
    }
    .hero-slider-prev, .hero-slider-next { display: none; }
}

/* ==========================================================================
   STATS COUNTER BAR (Crystal Glass Floating Bar)
   ========================================================================== */
.stats-section {
    position: relative;
    margin-top: -34px;
    z-index: 30;
}

.stats-card-wrap {
    background: #ffffff;
    border: 1.5px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.16), 0 4px 14px rgba(0, 0, 0, 0.04);
    padding: 32px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: #fee2e2;
    color: var(--red-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    flex-shrink: 0;
    border: 1.5px solid #fca5a5;
    box-shadow: 0 4px 12px rgba(214, 26, 41, 0.12);
}

.stat-info h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--red-brand);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   PAGE HEROES (Solid Rich Navy)
   ========================================================================== */
.page-hero {
    background: var(--primary-900);
    color: #ffffff;
    padding: 70px 0;
    position: relative;
    border-bottom: 4px solid var(--red-brand);
}

.page-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.page-hero h1 {
    font-size: 2.55rem;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.04rem;
    max-width: 720px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumbs a {
    color: #bae6fd;
    font-weight: 600;
}

.breadcrumbs a:hover {
    color: #ffffff;
}

.breadcrumbs .current {
    color: #ffffff;
    font-weight: 700;
}

/* ==========================================================================
   SECTIONS & SECTION HEADINGS (Solid & Clean)
   ========================================================================== */
.section-py {
    padding: 85px 0;
}

.section-bg {
    background-color: var(--bg-subtle);
}

.section-title-wrap {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 54px auto;
}

.section-badge {
    display: inline-block;
    background: var(--red-brand);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    border: 1px solid var(--red-brand);
    box-shadow: 0 2px 8px rgba(214, 26, 41, 0.25);
}

.section-heading {
    font-size: 2.35rem;
    color: var(--text-heading);
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   CARDS & GRIDS (Solid Accents & Depth)
   ========================================================================== */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

/* Modern Medical Card */
.med-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.med-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--red-brand);
    z-index: 5;
}

.med-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 36px -6px rgba(214, 26, 41, 0.18);
    border-color: var(--red-brand);
}

.med-card-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.med-card-badge {
    align-self: flex-start;
    background: #fee2e2;
    color: var(--red-brand);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid #fecaca;
}

.med-card-title {
    font-size: 1.35rem;
    color: var(--text-heading);
    margin-bottom: 12px;
    transition: var(--transition);
}

.med-card:hover .med-card-title {
    color: var(--red-brand);
}

.med-meta-list {
    list-style: none;
    margin: 18px 0;
    font-size: 0.92rem;
}

.med-meta-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--text-body);
}

.med-meta-list li i {
    color: var(--red-brand);
    width: 20px;
    text-align: center;
}

/* Diagnostic Service Card */
.diag-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.diag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--red-brand);
    z-index: 5;
}

.diag-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 36px -6px rgba(214, 26, 41, 0.18);
    border-color: var(--red-brand);
}

.diag-card-thumb {
    width: 100%;
    height: 215px;
    object-fit: cover;
    background: #0f172a;
    transition: transform 0.4s ease;
}

.diag-card:hover .diag-card-thumb {
    transform: scale(1.05);
}

.diag-card-body {
    padding: 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   GALLERY (High-Res Clean Grid & Lightbox)
   ========================================================================== */
.gallery-filter-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    color: var(--text-body);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--red-brand);
    color: #ffffff;
    border-color: var(--red-brand);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #0f172a;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.88);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 700;
}

.gallery-cat {
    color: var(--primary-400);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.gallery-zoom-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red-brand);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-zoom-icon {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 25, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-content {
    max-width: 980px;
    max-height: 85vh;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-sm);
    display: block;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #ffffff;
    text-align: center;
    margin-top: 14px;
    font-size: 1.05rem;
    font-weight: 600;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: var(--red-brand);
    color: #ffffff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(214, 26, 41, 0.4);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: var(--red-dark);
}

/* ==========================================================================
   FORMS & LEAD GENERATION (Spacious & Clean)
   ========================================================================== */
.form-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--red-brand);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    outline: none;
    background: #f8fafc;
    transition: var(--transition);
}

.form-input:focus {
    background: #ffffff;
    border-color: var(--red-brand);
    box-shadow: 0 0 0 3.5px rgba(214, 26, 41, 0.15);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ==========================================================================
   FOOTER CTA STRIP & MAIN FOOTER (Spacious & Clean)
   ========================================================================== */
.footer-cta-strip {
    background: var(--red-brand);
    color: #ffffff;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
}

.cta-text h3 {
    font-size: 1.55rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    font-weight: 700;
}

.cta-text h3 i {
    color: #ffffff;
}

.cta-text p {
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-white {
    background: #ffffff;
    color: var(--red-brand) !important;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    border: 1px solid #ffffff;
}

.btn-white:hover {
    background: #fef2f2;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #1eb954;
    transform: translateY(-2px);
}

/* Main Site Footer */
.site-footer {
    background: #030e1d;
    color: #ffffff;
    padding: 85px 0 0 0;
    border-top: 4px solid var(--red-brand);
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: 2.3fr 1.2fr 1.3fr 1.8fr;
    gap: 52px;
    padding-bottom: 60px;
}

/* Col 1: About Institute */
.footer-col-about {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.footer-logo {
    height: 58px;
    max-height: 58px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.footer-subtitle {
    font-size: 0.76rem;
    color: var(--red-light);
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
    margin-top: 3px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 22px;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.badge-item {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.88);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.badge-item i {
    color: var(--red-light);
    width: 18px;
    font-size: 0.95rem;
    text-align: center;
}

/* Generic Footer Columns */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    background: var(--red-brand);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(214, 26, 41, 0.6);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.91rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--red-light);
    transform: translateX(5px);
}

/* Contact Col */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 0.91rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.footer-contact-item i {
    color: var(--red-light);
    margin-top: 4px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    font-weight: 700;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-item a:hover {
    color: var(--red-light);
}

.footer-social-box {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.social-label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.6px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--red-brand);
    border-color: var(--red-light);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(214, 26, 41, 0.5);
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #02070f;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    overflow-x: hidden;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.copyright-text strong {
    color: rgba(255, 255, 255, 0.95);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.85rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.footer-bottom-links a:hover {
    color: var(--red-light);
}

.footer-bottom-links .sep {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1080px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 38px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 0 0 0;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 32px;
    }
    .footer-cta-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 12px;
    }
    .footer-bottom-links {
        justify-content: center;
        gap: 6px 12px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   MOBILE DRAWER & FLOATING
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 310px;
    background: #ffffff;
    z-index: 1500;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-header {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 100%);
    color: #ffffff;
    gap: 12px;
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    overflow: hidden;
}

.drawer-logo {
    height: 42px;
    max-height: 46px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 3px 6px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: block;
    flex-shrink: 0;
}

.drawer-brand-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.drawer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.1;
}

.drawer-brand-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--red-light) !important;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.drawer-close:hover {
    background: var(--red-brand);
    color: #ffffff;
}

.mobile-nav-list {
    list-style: none;
    padding: 18px 14px;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: var(--text-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.mobile-nav-list li a.active, .mobile-nav-list li a:hover {
    background: var(--primary-50);
    color: var(--primary-600);
}

.mobile-drawer-footer {
    padding: 18px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-drawer-footer .btn {
    width: 100%;
    margin-bottom: 0 !important;
    text-align: center;
    justify-content: center;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 1400;
    display: none;
}

.mobile-overlay.open {
    display: block;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS & BACK TO TOP (Glossy & Crystal)
   ========================================================================== */
.floating-actions {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.45rem;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    outline: none;
}

/* WhatsApp Floating Button */
.float-whatsapp {
    background: #25d366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.float-whatsapp:hover {
    background: #1eb954;
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.6);
}

/* Emergency Call Floating Button (Emblem Crimson Red) */
.float-call {
    background: var(--red-brand);
    box-shadow: 0 6px 18px rgba(214, 26, 41, 0.4);
    font-size: 1.25rem;
}

.float-call:hover {
    background: var(--red-dark);
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 10px 24px rgba(214, 26, 41, 0.6);
}

/* Back to Top Floating Button */
.float-top {
    background: var(--primary-900);
    font-size: 1.15rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    box-shadow: 0 6px 18px rgba(10, 37, 64, 0.35);
}

.float-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.float-top:hover {
    background: var(--primary-600);
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.4);
}

/* ==========================================================================
   PAGE & COMPONENT RESPONSIVE LAYOUTS
   ========================================================================== */
.inquiry-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.feature-subgrid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Admissions Page Layout & Components */
.admission-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: flex-start;
}

.admission-info-card {
    background: #ffffff;
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.step-flow {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.step-flow-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-600);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.35);
}

.step-content h5 {
    font-size: 1.05rem;
    color: var(--primary-900);
    margin-bottom: 4px;
    font-weight: 700;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.service-list-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.service-list-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
}

.service-list-bullets li i {
    color: var(--emerald-600);
    margin-top: 3px;
    flex-shrink: 0;
}

.form-box {
    background: #ffffff;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
}

.form-box-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.form-box-header h3 {
    font-size: 1.45rem;
    color: var(--primary-900);
    margin-top: 4px;
    margin-bottom: 6px;
}

.form-box-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: var(--text-heading);
    background: #ffffff;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES (All Device Breakpoints)
   ========================================================================== */

/* Large Tablets & Small Laptops (<= 1140px) */
@media (max-width: 1140px) {
    .navbar-menu {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-container { grid-template-columns: 1fr 1fr; }
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admission-layout-grid,
    .inquiry-layout-grid,
    .contact-layout-grid {
        gap: 28px;
    }
}

/* Tablets (<= 992px) */
@media (max-width: 992px) {
    .admission-layout-grid,
    .inquiry-layout-grid,
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .page-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Mobile Devices & Phablets (<= 860px) */
/* Mobile Devices & Phablets (<= 860px) */
@media (max-width: 860px) {
    .site-topbar {
        padding: 6px 0;
        font-size: 0.78rem;
    }

    .topbar-left,
    .topbar-socials,
    .hide-mobile {
        display: none !important;
    }

    .topbar-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .topbar-emergency {
        font-size: 0.8rem;
        white-space: nowrap;
        padding: 3px 10px;
        flex-shrink: 0;
    }

    .topbar-btn {
        padding: 3px 10px;
        font-size: 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hero-container { grid-template-columns: 1fr; gap: 30px; }
    .hero-slider-wrapper { min-height: 240px; max-height: 380px; }
    .cards-grid-3 { grid-template-columns: 1fr; gap: 20px; }
    .cards-grid-2 { grid-template-columns: 1fr; gap: 24px; }
    .stats-card-wrap { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .form-grid-2,
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .feature-subgrid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Mobile Screens (<= 640px) */
@media (max-width: 640px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar-container {
        height: 68px;
    }

    .navbar-actions .btn {
        display: none;
    }

    .brand-logo {
        height: 44px;
        max-height: 48px;
        width: auto;
        object-fit: contain;
    }

    .brand-title {
        font-size: 1.15rem;
    }

    .brand-subtitle {
        font-size: 0.56rem;
    }

    .brand-tagline {
        display: none;
    }

    .hero-slider-wrapper {
        min-height: 190px;
        max-height: 280px;
        aspect-ratio: 16 / 9;
    }

    .hero-title { font-size: 2.1rem; }
    .hero-features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    /* Prevent iOS auto-zoom on form inputs */
    .form-input,
    .form-control {
        font-size: 16px !important;
        padding: 10px 12px;
    }

    .form-card,
    .form-box,
    .admission-info-card {
        padding: 22px 16px;
    }

    .section-py {
        padding: 42px 0;
    }

    .section-heading {
        font-size: 1.55rem;
    }

    .section-subtitle {
        font-size: 0.88rem;
    }

    .page-hero {
        padding: 36px 0 32px;
    }

    .page-hero h1 {
        font-size: 1.65rem;
    }

    .gallery-filter-wrap {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .floating-actions {
        bottom: 20px;
        right: 18px;
        gap: 10px;
    }

    .float-btn {
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
    }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
    .cards-grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-slider-wrapper {
        min-height: 160px;
        max-height: 220px;
    }

    .stats-card-wrap {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .topbar-emergency {
        font-size: 0.74rem;
        padding: 2px 7px;
    }

    .topbar-emergency i {
        font-size: 0.72rem;
    }

    .topbar-btn {
        font-size: 0.72rem;
        padding: 2px 7px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .med-card-body .btn-compact,
    .topbar-btn,
    .filter-btn {
        width: auto;
    }
}

/* Extra Small Devices (<= 360px) */
@media (max-width: 360px) {
    .brand-logo {
        height: 42px;
        max-width: 190px;
    }

    .topbar-emergency {
        font-size: 0.7rem;
        padding: 2px 5px;
    }

    .topbar-btn {
        font-size: 0.7rem;
        padding: 2px 5px;
    }
}
