/* 
 * Premium Luxury Medical Clinic Landing Page Styles
 * Designed for elite performance, trust, and luxury brand image.
 * Author: Managed by Parisa Asadi
 */

/* ==========================================
   1. Google Fonts & CSS Custom Variables
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Zavelo Brand Palette */
    --color-white: #ffffff;
    --color-soft-blue-light: #f5f3ff;
    --color-soft-blue: #ede9fe;
    --color-cyan-light: #f3e8ff;
    --color-cyan: #6E42FF;
    --color-magenta: #D946EF;
    --color-coral: #FF7A45;
    --color-yellow: #FFC857;
    --color-navy-light: #D946EF;
    --color-navy: #0B1020;
    --color-navy-dark: #070a14;
    --color-gray-light: #f8fafc;
    --color-gray: #64748b;
    --color-gold: #FFC857;
    --brand-gradient: linear-gradient(135deg, #6E42FF 0%, #D946EF 45%, #FF7A45 75%, #FFC857 100%);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Glassmorphism Defaults */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-bg-hover: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.04);
    --glass-shadow-hover: 0 12px 40px 0 rgba(15, 23, 42, 0.08);
    --blur-intensity: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   2. Reset & Global Styles
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-navy);
    background-color: var(--color-gray-light);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

li {
    list-style: none;
}

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

section {
    padding: 100px 0;
    position: relative;
}

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

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-cyan);
    background: var(--color-cyan-light);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-navy-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray);
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1000;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--brand-gradient);
    width: 0%;
}

/* Background Animated Elements */
.bg-mesh-blur {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.circle-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float-circle 12s infinite alternate ease-in-out;
}

.circle-blur-1 {
    width: 400px;
    height: 400px;
    background-color: var(--color-cyan);
    top: 10%;
    left: -5%;
}

.circle-blur-2 {
    width: 500px;
    height: 500px;
    background-color: var(--color-soft-blue);
    bottom: 20%;
    right: -10%;
    animation-delay: -3s;
}

.circle-blur-3 {
    width: 300px;
    height: 300px;
    background-color: var(--color-navy-light);
    top: 50%;
    left: 45%;
    opacity: 0.05;
    animation-delay: -6s;
}

@keyframes float-circle {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    100% { transform: translateY(-30px) scale(1.1) rotate(45deg); }
}

/* ==========================================
   3. Buttons & CTA Elements
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--color-white);
    box-shadow: 0 4px 18px rgba(110, 66, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(217, 70, 239, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--color-navy-dark);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
}

header.navbar .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

header.navbar .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-3px);
}

/* Ripple effect */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


/* ==========================================
   4. Navigation Bar
   ========================================== */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 999;
    background: rgba(11, 16, 32, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-normal);
}

header.navbar.scrolled {
    background: rgba(11, 16, 32, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 70px;
    box-shadow: 0 8px 28px rgba(7, 10, 20, 0.35);
}

header.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    display: block;
    height: 44px;
    width: auto;
}

.logo-img-lg {
    height: 72px;
}

.logo-img-footer {
    height: 40px;
    width: auto;
    margin-bottom: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 700;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-navy-dark);
}

.logo-text span {
    color: var(--color-cyan);
}

/* Nav Menu */
nav.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-cyan);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: #FFC857;
}

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

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-fast);
}


/* ==========================================
   5. Hero Section (Fullscreen)
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    position: relative;
    background: radial-gradient(circle at 12% 18%, rgba(110, 66, 255, 0.12) 0%, transparent 42%),
                radial-gradient(circle at 88% 22%, rgba(217, 70, 239, 0.10) 0%, transparent 40%),
                radial-gradient(circle at 70% 80%, rgba(255, 122, 69, 0.08) 0%, transparent 45%),
                #f8fafc;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    opacity: 0;
    transform: translateY(40px);
    animation: fade-up-hero 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-navy-light);
    margin-bottom: 24px;
    box-shadow: var(--glass-shadow);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981; /* Green status dot */
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-gray);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

