/* =====================================================
   Target Dental & Implant Academy
   Core Stylesheet & Design System
   ===================================================== */

/* -----------------------------------------------------
   CSS Variables
   ----------------------------------------------------- */

:root {
    /* Royal Blue palette */
    --color-royal-950: #061428;
    --color-royal-900: #0B1F3F;
    --color-royal-800: #0F2D5C;
    --color-royal-700: #143A73;
    --color-royal-600: #1A4A8F;
    --color-royal-500: #2563B0;

    /* Luxury Gold palette */
    --color-gold-300: #E8D5A3;
    --color-gold-400: #D4AF37;
    --color-gold-500: #C9A227;
    --color-gold-600: #A8861F;
    --color-gold-700: #876B18;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-off-white: #F7F8FC;
    --color-cream: #FAFAF8;
    --color-gray-100: #EEF1F6;
    --color-gray-200: #DDE3EC;
    --color-gray-400: #94A3B8;
    --color-gray-600: #64748B;
    --color-gray-800: #1E293B;
    --color-text: #1A2332;
    --color-text-muted: #5A6578;
    --color-text-on-dark: rgba(255, 255, 255, 0.88);
    --color-text-on-dark-muted: rgba(255, 255, 255, 0.65);

    /* Typography */
    --font-display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
    --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1360px;
    --container-padding: clamp(1rem, 4vw, 2rem);
    --header-height: 164px;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(6, 20, 40, 0.06);
    --shadow-md: 0 8px 24px rgba(6, 20, 40, 0.10);
    --shadow-lg: 0 16px 48px rgba(6, 20, 40, 0.14);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.25);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-light: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-border-gold: rgba(212, 175, 55, 0.35);
    --glass-blur: blur(16px);
    --glass-blur-strong: blur(24px);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index scale */
    --z-header: 1000;
    --z-overlay: 900;
    --z-hero: 1;
}

/* -----------------------------------------------------
   Reset & Base
   ----------------------------------------------------- */

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

:focus-visible {
    outline: 2px solid var(--color-gold-400);
    outline-offset: 3px;
}

/* -----------------------------------------------------
   Utilities
   ----------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.section-padding {
    padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    z-index: 10000;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-gold-500);
    color: var(--color-royal-900);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

/* -----------------------------------------------------
   Typography (shared foundation)
   ----------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-royal-900);
}

p {
    color: var(--color-text-muted);
}

/* -----------------------------------------------------
   Buttons
   ----------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.375rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition:
        background-color var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        transform var(--transition-base);
    white-space: nowrap;
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 2px solid var(--color-gold-400);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

.btn-lg {
    padding: 0.8125rem 1.625rem;
    font-size: 0.9375rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-500) 0%, var(--color-gold-600) 100%);
    color: var(--color-royal-950);
    border-color: var(--color-gold-400);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-400) 0%, var(--color-gold-500) 100%);
    box-shadow: 0 6px 28px rgba(201, 162, 39, 0.35);
    color: var(--color-royal-950);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-royal-800);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--color-off-white);
    color: var(--color-royal-900);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-gold-400);
    color: var(--color-gold-300);
}

/* Existing sections use .btn-primary on <a> tags */
a.btn-primary {
    display: inline-flex;
}

/* -----------------------------------------------------
   Site Header
   ----------------------------------------------------- */

/* Institutional Top Bar */
.site-topbar {
    background: #030A16;
    color: #94A3B8;
    font-size: 0.775rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}
.site-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.site-topbar-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.site-topbar-left a {
    color: #CBD5E1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}
.site-topbar-left a:hover {
    color: #C5A059;
}
.site-topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.site-topbar-btn {
    color: #FCD34D;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    transition: color 0.2s ease;
}
.site-topbar-btn:hover {
    color: #ffffff;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: var(--z-header);
    transition:
        background-color var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 20, 40, 0.95) 0%,
        rgba(11, 31, 63, 0.92) 100%
    );
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    z-index: -1;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: var(--space-lg);
}

/* Logo */

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    transition: opacity var(--transition-fast);
}

.header-logo:hover {
    opacity: 0.9;
}

.header-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 2px;
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.25);
    overflow: hidden;
    flex-shrink: 0;
}

.header-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.header-logo-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.01em;
}

.header-logo-tagline {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-gold-300);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Navigation */

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-on-dark-muted);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition:
        color var(--transition-base),
        background-color var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.nav-link:active {
    color: var(--color-gold-300);
}

.btn-nav-cta {
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
}

/* Mobile toggle (CSS-only) */

.nav-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
    z-index: calc(var(--z-header) + 2);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition:
        transform var(--transition-base),
        opacity var(--transition-base);
}

.nav-overlay {
    display: none;
}

/* -----------------------------------------------------
   Hero Section
   ----------------------------------------------------- */

.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 0.5rem);
    padding-bottom: 1.25rem;
    overflow: hidden;
    background: var(--color-royal-950);
}

/* Background layers */

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(26, 74, 143, 0.45) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        linear-gradient(160deg, var(--color-royal-950) 0%, var(--color-royal-900) 40%, var(--color-royal-800) 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: heroOrbFloat 12s ease-in-out infinite;
}

.hero-bg-orb--1 {
    width: 400px;
    height: 400px;
    top: -10%;
    right: -5%;
    background: rgba(37, 99, 176, 0.3);
    animation-delay: 0s;
}

.hero-bg-orb--2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -8%;
    background: rgba(201, 162, 39, 0.12);
    animation-delay: -4s;
}

.hero-bg-orb--3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 45%;
    background: rgba(255, 255, 255, 0.04);
    animation-delay: -8s;
}

@keyframes heroOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -15px) scale(1.05); }
    66%       { transform: translate(-10px, 10px) scale(0.95); }
}

/* Hero layout */

.hero-inner {
    position: relative;
    z-index: var(--z-hero);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    padding-block: clamp(1rem, 2.5vw, 1.75rem);
}

.hero-content {
    animation: heroFadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-visual {
    animation: heroFadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero typography */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold-400);
    margin-bottom: 0.75rem;
}

.hero-eyebrow-line {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-gold-500), transparent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--color-white);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--color-gold-300) 0%, var(--color-gold-500) 50%, var(--color-gold-300) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: heroGoldShimmer 6s ease-in-out infinite;
}

@keyframes heroGoldShimmer {
    0%, 100% { background-position: 0% center; }
    50%       { background-position: 100% center; }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: var(--color-text-on-dark-muted);
    max-width: 540px;
    margin-bottom: var(--space-xl);
}

/* Trust indicators */

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md) var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-on-dark-muted);
}

.hero-trust-item i {
    color: var(--color-gold-400);
    font-size: 0.875rem;
}

/* Hero CTAs */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Hero glass card */

.hero-card--glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-strong);
    -webkit-backdrop-filter: var(--glass-blur-strong);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid var(--glass-border-gold);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold-300);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.hero-card-badge i {
    color: var(--color-gold-400);
    font-size: 0.6875rem;
}

.hero-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.25;
}

.hero-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.hero-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-text-on-dark-muted);
    line-height: 1.5;
}

.hero-card-list i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--color-gold-400);
    font-size: 0.75rem;
}

