/* 
   Advanced Dental Clinic & Implant Center - Master Design System
   Theme: Modern Luxury Medical, High-Converting
   Colors: White, Medical Blue, Soft Gray, Gold/Teal Accent
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Primary Palette */
    --primary-blue: #004A99;
    /* Medical Blue */
    --primary-dark: #002D5E;
    --secondary-teal: #00BFA5;
    /* Modern Healthcare Teal */
    --accent-gold: #D4AF37;
    /* Premium Luxury Gold */
    --emergency-red: #D32F2F;
    /* Urgent Emergency Red */

    /* Neutral Palette */
    --bg-white: #FFFFFF;
    --bg-soft-gray: #F8FAFC;
    --bg-dark: #0F172A;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --glass: rgba(255, 255, 255, 0.8);

    /* Sizing */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}



body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
    content-visibility: auto;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float i {
    color: white;
    font-size: 2rem;
    line-height: 1;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65);
}

/* Ripple/pulse ring around the button */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.35);
    animation: waRipple 2s ease-out infinite;
    z-index: -1;
}

@keyframes waRipple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Tooltip */
.whatsapp-float::after {
    content: 'Chat on WhatsApp';
    position: absolute;
    right: 74px;
    top: 50%;
    transform: translateY(-50%);
    background: #0F172A;
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.whatsapp-float:hover::after {
    opacity: 1;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-teal {
    color: var(--secondary-teal);
}

.text-gold {
    color: var(--accent-gold);
}

.text-white {
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: #FFFFFF !important;
    box-shadow: 0 10px 20px rgba(0, 74, 153, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 74, 153, 0.3);
}

.btn-accent {
    background: var(--secondary-teal);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 191, 165, 0.2);
}

.btn-accent:hover {
    background: #008f7a;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Header & Navigation */
header {
    background: var(--glass);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}

.logo-main {
    font-size: 1.35rem;
    /* Reduced to fit in one line */
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary-teal);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    /* Slightly smaller for better fit */
    padding: 8px 15px;
    /* More compact padding */
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    /* Prevents About Us from wrapping */
}

.nav-links a:hover {
    color: var(--primary-blue);
    background: rgba(0, 74, 153, 0.05);
    border-color: rgba(0, 74, 153, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 74, 153, 0.08);
}

.nav-links a.active {
    color: var(--white);
    background: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 74, 153, 0.15);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Premium Gallery & Card Enhancements --- */
.service-card-lux {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.media-container {
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
}

.category-floating-badge {
    background: rgba(0, 74, 153, 0.9);
    backdrop-filter: blur(4px);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.card-header-lux h3 {
    background: linear-gradient(135deg, #0f172a, #004a99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* --- Smooth Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Admin Menu & Header Actions --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-trigger {
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

.admin-trigger:hover {
    background: rgba(0, 74, 153, 0.08);
    color: var(--primary-blue);
    transform: rotate(90deg);
}

/* --- Admin Panel Components --- */
.login-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    margin: 100px auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.admin-img-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.admin-img-preview {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.admin-form-group {
    margin-bottom: 15px;
}

.admin-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-muted);
}

.admin-input {
    width: 100%;
    padding: 10px 15px;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.admin-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.emergency-sticky {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 1000;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: radial-gradient(circle at top right, rgba(0, 191, 165, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(0, 74, 153, 0.05), transparent);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 24px;
    margin-top: 48px;
}

.trust-badge {
    text-align: center;
}

.trust-badge i {
    font-size: 2rem;
    color: var(--secondary-teal);
    margin-bottom: 8px;
}

.trust-badge span {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.floating-stats {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--secondary-teal);
}

/* Stats Counter */
.stats-section {
    background: var(--bg-soft-gray);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}

/* Emergency Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Cost Estimator */
.estimator-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 74, 153, 0.1);
}

.estimator-select {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #CBD5E1;
    margin-bottom: 24px;
    font-size: 1rem;
}

.cost-result {
    padding: 24px;
    background: var(--bg-soft-gray);
    border-radius: var(--radius-sm);
    margin-top: 24px;
    text-align: center;
}

.cost-range {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-teal);
    display: block;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 74, 153, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Testimonials with Flags */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-soft-gray);
    padding: 32px;
    border-radius: var(--radius-md);
    position: relative;
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.patient-flag {
    width: 24px;
}

/* Lead Magnet */
.lead-magnet {
    background: var(--primary-dark);
    border-radius: var(--radius-lg);
    padding: 60px;
    color: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.lead-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    color: var(--text-main);
}

.form-group {
    margin-bottom: 16px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
}

/* Timeline/Process for Tourism */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-blue);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
}

.timeline-dot {
    position: absolute;
    right: -10px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--secondary-teal);
    border-radius: 50%;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

/* SurgiBoT Chatbot */
.surgibot-container {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 380px;
    max-width: calc(100vw - 64px);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1500;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.surgibot-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.surgibot-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.surgibot-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.surgibot-title h4 {
    color: var(--white);
    margin: 0;
    font-size: 1.1rem;
}

.surgibot-title p {
    font-size: 0.75rem;
    opacity: 0.9;
    margin: 0;
}

.surgibot-close {
    cursor: pointer;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.surgibot-body {
    padding: 20px;
    background: #F1F5F9;
    height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.surgibot-msg {
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 85%;
    position: relative;
}

.bot-msg {
    background: white;
    color: #1e293b;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.user-msg {
    background: var(--primary-blue);
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    margin-left: auto;
}

.bot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.bot-suggestions button {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.bot-suggestions button:hover {
    background: var(--bg-soft-gray);
    border-color: var(--primary-blue);
}

.surgibot-footer {
    padding: 15px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bot-input-wrapper {
    flex: 1;
    position: relative;
}

.bot-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #CBD5E1;
    border-radius: 20px;
    font-size: 0.9rem;
}

.bot-mic {
    color: var(--primary-blue);
    cursor: pointer;
}

.bot-send {
    background: var(--primary-blue);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.surgibot-toggle {
    position: fixed;
    bottom: 32px;
    right: 110px;
    background: var(--primary-dark);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    font-weight: 600;
}

/* Footer Section */
footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer-col p {
    color: #94A3B8;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

/* Responsive */
/* Services Page Specific */
.search-filter-section {
    background: var(--bg-soft-gray);
    padding: 60px 0;
    position: sticky;
    top: 70px;
    z-index: 900;
    box-shadow: var(--shadow-sm);
}

.search-container {
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 18px 24px;
    padding-left: 56px;
    border-radius: 50px;
    border: 2px solid #E2E8F0;
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 74, 153, 0.1);
}

.search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-tag {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.services-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    padding: 60px 0;
}

.service-card-premium {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    height: 200px;
    background: #f1f5f9;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.service-card-content {
    padding: 24px;
    flex-grow: 1;
}

.service-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 191, 165, 0.1);
    color: var(--secondary-teal);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.service-card-premium h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.service-card-premium p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-footer {
    padding: 24px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 12px;
}

.service-card-footer .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    flex: 1;
}

/* Modal Styling */
.service-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
    padding: 40px 20px;
}

.service-modal-content {
    background: var(--bg-white);
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    animation: modalSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--emergency-red);
    color: white;
}

.modal-hero {
    height: 350px;
    background: var(--primary-dark);
    position: relative;
}

.modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    border-radius: 0;
}

.modal-inner {
    padding: 48px;
}

.modal-title-group h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.modal-inner h4 {
    margin: 32px 0 16px;
    border-bottom: 2px solid var(--secondary-teal);
    display: inline-block;
    padding-bottom: 4px;
}

.modal-inner ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-inner ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-inner ul li i {
    color: var(--secondary-teal);
}

.modal-cta-group {
    margin-top: 48px;
    display: flex;
    gap: 20px;
    background: var(--bg-soft-gray);
    padding: 32px;
    border-radius: var(--radius-sm);
}

/* International Surgical Section */
.surgery-block {
    background: var(--primary-dark);
    color: var(--white);
    padding: 100px 0;
    margin-top: 80px;
}

.surgery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.surgical-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.surgical-feature i {
    font-size: 1.5rem;
    color: var(--secondary-teal);
    flex-shrink: 0;
    margin-top: 5px;
}

/* Animation */
.counter-box {
    text-align: center;
    padding: 20px;
}

.counter-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}