/* Mouse Parallax Glass Cards */
.hero-visual {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-main-card {
    position: absolute;
    width: 80%;
    height: 85%;
    top: 10%;
    left: 10%;
    border-radius: 24px;
    background: linear-gradient(160deg, #12182b 0%, #0B1020 55%, #1a0f2e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(11, 16, 32, 0.35), 0 0 0 1px rgba(110, 66, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    z-index: 2;
    transition: var(--transition-fast);
}

.hero-logo-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: #0B1020;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(110, 66, 255, 0.25);
}

.hero-logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-primary-logo {
    width: min(220px, 70%);
    height: auto;
    margin: 0 auto 18px;
    display: block;
}

.hero-brand-mark {
    width: 56px;
    height: auto;
    margin: 0 auto 12px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 4px 0 16px;
}

.hero-tagline .tag-smart {
    background: linear-gradient(90deg, #6E42FF, #D946EF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline .tag-strong {
    background: linear-gradient(90deg, #FF7A45, #FFC857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-main-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-main-card p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    max-width: 280px;
}

.floating-glass-card {
    position: absolute;
    background: rgba(11, 16, 32, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 12px 36px rgba(11, 16, 32, 0.35), 0 0 0 1px rgba(110, 66, 255, 0.1);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.floating-card-1 {
    top: 5%;
    left: 0;
    transform: translate(-10px, 10px);
}

.floating-card-2 {
    bottom: 15%;
    right: 0;
    transform: translate(15px, -15px);
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.floating-card-1 .floating-card-icon {
    background: linear-gradient(135deg, #6E42FF 0%, #D946EF 100%);
    box-shadow: 0 6px 16px rgba(110, 66, 255, 0.35);
}

.floating-card-2 .floating-card-icon {
    background: linear-gradient(135deg, #FF7A45 0%, #FFC857 100%);
    box-shadow: 0 6px 16px rgba(255, 122, 69, 0.35);
}

.floating-card-text div {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: #ffffff;
}

.floating-card-text span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.62);
}

@keyframes fade-up-hero {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}


/* ==========================================
   6. About Section
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 500px;
    box-shadow: var(--glass-shadow);
    opacity: 0;
    transform: translateX(-40px);
    transition: var(--transition-slow);
}

.about-visual.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-soft-blue) 0%, var(--color-cyan-light) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-placeholder::before {
    content: "Premium Medical Space";
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--color-navy-light);
    opacity: 0.75;
}

/* Floating overlay stats on about img */
.about-visual-overlay {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-visual-overlay h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-cyan);
}

.about-visual-overlay p {
    font-size: 0.8rem;
    color: var(--color-navy);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    opacity: 0;
    transform: translateX(40px);
    transition: var(--transition-slow);
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-description {
    font-size: 1.1rem;
    color: var(--color-navy);
    margin-bottom: 24px;
    font-weight: 500;
}

.about-text {
    color: var(--color-gray);
    margin-bottom: 30px;
}

.about-tab-container {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.about-tab {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray);
    padding: 8px 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.about-tab.active, .about-tab:hover {
    color: var(--color-cyan);
}

.about-tab.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-cyan);
}

.about-tab-content {
    display: none;
    font-size: 0.95rem;
    color: var(--color-gray);
}

.about-tab-content.active {
    display: block;
    animation: fade-in 0.5s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow-hover);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-navy-light);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-gray);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}


/* ==========================================
   7. Why Choose Us Section
   ========================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(40px);
}

.why-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow-hover);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 188, 212, 0.3);
}

.why-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-soft-blue) 0%, var(--color-cyan-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.why-card:hover .why-icon-container {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-navy-light) 100%);
    color: var(--color-white);
}

.why-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-desc {
    font-size: 0.95rem;
    color: var(--color-gray);
}


/* ==========================================
   8. Services Section
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow-hover);
    background: var(--color-white);
    border-color: rgba(0, 188, 212, 0.4);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-soft-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    font-size: 1.35rem;
    margin: 0 auto 20px auto;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--color-cyan-light);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-navy-dark);
}

.service-desc {
    font-size: 0.85rem;
    color: var(--color-gray);
    line-height: 1.5;
}


/* ==========================================
   9. Meet Our Doctors Section
   ========================================== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.doctor-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(40px);
}

.doctor-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(0, 188, 212, 0.2);
}

.doctor-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-soft-blue) 0%, var(--color-cyan-light) 100%);
}

.doctor-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-navy-light);
    font-size: 3rem;
    transition: var(--transition-normal);
}

.doctor-photo-placeholder span {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    opacity: 0.75;
}

.doctor-card:hover .doctor-photo-placeholder {
    transform: scale(1.08);
}

.doctor-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.doctor-card:hover .doctor-socials {
    bottom: 0;
}

.doctor-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.doctor-social-icon:hover {
    background: var(--color-cyan);
    color: var(--color-white);
    transform: translateY(-3px);
}

.doctor-info {
    padding: 24px;
    text-align: center;
}

.doctor-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-navy-dark);
}

.doctor-specialty {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.doctor-experience {
    font-size: 0.85rem;
    color: var(--color-gray);
}


/* ==========================================
   10. Clinic Gallery (Luxury Masonry)
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.gallery-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--glass-shadow);
    cursor: pointer;
}

.gallery-item:nth-child(2) {
    height: 320px;
}

.gallery-item:nth-child(5) {
    height: 320px;
    margin-top: -70px;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-soft-blue) 0%, var(--color-cyan-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    font-size: 2.5rem;
    transition: var(--transition-normal);
}

.gallery-placeholder::after {
    content: attr(data-label);
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy-light);
    opacity: 0.8;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    transition: var(--transition-normal);
}

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

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.08);
}


/* Lightbox Support */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, var(--color-soft-blue) 0%, var(--color-cyan-light) 100%);
    width: 600px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-navy);
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--color-cyan);
    transform: scale(1.1);
}


