/* ============================================
   SMILE CRAFT - Premium Dental Experience
   A stunning, modern website that impresses
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Smile Craft Brand Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafd;
    --bg-tertiary: #eef4fa;
    --bg-card: #ffffff;
    --bg-dark: #0a1520;
    --bg-dark-secondary: #0f1d2a;
    
    --text-primary: #0a1520;
    --text-secondary: #3d4f5c;
    --text-muted: #6b7f8c;
    --text-light: #f0f7ff;
    
    /* Main Accent - Smile Craft Blue */
    --blue-50: #f0f9ff;
    --blue-100: #d6efff;
    --blue-200: #b3e3ff;
    --blue-300: #8ed5fc;
    --blue-400: #5ebcf8;
    --blue-500: #3aa8f0;
    --blue-600: #2196e8;
    --blue-700: #1a7bc4;
    --blue-800: #1560a0;
    --blue-900: #0f4678;
    
    /* Pop Color - Coral for CTAs */
    --coral-400: #fb7185;
    --coral-500: #f43f5e;
    --coral-600: #e11d48;
    
    --accent-primary: var(--blue-400);
    --accent-secondary: var(--blue-500);
    --accent-light: var(--blue-300);
    --accent-dark: var(--blue-600);
    --accent-glow: rgba(94, 188, 248, 0.5);
    
    --border-color: rgba(94, 188, 248, 0.15);
    --border-hover: rgba(94, 188, 248, 0.35);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5ebcf8 0%, #3aa8f0 50%, #2196e8 100%);
    --gradient-light: linear-gradient(135deg, #8ed5fc 0%, #5ebcf8 100%);
    --gradient-coral: linear-gradient(135deg, var(--coral-500) 0%, var(--coral-400) 100%);
    --gradient-hero: linear-gradient(135deg, #5ebcf8 0%, #3aa8f0 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    
    /* Typography */
    --font-display: 'Quicksand', Arial, Helvetica, sans-serif;
    --font-body: 'Quicksand', Arial, Helvetica, sans-serif;
    
    /* Spacing */
    --section-padding: clamp(5rem, 12vw, 10rem);
    --container-max: 1320px;
    --container-padding: clamp(1.5rem, 5vw, 3rem);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 48px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 50%, #e8f4ff 100%);
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 50%, #e8f4ff 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 99998;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
}

.page-transition.active {
    transform: translateX(0);
    pointer-events: all;
}

.page-enter {
    animation: pageSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageSlideIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease forwards;
}

.preloader-logo .logo-icon {
    color: var(--accent-primary);
    animation: sparkle 1.5s ease-in-out infinite;
}

.preloader-logo .preloader-icon {
    height: auto;
    width: 250px;
    max-width: 80vw;
    filter: drop-shadow(0 0 0.5px rgba(0,0,0,0.3)) drop-shadow(0 0 0.5px rgba(0,0,0,0.3));
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: loadProgress 1.8s ease-in-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Default cursor - custom cursor disabled */
body, body * {
    cursor: auto;
}

body a, body button {
    cursor: pointer;
}

::selection {
    background: var(--blue-500);
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   NAVIGATION - Glassmorphism Style
   ============================================ */
.nav {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 1.5rem 0;
    transition: all var(--transition-medium);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}

.nav.scrolled {
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav.scrolled::before {
    display: none;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav-logo .logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition-fast);
    filter: drop-shadow(0 0 0.5px rgba(0,0,0,0.3)) drop-shadow(0 0 0.5px rgba(0,0,0,0.3));
}

@media (max-width: 768px) {
    .nav-logo .logo-img {
        height: 50px;
    }
}

.logo-icon {
    color: var(--blue-400);
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(15deg); opacity: 0.8; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width var(--transition-medium);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.875rem 1.75rem;
    background: var(--gradient-coral);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    background: none;
    position: relative;
    z-index: 10001;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-medium);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
}

.mobile-menu-links li {
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-medium);
}

.mobile-menu.active .mobile-menu-links li {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.mobile-menu.active .mobile-menu-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-links li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-links li:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu-links a {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.mobile-menu-links a:hover {
    color: var(--accent-primary);
}

.mobile-menu-cta {
    padding: 1.25rem 2.5rem;
    background: var(--gradient-coral);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-medium);
    transition-delay: 0.35s;
}

.mobile-menu.active .mobile-menu-cta {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.mobile-menu.active .mobile-menu-close {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ============================================
   HERO SECTION - Stunning Impact
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem var(--container-padding) var(--section-padding);
    max-width: var(--container-max);
    margin: 0 auto;
    overflow: visible;
    width: 100%;
}

/* Unified hero container background */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 80px);
    height: calc(100% - 60px);
    background: linear-gradient(
        135deg,
        #f8fbff 0%,
        #f0f7ff 50%,
        #e8f4ff 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 40px;
    z-index: 0;
    box-shadow:
        0 30px 60px -20px rgba(94, 188, 248, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    pointer-events: none;
}

/* Hero wrapper for full-width background */
.hero::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 50%, #e8f4ff 100%);
    z-index: -2;
    pointer-events: none;
}

.hero-bg {
    display: none;
}

/* Animated Gradient Mesh Background */
.hero-gradient {
    position: absolute;
    inset: -50%;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(94, 188, 248, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(58, 168, 240, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 60% 80%, rgba(142, 213, 252, 0.1) 0%, transparent 50%);
    animation: meshMove 20s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(-1%, 3%) rotate(-1deg); }
    75% { transform: translate(1%, -2%) rotate(0.5deg); }
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(94, 188, 248, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Floating Shapes */
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 8s ease-in-out infinite;
}

.hero-bg::before {
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: rgba(94, 188, 248, 0.15);
    animation-delay: 0s;
}

.hero-bg::after {
    bottom: 20%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: rgba(142, 213, 252, 0.12);
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(94, 188, 248, 0.12) 0%, rgba(142, 213, 252, 0.06) 100%);
    border: 1px solid rgba(94, 188, 248, 0.25);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blue-700);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(94, 188, 248, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(94, 188, 248, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line span {
    display: inline-block;
    animation: revealText 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes revealText {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.title-highlight {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.1em;
    background: var(--gradient-primary);
    opacity: 0.3;
    border-radius: 0.1em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Buttons - Stunning Style */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-coral);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(244, 63, 94, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary svg {
    transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(94, 188, 248, 0.08);
    color: var(--blue-700);
    border: 2px solid rgba(94, 188, 248, 0.2);
}

.btn-secondary:hover {
    background: rgba(94, 188, 248, 0.12);
    border-color: rgba(94, 188, 248, 0.4);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--blue-300), transparent);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(94, 188, 248, 0.2),
        0 0 0 1px rgba(94, 188, 248, 0.15);
}

.hero-image,
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

/* Alternative: Let video define its own size */
.hero-image-wrapper.video-natural {
    aspect-ratio: auto;
    max-height: 70vh;
}

.hero-image-wrapper.video-natural .hero-video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .hero-image-wrapper.video-natural {
        max-height: 50vh;
    }

    .hero-image-wrapper.video-natural .hero-video {
        max-height: 50vh;
    }
}

/* Vertical video styling */
.hero-image-wrapper.video-vertical {
    aspect-ratio: auto;
    min-height: 512px;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    margin-top: 11%;
}

.hero-image-wrapper.video-vertical .hero-video {
    width: 450px;
    height: auto;
    min-height: 620px;
    max-height: 88vh;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    border-radius: var(--radius-2xl);
    box-shadow:
        0 25px 50px -12px rgba(94, 188, 248, 0.2),
        0 0 0 1px rgba(94, 188, 248, 0.15);
}

.hero-image-wrapper.video-vertical .hero-video.fading {
    opacity: 0;
}

@media (max-width: 1024px) {
    .hero-image-wrapper.video-vertical {
        min-height: 400px;
        margin-top: 5%;
    }

    .hero-image-wrapper.video-vertical .hero-video {
        max-height: 65vh;
        min-height: 400px;
    }
}

/* Mobile title - hidden by default */
.hero-title-mobile {
    display: none;
}

@media (max-width: 640px) {
    .hero {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 0;
        padding-bottom: 2rem;
        gap: 0;
        min-height: auto;
    }

    .hero::after {
        width: calc(100% + 20px);
        height: calc(100% - 20px);
        border-radius: 24px;
        top: 55%;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Show mobile title above video */
    .hero-title-mobile {
        display: block;
        font-size: clamp(2rem, 8vw, 2.5rem);
        font-weight: 700;
        line-height: 1.1;
        text-align: center;
        padding-top: 80px;
        margin-top: 4rem;
        margin-bottom: 4rem;
        color: var(--text-primary);
    }

    .hero-title-mobile .title-highlight {
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Hide the original title on mobile */
    .hero-content .hero-title {
        display: none;
    }

    .hero-image-wrapper.video-vertical {
        margin-top: 0;
        width: 100%;
        max-height: 600vh;
    }

    .hero-image-wrapper.video-vertical .hero-video {
        width: 100%;
        height: auto;
        min-height: 500px;
        object-fit: cover;
    }
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--bg-tertiary) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: var(--blue-600);
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(94, 188, 248, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(142, 213, 252, 0.1) 0%, transparent 40%);
}

.placeholder-icon {
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.hero-image-placeholder span {
    font-weight: 500;
    opacity: 0.6;
}

.hero-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 70%;
    height: 70%;
    background: var(--gradient-primary);
    opacity: 0.15;
    border-radius: var(--radius-2xl);
    z-index: -1;
    filter: blur(40px);
}

/* Floating Cards - Glassmorphism */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(94, 188, 248, 0.1);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 12%;
    left: -15%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 18%;
    right: -10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.card-icon {
    font-size: 2rem;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--blue-400), transparent);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--blue-600);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { top: 0; }
    50% { top: 70%; }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.title-accent {
    color: var(--blue-500);
    font-style: italic;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header .section-tag::before {
    display: none;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-200), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.feature:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--blue-300);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    color: #ffffff;
    flex-shrink: 0;
}

.feature span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-img.img-1 {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.about-img.img-2,
.about-img.img-3 {
    aspect-ratio: 1;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-500);
    font-size: 0.95rem;
    font-weight: 500;
}

.about-accent-shape {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
}

/* ============================================
   GALLERY SECTION - Simple Slider
   ============================================ */
.gallery {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.gallery .section-header.center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.slider-container {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--bg-tertiary);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: flex-start;
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img,
.slide video {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-lg);
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-fast);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}

/* Dots Navigation */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.slider-dot:hover {
    background: var(--blue-300);
}

.slider-dot.active {
    background: var(--blue-500);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 1100px) {
    .gallery-slider {
        max-width: calc(100% - 60px);
    }
    
    .slider-prev {
        left: -20px;
    }
    
    .slider-next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .gallery-slider {
        max-width: calc(100% - 2rem);
    }
    
    .slider-container {
        border-radius: var(--radius-xl);
    }
    
    .slide img,
    .slide video {
        max-height: 50vh;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: -10px;
    }
    
    .slider-next {
        right: -10px;
    }
    
    .slider-dots {
        margin-top: 1rem;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 21, 32, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    position: relative;
    overflow: hidden;
}

.services-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.services-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(94, 188, 248, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(142, 213, 252, 0.06) 0%, transparent 50%);
}

.services-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-top: 2rem;
}

