/* ==========================================================================
   Janki Piles Clinic - Premium Healthcare Web Experience
   Designed to match top-tier medical networks (Apollo, Manipal, Medanta)
   ========================================================================== */

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

:root {
    --primary-cyan: #0E7490;
    --primary-cyan-dark: #155E75;
    --primary-cyan-light: #ECFEFF;
    --secondary-teal: #14B8A6;
    --accent-blue: #2563EB;
    --bg-slate: #F8FAFC;
    --dark-slate: #0F172A;
    --text-slate: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --white: #FFFFFF;
    --card-shadow: 0 10px 25px -5px rgba(14, 116, 144, 0.06), 0 8px 10px -6px rgba(14, 116, 144, 0.04);
    --hover-shadow: 0 20px 35px -10px rgba(14, 116, 144, 0.12), 0 10px 15px -5px rgba(14, 116, 144, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-slate);
    background-color: var(--bg-slate);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Poppins', sans-serif;
    color: var(--text-slate);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Custom Typography & Utility Classes */
.text-cyan {
    color: var(--primary-cyan) !important;
}

.bg-cyan {
    background-color: var(--primary-cyan) !important;
}

.bg-cyan-light {
    background-color: var(--primary-cyan-light) !important;
}

.bg-dark-slate {
    background-color: var(--dark-slate) !important;
    color: #ffffff !important;
}

.border-cyan {
    border-color: var(--primary-cyan) !important;
}

/* Button Styles - Agency Grade Large Rounded Buttons */
.btn-primary-cyan {
    background: linear-gradient(135deg, #0E7490 0%, #155E75 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(14, 116, 144, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-cyan:hover {
    background: linear-gradient(135deg, #155E75 0%, #164E63 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 116, 144, 0.35);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff !important;
    border: none;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-whatsapp:hover {
    background-color: #1ebd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-outline-cyan {
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-cyan:hover {
    background-color: var(--primary-cyan);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Header & Navigation Bar */
.top-bar {
    background-color: var(--text-slate);
    color: #94A3B8;
    font-size: 0.85rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: #67E8F9;
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(14, 116, 144, 0.06);
    padding: 14px 0;
}

.navbar-brand {
    font-size: 1.45rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--text-slate) !important;
    display: flex;
    align-items: center;
}

.brand-logo-img {
    height: 90px !important;
    max-height: 95px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo-img:hover {
    transform: scale(1.03);
}

.brand-badge {
    background: var(--primary-cyan-light);
    color: var(--primary-cyan);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 600;
    color: #334155 !important;
    padding: 8px 14px !important;
    white-space: nowrap !important;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-cyan) !important;
    background-color: var(--primary-cyan-light);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #F0FDFA 0%, #ECFEFF 50%, #FFFFFF 100%);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-slate);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    max-width: 620px;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 24px;
    box-shadow: var(--hover-shadow);
    overflow: hidden;
    border: 6px solid #ffffff;
    aspect-ratio: 4 / 3;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-badge-floating {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 14px 22px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}

/* Premium Service Cards & Image Card Standards */
.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
    border-color: #A5F3FC;
}

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

.img-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    background-color: #f1f5f9;
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Patient Journey Timeline Improvements */
.timeline-wrapper {
    position: relative;
    padding: 20px 0;
}

@media (min-width: 992px) {
    .timeline-wrapper::before {
        content: '';
        position: absolute;
        top: 92px;
        left: 10%;
        right: 10%;
        height: 4px;
        background: linear-gradient(90deg, #0E7490 0%, #14B8A6 50%, #2563EB 100%);
        z-index: 1;
        border-radius: 4px;
    }
}

.timeline-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 20px 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 2;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: var(--hover-shadow);
}

.timeline-icon-badge {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0E7490 0%, #155E75 100%);
    color: #ffffff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 22px rgba(14, 116, 144, 0.35);
    position: relative;
}

.timeline-step-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 26px;
    height: 26px;
    background: #14B8A6;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* 5 Column Grid Utility */
.col-five {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .col-five {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .col-five {
        width: 20%;
    }
}

/* Doctor Profile Section */
.doctor-profile-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.doctor-img {
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

/* Google-Style Review Cards */
.google-review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    height: 100%;
}

.google-review-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748B;
}

/* FAQ Accordion Styling */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 14px !important;
    margin-bottom: 14px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--text-slate);
    background-color: #ffffff;
    padding: 20px 26px;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-cyan);
    background-color: var(--primary-cyan-light);
    box-shadow: none;
}

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

/* Floating Action Buttons */
.floating-btn-group {
    position: fixed;
    bottom: 30px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.floating-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-btn.whatsapp {
    background-color: #25D366;
}

.floating-btn.call {
    background-color: var(--primary-cyan);
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

/* Mobile Sticky Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    padding: 12px 16px;
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .mobile-bottom-bar {
        display: flex;
        gap: 10px;
    }

    .floating-btn-group {
        bottom: 85px;
        right: 15px;
    }
    
    body {
        padding-bottom: 75px;
    }
}

/* Footer */
footer {
    background-color: var(--text-slate);
    color: #94A3B8;
    padding-top: 70px;
    padding-bottom: 35px;
}

footer h5 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 22px;
}

footer a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #67E8F9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    margin-top: 45px;
}

/* Header Banners */
.page-header {
    background: linear-gradient(135deg, #0F172A 0%, #155E75 100%);
    color: #ffffff;
    padding: 70px 0;
    border-bottom: 4px solid var(--primary-cyan);
}

.page-header h1 {
    color: #ffffff;
}
