/* ----------------------------------------------------
   Aditya Dental Care - Design System
   Modern, Clean, Minimalist, Professional Dental Clinic
---------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600;700;800&family=Roboto:wght@400;500;700&family=Roboto+Mono:wght@400;500;600&display=swap');

:root {
    --primary: #0284c7;
    /* Medical Sky Blue */
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --teal: #0d9488;
    /* Fresh Hygiene Teal */
    --teal-dark: #0f766e;
    --teal-light: #ccfbf1;
    --accent: #f59e0b;
    /* Warm Gold accent */
    --dark: #0f172a;
    /* Deep slate text */
    --slate-gray: #334155;
    --gray-bg: #f8fafc;
    /* Soft neutral background */
    --card-bg: #ffffff;
    --border-color: #cbd5e1;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(2, 132, 199, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 35px -10px rgba(2, 132, 199, 0.15), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    background-color: var(--gray-bg);
    color: var(--dark);
    line-height: 1.6;
}

/* Headings Typography: Inter Bold */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* Contrast text helpers */
.text-dark-heading {
    color: #0f172a !important;
}

.text-slate {
    color: #334155 !important;
}

/* Typography Helpers */
.text-gradient-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header & Top Bar */
.top-announcement {
    background: linear-gradient(90deg, #0369a1, #0f766e);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
}

.navbar {
    border-bottom: 1px solid var(--border-color);
}

.nav-link {
    color: #1e293b !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.7) 0%, rgba(248, 250, 252, 1) 90%);
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.trust-badge-pill {
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 1.25rem;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.hero-img-container {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}

.hero-img-container img {
    width: 100%;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 1rem 1.25rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

/* Dashboard & Auth Box */
.user-auth-card {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 1.75rem;
}

/* Promo / Special Offer Section */
.promo-section {
    background: #f0f9ff;
    position: relative;
}

.promo-card {
    background: linear-gradient(135deg, #0369a1 0%, #0f766e 100%);
    color: #ffffff;
    border-radius: 2rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.promo-badge {
    background: #f59e0b;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
}

.countdown-box {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    text-align: center;
    min-width: 75px;
}

.countdown-number {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #e2e8f0;
    font-weight: 600;
}

/* Service Section */
.service-section {
    background: #f8fafc;
    position: relative;
}

.service-card {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}



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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 1.25rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* Social Proof & Testimonial Section */
.testimoni-section {
    background: #ffffff;
    position: relative;
}

.before-after-box {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid #e2e8f0;
}

.before-after-box img {
    width: 100%;
    display: block;
}

.testimonial-card {
    background: #f8fafc;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

/* Insurance Partner Cards */
.insurance-partner-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.insurance-partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.insurance-logo-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

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

/* Why Choose Us Section */
.why-choose-section {
    background: #f0f9ff;
    position: relative;
}

/* FAQ Section */
.faq-section {
    background: #ffffff;
    position: relative;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 1rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-size: 1.05rem;
    color: #0f172a;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Footer & Map */
footer {
    background-color: #0f172a !important;
    color: #ffffff;
}

footer p,
footer li {
    color: #cbd5e1 !important;
}

/* Floating Sticky WA Button for Mobile */
.floating-wa-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: #16a34a;
    color: #ffffff !important;
    border-radius: 50rem;
    padding: 0.85rem 1.4rem;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.4);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-wa-btn:hover {
    color: #ffffff !important;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(22, 163, 74, 0.6);
}

/* Pulse animation for CTA */
@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(22, 163, 74, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

.pulse-animation {
    animation: pulse-btn 2s infinite;
}

/* ----------------------------------------------------
   Mobile Responsiveness Optimization
---------------------------------------------------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 1.25rem;
        border-radius: 1rem;
        box-shadow: var(--shadow-md);
        margin-top: 0.75rem;
        border: 1px solid var(--border-color);
    }

    .hero-section {
        padding-top: 1.5rem;
        padding-bottom: 2.5rem;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .trust-badge-pill {
        margin-bottom: 1rem;
    }

    .hero-floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 1rem;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .hero-img-container {
        border-radius: 1.5rem;
    }

    .user-auth-card {
        padding: 1.25rem;
    }

    .before-after-box {
        border-radius: 1.25rem;
    }

    .promo-card {
        padding: 1.75rem 1.25rem;
        border-radius: 1.5rem;
    }

    .promo-card h2 {
        font-size: 1.6rem;
    }

    .countdown-box {
        padding: 0.5rem;
        min-width: 60px;
    }

    .countdown-number {
        font-size: 1.25rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .floating-wa-btn {
        bottom: 20px;
        right: 20px;
        padding: 1.4rem 2.2rem;
        font-size: 1.4rem;
        border-radius: 50rem;
    }

    .floating-wa-btn i {
        font-size: 2.2rem;
    }
}

@media (max-width: 575.98px) {
    .top-announcement {
        font-size: 0.78rem;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
        width: 100%;
    }

    .hero-section .d-flex.gap-3 {
        gap: 0.75rem !important;
    }
}

/* Structured Component Utility Classes (Eliminating Inline CSS) */
.brand-logo-img {
    height: 65px;
    width: 65px;
    object-fit: cover;
}

.badge-icon-box {
    width: 42px;
    height: 42px;
}

.doctor-img {
    max-height: 280px;
    width: 100%;
    object-fit: cover;
}

.text-indigo {
    color: var(--bs-indigo);
}

.text-teal {
    color: var(--bs-teal);
}

.text-purple {
    color: var(--bs-purple);
}

.text-green {
    color: var(--bs-green);
}

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

.text-orange {
    color: var(--bs-orange);
}

.bg-color-humming-bird {
    background: #ccfbf1;
}

.service-icon.service-icon-warning {
    background: #fef3c7;
    color: #d97706;
}

.service-icon.service-icon-slate {
    background: #f1f5f9;
    color: #334155;
}

.footer-logo-img {
    height: 70px;
    width: 70px;
    object-fit: cover;
}

.footer-map-container {
    height: 120px;
}

.footer-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.country-code-select {
    font-family: 'Roboto Mono', monospace;
    max-width: 140px;
    font-size: 0.88rem;
    font-weight: 500;
}

/* WhatsApp Consultation Modal Styling */
.modal-wa-content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-wa-header {
    background: #22c55e;
    color: #ffffff;
    padding: 1.75rem 1.5rem 1.25rem;
    border-bottom: none;
    position: relative;
    text-align: center;
}

.modal-wa-header .btn-close-custom {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.85;
    cursor: pointer;
}

.modal-wa-header .btn-close-custom:hover {
    opacity: 1;
}

.modal-wa-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.modal-wa-subtitle {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 0;
}

.modal-wa-body {
    padding: 2rem 1.75rem;
    background: #ffffff;
}

.modal-wa-body .form-control {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    font-size: 0.98rem;
}

.modal-wa-body .form-control:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.btn-whatsapp-submit {
    background-color: #22c55e;
    color: #ffffff;
    border: none;
    padding: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease-in-out;
}

.btn-whatsapp-submit:hover {
    background-color: #16a34a;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}