@media (max-width: 768px) {
    .modal-inner {
        padding: 24px;
    }

    .modal-inner ul {
        grid-template-columns: 1fr;
    }

    .modal-cta-group {
        flex-direction: column;
    }

    .surgery-grid {
        grid-template-columns: 1fr;
    }

    .modal-title-group h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col .social-icons {
        justify-content: center;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        margin-left: 20px;
    }

    .timeline-item:nth-child(even) {
        margin-left: 20px;
    }

    /* Mobile Menu Support */
    .nav-links {
        display: none;
        /* Hidden by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
    }

    .hamburger {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-blue);
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        padding: 14px 20px;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }
}

/* --- Location Pulse Animation — Colorful & Big (All Screen Sizes) --- */
.map-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Outer container for all pulse rings */
.map-pulse-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    /* Gradient center dot: red → orange → yellow */
    background: radial-gradient(circle, #FFD700 0%, #FF6B00 40%, #EF4444 100%);
    border: 3px solid white;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.8), 0 0 4px rgba(255, 255, 255, 0.9);
    animation: pulse-center-glow 1.5s ease-in-out infinite alternate;
}

/* Ring 1 — Red, fast */
.map-pulse-marker::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: 4px solid rgba(239, 68, 68, 0.9);
    animation: ring-expand-red 2s ease-out infinite;
}

