:root {
    /* Color Palette */
    --clr-sapphire-blue: #0A2463;
    --clr-soft-cyan: #24E5E5;
    --clr-white: #FFFFFF;
    --clr-ice-blue: #DDF1F8;
    --clr-deep-navy: #020C26;
    --clr-teal-highlight: #00F0FF;
    --clr-text-main: #E2E8F0;
    --clr-text-muted: #94A3B8;

    /* Gradients */
    --gradient-silver: linear-gradient(135deg, #E2E8F0 0%, #F8FAFC 100%);
    --gradient-medical-aqua: linear-gradient(135deg, var(--clr-soft-cyan) 0%, #00B4D8 100%);
    --gradient-futuristic: linear-gradient(to right, var(--clr-sapphire-blue), var(--clr-deep-navy));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Sizes */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;

    /* Effects */
    --glow-blue: 0 0 20px rgba(36, 229, 229, 0.3);
    --glow-intense: 0 0 40px rgba(0, 240, 255, 0.5);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-deep-navy);
    color: var(--clr-text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-white);
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
    color: var(--clr-text-muted);
}

a {
    color: var(--clr-soft-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--clr-white);
    text-shadow: var(--glow-blue);
}

/* Glassmorphism */
.glass-panel {
    background: var(--gradient-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-glass);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(36, 229, 229, 0.3);
    box-shadow: var(--glow-blue);
    background: rgba(255, 255, 255, 0.06);
}

/* Buttons */
.btn-premium {
    background: var(--gradient-medical-aqua);
    color: var(--clr-deep-navy);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--clr-white) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-intense);
    color: var(--clr-deep-navy);
}

.btn-premium:hover::before {
    opacity: 0.3;
}

.btn-outline-glass {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-white);
    font-family: var(--font-heading);
    padding: 12px 28px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--clr-soft-cyan);
    color: var(--clr-soft-cyan);
}

/* Typography Utilities */
.text-gradient {
    background: var(--gradient-medical-aqua);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-family: var(--font-heading);
    color: var(--clr-soft-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.text-muted {
    color: var(--clr-text-muted) !important;
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    z-index: 1030;
}

.navbar.scrolled {
    background: rgba(2, 12, 38, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-white) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    color: var(--clr-soft-cyan);
    font-size: 2rem;
    filter: drop-shadow(0 0 8px rgba(36, 229, 229, 0.5));
}

.nav-link {
    color: var(--clr-text-main) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    padding: 8px 0 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-medical-aqua);
    transition: var(--transition-smooth);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--clr-white) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Dropdown Hover */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }
}
.dropdown-menu {
    background: rgba(2, 12, 38, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-glass);
}
.dropdown-item {
    padding: 10px 20px;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
}
.dropdown-item:hover {
    background: rgba(36, 229, 229, 0.1) !important;
    color: var(--clr-soft-cyan) !important;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('../images/hero-bg.jpg'); /* placeholder */
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(2, 12, 38, 0.3) 0%, var(--clr-deep-navy) 100%);
    z-index: -1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5.5rem);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.floating-ui {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Section Formatting */
.section-padding {
    padding: 100px 0;
}

/* About Section */
.img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(36, 229, 229, 0.3);
    border-radius: var(--border-radius-lg);
    z-index: 1;
    pointer-events: none;
}

.img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-box:last-child {
    border-right: none;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-white);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--clr-soft-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features/Services */
.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(36, 229, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--clr-soft-cyan);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.glass-card:hover .service-icon {
    background: var(--gradient-medical-aqua);
    color: var(--clr-deep-navy);
    box-shadow: var(--glow-blue);
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: #010613;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-widget h4 {
    color: var(--clr-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--clr-text-muted);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--clr-soft-cyan);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    margin-top: 60px;
    text-align: center;
}

/* Form Styles */
.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-white) !important;
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.form-control::placeholder {
    color: var(--clr-text-muted);
    opacity: 1;
}

.form-control option {
    background-color: var(--clr-deep-navy);
    color: var(--clr-white);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--clr-soft-cyan);
    box-shadow: 0 0 0 0.25rem rgba(36, 229, 229, 0.25);
    color: var(--clr-white) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--clr-deep-navy);
}
::-webkit-scrollbar-thumb {
    background: rgba(36, 229, 229, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(36, 229, 229, 0.6);
}

/* Owl Carousel Customizations */
.owl-carousel .owl-stage {
    display: flex;
}
.owl-carousel .owl-item {
    display: flex;
}
.owl-carousel .owl-item .glass-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}
.owl-carousel .owl-item .glass-card a.btn-outline-glass,
.owl-carousel .owl-item .glass-card a.text-soft-cyan {
    margin-top: auto !important;
}
.owl-carousel .owl-stage-outer {
    padding: 20px 0;
    margin: -20px 80px;
}
.owl-carousel {
    position: relative;
    padding: 0;
}
.owl-theme .owl-nav {
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%);
    width: 100%;
    display: flex !important;
    justify-content: space-between;
    pointer-events: none;
    margin-top: 0 !important;
    z-index: 99 !important;
}
.owl-theme .owl-nav.disabled {
    display: flex !important;
}
.owl-theme .owl-nav [class*=owl-] {
    pointer-events: auto;
    background: rgba(2, 12, 38, 0.8) !important;
    color: var(--clr-white);
    border: 1px solid rgba(36, 229, 229, 0.2) !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 48px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glass);
    display: flex;
    align-items: center;
    justify-content: center;
}
.owl-theme .owl-nav .owl-prev {
    position: absolute;
    left: 10px;
}
.owl-theme .owl-nav .owl-next {
    position: absolute;
    right: 10px;
}
.owl-theme .owl-nav [class*=owl-]:hover {
    background: var(--clr-soft-cyan) !important;
    color: var(--clr-deep-navy) !important;
    border-color: var(--clr-soft-cyan) !important;
    box-shadow: var(--glow-blue);
}
@media (max-width: 768px) {
    .owl-carousel .owl-stage-outer {
        margin: -20px 0;
    }
    .owl-theme .owl-nav {
        display: none !important;
    }
}
.owl-theme .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}
.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--clr-soft-cyan);
    box-shadow: var(--glow-blue);
}

/* Inner Page Header */
.page-header {
    padding: 160px 0 80px;
    background: radial-gradient(circle at top right, rgba(36, 229, 229, 0.1) 0%, var(--clr-deep-navy) 60%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
}
.breadcrumb-item a {
    color: var(--clr-text-muted);
}
.breadcrumb-item.active {
    color: var(--clr-soft-cyan);
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* Team/Doctors */
.doctor-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
}
.doctor-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}
.doctor-info {
    padding: 1.5rem;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--clr-white);
    margin-right: 8px;
    transition: var(--transition-smooth);
}
.social-links a:hover {
    background: var(--clr-soft-cyan);
    color: var(--clr-deep-navy);
}

/* Accordion */
.accordion-item {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    border-radius: var(--border-radius-sm) !important;
}
.accordion-button {
    background: rgba(255, 255, 255, 0.02);
    color: var(--clr-white);
    box-shadow: none !important;
    font-family: var(--font-heading);
    font-weight: 600;
}
.accordion-button:not(.collapsed) {
    background: rgba(36, 229, 229, 0.05);
    color: var(--clr-soft-cyan);
}
.accordion-body {
    color: var(--clr-text-muted);
}
.accordion-button::after {
    filter: invert(1);
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .navbar-collapse {
        background: rgba(2, 12, 38, 0.95);
        backdrop-filter: blur(20px);
        padding: 1rem;
        border-radius: var(--border-radius-md);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 1rem;
    }
}