.services-grid {
    display: flex;
    gap: 2rem;
    animation: servicesScroll 30s linear infinite;
    width: max-content;
}

@keyframes servicesScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.service-card {
    flex: 0 0 350px;
    min-width: 350px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.service-card:hover {
    border-color: var(--blue-300);
    transform: translateY(-12px);
    box-shadow: 
        0 30px 60px rgba(94, 188, 248, 0.12),
        0 0 0 1px rgba(94, 188, 248, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-50) 0%, rgba(94, 188, 248, 0.1) 100%);
    border-radius: var(--radius-md);
    color: var(--blue-600);
    margin-bottom: 1.75rem;
    transition: all var(--transition-medium);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 500;
    margin-bottom: 0.875rem;
    color: var(--text-primary);
}

.service-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
    background: var(--bg-secondary);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-300), transparent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-medium);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.team-card:hover {
    border-color: var(--blue-300);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(94, 188, 248, 0.1);
}

.team-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--bg-tertiary) 100%);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform var(--transition-medium);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-400);
}

.team-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
    pointer-events: none;
}

.team-info {
    padding: 1.75rem;
}

.team-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.team-role {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-600);
    margin-bottom: 1.25rem;
}

.team-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.team-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.credential {
    padding: 0.625rem 1.125rem;
    background: linear-gradient(135deg, var(--blue-50) 0%, rgba(94, 188, 248, 0.08) 100%);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--blue-700);
}