/* Scroll indicator */

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-hero);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    color: var(--color-text-on-dark-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color var(--transition-base);
    animation: heroScrollBounce 2.5s ease-in-out infinite;
}

.hero-scroll:hover {
    color: var(--color-gold-300);
}

.hero-scroll-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: 0.625rem;
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* -----------------------------------------------------
   Responsive — Tablet
   ----------------------------------------------------- */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
        margin-inline: auto;
    }

    .hero-scroll {
        display: none;
    }
}

/* -----------------------------------------------------
   Responsive — Mobile Navigation
   ----------------------------------------------------- */

@media (max-width: 900px) {
    :root {
        --header-height: 94px;
    }
    .site-topbar {
        display: none !important;
    }
    .header-inner {
        height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(6, 20, 40, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: calc(var(--z-header) + 1);
        transition:
            opacity var(--transition-base),
            visibility var(--transition-base);
        cursor: pointer;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: var(--space-xl);
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        background: linear-gradient(180deg, var(--color-royal-900) 0%, var(--color-royal-950) 100%);
        border-left: 1px solid var(--glass-border);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform var(--transition-base), visibility var(--transition-base);
        z-index: calc(var(--z-header) + 2);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .btn-nav-cta {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
        text-align: center;
    }

    /* Open state */
    .nav-toggle-input:checked ~ .header-nav {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-toggle-input:checked ~ .nav-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Hamburger → X animation */
    .nav-toggle-input:checked ~ .nav-toggle .nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle-input:checked ~ .nav-toggle .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle-input:checked ~ .nav-toggle .nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* -----------------------------------------------------
   Responsive — Mobile Hero
   ----------------------------------------------------- */

@media (max-width: 640px) {
    :root {
        --header-height: 94px;
    }

    .header-logo-tagline {
        font-size: 0.5625rem;
    }

    .header-logo-name {
        font-size: 1.0625rem;
    }

    .header-logo-mark {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 0.625rem;
    }

    .hero-bg-orb--1 {
        width: 250px;
        height: 250px;
    }
}

/* -----------------------------------------------------
   Safari / MacBook compatibility
   ----------------------------------------------------- */

@supports (-webkit-backdrop-filter: blur(1px)) {
    .site-header::before,
    .hero-card--glass,
    .btn-outline {
        -webkit-backdrop-filter: var(--glass-blur);
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .site-header::before {
        background: rgba(11, 31, 63, 0.97);
    }

    .hero-card--glass {
        background: rgba(15, 45, 92, 0.85);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .nav-link:focus-visible,
    .btn:focus-visible {
        outline-width: 3px;
    }

    .hero-card--glass {
        border-width: 2px;
    }
}

/* =====================================================
   Phase 2 — Shared Section Styles
   ===================================================== */

.section-heading {
    max-width: 720px;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
}

.section-heading p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-600);
    margin-bottom: var(--space-sm);
}

.section-heading.center .section-tag {
    display: block;
}

.section-alt {
    background: var(--color-off-white);
}

.section-dark {
    background: linear-gradient(160deg, var(--color-royal-950) 0%, var(--color-royal-900) 50%, var(--color-royal-800) 100%);
    color: var(--color-text-on-dark);
}

.section-dark .section-tag {
    color: var(--color-gold-400);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-white);
}

.section-dark p {
    color: var(--color-text-on-dark-muted);
}

.btn-sm {
    padding: 0.5rem 1.125rem;
    font-size: 0.8125rem;
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-royal-800);
    border-color: var(--color-gray-200);
}

.btn-outline-dark:hover {
    background: var(--color-royal-900);
    color: var(--color-white);
    border-color: var(--color-royal-900);
}

.section-dark .btn-outline-dark {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.section-dark .btn-outline-dark:hover {
    background: var(--color-gold-500);
    color: var(--color-royal-950);
    border-color: var(--color-gold-500);
}

/* Scroll reveal - Guaranteed visibility by default to eliminate blank spaces */
.reveal,
.reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible,
.reveal-stagger > *.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }

/* Forms shared */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-royal-900);
    margin-bottom: 0.5rem;
}

.required {
    color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold-500);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: #e74c3c;
}

.form-error {
    display: block;
    font-size: 0.8125rem;
    color: #e74c3c;
    margin-top: 0.375rem;
}

.form-help {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-gray-600);
    margin-top: 0.375rem;
}

.contact-placeholder,
.contact-placeholder-link {
    color: var(--color-text-muted);
    font-style: italic;
}

.contact-placeholder-link {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.form-success {
    padding: var(--space-md);
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: var(--radius-md);
    color: #1e8449;
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

/* =====================================================
   Founder
   ===================================================== */

.founder-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.founder-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.founder-image-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--color-gray-100);
}

.founder-image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold-500), var(--color-gold-300));
}

.founder-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-600);
    margin-bottom: var(--space-sm);
}

.founder-content h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: var(--space-sm);
}

.founder-credentials {
    font-weight: 600;
    color: var(--color-royal-700);
    margin-bottom: var(--space-lg);
}

.founder-content p {
    margin-bottom: var(--space-md);
}

.founder-highlights {
    margin: var(--space-xl) 0;
}

.founder-highlights li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.founder-highlights i {
    color: var(--color-gold-500);
    font-size: 0.75rem;
}

/* =====================================================
   About
   ===================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--color-gray-100);
}

.about-content h3 {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    margin-bottom: var(--space-md);
}

.about-content > p {
    margin-bottom: var(--space-xl);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.feature-card {
    padding: var(--space-lg);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--glass-border-gold);
}

.feature-card i {
    font-size: 1.25rem;
    color: var(--color-gold-500);
    margin-bottom: var(--space-sm);
}

.feature-card h4 {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-royal-900);
    margin-bottom: 0.375rem;
}

.feature-card p {
    font-size: 0.8125rem;
    line-height: 1.55;
}

/* =====================================================
   Why Choose Us
   ===================================================== */

.why-us {
    background: var(--color-off-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: var(--space-lg);
}

.why-card {
    padding: var(--space-xl);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 162, 39, 0.3);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, rgba(11, 31, 63, 0.06), rgba(201, 162, 39, 0.1));
    border-radius: var(--radius-md);
    color: var(--color-royal-700);
    font-size: 1.375rem;
}

.why-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
}

.why-card p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* =====================================================
   Courses
   ===================================================== */

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-xl);
}

.course-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

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

.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: var(--color-gray-100);
    transition: transform var(--transition-slow);
}

.course-card:hover .course-image img {
    transform: scale(1.04);
}

.course-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.375rem 0.875rem;
    background: var(--color-royal-900);
    color: var(--color-gold-300);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.course-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-xl);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.portfolio-group {
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.portfolio-group h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-royal-900);
}

.portfolio-list {
    list-style: decimal;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.5rem;
}

.portfolio-list li {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
}

.course-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.course-content > p {
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
    flex: 1;
}

.course-features {
    margin-bottom: var(--space-md);
}

.course-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    padding: 0.25rem 0;
}

.course-features i {
    color: var(--color-gold-500);
    font-size: 0.6875rem;
    margin-top: 0.25rem;
}

.course-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-royal-700);
    margin-bottom: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-100);
}

