/* 
    PREMIUM DENTAL CLINIC - DESIGN SYSTEM 
    Color Palette: Medical Trust (Blue + White + Slate)
*/

:root {
    /* Primary Colors - Midnight Serenity */
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #0ea5e9;
    --accent-hover: #0284c7;
    --highlight: #f59e0b;

    /* Neutral Colors */
    --white: #ffffff;
    --bg-main: #f8fafc;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(16px);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Layout */
    --container-width: 1280px;
    --section-padding: clamp(80px, 12vw, 140px) 0;
    --border-radius-sm: 12px;
    --border-radius: 24px;
    --border-radius-lg: 40px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    --shadow-premium: 0 25px 50px -12px rgba(14, 165, 233, 0.2);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    line-height: 1.6;
    background-color: var(--white);
    background-image: 
        radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.03) 0, transparent 50%),
        radial-gradient(at 50% 0%, rgba(15, 23, 42, 0.03) 0, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

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

/* --- REUSABLE UTILITIES --- */

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title p {
    color: var(--slate-700);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 20px 48px;
    font-size: 1.05rem;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--slate-100);
    transform: translateY(-3px);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

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

.pulse {
    animation: pulse 2s infinite;
}

/* --- HEADER & TOP BAR --- */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 30px;
}

.top-info span i {
    color: var(--accent);
    margin-right: 8px;
}

.top-social {
    display: flex;
    gap: 15px;
}

.top-social a {
    color: var(--white);
    opacity: 0.8;
}

.top-social a:hover {
    color: var(--accent);
    opacity: 1;
}

header {
    height: 100px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

header.sticky {
    height: 80px;
    box-shadow: var(--shadow-md);
}

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

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

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.brand-tagline {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.2em;
    margin-top: 4px;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-light);
    position: relative;
    padding: 10px 0;
}

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

.nav-link:hover {
    color: var(--accent);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 90vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.05) 0%, rgba(255, 255, 255, 1) 90%);
    position: relative;
    overflow: hidden;
}

/* Floating Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    bottom: -50px;
    left: -50px;
}

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

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: var(--slate-100);
    color: var(--accent);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid var(--slate-200);
    backdrop-filter: var(--glass-blur);
}

.hero-text h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--primary);
    margin-bottom: 30px;
    line-height: 1.0;
    letter-spacing: -0.04em;
}

.text-accent {
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--slate-700);
    margin-bottom: 48px;
    max-width: 550px;
    font-weight: 500;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    border-top: 1px solid var(--slate-200);
    padding-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--slate-700);
    font-weight: 600;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
}

.main-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: visible;
    /* To allow floating cards to pop out */
}

.hero-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--slate-100);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 8px solid var(--white);
}

.hero-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: var(--transition-smooth);
}

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

.placeholder-text {
    color: var(--slate-300);
    font-weight: 800;
    font-size: 1.5rem;
    text-align: center;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: -10%;
    color: #22c55e;
}

.card-2 {
    bottom: 10%;
    right: -10%;
    flex-direction: column;
    align-items: flex-start;
    animation-delay: 2s;
}

.card-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--slate-200);
    border: 2px solid var(--white);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.others {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-left: 10px;
}

@keyframes float {

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

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

/* --- SERVICES --- */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.sub-title {
    display: inline-block;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--slate-100);
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon-box {
    width: 80px;
    height: 80px;
    background: var(--slate-50);
    color: var(--accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background: var(--accent);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.service-info p {
    color: var(--slate-700);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-link {
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-link {
    gap: 15px;
}

/* --- WHY CHOOSE US --- */
.why-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.why-item {
    display: flex;
    gap: 20px;
}

.why-icon {
    width: 50px;
    height: 50px;
    background: var(--slate-100);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.why-item:hover .why-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.why-item h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--slate-700);
}

/* Image Box */
.why-us-image-box {
    position: relative;
    padding-left: 40px;
}

.why-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--slate-100);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    border: 8px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: var(--transition-smooth);
}

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

.placeholder-text {
    position: absolute;
    color: var(--slate-300);
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    z-index: 1;
}

.experience-card {
    position: absolute;
    top: 40px;
    left: 0;
    background: var(--accent);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-premium);
    z-index: 10;
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 800;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- GALLERY --- */
/* --- GALLERY SLIDER --- */
.gallery-slider-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0 40px;
}

.gallery-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

.gallery-slide {
    flex: 0 0 calc(33.333% - 20px);
    width: 100%;
    background: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.gallery-slide:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.gallery-info {
    padding: 20px 10px 10px;
    text-align: center;
}

.gallery-info h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.gallery-info span {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Comparison Container Adjustments */
.comparison-container {
    height: 350px; /* Slightly smaller for slider */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    cursor: ew-resize;
    position: relative;
    overflow: hidden;
}

.slider-handle {
    width: 4px;
    background: var(--white);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.handle-circle {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--white);
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-before {
    z-index: 1;
    width: 50%;
    /* JS will control this */
    border-right: 2px solid var(--white);
}

.gallery-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    background: var(--slate-200);
}

/* Slider Controls */
.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--slate-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.gallery-btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: scale(1.1);
}

.gallery-dots {
    display: flex;
    gap: 10px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    background: var(--slate-300);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 20px;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .gallery-slide {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .gallery-slide {
        flex: 0 0 100%;
    }
    
    .comparison-container {
        height: 300px;
    }
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    background: var(--bg-main);
}

.slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.testimonial-container {
    position: relative;
    min-height: 400px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    padding: 60px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.2;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 1.5rem;
    color: var(--primary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 40px;
}

.patient-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.patient-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.patient-meta {
    text-align: left;
}

.patient-meta strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
}

.patient-meta span {
    color: var(--slate-700);
    font-size: 0.9rem;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.slider-btn {
    background: var(--white);
    border: 1px solid var(--slate-200);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--primary);
}

.slider-btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--slate-300);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 20px;
}

/* --- SPECIAL OFFER --- */
.special-offer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    margin: 60px 0;
}