/* ==========================================
   11. Patient Journey (Timeline)
   ========================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-cyan) 0%, var(--color-navy-light) 100%);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transition: var(--transition-slow);
}

.timeline-item.left {
    left: 0;
    transform: translateX(-40px);
}

.timeline-item.right {
    left: 50%;
    transform: translateX(40px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--color-white);
    border: 4px solid var(--color-cyan);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-normal);
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-item.visible::after {
    background-color: var(--color-cyan);
}

.timeline-content {
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    position: relative;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

.timeline-step {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-navy-dark);
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--color-gray);
}


/* ==========================================
   12. Testimonials (Glass Carousel)
   ========================================== */
.testimonials-section {
    background: radial-gradient(circle at 90% 10%, rgba(224, 247, 250, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.testimonial-carousel.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--glass-shadow);
    text-align: center;
    position: relative;
}

.patient-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-soft-blue) 0%, var(--color-cyan-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0 auto 24px auto;
    border: 4px solid var(--color-white);
    box-shadow: var(--glass-shadow);
}

.stars {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-navy);
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 300;
}

.patient-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy-dark);
}

.patient-status {
    font-size: 0.8rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-soft-blue);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background: var(--color-cyan);
    transform: scale(1.2);
}


/* ==========================================
   13. FAQ Section (Accordion)
   ========================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    border-color: rgba(0, 188, 212, 0.3);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy-dark);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-soft-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    transition: var(--transition-normal);
}

.faq-item.active .faq-toggle {
    transform: rotate(185deg);
    background: var(--color-cyan);
    color: var(--color-white);
}

.faq-answer {
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.faq-answer-content {
    padding: 0 24px 24px 24px;
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ==========================================
   14. Appointment CTA Section
   ========================================== */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-light) 100%);
    border-radius: 32px;
    padding: 80px;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    opacity: 0;
    transform: scale(0.95);
    transition: var(--transition-slow);
}

.cta-box.visible {
    opacity: 1;
    transform: scale(1);
}

.cta-box h2 {
    color: var(--color-white);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.15rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.2) 0%, rgba(255,255,255,0) 70%);
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.cta-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
}


/* ==========================================
   15. Contact Section
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    opacity: 0;
    transform: translateX(-40px);
    transition: var(--transition-slow);
}

.contact-info.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-fast);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow-hover);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-soft-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p, .contact-card a {
    font-size: 0.9rem;
    color: var(--color-gray);
}

.contact-map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    height: 380px;
    opacity: 0;
    transform: translateX(40px);
    transition: var(--transition-slow);
}

.contact-map.visible {
    opacity: 1;
    transform: translateX(0);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-soft-blue) 0%, var(--color-cyan-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-navy-light);
    gap: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.map-placeholder span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-gray);
}


/* ==========================================
   16. Footer
   ========================================== */
footer.luxury-footer {
    background: #0B1020;
    color: var(--color-white);
    padding: 80px 0 30px 0;
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo-text, .footer-brand .logo-text span {
    color: var(--color-white);
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
    max-width: 250px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--brand-gradient);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.7;
}

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

.footer-newsletter p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 6px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 16px;
    color: var(--color-white);
    font-size: 0.85rem;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-btn {
    background: var(--color-cyan);
    color: var(--color-white);
    border-radius: 50px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    background: var(--color-white);
    color: var(--color-navy-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom strong {
    color: var(--color-cyan);
}


/* ==========================================
   17. Back to Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-cyan);
    color: var(--color-white);
    transform: translateY(-5px);
}


/* ==========================================
   18. Responsive Web Design
   ========================================== */

/* 1440px + adjustments (No changes needed, base styles cover) */

/* 1024px - Tablets Pro & Laptops */
@media screen and (max-width: 1024px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        height: 380px;
        margin-top: 40px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px - Tablets & Mobiles (Portrait) */
@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Navigation drawer */
    nav.nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    nav.nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        height: 350px;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.left, .timeline-item.right {
        left: 0;
    }
    
    .timeline-item::after {
        left: 21px;
        right: auto;
    }
    
    .timeline-item.right::after {
        left: 21px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(2), .gallery-item:nth-child(5) {
        height: 250px;
        margin-top: 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 40px;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
}

/* 480px and below - Small Screens */
@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