.course-duration i {
    color: var(--color-gold-500);
}

.course-duration em {
    font-style: normal;
    font-weight: 500;
    color: var(--color-text-muted);
}

.course-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: auto;
}

/* =====================================================
   Faculty
   ===================================================== */

.faculty {
    background: var(--color-off-white);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--space-xl);
}

.faculty-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

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

.faculty-image img {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: top center;
    background: var(--color-gray-100);
}

.faculty-content {
    padding: var(--space-xl);
}

.faculty-profile {
    display: flex;
    flex-direction: column;
}

.faculty-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    background: linear-gradient(135deg, var(--color-royal-900), var(--color-royal-700));
    color: var(--color-gold-400);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.faculty-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
}

.designation {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-gold-600);
    margin-bottom: var(--space-md);
}

.faculty-content > p {
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.faculty-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    padding: 0.25rem 0;
}

.faculty-highlights i {
    color: var(--color-gold-500);
    font-size: 0.6875rem;
}

/* =====================================================
   Clinical Training
   ===================================================== */

.clinical-training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}

.training-feature {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-gray-100);
}

.training-feature:last-child {
    border-bottom: none;
}

.training-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-royal-900), var(--color-royal-700));
    border-radius: var(--radius-md);
    color: var(--color-gold-400);
    font-size: 1.125rem;
}

.training-info h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.training-info p {
    font-size: 0.875rem;
}

.training-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-lg);
}

.training-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--color-gray-100);
}

.training-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.training-stat {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-100);
}

.training-stat h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold-600);
    margin-bottom: 0.25rem;
}

.training-stat p {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* =====================================================
   Statistics / Academy at a Glance
   ===================================================== */

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: var(--space-md);
    background: rgba(201, 162, 39, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-gold-400);
    font-size: 1.25rem;
}

.stat-card h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--color-white);
    margin-bottom: 0.375rem;
}

.stat-card p {
    font-size: 0.8125rem;
    font-weight: 500;
}

.statistics-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-gold);
    border-radius: var(--radius-xl);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.statistics-banner h3 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

.statistics-banner p {
    max-width: 560px;
    font-size: 0.9375rem;
}

/* =====================================================
   Testimonials
   ===================================================== */

.testimonials {
    background: var(--color-off-white);
}

.testimonial-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-track {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.testimonial-item {
    display: none;
    padding: clamp(2rem, 5vw, 3rem);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.testimonial-item.is-active {
    display: block;
    animation: testimonialFade 0.45s ease;
}

@keyframes testimonialFade {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.testimonial-rating {
    color: var(--color-gold-500);
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
}

.testimonial-item blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--color-royal-900);
    margin-bottom: var(--space-xl);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-author img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold-400);
    background: var(--color-gray-100);
}

.testimonial-author h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
}

.testimonial-author p {
    font-size: 0.8125rem;
}

.testimonial-prev,
.testimonial-next {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 50%;
    color: var(--color-royal-800);
    transition:
        background var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--color-royal-900);
    color: var(--color-white);
    border-color: var(--color-royal-900);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--space-lg);
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gray-200);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
}

.testimonial-dot.is-active {
    background: var(--color-gold-500);
    transform: scale(1.25);
}

/* =====================================================
   Google Reviews
   ===================================================== */

.google-reviews-header-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-2xl);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.google-reviews-summary {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.google-g-badge {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px;
}

.google-g-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.google-rating-score {
    display: flex;
    flex-direction: column;
}

.google-rating-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-royal-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.google-stars {
    color: #FBBC04;
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.google-rating-meta {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.google-verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(52, 168, 83, 0.12);
    color: #2D8A4E;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.google-reviews-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.google-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.google-btn-primary {
    background: #1A73E8;
    color: #ffffff !important;
    border: 1px solid #1A73E8;
}

.google-btn-primary:hover {
    background: #1557B0;
    border-color: #1557B0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.35);
}

.google-btn-outline {
    background: transparent;
    color: var(--color-royal-900) !important;
    border: 1px solid var(--color-gray-300);
}

.google-btn-outline:hover {
    background: var(--color-gray-50);
    border-color: var(--color-royal-900);
    transform: translateY(-2px);
}

.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
    margin-bottom: var(--space-2xl);
}

.google-review-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
}

.google-review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 168, 128, 0.4);
}

.review-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.reviewer-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-royal-900);
    margin: 0 0 0.2rem;
    line-height: 1.2;
}

.reviewer-role {
    font-size: 0.775rem;
    color: var(--color-gold-600);
    font-weight: 600;
    display: block;
}

.google-source-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.review-stars-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.review-stars-row .google-stars {
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.review-time {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

.review-text {
    font-size: 0.925rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    margin: 0;
    flex-grow: 1;
}

.review-card-footer {
    margin-top: 1.25rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.775rem;
    color: var(--color-gray-500);
}

.google-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #1A73E8;
    font-weight: 600;
}

.google-reviews-footer-bar {
    background: linear-gradient(135deg, #050f1e 0%, #0d1e38 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 1.75rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid rgba(197, 168, 128, 0.25);
    box-shadow: 0 8px 24px rgba(5, 15, 30, 0.4);
}

.google-reviews-footer-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.google-pin-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.google-reviews-footer-info h4 {
    color: #ffffff;
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
}

.google-reviews-footer-info p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 768px) {
    .google-reviews-header-card,
    .google-reviews-footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .google-reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Gallery
   ===================================================== */

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--space-2xl);
}

.gallery-filter-btn {
    padding: 0.5rem 1.125rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    transition:
        background var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--color-royal-900);
    color: var(--color-white);
    border-color: var(--color-royal-900);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    border: none;
    padding: 0;
    background: var(--color-gray-100);
}

.gallery-item.is-hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item::after {
    content: "\f065";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-white);
    background: rgba(11, 31, 63, 0);
    transition: background var(--transition-base);
    pointer-events: none;
}

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

.gallery-item:hover::after {
    background: rgba(11, 31, 63, 0.45);
}

/* =====================================================
   Downloads
   ===================================================== */

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: var(--space-lg);
}

.download-card {
    padding: var(--space-xl);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 162, 39, 0.3);
}

.download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, rgba(11, 31, 63, 0.08), rgba(201, 162, 39, 0.12));
    border-radius: var(--radius-md);
    color: var(--color-royal-700);
    font-size: 1.25rem;
}

.download-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.download-card p {
    font-size: 0.8125rem;
    margin-bottom: var(--space-lg);
}

/* =====================================================
   FAQ
   ===================================================== */

.faq-container {
    max-width: 800px;
    margin-inline: auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-royal-900);
    text-align: left;
    transition: background var(--transition-base);
}

.faq-question:hover {
    background: var(--color-off-white);
}

.faq-question i {
    flex-shrink: 0;
    color: var(--color-gold-500);
    transition: transform var(--transition-base);
}

.faq-item.is-open .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.is-open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-lg);
    font-size: 0.875rem;
    line-height: 1.65;
}

/* =====================================================
   Batches
   ===================================================== */

.batches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: var(--space-lg);
}

