/* style.css — Tharians Dental Clinic | Premium 3D Overhaul */

:root {
    --teal-primary: #0fa5a5;
    --teal-deep: #088a8a;
    --teal-light: #e0f7f5;
    --teal-hover: #0d9494;
    --teal-glow: #72f5da;
    --white: #ffffff;
    --slate-gray: #475569;
    --slate-light: #f1f5f9;
    --slate-dark: #1e293b;
    --accent: #f59e0b;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 20px -4px rgba(0,0,0,0.08), 0 4px 8px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.12);
    --shadow-3d: 0 20px 60px -15px rgba(0,128,128,0.2), 0 10px 20px -10px rgba(0,0,0,0.08);
    --glass-bg: rgba(255,255,255,0.08);
    --glass-bg-solid: rgba(12, 32, 32, 0.88);
    --glass-border: rgba(255,255,255,0.18);
    --glass-border-teal: rgba(94,236,208,0.2);
    --card-text: #f0f7f7;
    --card-text-muted: rgba(255,255,255,0.65);
    --dept-ortho: #6ee7b7;
    --dept-endo: #93c5fd;
    --dept-surgery: #fca5a5;
    --dept-prosth: #c4b5fd;
    --dept-pedia: #fdba74;
    --dept-perio: #67e8f9;
    --dept-radio: #fde68a;
    --dept-general: #d1d5db;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--slate-dark);
    line-height: 1.6;
    background: linear-gradient(170deg, #0e1e2e 0%, #0a2626 35%, #0d2f2f 65%, #0b1a1a 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--slate-dark); line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
.text-teal { color: var(--teal-primary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── PARALLAX BG LAYER ───────────────────────── */
.parallax-bg {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none; overflow: hidden;
}
.parallax-shape {
    position: absolute; border-radius: 50%;
    opacity: 0.04; filter: blur(60px);
    will-change: transform;
}
.parallax-shape:nth-child(1) { width: 500px; height: 500px; background: var(--teal-primary); top: 10%; left: -5%; }
.parallax-shape:nth-child(2) { width: 400px; height: 400px; background: var(--teal-glow); top: 40%; right: -8%; }
.parallax-shape:nth-child(3) { width: 350px; height: 350px; background: var(--teal-deep); bottom: 10%; left: 20%; }

/* ─── SCROLL REVEAL BASE ─────────────────────── */
.reveal {
    opacity: 0; transform: translateY(50px);
    will-change: transform, opacity;
}
.reveal.revealed {
    opacity: 1; transform: translateY(0);
}

/* ─── LOADER ──────────────────────────────────── */
#loader {
    position: fixed; inset: 0; z-index: 9999;
    background: linear-gradient(135deg, #0a1818 0%, #0e2424 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.loader-center {
    position: relative; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(20,184,166,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.progress-ring {
    position: absolute; inset: 0; width: 100%; height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}
.ring-bg {
    fill: none; stroke: rgba(114,245,218,0.1); stroke-width: 3;
}
.ring-fill {
    fill: none; stroke: var(--teal-glow); stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 339.292; /* 2π × 54 */
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 0.1s linear;
    filter: drop-shadow(0 0 15px rgba(20, 184, 166, 0.8));
}
#loaderCanvas {
    position: absolute; top: 15px; left: 15px;
    width: 170px; height: 170px;
}
.loader-overlay {
    margin-top: 2rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
#counter {
    font-family: 'Montserrat', monospace;
    font-size: 1.4rem; font-weight: 700;
    color: var(--teal-glow); letter-spacing: 3px;
}
.loader-tagline {
    font-family: var(--font-heading);
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 5px;
}
#loader.done { pointer-events: none; }

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.875rem 1.75rem; border-radius: 50px; font-weight: 600;
    text-decoration: none; transition: var(--transition); cursor: pointer;
    border: none; font-size: 1rem; font-family: var(--font-body);
}
.btn-primary { background: var(--teal-primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-hover); transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-3d); }
.btn-secondary { background: var(--white); color: var(--slate-dark); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--slate-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-emergency { background: #ef4444; color: var(--white); padding: 0.6rem 1.2rem; font-size: 0.9rem; box-shadow: 0 4px 14px rgba(239,68,68,0.4); }
.btn-emergency:hover { background: #dc2626; transform: translateY(-2px); }
.btn-3d {
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
    color: var(--white); box-shadow: var(--shadow-3d);
    position: relative; overflow: hidden;
}
.btn-3d::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
}
.btn-3d:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 25px 60px -15px rgba(0,128,128,0.35); }

/* ─── NAVBAR (Glassmorphism) ─────────────────── */
.navbar {
    position: fixed; top:0; left:0; width: 100%; z-index: 1000;
    padding: 1.25rem 0; transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    padding: 0.9rem 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--slate-dark); }
.logo-accent { color: var(--teal-primary); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    text-decoration: none; color: var(--slate-dark); font-weight: 500;
    font-size: 0.95rem; transition: var(--transition); position: relative;
}
.navbar:not(.scrolled) .nav-links a, .navbar:not(.scrolled) .logo-text { color: var(--white); }
.navbar:not(.scrolled) .logo-accent { color: var(--teal-light); }
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -4px; left: 0; background: var(--teal-primary); transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

/* Mobile Nav */
.mobile-menu-btn {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; z-index: 1001;
}
.bar { width: 25px; height: 3px; background: var(--slate-dark); transition: var(--transition); border-radius: 3px; }
.navbar:not(.scrolled) .bar { background: var(--white); }
.mobile-nav-overlay {
    position: fixed; inset:0; background: var(--white); z-index: 999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transform: translateY(-100%); transition: var(--transition); opacity: 0;
}
.mobile-nav-overlay.active { transform: translateY(0); opacity: 1; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mobile-nav-links a { font-family: var(--font-heading); font-size: 1.5rem; text-decoration: none; color: var(--slate-dark); font-weight: 700; }

/* ─── HERO ────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(135deg, var(--slate-dark) 0%, #0a2a2a 100%);
    overflow: hidden; z-index: 1;
}
#heroCanvas { position: absolute; inset:0; width: 100%; height: 100%; z-index: 0; }
.hero-overlay {
    position: absolute; inset:0;
    background: linear-gradient(135deg, rgba(0,30,30,0.55) 0%, rgba(10,10,30,0.35) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; color: var(--white); }
.hero-text-wrapper { max-width: 700px; }
.hero-text-wrapper h1 {
    font-weight: 800;
    background: linear-gradient(to right, #FFFFFF, #2DD4BF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.badge {
    display: inline-block; padding: 0.5rem 1rem;
    background: var(--glass-bg); backdrop-filter: blur(10px);
    border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 1.5rem; border: 1px solid var(--glass-border);
}
.sub-headline { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-text-wrapper .badge,
.hero-text-wrapper .sub-headline,
.hero-text-wrapper .hero-buttons {
    opacity: 0; transform: translateY(30px);
}

/* ─── GLASS 3D CARD ──────────────────────────── */
.glass-card {
    background: var(--glass-bg-solid);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border-teal);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(94,236,208,0.08);
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.glass-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94,236,208,0.5), transparent);
    opacity: 0.4; transition: opacity 0.4s;
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(0,128,128,0.3), inset 0 1px 0 rgba(94,236,208,0.15);
    border-color: rgba(94,236,208,0.35);
}

/* ─── CONTENT WRAPPER (above parallax) ───────── */
.content-wrapper { position: relative; z-index: 1; }

/* ─── SECTIONS SHARED ─────────────────────────── */
section { padding: 6rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-header h2 { color: var(--white); }
.section-header p { color: rgba(255,255,255,0.6); font-size: 1.1rem; }
.section-label {
    display: inline-block; padding: 0.4rem 1rem; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 1rem;
    background: rgba(0,128,128,0.15); color: var(--teal-glow);
    border: 1px solid rgba(0,128,128,0.2);
}

/* ─── WHY CHOOSE US ──────────────────────────── */
.why-section { background: transparent; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why-card {
    padding: 2.5rem 2rem; text-align: center;
    perspective: 800px;
}
.why-card .glass-card { padding: 2.5rem 2rem; height: 100%; }
.why-icon {
    width: 80px; height: 80px; margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgba(0,128,128,0.15), rgba(94,236,208,0.1));
    border-radius: 20px; border: 1px solid rgba(0,128,128,0.2);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}
.why-card:hover .why-icon { transform: rotateY(15deg) rotateX(-10deg) scale(1.1); }
.why-card h3 { color: var(--card-text); font-size: 1.2rem; margin-bottom: 0.75rem; }
.why-card p { color: var(--card-text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ─── SERVICES IMAGE GRID ────────────────────── */
.services-section { background: transparent; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
    cursor: pointer;
}
.service-card-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,165,165,0.15) 0%, rgba(10,30,30,0.6) 100%);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 0;
}
.service-card:hover .service-card-bg {
    transform: scale(1.1);
}
.service-card-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(10, 30, 30, 0.25) 0%,
        rgba(10, 30, 30, 0.55) 40%,
        rgba(10, 30, 30, 0.88) 100%
    );
    transition: background 0.4s ease;
}
.service-card:hover .service-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(15, 165, 165, 0.1) 0%,
        rgba(10, 30, 30, 0.5) 30%,
        rgba(10, 30, 30, 0.92) 100%
    );
}
.service-card-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 2rem 1.75rem;
}
.service-card h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.service-card p {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.service-doctors {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(114,245,218,0.2);
}
.service-dr-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal-glow);
    margin-bottom: 0.15rem;
}
.service-dr-name {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 500;
}
.service-dr-name em {
    font-style: normal;
    color: rgba(255,255,255,0.45);
    font-size: 0.78rem;
}
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(114,245,218,0.15);
    z-index: 3;
    pointer-events: none;
    transition: border-color 0.4s ease;
}
.service-card:hover::after {
    border-color: rgba(114,245,218,0.4);
}


