:root {
    --primary: #4A90E2;
    /* Primary Blue */
    --primary-light: #C2E0F9;
    /* Light Blue */
    --primary-dark: #357ABD;
    /* Darker Primary Blue */
    --secondary: #C2E0F9;
    /* Light Blue */
    --charcoal: #000000;
    /* Black */
    --bg-dark: #FFFFFF;
    /* White Background */
    --bg-card: #FFFFFF;
    /* White Card Container */
    --text-main: #000000;
    /* Black Text */
    --text-muted: #444444;
    /* Dark Gray for muted text */
    --glass-border: rgba(0, 0, 0, 0.1);
    /* Black border with low opacity */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --logo-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--primary) 100%);
}

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

/* Enforce 100% width for all widgets and containers */
html,
body,
main#content,
.site-main,
.page-content,
.elementor,
.elementor-section-wrap,
.elementor-element,
.elementor-widget,
.elementor-widget-container,
.e-con,
.e-con-full {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ensure flex items stretch to full width */
.e-con.e-flex {
    align-items: stretch !important;
}

/* Hide comments globally */
#comments,
.comments-area,
.comment-respond,
.comment-list {
    display: none !important;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.badge,
.logo span {
    font-family: 'Outfit', sans-serif;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vibrant-text-gradient {
    background: linear-gradient(135deg, #3986FF, #8BE09E, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(57, 134, 255, 0.2));
}

.pediatric-text-gradient {
    background: linear-gradient(135deg, #E09F9C, #F87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(224, 159, 156, 0.2));
}

.london-text-gradient {
    background: linear-gradient(135deg, #3986FF, #0852C6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(57, 134, 255, 0.2));
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

#navbar .container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Navbar */
@keyframes navbar-slide-down {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: background 0.4s ease, padding 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    animation: navbar-slide-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i,
.logo-icon {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
}

.logo-sub {
    color: var(--charcoal);
    font-size: 0.8em;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap !important;
}

.nav-links a,
.dropbtn {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    white-space: nowrap !important;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    padding-bottom: 0.25rem;
}

.navbar:not(.navbar-scrolled) .logo-dark {
    display: none;
}

.navbar.navbar-scrolled .logo-white {
    display: none;
}

.nav-call-btn {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.navbar:not(.navbar-scrolled) .nav-call-btn {
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.nav-call-btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3) !important;
}

.navbar:not(.navbar-scrolled) .nav-links>a,
.navbar:not(.navbar-scrolled) .dropbtn,
.navbar:not(.navbar-scrolled) .menu-toggle {
    color: #FFFFFF !important;
}

.navbar:not(.navbar-scrolled) .nav-links a::after {
    background: #FFFFFF;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active,
.dropdown:hover .dropbtn {
    color: var(--primary) !important;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem 0;
    z-index: 2000;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 0.75rem 1.5rem;
    display: block;
    font-size: 0.95rem;
    color: var(--text-main) !important;
}

.dropdown-content a:hover {
    background: rgba(74, 144, 226, 0.05);
    color: var(--primary) !important;
}

/* Page Widget Header Style overrides (to keep header visible on light hero backgrounds without scrolling) */
.navbar-widget-page {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 0.8rem 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.navbar-widget-page .logo-dark {
    display: block !important;
}

.navbar-widget-page .logo-white {
    display: none !important;
}

.navbar-widget-page:not(.navbar-scrolled) .nav-links>a,
.navbar-widget-page:not(.navbar-scrolled) .dropbtn {
    color: inherit !important;
}

.navbar-widget-page:not(.navbar-scrolled) .menu-toggle {
    color: var(--text-main) !important;
}

.navbar-widget-page:not(.navbar-scrolled) .nav-links a::after {
    background: var(--primary) !important;
}

/* Mobile Nav Styles */
/* Premium Mobile Nav Redesign */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: #ffffff;
    z-index: 2000;
    transition: all 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 20px 0 60px rgba(15, 23, 42, 0.15);
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

.mobile-logo img {
    height: 60px;
    width: auto;
}

.close-menu {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.4s;
}

.close-menu:hover {
    background: #f1f5f9;
    transform: rotate(90deg) scale(1.1);
}

.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.mobile-nav-link i:first-child {
    font-size: 1.5rem;
    color: #3986FF;
    margin-right: 1.25rem;
    width: 32px;
    display: flex;
    justify-content: center;
}

.mobile-nav-link span {
    flex: 1;
}

.mobile-nav-link .chevron-right {
    font-size: 1rem;
    opacity: 0.3;
    transition: transform 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: #f0f7ff;
    color: #3986FF;
    transform: translateX(5px);
}

.mobile-nav-link:hover .chevron-right {
    opacity: 1;
    transform: translateX(5px);
}

.mobile-nav-dropdown {
    margin-bottom: 0.5rem;
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 4.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
}

.mobile-nav-dropdown.open .mobile-dropdown-content {
    max-height: 500px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    opacity: 1;
}

.mobile-nav-dropdown.open .chevron-down {
    transform: rotate(180deg);
    color: #3986FF;
}

.mobile-dropdown-content a {
    padding: 0.9rem 1.2rem;
    text-decoration: none;
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.mobile-dropdown-content a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #3986FF;
    border-radius: 50%;
    margin-right: 12px;
    opacity: 0.3;
}

.mobile-dropdown-content a:hover {
    background: #f8fafc;
    color: #1e293b;
    padding-left: 1.5rem;
}

.mobile-nav-footer {
    padding: 2rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.mobile-contact-box {
    background: white;
    padding: 1.5rem;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contact-icon {
    width: 54px;
    height: 54px;
    background: #f0f7ff;
    color: #3986FF;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.contact-info span {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.contact-info strong {
    font-size: 1.4rem;
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
}

.mobile-cta {
    width: 100%;
    padding: 1.3rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(57, 134, 255, 0.25);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

.nav-cta {
    background: transparent !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    box-shadow: none !important;
}

.nav-cta:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.6), 0 0 30px rgba(74, 144, 226, 0.4) !important;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-light);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Inner Page Hero - Distinctive Light Premium Design */
.inner-hero {
    position: relative;
    min-height: auto !important;
    padding: 180px 0 100px 0 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%) !important;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.inner-hero .hero-video-container,
.inner-hero .hero-overlay {
    display: none !important;
}

.inner-hero .hero-text h1,
.inner-hero .hero-title {
    color: #0f172a !important;
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
}

.inner-hero .hero-text p,
.inner-hero .hero-desc {
    color: #475569 !important;
    font-size: 1.25rem !important;
}

.inner-hero .hero-actions .btn-outline {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.inner-hero .hero-actions .btn-outline:hover {
    background: rgba(74, 144, 226, 0.08) !important;
    border-color: var(--primary-dark) !important;
    color: var(--primary-dark) !important;
}

.inner-hero .hero-form-card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.08) !important;
}

.inner-hero .hero-form-card h3 {
    color: #0f172a !important;
}

.inner-hero .hero-form-card input,
.inner-hero .hero-form-card select {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.inner-hero .hero-form-card input::placeholder {
    color: #94a3b8 !important;
}

.inner-hero .hero-form-card input:focus,
.inner-hero .hero-form-card select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1) !important;
}

.inner-hero .hero-secure-text {
    color: #64748b !important;
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.inner-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Hero Section Redesign */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg, #020617, #0f172a, #0d2e85, #0f172a, #020617);
    background-size: 400% 400%;
    animation: hero-gradient-wave 15s ease infinite;
    overflow: hidden;
}

@keyframes hero-gradient-wave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
}

.hero-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 67.5vw;
    min-height: 120vh;
    min-width: 213.33vh;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #065fd4 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 5.2rem;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -0.04em;
    font-weight: 800 !important;
}

.hero-text p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3.5rem;
    line-height: 1.6;
    max-width: 580px;
}

.hero-form-card {
    background: rgba(20, 20, 20, 0.6) !important;
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    padding: 4rem 3.5rem !important;
    border-radius: 40px !important;
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    position: relative;
}

.hero-form-card h3 {
    font-size: 2.2rem !important;
    color: #ffffff;
    margin-bottom: 2.5rem !important;
    font-family: 'Outfit', sans-serif !important;
    text-align: center;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

.hero-form-card .form-group {
    margin-bottom: 1.5rem !important;
}

.hero-form-card input,
.hero-form-card select {
    width: 100%;
    padding: 1.3rem !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 18px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.hero-form-card input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero-form-card input:focus,
.hero-form-card select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.hero .badge {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff;
    font-weight: 800 !important;
    letter-spacing: 2px;
    text-transform: none !important;
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem !important;
}

.hero .btn-primary.btn-lg {
    padding: 1.2rem 2.5rem !important;
    border-radius: 99px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    background: #4A90E2 !important;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3) !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.hero .btn-primary.btn-lg:hover {
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6), 0 0 40px rgba(74, 144, 226, 0.4) !important;
    transform: translateY(-3px) !important;
    background: #569cf0 !important;
}

.hero .btn-outline.btn-lg {
    padding: 1.2rem 2.5rem !important;
    border-radius: 99px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    border-width: 2px !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    transition: var(--transition);
}

.hero .btn-outline.btn-lg:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: white !important;
}

.hero .appointment-form .btn-primary {
    padding: 1.3rem !important;
    border-radius: 18px !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    background: #4A90E2 !important;
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.4) !important;
    color: white !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.hero .appointment-form .btn-primary:hover {
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6), 0 0 40px rgba(74, 144, 226, 0.4) !important;
    transform: translateY(-3px) !important;
    background: #569cf0 !important;
}

.hero-secure-text {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-secure-text i {
    color: var(--primary) !important;
    font-size: 1.1rem;
}

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

    .hero-text h1 {
        font-size: 3.2rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-form-card {
        max-width: 500px;
        margin: 0 auto;
    }
}


.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 99px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    font-weight: 600;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

/* Common Section Styles */
section {
    padding: 8rem 0;
}

.bg-light {
    background-color: var(--bg-card);
}

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

/* Stats Section */
.stats-section {
    background: var(--primary);
    color: white;
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-box i {
    font-size: 3.5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.stat-box h3 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-family: 'Outfit';
}

.stat-box p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Trusted By */
.trusted-by {
    padding: 4rem 0;
    background: white;
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.trusted-by-track {
    display: flex;
    align-items: center;
    gap: 5rem;
    width: max-content;
    animation: slide 30s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Split Layouts */
.text-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.img-wrapper img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .text-img-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 6rem 0;
    background: white;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.why-choose-section .img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.why-choose-section .circle-dashed {
    position: absolute;
    width: 450px;
    height: 450px;
    border: 2px dashed rgba(74, 144, 226, 0.2);
    border-radius: 50%;
    animation: rotate-slow 20s linear infinite;
}

.why-choose-section .circle-solid {
    position: absolute;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(74, 144, 226, 0.1);
    border-radius: 50%;
}

.why-choose-section .main-img-container {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border: 8px solid white;
    z-index: 2;
}

.why-choose-section .main-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-choose-section .img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 40%);
}

.why-choose-section .stats-box {
    position: absolute;
    bottom: 10%;
    right: 5%;
    background: var(--primary);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
    z-index: 3;
    text-align: center;
}

.why-choose-section .stats-box .stars {
    color: #FBBF24;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.why-choose-section .stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    font-family: 'Outfit';
}

.why-choose-section .stats-label {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-choose-section .floating-badge {
    position: absolute;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 99px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.why-choose-section .badge-top {
    top: 15%;
    left: 0%;
    animation: float 5s ease-in-out infinite;
}

.why-choose-section .badge-bottom {
    bottom: 25%;
    left: -5%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.why-choose-section .icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-section .icon-shield {
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary);
}

.why-choose-section .icon-house {
    background: rgba(224, 159, 156, 0.1);
    color: var(--secondary);
}

.why-choose-section .floating-badge span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.why-choose-section .content-header {
    margin-bottom: 3rem;
}

.why-choose-section .section-description {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

.why-choose-section .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.why-choose-section .feature-card {
    background: #f8fafc;
    padding: 1.8rem;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.why-choose-section .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.why-choose-section .feature-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.why-choose-section .feature-title {
    margin-bottom: 0.6rem;
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
}

.why-choose-section .feature-desc {
    font-size: 0.95rem !important;
    color: var(--text-muted) !important;
    line-height: 1.6 !important;
    font-family: 'Inter', sans-serif !important;
    margin: 0;
}

/* FAQ */
.faq-section {
    background: white;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Footer */
footer {
    background: #000000;
    color: white;
    padding: 6rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    color: var(--primary-light);
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 2rem;
    font-family: 'Outfit';
}

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

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

.footer-links a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: var(--primary-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Responsive Design System */

@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .hero-text h1 {
        font-size: 3.8rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .data-tree-section .tree-grid-container {
        grid-template-columns: 1fr !important;
        gap: 60px !important;
    }

    .data-tree-section .tree-core {
        order: 1;
        min-height: auto !important;
    }

    .data-tree-section .core-image-wrap {
        width: 280px;
        height: 280px;
        border-width: 8px;
    }

    .data-tree-section .pulse-ring {
        width: 340px;
        height: 340px;
    }


    .data-tree-section .left-branch {
        order: 2;
    }

    .data-tree-section .right-branch {
        order: 3;
    }

    .data-tree-section .node-line {
        display: none !important;
    }

}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 1.5rem;
    }

    /* Navbar */
    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .navbar {
        background: #ffffff !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        padding: 0.8rem 0 !important;
    }

    .navbar .logo-white {
        display: none !important;
    }

    .navbar .logo-dark {
        display: block !important;
    }

    .menu-toggle,
    .navbar:not(.navbar-scrolled) .menu-toggle {
        display: block !important;
        color: var(--text-main, #333333) !important;
    }

    /* Style 1 Mobile Bar styling */
    .navbar-style-1 .style-1-desktop-nav {
        display: none !important;
    }

    .navbar-style-1 .style-1-mobile-bar {
        display: flex !important;
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }

    /* Section Spacing */
    section {
        padding: 5rem 0 !important;
    }

    /* Grid Overrides */
    .hero-content,
    .text-img-grid,
    .tree-grid-container,
    .why-choose-grid,
    .microsuction-editorial .container>div,
    .ear-treatments-vibrant .container>div:nth-child(2),
    .children-section .text-img-grid,
    .corporate-emergency-section>div,
    .location-section .text-img-grid,
    [style*="grid-template-columns: repeat(auto-fit, minmax(400px, 1fr))"],
    [style*="grid-template-columns: repeat(auto-fit, minmax(450px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .img-wrapper {
        min-height: auto !important;
        margin-top: 2rem;
        width: 100% !important;
    }

    .img-wrapper img {
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto;
    }

    .microsuction-editorial [style*="left: -15%"] {
        left: 0 !important;
        bottom: 0 !important;
        position: relative !important;
        margin: 20px auto 0 !important;
        width: fit-content !important;
    }

    .vibrant-card {
        padding: 3rem 1.5rem !important;
    }

    .hero-content {
        margin-top: 10% !important;
    }

    .hero-video-container {
        top: -20% !important;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1.25rem;
    }

    /* Typography */
    .hero-text h1 {
        font-size: 2.8rem;
    }

    .section-title,
    h2 {
        font-size: 2.2rem !important;
    }

    h3 {
        font-size: 1.8rem !important;
    }

    /* Hero */
    .hero {
        padding: 120px 0 60px 0;
    }

    .hero-form-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
        width: 100%;
    }

    /* Clinic Services */
    [style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    /* Why Choose Us Responsive */
    .why-choose-section .img-wrapper {
        min-height: 400px;
        margin-bottom: 3rem;
    }

    .why-choose-section .circle-dashed {
        width: 320px;
        height: 320px;
    }

    .why-choose-section .circle-solid {
        width: 350px;
        height: 350px;
    }

    .why-choose-section .main-img-container {
        width: 280px;
        height: 280px;
        border-width: 6px;
    }

    .why-choose-section .stats-box {
        bottom: 5%;
        right: 0;
        padding: 1rem 1.5rem;
        border-radius: 18px;
    }

    .why-choose-section .stats-number {
        font-size: 2rem;
    }

    .why-choose-section .floating-badge {
        padding: 0.6rem 1rem;
    }

    .why-choose-section .badge-top {
        top: 10%;
        left: -2%;
    }

    .why-choose-section .badge-bottom {
        bottom: 20%;
        left: -8%;
    }

    .why-choose-section .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Ear Treatments Vibrant */
    .ear-treatments-vibrant h2 {
        font-size: 2.5rem !important;
    }

    .icon-sphere {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto 2rem !important;
    }

    /* Location Section */
    .location-section [style*="display: flex; gap: 20px"] {
        flex-direction: column;
    }

    .location-section [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* FAQ Dashboard */
    .faq-dashboard-wrapper {
        padding: 1.25rem !important;
    }

    .faq-nav-container {
        padding-right: 0 !important;
        padding-bottom: 2rem !important;
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .faq-content-container {
        padding-left: 0 !important;
        padding-top: 2rem !important;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem;
        margin-top: 5%;
    }

    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .section-title,
    h2 {
        font-size: 1.8rem !important;
    }

    .vibrant-card h3 {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 768px) {

    /* Insights Grid */
    .insights-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .faq-dashboard h2 {
        text-align: center !important;
    }

    .faq-nav-container [style*="margin-top: 60px"] {
        margin-top: 30px !important;
    }
}



@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes blob-morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.service-feature-card {
    background: #ffffff;
    border-radius: 35px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.card-blue:hover {
    background: #f8fbff;
}

.card-coral:hover {
    background: #fff8f8;
}

.card-teal:hover {
    background: #f7fffe;
}

.card-image-section {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-feature-card:hover .card-image-section img {
    transform: scale(1.1);
}

.gloss-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.service-feature-card:hover .gloss-overlay {
    opacity: 1;
}

.service-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.card-body {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
    font-weight: 700;
}

.service-feature-card p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
}

.learn-more-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.arrow-wrap {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary);
}

.service-feature-card:hover .arrow-wrap {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

/* Theme variations */
.card-blue {
    border-bottom: 4px solid var(--primary);
}

.card-coral {
    border-bottom: 4px solid #F87171;
}

.card-teal {
    border-bottom: 4px solid #2DD4BF;
}

.card-coral .service-tag {
    color: #E53E3E;
}

.card-teal .service-tag {
    color: #0D9488;
}

@media (max-width: 768px) {
    .clinic-services .section-title {
        font-size: 2.5rem !important;
    }
}


.signal-step-item {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.signal-node {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.1);
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

/* Traveling Signal Pulse */
.signal-pulse {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    animation: signal-flow 4s infinite linear;
}

@keyframes signal-flow {
    0% {
        top: -40px;
    }

    100% {
        top: 100%;
    }
}

/* 1. Focus Animation for Microscope */
.focus-crosshair {
    position: absolute;
    inset: 10px;
    border: 1px dashed var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate-focus 8s infinite linear;
}

@keyframes rotate-focus {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.icon-focus {
    animation: lens-zoom 4s infinite ease-in-out;
}

@keyframes lens-zoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* 2. Suction Line Animation */
.suction-line {
    position: absolute;
    top: 50%;
    left: -20%;
    width: 140%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
    animation: suction-flow 2s infinite linear;
    transform: rotate(-45deg);
    opacity: 0.5;
}

@keyframes suction-flow {
    0% {
        transform: rotate(-45deg) translateX(-100%);
    }

    100% {
        transform: rotate(-45deg) translateX(100%);
    }
}

/* 3. Specialist Glow */
.icon-specialist {
    animation: specialist-glow 3s infinite ease-in-out;
}

@keyframes specialist-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 0px var(--primary));
    }

    50% {
        filter: drop-shadow(0 0 8px var(--primary));
    }
}


/* Clinical Advantage / Data Tree Section */
.data-tree-section .tree-grid-container {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    align-items: center;
    position: relative;
}

.data-tree-section .tree-branch {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.data-tree-section .tree-node {
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    z-index: 2;
}

.data-tree-section .tree-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.1);
    border-color: rgba(74, 144, 226, 0.2);
}

.data-tree-section .node-icon {
    width: 50px;
    height: 50px;
    background: rgba(74, 144, 226, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.data-tree-section .node-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--primary-dark);
    font-weight: 800;
}

.data-tree-section .node-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.data-tree-section .node-line {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    z-index: 1;
}

.data-tree-section .left-branch .node-line {
    right: -60px;
    background: linear-gradient(to left, rgba(74, 144, 226, 0.2), transparent);
}

.data-tree-section .right-branch .node-line {
    left: -60px;
    background: linear-gradient(to right, rgba(74, 144, 226, 0.2), transparent);
}

.data-tree-section .tree-core {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

.data-tree-section .core-image-wrap {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 0;
    background: white;
    border: 10px solid white;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.data-tree-section .core-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.data-tree-section .core-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.18) 0%, transparent 70%);
    z-index: 0;
    animation: float 4s ease-in-out infinite;
}

.data-tree-section .pulse-ring {
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 50%;
    animation: ring-pulse 3s linear infinite;
}

@keyframes ring-pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}




.vibrant-card:hover {
    transform: translateY(-25px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.4);
}

.vibrant-card:hover .card-glow-overlay {
    opacity: 1;
}

.vibrant-card:hover .data-stream {
    transform: translateY(100%);
}

.vibrant-card:hover .card-action {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.vibrant-card:hover .icon-sphere {
    transform: rotateY(180deg);
    transition: transform 0.8s;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1) opacity(0.5);
    }

    100% {
        transform: scale(1.2) opacity(0.8);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .ear-treatments-vibrant h2 {
        font-size: 3.5rem;
    }

    .vibrant-card {
        padding: 40px;
        border-radius: 30px;
    }

    .vibrant-card h3 {
        font-size: 2.2rem;
    }
}


.corporate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.emergency-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 50px 100px rgba(13, 46, 133, 0.4);
}

.btn-vibrant:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}


@media (max-width: 900px) {
    .testimonials-section>.container>div:nth-child(2)>div {
        transform: none !important;
    }
}


.faq-nav-btn {
    width: 100%;
    padding: 20px 25px;
    border: none;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    font-family: 'Outfit';
}

.faq-nav-btn i {
    font-size: 1.2rem;
}

.faq-nav-btn.active {
    background: #f0f7ff;
    color: #3986FF;
}

.faq-nav-btn:hover:not(.active) {
    background: #f8fafc;
    color: #1e293b;
}

.dashboard-faq-item {
    background: #f8fafc;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.dashboard-faq-item summary {
    padding: 25px 30px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-family: 'Outfit';
}

.dashboard-faq-item summary i {
    transition: transform 0.4s;
    color: #3986FF;
    flex-shrink: 0;
}

.dashboard-faq-item[open] {
    background: white;
    border-color: #3986FF;
    box-shadow: 0 15px 40px rgba(57, 134, 255, 0.08);
    transform: scale(1.01);
}

.dashboard-faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-dash-content {
    padding: 0 30px 30px 30px;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    animation: fadeInDown 0.4s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .faq-dashboard-wrapper {
        display: flex !important;
        flex-direction: column !important;
        padding: 30px 20px !important;
        gap: 0 !important;
        border-radius: 30px !important;
    }

    .faq-main-title {
        font-size: 2.5rem !important;
        text-align: center !important;
    }

    div[style*="grid-column: 1 / -1"] {
        text-align: center !important;
        margin-bottom: 30px !important;
    }

    .faq-nav-container {
        border-right: none !important;
        padding-right: 0 !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        margin-bottom: 25px !important;
        width: 100% !important;
        display: block !important;
    }

    .faq-nav-container>div {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        padding-bottom: 0 !important;
        overflow-x: visible !important;
    }

    .faq-nav-btn {
        width: 100% !important;
        white-space: normal !important;
        padding: 15px 10px !important;
        font-size: 0.85rem !important;
        text-align: center !important;
        flex-direction: column !important;
        gap: 8px !important;
        border: 1px solid #f1f5f9 !important;
        background: #f8fafc !important;
        height: 100% !important;
    }

    .faq-nav-btn i {
        font-size: 1.2rem !important;
        margin: 0 !important;
    }

    .faq-nav-btn.active {
        background: #f0f7ff !important;
    }

    .faq-content-container {
        padding-left: 0 !important;
        padding-top: 0 !important;
        width: 100% !important;
    }

    .faq-nav-container [style*="margin-top: 60px"] {
        display: none !important;
        /* Hide mini CTA in nav on mobile to save space */
    }
}

@media (max-width: 768px) {
    .faq-main-title {
        font-size: 2rem !important;
    }

    .dashboard-faq-item summary {
        padding: 18px !important;
        font-size: 0.95rem !important;
    }

    .faq-dash-content {
        padding: 0 18px 18px 18px !important;
        font-size: 0.95rem !important;
    }
}


.footer-header {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.footer-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    opacity: 0.5;
}

.footer-header-blue {
    color: #3986FF;
}

.footer-header-green {
    color: #8BE09E;
}

.footer-header-white {
    color: white;
}

@media (max-width: 768px) {
    .footer-header {
        margin-bottom: 25px;
        padding-bottom: 10px;
    }

    .footer-header::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.footer-social {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social:hover {
    background: #3986FF;
    transform: translateY(-5px);
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
    display: inline-block;
}

.footer-link:hover {
    color: #3986FF;
    transform: translateX(10px);
}

.footer-loc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-loc::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #8BE09E;
    border-radius: 50%;
    display: block;
}

.footer-contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3986FF;
    font-size: 1.2rem;
    transition: all 0.3s;
}

a:hover .footer-contact-icon {
    background: #3986FF;
    color: white;
    transform: rotate(15deg);
}

.footer-legal {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal:hover {
    color: white;
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 30px !important;
    }

    .footer-brand-col {
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-brand-col div {
        justify-content: center;
    }

    .footer-nav-col {
        text-align: center;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-nav-col ul {
        align-items: flex-start !important;
        text-align: left !important;
        width: fit-content;
    }

    .footer-contact-col {
        text-align: center;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact-col>div {
        align-items: flex-start !important;
        text-align: left !important;
        width: fit-content;
    }

    .footer-loc {
        justify-content: center;
    }

    .footer-contact-col a {
        justify-content: flex-start !important;
    }

    .footer-link:hover {
        transform: none;
    }

    .main-footer .container>div:last-child {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .main-footer .container>div:last-child div {
        justify-content: center !important;
        gap: 15px !important;
        flex-wrap: wrap;
    }
}


/* Otic Responsive Footer */
.otic-footer {
    background: #000000;
    color: white;
    padding: 100px 0 40px 0;
    font-family: 'Inter', sans-serif;
}

.otic-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
}

.otic-footer-logo-link {
    display: inline-block;
    margin-bottom: 30px;
}

.otic-footer-logo {
    width: 50%;
    height: auto;
}

.otic-footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.otic-footer-socials {
    display: flex;
    gap: 15px;
}

.otic-footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
    text-decoration: none;
}

.otic-footer-social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.otic-footer-title {
    font-family: 'Outfit';
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.otic-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 769px) {
    .otic-more-location {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .more-toggle-li {
        display: none !important;
    }
}

.otic-footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
}

.otic-footer-link:hover {
    color: white;
    padding-left: 5px;
}

.otic-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.otic-footer-contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.otic-footer-contact-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.otic-footer-contact-label {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.otic-footer-contact-value {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.otic-footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.otic-footer-legal-links {
    display: flex;
    gap: 30px;
}

.otic-footer-legal-link {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.otic-footer-legal-link:hover {
    color: white;
}

/* Tablet Layout */
@media (max-width: 1024px) {
    .otic-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .otic-footer-brand {
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin-bottom: 20px;
    }

    .otic-footer-logo-link {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }
}

/* Mobile Layout (Premium Redesign) */
@media (max-width: 767px) {
    .otic-footer {
        padding: 50px 0 30px 0;
    }

    .otic-footer-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .otic-footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin-bottom: 20px;
    }

    .otic-footer-logo {
        width: 30%;
    }

    .otic-footer-desc {
        font-size: 1rem;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Accordion styles for Nav Columns */
    .otic-footer-nav {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .otic-footer-nav .otic-footer-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
        margin-bottom: 0;
        cursor: pointer;
        font-size: 1.15rem;
        transition: color 0.3s;
    }

    .otic-footer-nav .otic-footer-title::after {
        content: '+';
        font-family: 'Inter', sans-serif;
        font-size: 1.5rem;
        font-weight: 300;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        color: var(--primary);
    }

    .otic-footer-nav.active .otic-footer-title {
        color: var(--primary);
    }

    .otic-footer-nav.active .otic-footer-title::after {
        transform: rotate(45deg);
        color: white;
    }

    .otic-footer-nav .otic-footer-list {
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        padding-bottom: 0;
        text-align: left;
        opacity: 0;
        visibility: hidden;
    }

    .otic-footer-nav.active .otic-footer-list {
        max-height: 500px;
        padding-bottom: 30px;
        opacity: 1;
        visibility: visible;
    }

    /* Contact Section Redesign */
    .otic-footer-contact {
        padding: 40px 0;
    }

    .otic-footer-contact .otic-footer-title {
        padding: 0 0 25px 0;
        text-align: center;
    }

    .otic-footer-contact-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .otic-footer-contact-item {
        background: rgba(255, 255, 255, 0.03);
        padding: 25px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        transition: all 0.3s;
    }

    .otic-footer-contact-item:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .otic-footer-contact-item>div:last-child {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .otic-footer-contact-label {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .otic-footer-contact-value {
        font-size: 1.2rem;
    }

    .otic-footer-bottom {
        margin-top: 30px;
        flex-direction: column-reverse;
        gap: 25px;
        text-align: center;
    }

    .otic-footer-legal-links {
        justify-content: center;
        width: 100%;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .otic-footer-socials {
        justify-content: center;
    }

    /* Corporate & Emergency Centering */
    .corporate-card,
    .emergency-card {
        text-align: center !important;
        padding: 40px 20px !important;
    }

    .corporate-card>div>div:first-child,
    .emergency-card>div>div:first-child {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .corporate-card .btn-vibrant,
    .emergency-card .btn-vibrant {
        justify-content: center !important;
        width: 100% !important;
    }
}

/* ==========================================
   Otic Ear Care - 5 Custom Menu Styles
   ========================================== */

/* Style 2: Double-Decker (Logo Centered Top, Navigation Below) */
@media (min-width: 992px) {

    .navbar-style-2.navbar-widget-page,
    .navbar-style-2.navbar-scrolled,
    .navbar-style-2 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .navbar-style-2 .nav-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.2rem !important;
        display: flex !important;
    }

    .navbar-style-2 .logo {
        margin: 0 auto !important;
        justify-content: center !important;
        display: flex !important;
    }

    .navbar-style-2 .nav-links {
        margin: 0 auto !important;
        gap: 3rem !important;
        display: flex !important;
    }

    .navbar-style-2 .nav-right {
        position: absolute !important;
        right: 2rem !important;
        top: 1.5rem !important;
        display: flex !important;
    }
}

/* Style 3: Logo Center Inline */
@media (min-width: 992px) {

    .navbar-style-3.navbar-widget-page,
    .navbar-style-3.navbar-scrolled,
    .navbar-style-3 {
        position: fixed !important;
    }

    .navbar-style-3 .nav-container {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .navbar-style-3 .logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10 !important;
        margin: 0 !important;
        display: flex !important;
    }

    .navbar-style-3 .nav-links {
        margin-right: auto !important;
        margin-left: 0 !important;
        padding-right: 80px !important;
        display: flex !important;
    }

    .navbar-style-3 .nav-right {
        margin-left: auto !important;
        display: flex !important;
    }
}

/* Style 4: Floating Glassmorphism */
.navbar-style-4.navbar-widget-page,
.navbar-style-4.navbar-scrolled,
.navbar-style-4 {
    top: 20px !important;
    width: calc(100% - 40px) !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 24px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    padding: 0.8rem 2rem !important;
}

.navbar-style-4.navbar-scrolled {
    top: 10px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Ensure dark text visibility in style-4 when transparent/not scrolled */
.navbar-style-4:not(.navbar-scrolled) .nav-links>a,
.navbar-style-4:not(.navbar-scrolled) .dropbtn,
.navbar-style-4:not(.navbar-scrolled) .menu-toggle {
    color: var(--text-main) !important;
}

.navbar-style-4:not(.navbar-scrolled) .logo-dark {
    display: block !important;
}

.navbar-style-4:not(.navbar-scrolled) .logo-white {
    display: none !important;
}

.navbar-style-4:not(.navbar-scrolled) .nav-call-btn {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
}

/* Style 8: Customer Request (Style 1 Desktop + Style 6 Mobile) */
@media (min-width: 992px) {
    .navbar-style-8:not(.navbar-scrolled):not(.navbar-widget-page) {
        background: transparent !important;
        box-shadow: none !important;
        border-bottom-color: transparent !important;
        padding: 1.5rem 0 !important;
    }

    .navbar-style-8.navbar-scrolled,
    .navbar-style-8.navbar-widget-page {
        background: rgba(255, 255, 255, 0.85) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        padding: 0.8rem 0 !important;
    }

    .navbar-style-8:not(.navbar-scrolled):not(.navbar-widget-page) .logo-white {
        display: block !important;
    }

    .navbar-style-8:not(.navbar-scrolled):not(.navbar-widget-page) .logo-dark {
        display: none !important;
    }

    .navbar-style-8.navbar-scrolled .logo-white,
    .navbar-style-8.navbar-widget-page .logo-white {
        display: none !important;
    }

    .navbar-style-8.navbar-scrolled .logo-dark,
    .navbar-style-8.navbar-widget-page .logo-dark {
        display: block !important;
    }

    .navbar-style-8:not(.navbar-scrolled):not(.navbar-widget-page) .nav-links>a,
    .navbar-style-8:not(.navbar-scrolled):not(.navbar-widget-page) .dropbtn {
        color: #FFFFFF !important;
    }

    .navbar-style-8:not(.navbar-scrolled):not(.navbar-widget-page) .nav-links>a::after {
        background: #FFFFFF !important;
    }

    .navbar-style-8.navbar-scrolled .nav-links>a,
    .navbar-style-8.navbar-widget-page .nav-links>a,
    .navbar-style-8.navbar-scrolled .dropbtn,
    .navbar-style-8.navbar-widget-page .dropbtn {
        color: var(--text-main) !important;
    }

    .navbar-style-8.navbar-scrolled .nav-links>a::after,
    .navbar-style-8.navbar-widget-page .nav-links>a::after {
        background: var(--primary) !important;
    }

    .navbar-style-8 .style-8-desktop-nav {
        display: flex !important;
    }

    .navbar-style-8 .style-6-mobile-bar {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .navbar-style-8 .style-8-desktop-nav {
        display: none !important;
    }

    .navbar-style-8 .style-6-mobile-bar {
        display: flex !important;
    }

    .navbar-style-8 .logo img {
        height: 45px !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }
}

/* Style 5: Minimalist Hamburger Menu */
@media (min-width: 992px) {
    .navbar-style-5 .nav-links {
        display: none !important;
    }

    .navbar-style-5 .menu-toggle {
        display: block !important;
        color: inherit !important;
        margin-left: 1.5rem !important;
    }

    .navbar-style-5:not(.navbar-scrolled) .menu-toggle {
        color: #FFFFFF !important;
    }

    .navbar-style-5.navbar-widget-page:not(.navbar-scrolled) .menu-toggle {
        color: var(--text-main) !important;
    }
}

/* Style 6: Luxury Double-Row Stacked Navigation */
.navbar-style-6.navbar-widget-page,
.navbar-style-6.navbar-scrolled,
.navbar-style-6 {
    padding: 0 !important;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-style-6.navbar-scrolled .otic-utility-bar {
    display: none !important;
}

.otic-utility-bar {
    background: #0c4a6e !important;
    background: linear-gradient(135deg, var(--primary-dark, #357ABD) 0%, #0a3a5c 100%) !important;
    width: 100% !important;
    display: block !important;
}

.otic-utility-container a {
    transition: color 0.3s;
}

.otic-utility-container a:hover {
    color: var(--primary-light) !important;
}

.navbar-style-6 .style-6-desktop-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.navbar-style-6 .style-6-center-logo {
    order: 2 !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
}

.navbar-style-6 .nav-wing-left {
    order: 1 !important;
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    padding-right: 4rem !important;
}

.navbar-style-6 .nav-wing-right {
    order: 3 !important;
    flex: 1 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-left: 4rem !important;
    gap: 1.5rem !important;
}

.navbar-style-6 .nav-links {
    gap: 1.5rem !important;
}

.navbar-style-6 .nav-links a,
.navbar-style-6 .dropbtn {
    white-space: nowrap !important;
}

.navbar-style-6 .style-6-cta {
    margin-left: auto !important;
    white-space: nowrap !important;
}

.navbar-style-6 .logo-dark {
    display: block !important;
}

.navbar-style-6 .logo-white {
    display: none !important;
}

.navbar-style-6:not(.navbar-scrolled) .nav-links a,
.navbar-style-6:not(.navbar-scrolled) .dropbtn {
    color: var(--text-main) !important;
}

.navbar-style-6:not(.navbar-scrolled) .nav-links a::after {
    background: var(--primary) !important;
}

.style-6-cta {
    border-color: var(--primary) !important;
    color: #ffffff !important;
    background: var(--primary) !important;
    transition: all 0.3s ease;
    white-space: nowrap !important;
}

.style-6-cta:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
}

/* Responsiveness for Style 6 */
@media (max-width: 991px) {

    .navbar-style-6 .otic-utility-bar,
    .navbar-style-6 .style-6-desktop-nav {
        display: none !important;
    }

    .navbar-style-6 .style-6-mobile-bar {
        display: flex !important;
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }

    .navbar-style-6 .logo img {
        height: 45px !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }
}

@media (min-width: 992px) {
    .navbar-style-6 .style-6-mobile-bar {
        display: none !important;
    }
}

/* Style 2: Centered Brand Navigation */
.navbar-style-2.navbar-widget-page,
.navbar-style-2.navbar-scrolled,
.navbar-style-2 {
    padding: 10px 0 !important;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-style-2:not(.navbar-scrolled) .nav-links a,
.navbar-style-2:not(.navbar-scrolled) .dropbtn {
    color: var(--text-main) !important;
}

@media (max-width: 991px) {
    .navbar-style-2 .style-2-desktop-nav {
        display: none !important;
    }

    .navbar-style-2 .style-2-mobile-bar {
        display: flex !important;
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }
}

@media (min-width: 992px) {
    .navbar-style-2 .style-2-mobile-bar {
        display: none !important;
    }
}

/* Style 3: Left Inline Navigation */
.navbar-style-3.navbar-widget-page,
.navbar-style-3.navbar-scrolled,
.navbar-style-3 {
    padding: 15px 0 !important;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-style-3:not(.navbar-scrolled) .nav-links a,
.navbar-style-3:not(.navbar-scrolled) .dropbtn {
    color: var(--text-main) !important;
}

@media (max-width: 991px) {
    .navbar-style-3 .style-3-desktop-nav {
        display: none !important;
    }

    .navbar-style-3 .style-3-mobile-bar {
        display: flex !important;
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }
}

@media (min-width: 992px) {
    .navbar-style-3 .style-3-mobile-bar {
        display: none !important;
    }
}

/* Style 5: Minimal Toggle Navigation */
.navbar-style-5.navbar-widget-page,
.navbar-style-5.navbar-scrolled,
.navbar-style-5 {
    padding: 15px 0 !important;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-style-5:not(.navbar-scrolled) .nav-links a,
.navbar-style-5:not(.navbar-scrolled) .dropbtn {
    color: var(--text-main) !important;
}

@media (max-width: 991px) {
    .navbar-style-5 .style-5-desktop-nav {
        display: none !important;
    }

    .navbar-style-5 .style-5-mobile-bar {
        display: flex !important;
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }
}

@media (min-width: 992px) {
    .navbar-style-5 .style-5-mobile-bar {
        display: none !important;
    }
}

/* Style 7: Clinical Double-Row Stacked Navigation */
.navbar-style-7.navbar-widget-page,
.navbar-style-7.navbar-scrolled,
.navbar-style-7 {
    padding: 0 !important;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-style-7:not(.navbar-scrolled) .nav-links a,
.navbar-style-7:not(.navbar-scrolled) .dropbtn {
    color: var(--text-main) !important;
}

@media (max-width: 991px) {

    .navbar-style-7 .style-7-desktop-nav,
    .navbar-style-7 .style-7-logo,
    .navbar-style-7 .style-7-info-group {
        display: none !important;
    }

    .navbar-style-7 .style-7-mobile-bar {
        display: flex !important;
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }
}

@media (min-width: 992px) {
    .navbar-style-7 .style-7-mobile-bar {
        display: none !important;
    }
}

/* Otic Booking System Widget Styles */
.app-container {
    height: 92vh;
}

@media (max-width: 768px) {
    .app-container {
        height: auto !important;
        min-height: 100vh;
        border-radius: 0;
    }
}

/* Custom Mobile Bar Adjustments */
@media (max-width: 991px) {

    .style-1-mobile-bar,
    .style-2-mobile-bar,
    .style-3-mobile-bar,
    .style-5-mobile-bar,
    .style-6-mobile-bar,
    .style-7-mobile-bar {
        margin-left: -2.5% !important;
    }

    .style-1-mobile-bar .logo,
    .style-2-mobile-bar .logo,
    .style-3-mobile-bar .logo,
    .style-5-mobile-bar .logo,
    .style-6-mobile-bar .logo,
    .style-7-mobile-bar .logo {
        scale: 1 !important;
    }

    .style-1-mobile-bar .logo img,
    .style-2-mobile-bar .logo img,
    .style-3-mobile-bar .logo img,
    .style-5-mobile-bar .logo img,
    .style-6-mobile-bar .logo img,
    .style-7-mobile-bar .logo img {
        height: 60px !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }
}

/* Ensure no text wrapping on desktop navigation menu options and buttons */
#navbar .btn,
#navbar .nav-cta,
#navbar a.btn,
#navbar a[class*="manage-booking"],
#navbar .nav-links a,
#navbar .dropbtn {
    white-space: nowrap !important;
}

#navbar .logo,
#navbar .logo img {
    flex-shrink: 0 !important;
}

#navbar .logo img {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
    margin-right: 45px;
}

/* Adjust layout on medium screens to keep all menu items and buttons in a single row */
@media (min-width: 992px) and (max-width: 1280px) {
    .nav-links {
        gap: 1rem !important;
    }

    #navbar .container {
        padding: 0 1rem !important;
    }

    .nav-right,
    #navbar div[style*="display: flex"] {
        gap: 0.75rem !important;
    }

    #navbar .btn,
    #navbar .nav-cta,
    #navbar a[class*="manage-booking"] {
        padding: 0.6rem 1.2rem !important;
        font-size: 11px !important;
    }

    .nav-links a,
    .dropbtn {
        font-size: 0.9rem !important;
    }
}

/* Manage Booking Header Button Colors & Scrolled State */
.header-manage-booking {
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}
.header-manage-booking:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

/* Scrolled/Non-Transparent State */
.navbar-scrolled .header-manage-booking {
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}
.navbar-scrolled .header-manage-booking:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}