.batch-card {
    padding: var(--space-xl);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.batch-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.batch-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.batch-status--open {
    background: rgba(39, 174, 96, 0.12);
    color: #1e8449;
}

.batch-status--limited {
    background: rgba(201, 162, 39, 0.15);
    color: var(--color-gold-700);
}

.batch-card h3 {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.batch-meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    padding: 0.375rem 0;
}

.batch-meta i {
    color: var(--color-gold-500);
    width: 16px;
}

.batch-meta em {
    font-style: normal;
}

.batch-card .btn {
    margin-top: var(--space-lg);
    width: 100%;
}

/* =====================================================
   Campus Visit & Counselling
   ===================================================== */

.cta-duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.cta-panel {
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: var(--radius-xl);
    text-align: center;
    color: var(--color-white);
}

.cta-panel--campus {
    background: linear-gradient(135deg, var(--color-royal-900), var(--color-royal-700));
}

.cta-panel--counselling {
    background: linear-gradient(135deg, var(--color-royal-800), var(--color-royal-600));
}

.cta-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: var(--color-gold-400);
}

.cta-panel h2 {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-panel p {
    color: var(--color-text-on-dark-muted);
    margin-bottom: var(--space-xl);
    max-width: 400px;
    margin-inline: auto;
}

/* =====================================================
   Registration
   ===================================================== */

.registration-wrapper {
    max-width: 800px;
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 3rem);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

/* =====================================================
   Payment
   ===================================================== */

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: var(--space-lg);
}

.payment-card {
    padding: var(--space-xl);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.payment-card--featured {
    border-color: var(--glass-border-gold);
    box-shadow: var(--shadow-gold);
}

.payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, rgba(11, 31, 63, 0.08), rgba(201, 162, 39, 0.12));
    border-radius: var(--radius-md);
    color: var(--color-royal-700);
    font-size: 1.125rem;
}

.payment-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.payment-card > p {
    font-size: 0.8125rem;
    margin-bottom: var(--space-lg);
}

.payment-qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 140px;
    padding: var(--space-lg);
    background: var(--color-off-white);
    border: 2px dashed var(--color-gray-200);
    border-radius: var(--radius-lg);
    color: var(--color-gray-600);
    font-size: 0.8125rem;
    text-align: center;
}

.payment-qr-placeholder i {
    font-size: 2.5rem;
    color: var(--color-gray-400);
}

.payment-methods li,
.bank-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    padding: 0.375rem 0;
}

.payment-methods i {
    color: var(--color-gold-500);
    margin-top: 0.125rem;
}

.bank-details strong {
    color: var(--color-royal-900);
}

/* =====================================================
   Contact
   ===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-2xl);
}

.contact-information {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-off-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-lg);
    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.contact-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-royal-900);
    border-radius: var(--radius-md);
    color: var(--color-gold-400);
    font-size: 1rem;
}

.contact-content h3 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-content p,
.contact-content a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.contact-content a:hover {
    color: var(--color-gold-600);
}

.whatsapp-counselling {
    margin-top: var(--space-md);
    font-size: 0.75rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.contact-form-wrapper {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-map {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-100);
    background: linear-gradient(135deg, #edf3fb 0%, #dfeaf7 100%);
    min-height: clamp(280px, 40vw, 420px);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: clamp(280px, 40vw, 420px);
    border: 0;
}

.contact-map-fallback {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
    background:
        linear-gradient(135deg, rgba(11, 31, 63, 0.12), rgba(37, 99, 176, 0.18)),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.4) 0,
            rgba(255, 255, 255, 0.4) 12px,
            rgba(255, 255, 255, 0.1) 12px,
            rgba(255, 255, 255, 0.1) 36px
        ),
        linear-gradient(135deg, #edf3fb 0%, #dfeaf7 100%);
}

.map-fallback-content {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.map-fallback-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(11, 31, 63, 0.9);
    color: var(--color-gold-400);
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(11, 31, 63, 0.2);
}

.map-fallback-road {
    position: absolute;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 9999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.road-one {
    width: 64%;
    height: 18px;
    left: 18%;
    top: 28%;
    transform: rotate(20deg);
}

.road-two {
    width: 18%;
    height: 68%;
    left: 50%;
    top: 15%;
    transform: translateX(-50%);
}

.road-three {
    width: 70%;
    height: 16px;
    left: 15%;
    bottom: 24%;
    transform: rotate(-12deg);
}

.map-fallback-card {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(11, 31, 63, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    max-width: min(360px, 80%);
}

.map-fallback-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold-600);
}

.map-fallback-card strong {
    font-size: 1.05rem;
    color: var(--color-royal-900);
}

.map-fallback-card p {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* =====================================================
   Footer
   ===================================================== */

.site-footer {
    background: linear-gradient(180deg, var(--color-royal-950) 0%, #040d1a 100%);
    color: var(--color-text-on-dark-muted);
    padding-top: clamp(3rem, 8vw, 5rem);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: clamp(2rem, 4vw, 3rem);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.65;
    margin: var(--space-md) 0 var(--space-lg);
    max-width: 320px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    opacity: 0.95;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--color-text-on-dark-muted);
    font-size: 0.95rem;
    padding: 7px;
    transition: all var(--transition-base);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.footer-social a img,
.footer-social a svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-base);
    display: block;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--color-gold-500);
    color: var(--color-royal-950);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(197, 168, 128, 0.35);
}

.footer-social a:hover img,
.footer-social a:hover svg {
    transform: scale(1.15);
}

.footer-links h3,
.footer-contact h3 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    font-size: 0.875rem;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-gold-300);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    margin-bottom: 0.875rem;
}

.footer-contact i {
    color: var(--color-gold-400);
    margin-top: 0.2rem;
    width: 16px;
}

.footer-contact a:hover {
    color: var(--color-gold-300);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
    font-size: 0.8125rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--color-gold-300);
}

.academy-commitment {
    background: linear-gradient(180deg, rgba(11, 31, 63, 0.04), rgba(201, 162, 39, 0.06));
}

.commitment-box {
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(201, 162, 39, 0.22);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.commitment-box p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.commitment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.commitment-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-full);
    background: rgba(11, 31, 63, 0.05);
    color: var(--color-royal-900);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.experience-band {
    background: linear-gradient(160deg, var(--color-royal-950) 0%, var(--color-royal-900) 100%);
    color: var(--color-white);
}

.experience-band .section-tag,
.experience-band h2 {
    color: var(--color-white);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 0.8rem;
    margin-top: var(--space-2xl);
}

.experience-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    text-align: center;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* =====================================================
   Lightbox
   ===================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 20, 40, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: var(--space-xl);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-figure {
    max-width: min(900px, 90vw);
    max-height: 85vh;
    margin: 0;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.lightbox-caption {
    text-align: center;
    color: var(--color-text-on-dark-muted);
    font-size: 0.875rem;
    margin-top: var(--space-md);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.125rem;
    transition: background var(--transition-base);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-gold-500);
    color: var(--color-royal-950);
}

.lightbox-close {
    top: var(--space-lg);
    right: var(--space-lg);
}

.lightbox-prev {
    left: var(--space-lg);
}

.lightbox-next {
    right: var(--space-lg);
}

/* =====================================================
   Floating UI
   ===================================================== */