/* ─── SPECIALISTS ─────────────────────────────── */
.specialists-section { background: transparent; }
.chief-surgeon-card {
    background: linear-gradient(135deg, var(--slate-dark) 0%, var(--teal-hover) 100%);
    color: var(--white); border-radius: 20px; padding: 3rem;
    margin-bottom: 3rem; text-align: center;
    box-shadow: var(--shadow-3d); position: relative; overflow: hidden;
}
.chief-surgeon-card::after {
    content: ''; position: absolute; top:0; right:0;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(94,236,208,0.12) 0%, transparent 70%);
    border-radius: 50%; transform: translate(50%, -50%);
}
.role-badge {
    display: inline-block; padding: 0.4rem 1rem;
    background: rgba(94,236,208,0.2); border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 1rem; color: var(--teal-glow);
}
.chief-surgeon-card h3 { color: var(--white); font-size: 2rem; margin-bottom: 0.5rem; }
.degree { font-size: 1.2rem; opacity: 0.8; color: var(--teal-glow); }

/* Filter Tabs */
.filter-tabs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
    margin-bottom: 2.5rem;
}
.filter-tab {
    padding: 0.5rem 1.2rem; border-radius: 50px; border: 1px solid rgba(0,128,128,0.3);
    background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.7);
    font-size: 0.85rem; font-weight: 500; cursor: pointer;
    transition: var(--transition); font-family: var(--font-body);
    backdrop-filter: blur(8px);
}
.filter-tab:hover, .filter-tab.active {
    background: var(--teal-primary); color: var(--white);
    border-color: var(--teal-primary); box-shadow: 0 4px 15px rgba(0,128,128,0.3);
}

