/* Modern Premium Medical Design System - Dr. Pramod Chahar */

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

:root {
    --primary: #0a1d37;          /* Hospital/Clinical Navy */
    --primary-light: #e6f2ff;    /* Soft Navy Blue tint */
    --accent: #0ea5e9;           /* Professional Medical Teal/Sky */
    --accent-hover: #0284c7;     /* Hover state sky */
    --accent-light: #f0f9ff;     /* Soft blue background tint */
    --success: #22c55e;          /* WhatsApp / Good Outcome green */
    --success-hover: #16a34a;    /* WhatsApp hover state */
    --text-dark: #1e293b;        /* Dark gray for readability */
    --text-muted: #64748b;       /* Cool slate gray for secondary labels */
    --bg-light: #f8fafc;         /* Main light body background */
    --bg-card: #ffffff;          /* Card background */
    --border-color: #e2e8f0;     /* Soft borders */
    
    /* Font stacks */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transition */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

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

a:hover {
    color: var(--accent-hover);
}

/* Custom Containers */
.med-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-med {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-med-primary {
    background-color: var(--accent);
    color: #ffffff !important;
}

.btn-med-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-med-navy {
    background-color: var(--primary);
    color: #ffffff !important;
}

.btn-med-navy:hover {
    background-color: #12335c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-med-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary) !important;
}

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

.btn-med-success {
    background-color: var(--success);
    color: #ffffff !important;
}

.btn-med-success:hover {
    background-color: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Cards */
.med-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.med-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.3);
}

/* Top bar styling */
.top-bar-new {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.top-bar-item i {
    color: var(--accent);
    font-size: 16px;
}

.top-bar-socials-new {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-socials-new a {
    color: var(--text-muted);
    font-size: 16px;
    transition: var(--transition);
}

.top-bar-socials-new a:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* Header & Navbar */
.header-new {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link img {
    height: 48px;
    object-fit: contain;
}

.nav-menu-new {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-new li a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.nav-menu-new li a:hover,
.nav-menu-new li a.active {
    color: var(--accent);
}

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

.nav-menu-new li a:hover::after,
.nav-menu-new li a.active::after {
    width: 100%;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* Mobile Sidebar drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: var(--shadow-xl);
    z-index: 1100;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    display: block;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--accent);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}

.drawer-overlay.show {
    display: block;
}

/* Hero Carousel overrides & styling */
.hero-slider-wrap {
    position: relative;
    overflow: hidden;
}

.hero-slider-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 90%;
    max-width: 600px;
    z-index: 10;
    border: 1px solid var(--border-color);
}

.hero-slider-overlay h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.hero-slider-overlay p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Statistics Counters */
.counter-box-new {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    transition: var(--transition);
}

.counter-box-new:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.15);
}

.counter-box-new strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.counter-box-new span {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Header Styles */
.section-header-new {
    text-align: center;
    margin-bottom: 48px;
}

.section-header-new span {
    font-family: var(--font-heading);
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
}

.section-header-new h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header-new h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-header-new p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 12px auto 0 auto;
}

/* Why Choose Us Accordion */
.accordion-new {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item-new {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.accordion-item-new:hover {
    border-color: rgba(14, 165, 233, 0.3);
}

.accordion-header-new {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
    transition: var(--transition);
}

.accordion-header-new i {
    color: var(--accent);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-content-new {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    padding: 0 24px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    background-color: var(--accent-light);
}

.accordion-item-new.active .accordion-content-new {
    max-height: 1000px; /* arbitrary large value */
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
    padding: 18px 24px;
}

.accordion-item-new.active .accordion-header-new {
    background-color: var(--primary);
    color: #ffffff;
}

.accordion-item-new.active .accordion-header-new i {
    color: #ffffff;
    transform: rotate(135deg);
}

/* Services Grid & Card Layouts */
.service-card-new {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.service-card-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.4);
}

.service-icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card-new:hover .service-icon-box {
    background-color: var(--accent);
    transform: scale(1.05);
}

.service-icon-box img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.service-card-new:hover .service-icon-box img {
    filter: brightness(0) invert(1);
}

.service-card-new h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card-new p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card-new:hover .service-link-btn {
    color: var(--accent-hover);
}

/* Forms Styling */
.med-form-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.med-input-group {
    margin-bottom: 20px;
}

.med-input-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 6px;
}

.med-input,
.med-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}

.med-input:focus,
.med-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Testimonial / Review adjustments */
.elfsight-app-d02c5f86-cc3e-4128-b0ad-43904038cc9b {
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    box-shadow: var(--shadow-md) !important;
}

/* Floating Actions sticky bar (Mobile) */
.sticky-actions-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    z-index: 999;
}

.sticky-action-btn {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-action-btn:last-child {
    border-right: none;
}

.sticky-action-btn.call {
    background-color: var(--accent);
}

.sticky-action-btn.whatsapp {
    background-color: var(--success);
}

.sticky-action-btn.book {
    background-color: var(--primary);
}

/* Desktop Floating Action Bar */
.desktop-sticky-actions {
    position: fixed;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.desktop-sticky-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.desktop-sticky-btn:hover {
    transform: scale(1.1) translateX(-2px);
    box-shadow: var(--shadow-lg);
}

.desktop-sticky-btn.call {
    background-color: var(--accent);
}

.desktop-sticky-btn.whatsapp {
    background-color: var(--success);
}

.desktop-sticky-btn.book {
    background-color: var(--primary);
}

/* Footer Section */
.footer-new {
    background-color: var(--primary);
    color: #cbd5e1;
    padding: 70px 0 0 0;
    font-size: 14px;
}

.footer-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column-new h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column-new h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-logo {
    height: 48px;
    margin-bottom: 20px;
}

.footer-social-links-new {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-links-new a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social-links-new a:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list li a {
    color: #cbd5e1;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list li a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contact-item a {
    color: #cbd5e1;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-bottom-new {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

.footer-bottom-new a {
    color: #ffffff;
}

.footer-bottom-new a:hover {
    color: var(--accent);
}

/* About Dr page structures */
.dr-badges-wrap {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.dr-badge-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.dr-badge-item i {
    color: var(--accent);
}

.dr-about-bar {
    background-color: var(--accent-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 15px 30px;
    margin: 30px 0;
}

/* Tabs implementation for Doctor profile */
.med-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 30px;
}

.med-tab-trigger {
    background: none;
    border: none;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.med-tab-trigger:hover {
    color: var(--primary);
    background-color: var(--bg-light);
}

.med-tab-trigger.active {
    color: #ffffff;
    background-color: var(--primary);
}

.med-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.med-tab-content.active {
    display: block;
}

.list-detail-styled ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-detail-styled ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
}

.list-detail-styled ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
}

/* Detail page templates */
.detail-hero-new {
    background-color: var(--primary);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.detail-hero-new h1 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 12px;
}

.detail-hero-new p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .footer-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .top-bar-new {
        display: none; /* Hide top bar on smaller screens */
    }
    
    .nav-menu-new {
        display: none; /* Hide primary menu items, show hamburger */
    }
    
    .hamburger-btn {
        display: block;
    }
    
    .footer-grid-new {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-header-new h2 {
        font-size: 26px;
    }
    
    .btn-med {
        width: 100%;
    }
    
    .med-form-card {
        padding: 24px;
    }
}