.offer-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.2;
    top: -50px;
    left: -50px;
}

.offer-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 24px;
}

.special-offer h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.special-offer p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* --- DOCTOR SECTION --- */
.doctor-section {
    padding: var(--section-padding);
}

.doctor-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.doctor-image-box {
    position: relative;
    padding-right: 20px;
}

.doctor-frame {
    position: absolute;
    top: -20px;
    right: 0;
    width: 80%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: var(--border-radius-lg);
    z-index: 1;
}

.doctor-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--slate-100);
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 8px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: var(--transition-smooth);
}

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

.doctor-experience {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctor-experience strong {
    font-size: 2rem;
    color: var(--accent);
}

.doctor-experience span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

.bio-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.bio-item {
    display: flex;
    gap: 15px;
}

.bio-icon {
    width: 44px;
    height: 44px;
    background: var(--slate-100);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.doctor-signature {
    background: var(--bg-main);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
}

.doctor-signature p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.sig-meta strong {
    display: block;
    color: var(--accent);
}

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 80px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-100);
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateX(10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--slate-50);
    color: var(--accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-details span {
    display: block;
    font-size: 0.85rem;
    color: var(--slate-700);
    margin-bottom: 4px;
}

.info-details strong {
    font-size: 1.1rem;
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--slate-200);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--slate-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.btn-full {
    width: 100%;
    gap: 12px;
}

.map-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* --- FOOTER --- */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0 40px;
}

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

.footer-brand p {
    margin: 24px 0 32px;
    opacity: 0.7;
    line-height: 1.8;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-nav h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.footer-nav ul li,
.footer-services ul li {
    margin-bottom: 16px;
}

.footer-nav ul li a,
.footer-services ul li a {
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.footer-nav ul li a:hover,
.footer-services ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 10px;
}

.newsletter-form {
    display: flex;
    margin-top: 24px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background: var(--accent-hover);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.9rem;
}

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

.footer-legal a {
    color: var(--white);
    opacity: 0.5;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    opacity: 1;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-content,
    .why-us-wrapper,
    .doctor-wrapper {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1001;
        display: flex;
        flex-direction: column;
        padding: 120px 40px;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        transform: translateX(-100%);
        right: -100%;
    }

    .nav-list {
        flex-direction: column;
        gap: 30px;
    }

    .nav-link {
        font-size: 1.2rem;
        color: var(--primary);
    }

    .mobile-toggle {
        display: flex;
        z-index: 1002;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content,
    .why-us-wrapper,
    .doctor-wrapper,
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-header,
    .doctor-bio {
        text-align: center !important;
    }

    .cta-group,
    .hero-stats,
    .patient-profile,
    .bio-features {
        justify-content: center;
    }

    .hero-image-wrapper {
        order: -1;
        margin-bottom: 60px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .why-us-image-box {
        order: -1;
        margin-bottom: 60px;
        padding-left: 0;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social,
    .newsletter-form {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .nav-btn {
        display: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

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

    .special-offer h2 {
        font-size: 2rem;
    }

    .testimonial-slide {
        padding: 40px 20px;
    }
}

/* Floating Buttons */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.sticky-mobile-book {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--accent);
    color: var(--white);
    text-align: center;
    padding: 18px;
    font-weight: 800;
    z-index: 1001;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .sticky-mobile-book {
        display: block;
    }

    .floating-whatsapp {
        bottom: 90px;
    }
}

/* Animations */
.fade-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up {
    transform: translateY(40px);
}

.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-right {
    transform: translateX(40px);
}

.visible {
    opacity: 1;
    transform: translate(0);
}