/* ============================================
   REVIEWS SECTION - BIRDEYE WIDGET
   ============================================ */
.reviews-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(94, 188, 248, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(142, 213, 252, 0.06) 0%, transparent 50%),
        var(--bg-secondary);
    z-index: 0;
}

.reviews-section .container {
    position: relative;
    z-index: 1;
}

.birdeye-widget-container {
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 
        0 25px 80px rgba(94, 188, 248, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.birdeye-widget-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 10;
}

.birdeye-widget-container iframe {
    display: block;
    width: 100%;
    min-height: 620px;
    border: none;
}

@media (max-width: 768px) {
    .birdeye-widget-container iframe {
        min-height: 750px;
    }
}

/* ============================================
   TESTIMONIALS SECTION (FALLBACK)
   ============================================ */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.testimonials-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--bg-secondary), transparent);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-medium);
}

.testimonial-card:hover {
    border-color: var(--blue-200);
    box-shadow: 0 20px 50px rgba(94, 188, 248, 0.08);
}

.testimonial-stars {
    display: flex;
    gap: 0.375rem;
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Testimonials Navigation */
.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    background: var(--gradient-primary);
    border-color: var(--blue-500);
    color: #ffffff;
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 0.625rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--blue-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    width: 40px;
    border-radius: 100px;
    background: var(--gradient-primary);
}