/* Ring 2 — Teal, medium */
.map-pulse-marker::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid rgba(0, 191, 165, 0.8);
    animation: ring-expand-teal 2s ease-out 0.6s infinite;
}

/* Ring 3 — Blue (extra div trick via wrapper span) */
.map-pulse-ring3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9;
    border: 3px solid rgba(59, 130, 246, 0.7);
    animation: ring-expand-blue 2s ease-out 1.2s infinite;
}

/* Center glow pulse */
@keyframes pulse-center-glow {
    from {
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.6), 0 0 4px rgba(255, 255, 255, 0.8);
    }

    to {
        box-shadow: 0 0 22px rgba(255, 107, 0, 0.9), 0 0 8px rgba(255, 215, 0, 0.7);
    }
}

/* Red ring */
@keyframes ring-expand-red {
    0% {
        width: 28px;
        height: 28px;
        opacity: 1;
        border-color: rgba(239, 68, 68, 0.9);
    }

    100% {
        width: 110px;
        height: 110px;
        opacity: 0;
        border-color: rgba(239, 68, 68, 0);
    }
}

/* Teal ring */
@keyframes ring-expand-teal {
    0% {
        width: 28px;
        height: 28px;
        opacity: 1;
        border-color: rgba(0, 191, 165, 0.8);
    }

    100% {
        width: 130px;
        height: 130px;
        opacity: 0;
        border-color: rgba(0, 191, 165, 0);
    }
}

/* Blue ring */
@keyframes ring-expand-blue {
    0% {
        width: 28px;
        height: 28px;
        opacity: 1;
        border-color: rgba(59, 130, 246, 0.7);
    }

    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
        border-color: rgba(59, 130, 246, 0);
    }
}

@keyframes pulse-wave {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 25px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@keyframes pulse-wave-outer {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* --- Google Reviews Scrolling Ticker (All Screen Sizes) --- */
.reviews-ticker-wrapper {
    overflow: hidden;
    background: #f8fafc;
    padding: 60px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.ticker-container {
    display: flex;
    white-space: nowrap;
    animation: ticker 60s linear infinite;
    width: fit-content;
}

.ticker-container:hover {
    animation-play-state: paused;
}

.review-card-ticker {
    flex: 0 0 380px;
    background: white;
    margin-right: 32px;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    white-space: normal;
    border: 1px solid #f1f5f9;
}

.review-card-ticker h5 {
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 1.1rem;
}

.review-card-ticker .stars {
    color: #f59e0b;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.review-card-ticker p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4285F4;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}