.specialist-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
    perspective: 1200px;
}
.specialist-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.specialist-card .glass-card {
    padding: 1.5rem; height: 100%;
    display: flex; align-items: center; gap: 1rem;
    background: rgba(15, 165, 165, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(15, 165, 165, 0.2);
}
.specialist-card:hover { transform: translateY(-6px) scale(1.05); z-index: 2; }
.specialist-card:hover .glass-card {
    box-shadow: 0 25px 50px -15px rgba(0,128,128,0.35);
    border-color: rgba(94,236,208,0.4);
}
/* Avatar circle */
.dr-avatar {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
    color: #0b1a1a; letter-spacing: -0.5px;
}
.dr-avatar[data-dept="orthodontics"] { background: var(--dept-ortho); }
.dr-avatar[data-dept="endodontics"] { background: var(--dept-endo); }
.dr-avatar[data-dept="surgery"] { background: var(--dept-surgery); }
.dr-avatar[data-dept="prosthodontics"] { background: var(--dept-prosth); }
.dr-avatar[data-dept="pediatric"] { background: var(--dept-pedia); }
.dr-avatar[data-dept="periodontics"] { background: var(--dept-perio); }
.dr-avatar[data-dept="radiology"] { background: var(--dept-radio); }
.dr-avatar[data-dept="general"] { background: var(--dept-general); }
.dr-info { flex: 1; min-width: 0; }
.specialist-card .dept-tag {
    display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px;
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    margin-bottom: 0.4rem; letter-spacing: 0.5px;
}
.dept-tag[data-dept="orthodontics"] { background: rgba(110,231,183,0.15); color: var(--dept-ortho); }
.dept-tag[data-dept="endodontics"] { background: rgba(147,197,253,0.15); color: var(--dept-endo); }
.dept-tag[data-dept="surgery"] { background: rgba(252,165,165,0.15); color: var(--dept-surgery); }
.dept-tag[data-dept="prosthodontics"] { background: rgba(196,181,253,0.15); color: var(--dept-prosth); }
.dept-tag[data-dept="pediatric"] { background: rgba(253,186,116,0.15); color: var(--dept-pedia); }
.dept-tag[data-dept="periodontics"] { background: rgba(103,232,249,0.15); color: var(--dept-perio); }
.dept-tag[data-dept="radiology"] { background: rgba(253,230,138,0.15); color: var(--dept-radio); }
.dept-tag[data-dept="general"] { background: rgba(209,213,219,0.15); color: var(--dept-general); }
.specialist-card h4 { color: var(--teal-glow); font-size: 1.15rem; margin-bottom: 0.15rem; font-weight: 600; }
.specialist-card .qual {
    color: var(--card-text-muted); font-size: 0.8rem;
    display: inline-block;
}
.specialist-card .reg-info {
    color: rgba(255,255,255,0.4); font-size: 0.72rem; margin-top: 0.35rem;
    max-height: 0; overflow: hidden; transition: all 0.35s ease;
}
.specialist-card:hover .reg-info { max-height: 40px; }

/* ─── REVIEWS / SOCIAL PROOF ─────────────────── */
.reviews-section { background: transparent; overflow: hidden; }
.reviews-showcase { position: relative; max-width: 900px; margin: 0 auto; }
.review-aggregate {
    text-align: center; margin-bottom: 3rem;
}
.review-stars { color: var(--accent); font-size: 2.5rem; letter-spacing: 4px; margin-bottom: 0.5rem; }
.review-stars .half-star {
    position: relative; display: inline-block; color: transparent;
    background: linear-gradient(90deg, var(--accent) 50%, rgba(255,255,255,0.2) 50%);
    -webkit-background-clip: text; background-clip: text;
}
.review-score { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: var(--white); }
.review-count { color: rgba(255,255,255,0.5); font-size: 1rem; margin-top: 0.25rem; }

.review-slider { position: relative; height: 200px; perspective: 1000px; }
.review-bubble {
    position: absolute; width: 100%; max-width: 600px;
    left: 50%; transform: translateX(-50%);
    padding: 2rem 2.5rem; text-align: center;
    opacity: 0; transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.review-bubble .glass-card { padding: 2rem 2.5rem; }
.review-bubble.active { opacity: 1; transform: translateX(-50%) scale(1); z-index: 2; }
.review-bubble.prev { opacity: 0.3; transform: translateX(-120%) scale(0.85) rotateY(15deg); z-index: 1; }
.review-bubble.next { opacity: 0.3; transform: translateX(20%) scale(0.85) rotateY(-15deg); z-index: 1; }
.review-text { color: var(--card-text); font-size: 1.1rem; font-style: italic; line-height: 1.7; margin-bottom: 1rem; }
.review-author { color: var(--teal-glow); font-weight: 600; font-size: 0.9rem; }
.review-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.review-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.2); cursor: pointer; transition: var(--transition);
}
.review-dot.active { background: var(--teal-glow); width: 24px; border-radius: 4px; }
.reviews-cta { text-align: center; margin-top: 2.5rem; }