.dot:hover:not(.active) {
    background: var(--blue-300);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-300), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--blue-300);
    transform: translateX(8px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    color: #ffffff;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

a.contact-value:hover {
    color: var(--blue-600);
}

.contact-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Booking Card Styles */
.booking-card {
    text-align: center;
    padding: 2.5rem;
}

.booking-card .form-title {
    margin-bottom: 0.75rem;
}

.booking-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.booking-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.booking-divider::before,
.booking-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.booking-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--blue-50);
    border-radius: var(--radius-md);
    color: var(--blue-700);
    font-size: 0.9rem;
    font-weight: 500;
}

.booking-note svg {
    flex-shrink: 0;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.625rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-400);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(94, 188, 248, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b817c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   MAP SECTION - Google Maps Style
   ============================================ */
.map-section {
    position: relative;
}

.map-container {
    position: relative;
    width: 100%;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    filter: saturate(1.1) contrast(1.05);
}

.map-info-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: white;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    min-width: 280px;
    font-family: 'Roboto', Arial, sans-serif;
    z-index: 10;
}

.map-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.map-info-header .map-logo {
    width: 80px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.map-info-header h4 {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.map-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #1a1a1a;
}

.map-address {
    font-size: 14px;
    color: #5f6368;
    line-height: 1.5;
    margin-bottom: 14px;
    padding-left: 52px;
}

.map-directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #1a73e8;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease;
}

.map-directions-btn:hover {
    background: #1557b0;
}

.map-directions-btn svg {
    stroke: white;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 350px;
    }
    
    .map-info-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin: -60px 16px 0;
        min-width: auto;
    }
    
    .map-address {
        padding-left: 0;
    }
}

/* ============================================
   FOOTER - Dark & Elegant
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(94, 188, 248, 0.25) 0%, transparent 70%);
    filter: blur(80px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-light);
}

.footer-logo .logo-img {
    height: 60px;
    width: auto;
}

.footer-logo .logo-icon {
    color: var(--blue-400);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    max-width: 320px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
    color: var(--text-light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--blue-400);
    padding-left: 8px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.625rem;
    font-size: 1rem;
}

.footer-contact a {
    color: var(--blue-400);
    font-weight: 500;
}

.footer-contact a:hover {
    color: var(--blue-300);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
}

.footer-legal {
    display: flex;
    gap: 2.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
}

.footer-legal a:hover {
    color: var(--blue-400);
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* Staggered animations */
[data-animate][data-delay="100"] { transition-delay: 0.1s; }
[data-animate][data-delay="200"] { transition-delay: 0.2s; }
[data-animate][data-delay="300"] { transition-delay: 0.3s; }
[data-animate][data-delay="400"] { transition-delay: 0.4s; }
[data-animate][data-delay="500"] { transition-delay: 0.5s; }
[data-animate][data-delay="600"] { transition-delay: 0.6s; }

/* ============================================
   SIMPLE TEXT ANIMATIONS
   ============================================ */

/* Title accent underline animation */
.title-accent {
    position: relative;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    width: 0;
    height: 0.08em;
    background: var(--gradient-primary);
    opacity: 0.3;
    border-radius: 0.1em;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

[data-animate].animated .title-accent::after,
.title-accent.animated::after {
    width: 100%;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero::after {
        width: calc(100% + 40px);
        height: calc(100% - 40px);
        border-radius: 32px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .floating-card {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-tagline {
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--blue-400), transparent);
    }
    
    .stat {
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
}

/* ============================================
   SPECIAL EFFECTS
   ============================================ */

/* Shimmer effect for buttons */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::after {
    left: 100%;
}

/* Gradient text animation */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.title-highlight {
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

/* ============================================
   USERWAY ACCESSIBILITY WIDGET POSITIONING
   ============================================ */
.uwy.userway_p3 .userway_buttons_wrapper,
.uwy .userway_buttons_wrapper {
    bottom: 100px !important;
    right: 24px !important;
}

/* ============================================
   FLOATING CONTACT BUTTON (NEW)
   ============================================ */
#floating-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

#float-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #5ebcf8 0%, #3b82f6 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(94, 188, 248, 0.5);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

#float-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(94, 188, 248, 0.6);
}

#float-toggle svg {
    width: 26px;
    height: 26px;
    transition: opacity 0.2s, transform 0.2s;
}

#float-toggle .icon-x {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
}