.float-actions-group {
    position: fixed;
    bottom: 5.5rem;
    right: 1.25rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.float-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.625rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
    text-decoration: none;
    flex-shrink: 0;
}

.float-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.float-enquiry {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #1E40AF 0%, #061325 100%);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.35rem;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.4);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
    text-decoration: none;
    border: 2px solid #C5A059;
    flex-shrink: 0;
}

.float-enquiry:hover {
    transform: scale(1.08);
    background: linear-gradient(135deg, #C5A059 0%, #92400E 100%);
    box-shadow: 0 6px 28px rgba(197, 160, 89, 0.5);
    border-color: #FCD34D;
}

.scroll-top {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-royal-900);
    border: 1px solid var(--glass-border-gold);
    border-radius: 50%;
    color: var(--color-gold-400);
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition:
        opacity var(--transition-base),
        transform var(--transition-base),
        background var(--transition-base);
}

.scroll-top:not([hidden]):hover {
    background: var(--color-gold-500);
    color: var(--color-royal-950);
    transform: translateY(-2px);
}

.scroll-top[hidden] {
    display: none;
}

/* Header scrolled state */
.site-header.is-scrolled::before {
    background: rgba(6, 20, 40, 0.97);
    box-shadow: var(--shadow-md);
}

/* =====================================================
   Phase 2 Responsive
   ===================================================== */

@media (max-width: 1024px) {
    .founder-grid,
    .about-grid,
    .clinical-training-grid,
    .contact-grid,
    .cta-duo-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .training-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

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

    .testimonial-prev,
    .testimonial-next {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .statistics-banner {
        flex-direction: column;
        text-align: center;
    }

    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
}

/* =====================================================
   APPLICATION PROCESS
   ===================================================== */

.application-process {
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-cream) 100%);
}

.application-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-2xl);
    margin: var(--space-3xl) 0;
}

.step-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: var(--transition-base);
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--color-gold-400);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-royal-900);
    margin-bottom: var(--space-md);
}

.step-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.application-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    background: var(--color-white);
    padding: var(--space-3xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.application-note h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-royal-900);
    margin-bottom: var(--space-md);
}

.application-note p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.application-cta {
    text-align: center;
}

@media (max-width: 768px) {
    .application-steps {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .application-info {
        grid-template-columns: 1fr;
        padding: var(--space-2xl);
    }
}

/* =====================================================
   ACADEMIC & STUDENT SUPPORT TEAM
   ===================================================== */

.academic-support {
    background-color: var(--color-gray-100);
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--space-2xl);
}

.academic-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.academic-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.academic-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-royal-900);
    margin-bottom: var(--space-sm);
}

.academic-role {
    color: var(--color-gold-600);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
    display: block;
}

.academic-credentials {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* =====================================================
   CONTACT MAP
   ===================================================== */

.contact-map {
    margin-top: var(--space-3xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

.map-info {
    background: var(--color-royal-900);
    color: var(--color-text-on-dark);
    padding: var(--space-2xl);
    text-align: center;
}

.map-info p {
    margin: var(--space-sm) 0;
    line-height: 1.6;
}

.map-info a {
    margin-top: var(--space-md);
    display: inline-block;
}

@media (max-width: 768px) {
    .academic-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .academic-card {
        padding: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .float-whatsapp {
        width: 48px;
        height: 48px;
        font-size: 1.375rem;
        bottom: 5rem;
        right: 1rem;
    }

    .scroll-top {
        right: 1rem;
        bottom: 1rem;
    }
}

/* ==========================================================================
   ULTRA-PREMIUM INSTITUTIONAL DESIGN SYSTEM EXTENSIONS
   Target Dental & Implant Academy - International Centre for Clinical Excellence
   ========================================================================== */

/* 9 Featured Programme Categories Grid */
.featured-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.featured-cat-card {
    background: #ffffff;
    border: 1px solid rgba(15, 39, 68, 0.1);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 16px rgba(6, 19, 37, 0.04);
    position: relative;
    overflow: hidden;
}

.featured-cat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E40AF, #C5A059);
}

.featured-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(6, 19, 37, 0.08);
    border-color: rgba(197, 160, 89, 0.4);
}

.cat-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #F0F4F8;
    color: #0F2744;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(15, 39, 68, 0.1);
}

.cat-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #0A192F;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cat-desc {
    font-size: 0.9rem;
    color: #4A5568;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.cat-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: #F8FAFC;
    color: #1E40AF;
    border: 1px solid rgba(30, 64, 175, 0.15);
}

.cat-tag.hands-on {
    background: #FEF3C7;
    color: #92400E;
    border-color: rgba(146, 64, 14, 0.2);
}

.cat-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    border-top: 1px solid #EDF2F7;
    padding-top: 1rem;
}

/* Leadership Duo Grid */
.leadership-duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.leader-card-premium {
    background: #ffffff;
    border: 1px solid rgba(15, 39, 68, 0.12);
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 240px 1fr;
    box-shadow: 0 6px 20px rgba(6, 19, 37, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leader-card-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(6, 19, 37, 0.09);
}

.leader-photo-wrap {
    position: relative;
    background: #0A192F;
    height: 100%;
    min-height: 280px;
}

.leader-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.leader-content-wrap {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leader-role-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C5A059;
    margin-bottom: 0.35rem;
}

.leader-name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: #0A192F;
    margin-bottom: 0.25rem;
}

.leader-designation {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1E40AF;
    margin-bottom: 0.75rem;
}

.leader-bio-text {
    font-size: 0.875rem;
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Admission Portal Container & Roadmap */
.admission-portal-container {
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(15, 39, 68, 0.12);
    border-radius: 16px;
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: 0 10px 30px rgba(6, 19, 37, 0.06);
}

.admission-form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #E2E8F0;
}

.admission-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1.25rem;
    padding-bottom: 0;
}

.admission-section-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #0A192F;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.admission-section-title::before {
    content: "";
    width: 4px;
    height: 1.125rem;
    background: #C5A059;
    border-radius: 2px;
}

.admission-roadmap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin: 2rem 0;
    text-align: center;
}

.roadmap-step {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    position: relative;
}

.roadmap-step-num {
    display: block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    background: #1E40AF;
    color: #ffffff;
    border-radius: 50%;
    margin: 0 auto 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Reviews Trust Grid */
.reviews-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.review-trust-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-trust-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(197, 160, 89, 0.35);
}

.review-stars-row {
    color: #F59E0B;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.review-text-quote {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
    font-style: italic;
}

.reviewer-profile {
    border-top: 1px solid #F1F5F9;
    padding-top: 0.75rem;
}

.reviewer-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: #0A192F;
}

.reviewer-meta {
    font-size: 0.75rem;
    color: #64748B;
}

/* Footer Social Row above Legal Links */
.footer-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1.5rem;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #E2E8F0;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social-link:hover {
    background: #C5A059;
    color: #0A192F;
    border-color: #C5A059;
}