/* ─── CONTACT ─────────────────────────────────── */
.contact-section { background: transparent; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
.contact-info h2 { color: var(--white); }
.contact-desc { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.info-icon {
    font-size: 1.3rem;
    background: rgba(0,128,128,0.15); border: 1px solid rgba(0,128,128,0.2);
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    border-radius: 14px; flex-shrink: 0;
}
.info-item h4 { margin-bottom: 0.25rem; color: var(--white); }
.info-item p { color: rgba(255,255,255,0.55); }
.contact-map {
    min-height: 400px; border-radius: 20px; overflow: hidden;
    position: relative;
}
.contact-map iframe {
    border: none; border-radius: 20px;
    box-shadow: var(--shadow-3d);
    outline: 1px solid rgba(0,128,128,0.15);
    width: 100%; height: 400px; display: block;
}

/* ─── FOOTER ──────────────────────────────────── */
footer {
    background: rgba(11,26,26,0.9); color: var(--white);
    padding: 3rem 0; text-align: center; position: relative; z-index: 1;
    border-top: 1px solid rgba(0,128,128,0.1);
}
.footer-logo { margin-bottom: 1rem; }
.footer-logo .logo-text { color: var(--white); }
footer p { color: var(--slate-gray); font-size: 0.9rem; }

/* ─── SCROLL TO TOP ──────────────────────────── */
.scroll-top-btn {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 100;
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
    border: 1px solid rgba(94,236,208,0.3);
    box-shadow: var(--shadow-3d); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover { transform: translateY(-4px) scale(1.1); }
.scroll-top-btn canvas { width: 32px; height: 32px; }

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links, .navbar .btn-emergency { display: none; }
    .mobile-menu-btn { display: flex; }
    h1 { font-size: 2.5rem; }
    .why-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 320px; }
    .specialist-grid { grid-template-columns: 1fr; }
    .review-bubble.prev, .review-bubble.next { opacity: 0; }
    .filter-tabs { gap: 0.4rem; }
    .filter-tab { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
}