#floating-contact.open #float-toggle {
    background: #ef4444;
}

#floating-contact.open #float-toggle .icon-phone {
    opacity: 0;
    transform: rotate(90deg);
}

#floating-contact.open #float-toggle .icon-x {
    opacity: 1;
    transform: rotate(0deg);
}

.float-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

#floating-contact.open .float-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: white;
    color: #1a1a2e;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.float-item:hover {
    transform: translateX(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.float-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.float-item:nth-child(1) svg {
    color: #4A90E2;
}

.float-item:nth-child(2) svg {
    color: #22c55e;
}

.float-item:nth-child(3) svg {
    color: #3b82f6;
}



@media (max-width: 768px) {
    #floating-contact {
        bottom: 20px;
        right: 20px;
    }

    #float-toggle {
        width: 54px;
        height: 54px;
    }
}

/* Social links in footer */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--blue-500);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   DOCTOR MODALS - Simple W3Schools Style
   ============================================ */

/* Lock body scroll when modal is open */
body.modal-open,
html:has(.doctor-modal.active) {
    overflow: hidden !important;
    height: 100% !important;
}

.doctor-modal {
    display: none;
    position: fixed;
    z-index: 9999999;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 21, 32, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* Flexbox centering */
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.doctor-modal.active {
    display: flex;
}

.modal-content {
    max-width: 800px;
    width: 100%;
    position: relative;
    background: #ffffff;
    padding: 0;
    border-radius: var(--radius-xl);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--blue-500);
    border-color: var(--blue-500);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--blue-100);
    box-shadow: 0 8px 25px rgba(94, 188, 248, 0.2);
}

.modal-title-group {
    flex: 1;
}

.modal-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.modal-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-body {
    padding: 2rem 2.5rem 2.5rem;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.modal-body p:last-of-type {
    margin-bottom: 0;
}

/* Missions Gallery */
.modal-missions {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.modal-missions h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.missions-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.missions-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.missions-gallery img:hover {
    transform: scale(1.05);
}

/* Read more hint on team cards */
.read-more-hint {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--blue-500);
    font-weight: 500;
    opacity: 0;
    transform: translateY(5px);
    transition: all var(--transition-fast);
}

.team-card:hover .read-more-hint {
    opacity: 1;
    transform: translateY(0);
}

.team-card[data-modal] {
    cursor: pointer;
}

/* Modal responsive */
@media (max-width: 768px) {
    .doctor-modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .modal-avatar {
        width: 80px;
        height: 80px;
    }
    
    .modal-name {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body p {
        font-size: 1rem;
    }
    
    .missions-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   USERWAY ACCESSIBILITY WIDGET POSITIONING
   ============================================ */
/* UserWay widget is moved inside #floating-contact via JS */
#floating-contact .uwy {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    width: auto !important;
    display: block !important;
    overflow: visible !important;
}

#floating-contact .uwy .uai,
#floating-contact .uwy button,
#floating-contact .uwy > * {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
    float: right !important;
    transform: translate(-4px, 2px) !important;
}

/* Allow UserWay iframe to expand */
#floating-contact .uwy iframe.uwif {
    position: fixed !important;
    bottom: 100px !important;
    right: 24px !important;
    left: auto !important;
    top: auto !important;
    width: 350px !important;
    height: 70vh !important;
    max-height: 600px !important;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(10px);
    padding: 20px 24px;
    z-index: 9999999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 1px solid rgba(74, 144, 226, 0.3);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
}

.cookie-consent-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-text a {
    color: var(--accent-primary);
    text-decoration: none;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
    position: relative;
    z-index: 10;
    -webkit-appearance: none;
    appearance: none;
}

.cookie-btn-accept {
    background: var(--gradient-primary);
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

@media (max-width: 600px) {
    .cookie-consent {
        padding: 16px;
        padding-bottom: 20px;
        bottom: 0;
    }

    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
        gap: 16px;
    }

    .cookie-btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-height: 48px;
        min-width: 100px;
    }
}