.footer-social-link img,
.footer-social-link svg {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Media Queries for responsive excellence */
@media (max-width: 1024px) {
    .featured-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admission-roadmap {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-cat-grid {
        grid-template-columns: 1fr;
    }
    .leadership-duo-grid {
        grid-template-columns: 1fr;
    }
    .leader-card-premium {
        grid-template-columns: 1fr;
    }
    .leader-photo-wrap {
        height: 290px;
        min-height: auto;
    }
    .reviews-trust-grid {
        grid-template-columns: 1fr;
    }
    .admission-roadmap {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Premium Quick Application Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 19, 37, 0.78);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
    align-items: flex-start;
    padding: 3rem 1rem;
    overflow-y: auto;
}

.modal-overlay.is-active {
    display: flex;
}

.modal-card {
    background: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(6, 19, 37, 0.4);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
    animation: modalSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #F1F5F9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.modal-close-btn:hover {
    background: #0A192F;
    color: #ffffff;
}

/* =====================================================
   ULTRA-PREMIUM INSTITUTIONAL SERVICE PILLARS & CARDS
   ===================================================== */
.service-pillar-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10, 25, 47, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.service-pillar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E40AF 0%, #3B82F6 100%);
    transition: height 0.2s ease;
}
.service-pillar-card.gold-accent::before {
    background: linear-gradient(90deg, #C5A059 0%, #E6CA85 100%);
}
.service-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(10, 25, 47, 0.09);
    border-color: rgba(197, 160, 89, 0.4);
}
.service-pillar-card:hover::before {
    height: 6px;
}
.service-pillar-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: #EFF6FF;
    color: #1E40AF;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.service-pillar-card.gold-accent .service-pillar-icon-box {
    background: #FEF9EE;
    color: #C5A059;
}
.service-pillar-card:hover .service-pillar-icon-box {
    transform: scale(1.08);
}
.course-director-mini-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.35rem;
    display: flex;
    gap: 1.15rem;
    align-items: center;
    box-shadow: 0 4px 14px rgba(10, 25, 47, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.course-director-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(10, 25, 47, 0.08);
    border-color: #C5A059;
}

/* ==========================================================================
   MOBILE VIEWPORT INTEGRITY & COMFORT OPTIMIZATIONS
   Fixes any horizontal blowout or white void on small screen devices
   ========================================================================== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-inline: 1rem !important;
    }

    .site-header {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }

    .header-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding-inline: 0 !important;
    }

    .hero {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        padding-top: calc(var(--header-height) + 1rem) !important;
    }

    .hero-inner {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 1.75rem !important;
        padding-block: 1rem !important;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.35rem) !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .hero-lead {
        font-size: 0.95rem !important;
        word-break: break-word !important;
    }

    .hero-sublead {
        font-size: 0.9rem !important;
        max-width: 100% !important;
        word-break: break-word !important;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.75rem !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .hero-trust-bar {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.65rem !important;
        width: 100% !important;
    }

    .hero-visual {
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-visual img {
        width: 100% !important;
        height: auto !important;
        max-height: 280px !important;
        object-fit: cover !important;
    }

    .programmes-chart-card {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 1.5rem !important;
        padding: 1.25rem !important;
    }

    .leadership-duo-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 1.5rem !important;
    }

    .leader-card-premium {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .leader-photo-wrap {
        height: 290px !important;
        min-height: auto !important;
    }

    .leader-content-wrap {
        padding: 1.25rem !important;
    }

    .course-director-mini-card {
        padding: 1rem !important;
    }

    .faculty-card-modern {
        width: 100% !important;
    }

    .explore-directors-feature-box {
        padding: 1.75rem 1.25rem !important;
    }
}

/* Tablet & iPad Responsive Polish (641px to 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
    .leadership-duo-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .leader-card-premium {
        grid-template-columns: 280px 1fr !important;
    }
    .leader-photo-wrap {
        height: 100% !important;
        min-height: 280px !important;
    }
    .faculty-card-modern .faculty-img-container {
        height: 290px !important;
    }
    .explore-directors-feature-box {
        padding: 2rem 1.5rem !important;
    }
}

/* High-DPI / Mac Retina Screen Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    .faculty-card-modern, .leader-card-premium, .explore-directors-feature-box {
        box-shadow: 0 4px 20px rgba(6, 19, 37, 0.07);
    }
}

/* =====================================================
   MODERN FACULTY & COURSE DIRECTOR DESIGN SYSTEM
   Consistent 360x420px Visual Frame, Zero Distortion, No Cut Faces
====================================================== */
.faculty-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.75rem;
    align-items: stretch;
}

.faculty-card-modern {
    background: #ffffff;
    border: 1px solid rgba(15, 39, 68, 0.12);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(6, 19, 37, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
    height: 100%;
}

.faculty-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(6, 19, 37, 0.12);
    border-color: rgba(197, 160, 89, 0.5);
}

.faculty-img-container {
    position: relative;
    width: 100%;
    height: 300px;
    aspect-ratio: 3 / 4;
    background: #0A192F;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.faculty-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
}

/* Fine-tuned facial alignments so heads are never cut */
.pos-atul     { object-position: center 15% !important; }
.pos-ashish   { object-position: center 18% !important; }
.pos-aviral   { object-position: center 20% !important; }
.pos-siddhi   { object-position: center 22% !important; }
.pos-manisha  { object-position: center 18% !important; }
.pos-sugandha { object-position: center 22% !important; }
.pos-mrinali  { object-position: center 25% !important; }
.pos-abhik    { object-position: center 25% !important; }
.pos-vidya    { object-position: center 10% !important; }
.pos-divya    { object-position: center 20% !important; }

.faculty-card-modern:hover .faculty-img-container img {
    transform: scale(1.03);
}

.faculty-card-body,
.faculty-info-box {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.faculty-tier-tag,
.faculty-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #92400E;
    background: #FEF3C7;
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    margin-bottom: 0.6rem;
    align-self: flex-start;
}

.faculty-member-name,
.faculty-person-name {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A192F;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.faculty-member-deg,
.faculty-person-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1E40AF;
    margin-bottom: 0.35rem;
}

.faculty-member-role {
    font-size: 0.82rem;
    font-weight: 700;
    color: #C5A059;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.faculty-bio-short,
.faculty-person-desc {
    font-size: 0.875rem;
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .faculty-card-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .faculty-img-container {
        height: 300px;
    }
}

/* =====================================================
   ULTRA-PREMIUM ICONS & SHADOW ENHANCEMENTS
====================================================== */
i.fa-solid, i.fas, i.fa-regular, i.far {
    font-weight: 900 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.site-header i,
.site-topbar i,
.hero i,
.btn i,
.leader-role-tag i,
.faculty-tier-tag i,
.explore-directors-feature-box i {
    filter: drop-shadow(0 2px 6px rgba(197, 160, 89, 0.45));
}

/* =====================================================
   APPLY / REGISTER CTA HIGHLIGHT (ULTRA-PREMIUM GLOW)
====================================================== */
.btn-nav-cta {
    background: linear-gradient(135deg, #DFB757 0%, #C5A059 45%, #9E7D3B 100%) !important;
    color: #061325 !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.04em !important;
    border: 1.5px solid #FCD34D !important;
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.5), 0 0 12px rgba(252, 211, 77, 0.3) !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    padding: 0.55rem 1.35rem !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-nav-cta:hover {
    background: linear-gradient(135deg, #FCD34D 0%, #DFB757 100%) !important;
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.7), 0 0 20px rgba(252, 211, 77, 0.5) !important;
    transform: translateY(-2px) scale(1.02) !important;
    color: #030A14 !important;
}

/* =====================================================
   CIRCULAR LOGO MARK (PDF EMBLEM SEAL)
====================================================== */
.header-logo-mark {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    background: #061224 !important;
    border-radius: 50% !important;
    padding: 2px !important;
    border: 1.5px solid rgba(197, 160, 89, 0.75) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(197, 160, 89, 0.3) !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.header-logo-mark img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 50% !important;
}

/* =====================================================
   ACADEMIC SENATE & COURSE DIRECTORS GRID (3-COL DESKTOP)
====================================================== */
@media (min-width: 992px) {
    .faculty-card-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.75rem !important;
        align-items: stretch !important;
    }
}
@media (min-width: 641px) and (max-width: 991px) {
    .faculty-card-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        align-items: stretch !important;
    }
}
@media (max-width: 640px) {
    .faculty-card-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
}

.leader-card-premium {
    border: 1.5px solid rgba(197, 160, 89, 0.35) !important;
    box-shadow: 0 8px 24px rgba(6, 19, 37, 0.06) !important;
}
.leader-card-premium:hover {
    border-color: rgba(197, 160, 89, 0.75) !important;
    box-shadow: 0 16px 36px rgba(6, 19, 37, 0.12) !important;
}




@media (max-width: 768px) {
    .wide-card {
        flex-direction: column !important;
    }
    .wide-card > div:first-child {
        height: 350px;
    }
    .wide-card img {
        object-position: top;
    }
}


/* UNIVERSAL BUTTON / LINK PREMIUM ACCENT SYSTEM */
.btn, .btn-primary, .btn-secondary, .btn-outline-primary, .btn-outline-secondary, 
.apply-btn, .register-btn, .explore-btn, a.btn-text, .drawer-nav-item, .faculty-profile-link {
    border: 1px solid rgba(255, 190, 210, 0.75) !important;
    background: rgba(255,255,255,0.025) !important;
    box-shadow: 0 0 10px rgba(255, 170, 200, 0.12) !important;
    border-radius: 14px !important;
    transition: all 0.25s ease !important;
    color: #FDF2F8 !important; /* Soft cream/pink */
}
.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-outline-primary:hover, .btn-outline-secondary:hover,
.apply-btn:hover, .register-btn:hover, .explore-btn:hover, a.btn-text:hover, .drawer-nav-item:hover, .faculty-profile-link:hover {
    border-color: rgba(255, 220, 190, 0.95) !important;
    box-shadow: 0 0 18px rgba(255, 180, 205, 0.28) !important;
    transform: translateY(-1px) !important;
    background: rgba(255,255,255,0.05) !important;
}

/* DRAWER MENU STYLES */
.drawer-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.7); z-index: 10000;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.drawer-overlay.active { opacity: 1; pointer-events: auto; }

.drawer-menu {
    position: fixed; top: 0; right: -360px; width: 340px; height: 100vh;
    background: #061325;
    border-left: 1px solid rgba(255, 190, 210, 0.75);
    box-shadow: -5px 0 20px rgba(255, 170, 200, 0.12);
    z-index: 10001;
    transition: right 0.3s ease;
    display: flex; flex-direction: column;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}
@media (max-width: 768px) {
    .drawer-menu { width: 85vw; right: -90vw; }
}
.drawer-menu.open { right: 0; }
.drawer-close-btn {
    align-self: flex-end;
    background: transparent; border: none;
    color: #FDF2F8; font-size: 1.5rem; cursor: pointer;
    margin-bottom: 2rem;
}
.drawer-nav-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.25rem; margin-bottom: 1rem;
    text-decoration: none; font-weight: 600; font-size: 1.1rem;
}
.drawer-cta {
    margin-top: auto;
    text-align: center;
    padding: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
}


/* GLOBAL FLOATING ACTION SYSTEM */
.floating-actions-container {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
@media (max-width: 1024px) {
    .floating-actions-container {
        right: 20px;
        bottom: 22px;
    }
}
@media (max-width: 768px) {
    .floating-actions-container {
        right: 14px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        flex-direction: row; /* Stack horizontally on mobile or keep vertical? User said 'or vertically stacked'. I will use column. */
        flex-direction: column;
        gap: 10px;
    }
}

.floating-btn-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #061325;
    padding: 10px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.quick-inquiry-btn {
    border: 1px solid rgba(255, 190, 210, 0.75);
    color: #FDF2F8;
    box-shadow: 0 0 10px rgba(255, 170, 200, 0.15);
}
.quick-inquiry-btn:hover {
    border-color: rgba(255, 220, 190, 0.95);
    box-shadow: 0 0 18px rgba(255, 180, 205, 0.35);
    transform: scale(1.04);
}

.whatsapp-btn {
    border: 1px solid #25D366;
    color: #fff;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.25);
}
.whatsapp-btn i {
    color: #25D366;
    font-size: 1.15rem;
}
.whatsapp-btn:hover {
    border-color: #128C7E;
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.4);
    transform: scale(1.04);
}


/* 39.1 FACULTY PROFILE OUTER CONTAINER */
.fac-modal-content {
    border: 1.5px solid rgba(255,205,220,0.82) !important;
    border-radius: 24px !important;
    background: rgba(5,10,20,0.72) !important;
    box-shadow: 0 0 18px rgba(255,170,200,0.12) !important;
    backdrop-filter: blur(12px);
}

/* 39.3 INFORMATION PANEL */
.fac-info-panel {
    border: 1px solid rgba(255,205,220,0.42);
    border-radius: 16px;
    background: rgba(255,255,255,0.018);
    box-shadow: 0 0 8px rgba(255,170,200,0.06);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* 39.4 APPLY TO TRAIN UNDER FACULTY */
.apply-train-btn {
    border: 1.5px solid rgba(255,195,215,0.90) !important;
    background: rgba(255,255,255,0.025) !important;
    border-radius: 999px !important;
    box-shadow: 0 0 12px rgba(255,170,200,0.16) !important;
    color: #FDF2F8 !important;
    padding: 12px 24px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; text-decoration: none; transition: all 0.25s ease;
    width: 100%; box-sizing: border-box; text-align: center; margin-bottom: 12px;
}
.apply-train-btn:hover {
    border-color: rgba(255,225,205,0.98) !important;
    box-shadow: 0 0 20px rgba(255,180,205,0.28) !important;
    transform: translateY(-1px);
}

/* 39.5 CORE CLINICAL SPECIALTIES CHIPS */
.clinical-chip {
    border: 1px solid rgba(255,195,215,0.62);
    background: rgba(255,255,255,0.025);
    border-radius: 10px;
    padding: 8px 14px;
    box-shadow: 0 0 5px rgba(255,170,200,0.06);
    display: inline-block;
    margin: 4px;
    font-size: 0.85rem;
    color: #e2e8f0;
    transition: all 0.2s ease;
}
.clinical-chip:hover {
    border-color: rgba(255,225,205,0.9);
    box-shadow: 0 0 10px rgba(255,180,205,0.16);
}

/* 39.6 REGISTER FOR UPCOMING COHORT (PRIMARY) */
.register-cohort-btn {
    background: linear-gradient(90deg, rgba(255,225,205,0.96), rgba(255,185,210,0.96)) !important;
    color: #11151f !important;
    border: 1px solid rgba(255,225,205,0.95) !important;
    border-radius: 999px !important;
    box-shadow: 0 0 18px rgba(255,190,210,0.24) !important;
    padding: 14px 24px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 800; text-decoration: none; transition: all 0.25s ease;
    width: 100%; box-sizing: border-box; text-align: center; margin-bottom: 12px;
}
.register-cohort-btn:hover {
    box-shadow: 0 0 24px rgba(255,190,210,0.32) !important;
    transform: translateY(-1px);
}

/* 39.7 ENQUIRE ON WHATSAPP */
.whatsapp-enquire-btn {
    border: 1.5px solid rgba(255,205,220,0.82) !important;
    background: rgba(255,255,255,0.02) !important;
    border-radius: 999px !important;
    box-shadow: 0 0 10px rgba(255,170,200,0.12) !important;
    color: #FDF2F8 !important;
    padding: 12px 24px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; text-decoration: none; transition: all 0.25s ease;
    width: 100%; box-sizing: border-box; text-align: center; margin-bottom: 12px;
}
.whatsapp-enquire-btn i {
    color: #25D366;
    font-size: 1.2rem;
}
.whatsapp-enquire-btn:hover {
    border-color: #25D366 !important;
    box-shadow: 0 0 18px rgba(37,211,102,0.3) !important;
    transform: translateY(-1px);
}


/* Added Heading Styling */
h1, h2, h3, .section-title {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 8px;
    display: inline-block;
}

/* Button and Option styling (Medical Institute Style) */
input, select, textarea, button, .btn {
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
input:focus, select:focus, textarea:focus {
    border-color: #C5A059 !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2) !important;
}

/* Enhanced Premium Button Styling */
.btn {
    background: #ffffff !important;
    color: #0A192F !important;
    border: 2px solid #C5A059 !important;
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.2), 0 2px 4px rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    text-shadow: none !important;
}
.btn:hover {
    background: #0A192F !important;
    color: #ffffff !important;
    border-color: #FCD34D !important;
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4), 0 4px 10px rgba(0,0,0,0.2) !important;
    transform: translateY(-2px) !important;
}

/* Make headings larger and bolder with border/shadow */
h1, h2, h3, .section-title {
    font-weight: 800 !important;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15) !important;
    border-bottom: 3px solid rgba(197, 160, 89, 0.6) !important;
    padding-bottom: 10px !important;
    display: inline-block !important;
    box-shadow: 0px 10px 10px -10px rgba(197, 160, 89, 0.3) !important;
}

/* Nav mobile toggle fix just in case */
.nav-link {
    font-weight: 700 !important;
}

/* Fix quick form visibility if it's breaking layout */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 19, 37, 0.85);
    backdrop-filter: blur(5px);
}
.modal-overlay.active {
    display: flex !important;
    justify-content: center;
    align-items: center;
}


/* GLOBAL UI FIXES FOR MOBILE RESPONSIVENESS AND SPACING */
@media screen and (max-width: 768px) {
    section, .section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .hero-body {
        padding: 2rem 1rem !important;
    }
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .faculty-card {
        margin-bottom: 1.5rem !important;
    }
    body, html {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
}
/* Universal spacing reduction for large empty gaps */
.section {
    padding: 3rem 1.5rem !important;
}
.faculty-profile-img {
    object-fit: cover !important;
    object-position: top center !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/4;
}


/* GLOBAL UI FIXES FOR MOBILE RESPONSIVENESS AND SPACING */
@media screen and (max-width: 768px) {
    section, .section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .hero-body {
        padding: 2rem 1rem !important;
    }
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .faculty-card {
        margin-bottom: 1.5rem !important;
    }
    body, html {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
}
/* Universal spacing reduction for large empty gaps */
.section {
    padding: 3rem 1.5rem !important;
}
.faculty-profile-img {
    object-fit: cover !important;
    object-position: top center !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/4;
}


/* ADDITIONAL GLOBAL UI FIXES FOR GRID AND STICKY SIDEBAR ON MOBILE */
@media screen and (max-width: 768px) {
    .program-card-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .sidebar-sticky, .program-sidebar, .course-header-sticky {
        position: static !important;
        top: auto !important;
        height: auto !important;
    }
    .program-detail-card {
        grid-template-columns: 1fr !important;
    }
}

.discipline-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 480px) {
    .discipline-stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   MOBILE SCROLLING FIX - MANDATORY
   ========================================================================== */

html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
}

body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-height: 100% !important;
    height: auto !important;
    position: relative !important;
    padding-bottom: 120px !important; /* Prevent fixed buttons from covering footer */
}

/* Ensure wrappers don't lock scroll */
.site-wrapper, 
main,
#main-content,
.main-content {
    overflow: visible !important;
    height: auto !important;
    min-height: 100vh;
    position: static !important;
}

/* Remove 100vh locking */
@media (max-width: 768px) {
    html, body {
        position: static !important;
        height: auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Ensure fixed buttons have proper z-index and don't block scroll */
    .floating-btn,
    .whatsapp-btn,
    .phone-btn,
    .floating-menu-btn {
        z-index: 9999 !important;
    }
    
    /* Ensure no invisible overlays */
    .overlay-backdrop {
        pointer-events: none;
    }
    .overlay-backdrop.active {
        pointer-events: auto;
    }
}

/* Global Dropdown Styles */
.nav-dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: #fff; box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    list-style: none; padding: 10px 0; min-width: 200px; z-index: 1000;
    border-radius: 8px; border: 1px solid rgba(197, 160, 89, 0.2);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu { display: block; }
.dropdown-menu li a {
    display: block; padding: 8px 20px; color: #0A192F;
    font-size: 0.85rem; font-weight: 600; text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.dropdown-menu li a:hover { background: #f8fafc; color: #C5A059; }

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        background: transparent;
    }
    .dropdown-menu li a {
        color: rgba(255, 255, 255, 0.8);
    }
    .dropdown-menu li a:hover {
        background: transparent;
        color: #C5A059;
    }
}

/* Force word wrap to prevent horizontal scrolling on mobile */
html, body {
    overflow-x: hidden !important;
}
* {
    word-break: break-word;
    overflow-wrap: break-word;
}
.prog-hero h1, .prog-card-box h2 {
    hyphens: auto;
}


/* Added Heading Styling */
h1, h2, h3, .section-title {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 8px;
    display: inline-block;
}

/* Button and Option styling (Medical Institute Style) */
input, select, textarea, button, .btn {
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
input:focus, select:focus, textarea:focus {
    border-color: #C5A059 !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2) !important;
}

/* Custom Tooltips for Floating Actions */
.global-floating-actions [data-tooltip] {
    position: relative;
}
.global-floating-actions [data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 12px;
    background: #ffffff;
    color: #0A192F;
    border: 2px solid #C5A059;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-family: var(--font-primary, 'Inter', sans-serif);
}
.global-floating-actions [data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}
