/* =========================================
   GLOBAL VARIABLES & RESETS
   ========================================= */
:root {
    --primary-blue: #0b3969;
    --secondary-blue: #184e85;
    --primary-green: #1a8c3d;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f8f9fc;
    --white: #ffffff;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Improve responsive scaling */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent long words breaking layout on small screens */
* {
    word-break: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* Added for mobile menu positioning */
}

/* =========================================
   HEADER LOGO 
   ========================================= */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 85px;
    margin-right: 15px;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.05;
}

.logo-text-top {
    font-size: 28px;
    font-weight: 600;
    color: #23488D;
    letter-spacing: 0.5px;
}

.logo-text-bottom {
    font-size: 19px;
    font-weight: 600;
    color: #55a846;
    letter-spacing: 0.5px;
}

/* =========================================
   NAVIGATION LINKS
   ========================================= */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 5px;
}

/* Mobile Menu Toggle Icon (Hidden by default) */
.menu-toggle {
    display: none;
}

/* =========================================
   HERO SECTION (Front Page)
   ========================================= */
.hero {
    background-color: #eaf3f8;
    padding: 20px 0 35px 0;
    position: relative;
    overflow: hidden;
    min-height: 630px;
    display: flex;
    align-items: center;
}

/* =========================================
   NEW: HERO SLIDER STYLES
   ========================================= */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: 90%;
    background-position: 100% 30%;
    background-repeat: no-repeat;
    background-color: #eaf3f8;
}

.hero-slide.active {
    opacity: 1;
}

/* Slide background images with gradient overlays */
.hero-slide:nth-child(1) {
    background-image: linear-gradient(to right, rgba(234, 243, 248, 1) 0%, rgba(234, 243, 248, 0.1) 30%, rgba(234, 243, 248, 0) 45%, rgba(234, 243, 248, 0) 100%), url('assets/hero-family.png');
}

.hero-slide:nth-child(2) {
    background-image: linear-gradient(to right, rgba(234, 243, 248, 1) 0%, rgba(234, 243, 248, 0.1) 30%, rgba(234, 243, 248, 0) 45%, rgba(234, 243, 248, 0) 100%), url('assets/hero-dental.png');
}

.hero-slide:nth-child(3) {
    background-image: linear-gradient(to right, rgba(234, 243, 248, 1) 0%, rgba(234, 243, 248, 0.1) 30%, rgba(234, 243, 248, 0) 45%, rgba(234, 243, 248, 0) 100%), url('assets/hero-eye.png');
}

.hero-slide:nth-child(4) {
    background-image: linear-gradient(to right, rgba(234, 243, 248, 1) 0%, rgba(234, 243, 248, 0.1) 30%, rgba(234, 243, 248, 0) 45%, rgba(234, 243, 248, 0) 100%), url('assets/hero-ayurveda.png');
}

.hero-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(6, 67, 150, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background-color: #064396;
    transform: scale(1.2);
    width: 24px;
    border-radius: 6px;
}

.hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    background: #064396;
    color: var(--white);
    padding: 6px 24px 6px 30px;
    font-size: 13px;
    font-weight: 400;
    display: inline-block;
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%, 15px 50%);
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 8px rgba(11, 57, 105, 0.15));
    width: fit-content;
}

.hero-title {
    font-size: 54px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--primary-blue);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary-green);
    display: inline-block;
}

.hero-subtitle {
    font-size: 16.5px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 460px;
    font-weight: 500;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 100px;
}

.hero-feature {
    text-align: center;
    cursor: pointer;
}

.hero-feature-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #064396;
    font-size: 22px;
    margin: 0 auto 10px auto;
    box-shadow: 0 8px 20px rgba(11, 57, 105, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(11, 57, 105, 0.04);
}

.hero-feature:hover .hero-feature-icon {
    transform: translateY(-5px);
    background: #064396;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(6, 67, 150, 0.25);
    border-color: #064396;
}

/* Custom Stacked Shield Icon styling inside features */
.shield-bg {
    color: #064396;
    transition: color 0.3s ease;
}

.check-mark {
    color: var(--white);
    font-size: 11px !important;
    margin-top: 1px;
    transition: color 0.3s ease;
}

.hero-feature:hover .shield-bg {
    color: var(--white);
}

.hero-feature:hover .check-mark {
    color: #064396;
}

.hero-feature p {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: 10px;
}

/* =========================================
   HERO BOTTOM BAR & ITEMS
   ========================================= */
/* =========================================
   HERO BOTTOM BAR & ITEMS (FIXED)
   ========================================= */
.hero-bottom-bar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    /* Items ko box ke center me layega */
    align-items: center;
    padding: 18px 20px;
    color: var(--white);
    width: 100%;
    max-width: 800px;
    /* Dabbe ko bada kiya hai taaki text khula-khula rahe */
    position: relative;
    z-index: 5;
    box-shadow: 0 12px 30px rgba(11, 57, 105, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 35px;
}

.hero-bottom-item {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Icon aur text ke beech thodi jagah */
    font-size: 13px;
    font-weight: 500;

    /* Perfect Center Alignment ka logic */
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    /* White line */
    padding-right: 25px;
    /* Line ke pehle ki space */
    margin-right: 25px;
    /* Line ke baad ki space */
}

.hero-bottom-item i {
    color: var(--white);
    font-size: 16px;
}

/* Akhri item se line aur space hatane ke liye */
.hero-bottom-item:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

/* =========================================
   HERO FORM
   ========================================= */
.hero-form-container {
    width: 100%;
    max-width: 450px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(11, 57, 105, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(11, 57, 105, 0.05);
}

.hero-form-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(11, 57, 105, 0.22);
}

.form-header {
    background: #064396;
    padding: 40px;
    text-align: center;
    color: var(--white);
}

.form-header h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-header p {
    font-size: 13px;
}

.form-body {
    padding: 25px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #0D449E;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: border 0.3s;
}

.input-group input:focus {
    border-color: var(--primary-blue);
}

.btn-submit {
    background: var(--primary-green);
    color: var(--white);
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #157933;
}

.form-footer {
    text-align: center;
    font-size: 16px;
    color: var(--text-gray);
    margin-top: 15px;
}

.form-footer i {
    color: var(--primary-blue);
}

/* =========================================
   PARTNER HOSPITALS SECTION
   ========================================= */
.partners {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.hospitals-page .partners {
    padding: 60px 0 100px 0;
    min-height: 60vh;
}

.partners-header-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.partners-title-center {
    text-align: center;
    width: 120%;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 550;
    color: var(--primary-green);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 5px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: "";
    height: 1.9px;
    width: 60px;
    background: #144cda;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-title span {
    color: #144cda;
    /* Yahan pehle var(--secondary-blue) tha, use isse replace kar do */
}

.section-desc {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 0;
}

/* View All Button */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: #144cda;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(26, 140, 61, 0.3);
    transform: translateY(-2px);
}

.header-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* ==========================================
   CUSTOM SUBPAGES STYLING
   ========================================== */

/* Page Hero Banner */
.subpage-hero {
    background: linear-gradient(135deg, rgba(8, 48, 77, 0.90) 0%, rgba(20, 95, 45, 0.90) 100%), url('https://images.unsplash.com/photo-1587351021759-3e566b6af7cc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    background-blend-mode: multiply;
    color: var(--white);
    text-align: center;
    padding: 85px 20px;
    position: relative;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.05);
}

.subpage-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.subpage-hero h1 span {
    color: #86efac;
}

.subpage-hero p {
    font-size: 16px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

/* Layout Utilities */
.section-padding {
    padding: 70px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Premium Card Styles */
.premium-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Mission & Vision Section */
.mv-box {
    background: #f8fafc;
    border-left: 4px solid var(--primary-blue);
    padding: 30px;
    border-radius: 0 12px 12px 0;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.mv-box.vision {
    border-left-color: var(--primary-green);
}

.mv-box h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-weight: 700;
}

.mv-box p {
    font-size: 14.5px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Core Values Card */
.value-card {
    text-align: center;
    padding: 35px 25px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 6px 40px rgba(29, 146, 58, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(29, 146, 58, 0.22);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #e6f3ec;
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon.blue {
    background: #e5f0f9;
    color: var(--primary-blue);
}

.value-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.value-card h4 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.value-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Doctors Card Grid */
.doctor-card {
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.doctor-img {
    height: 250px;
    overflow: hidden;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.doctor-info {
    padding: 20px;
}

.doctor-info h4 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 700;
}

.doctor-info p.specialty {
    font-size: 13px;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 10px;
}

.doctor-info p.bio {
    font-size: 12.5px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Timeline Layout */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: 8px;
    top: 5px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-badge.green {
    border-color: var(--primary-green);
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.timeline-content h4 {
    font-size: 17px;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 13.5px;
    color: var(--text-gray);
    line-height: 1.6;
}

.timeline-time {
    font-size: 11.5px;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-block;
    background: #e6f3ec;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Treatments Sections Styles */
.treatment-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.treatment-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.treatment-details {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.treatment-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.treatment-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-badge-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(10, 60, 97, 0.9);
    backdrop-filter: blur(5px);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.treatment-text h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 800;
}

.treatment-text p {
    color: var(--text-gray);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.stage-timeline-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage-timeline-title svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-green);
    fill: none;
}

/* Horizontal Treatment Stages Track */
.stages-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.stage-step {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border-top: 3px solid var(--primary-blue);
    font-size: 12px;
}

.stage-step.green {
    border-top-color: var(--primary-green);
}

.stage-step-num {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 11px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.stage-step-num.green {
    color: var(--primary-green);
}

.stage-step h5 {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.stage-step p {
    color: var(--text-gray);
    line-height: 1.4;
    margin: 0;
    font-size: 11.5px;
}

/* FAQ Accordion Styles */
.faq-section {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.faq-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary-blue);
    cursor: pointer;
    background: var(--white);
    transition: background 0.3s;
    user-select: none;
    font-size: 15px;
}

.faq-header:hover {
    background: #f8fafc;
}

.faq-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 2.5;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafbfc;
}

.faq-content {
    padding: 20px;
    font-size: 13.5px;
    color: var(--text-gray);
    line-height: 1.6;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* Insurance & Checklist Cards */
.insurance-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.insurance-logo-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.checklist-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
}

.checklist-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-green);
    stroke-width: 3;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Contact Us Layout & Elegant Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: #e5f0f9;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon.green {
    background: #e6f3ec;
    color: var(--primary-green);
}

.contact-detail-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.contact-detail-text h4 {
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-detail-text p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.map-placeholder-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 260px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    margin-top: 10px;
}

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

/* Elegant form wrapper styling */
.elegant-form-container {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(10, 60, 97, 0.08);
    box-shadow: 0 20px 50px rgba(10, 60, 97, 0.05);
}

.elegant-form-container .form-header-elegant {
    text-align: center;
    margin-bottom: 30px;
}

.elegant-form-container .form-header-elegant h3 {
    font-size: 24px;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 8px;
}

.elegant-form-container .form-header-elegant p {
    font-size: 13.5px;
    color: var(--text-gray);
}

.elegant-input-group {
    position: relative;
    margin-bottom: 20px;
}

.elegant-input-group svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 1.8;
    pointer-events: none;
    transition: stroke 0.3s;
}

.elegant-input-group input,
.elegant-input-group select {
    width: 100%;
    padding: 13px 15px 13px 48px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fcfdfe;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.elegant-input-group input:focus,
.elegant-input-group select:focus {
    border-color: var(--primary-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(10, 60, 97, 0.08);
}

.elegant-input-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%230A3C61' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    background-size: 18px;
}

.elegant-submit-btn {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(29, 138, 65, 0.2);
}

.elegant-submit-btn:hover {
    background-color: #177335;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(29, 138, 65, 0.3);
}

.elegant-submit-btn:active {
    transform: translateY(1px);
}

.elegant-submit-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--white);
    stroke-width: 2.2;
}

.elegant-form-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.elegant-form-footer svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--primary-green);
    stroke-width: 2;
}

/* Extra media query extensions for new layout classes */
@media (max-width: 1024px) {
    .subpage-hero {
        padding: 60px 20px;
    }

    .subpage-hero h1 {
        font-size: 34px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .treatment-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .stages-track {
        grid-template-columns: 1fr;
    }

    .checklist-list {
        grid-template-columns: 1fr;
    }

    .insurance-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .elegant-form-container {
        padding: 25px 20px;
    }
}

/* =========================================
   UPDATED CAROUSEL SLIDER WRAPPER 
   ========================================= */
.cards-view-window {
    overflow: hidden;
    width: 100%;
    padding-bottom: 20px;
}

.cards-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
    text-align: left;
    transition: transform 0.4s ease-in-out;
    width: 100% !important;
    /* Ye cards ko niche girne se rokega */
}

.hospital-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
}

/* =========================================
   HOSPITALS PAGE GRID LAYOUT
   ========================================= */

.hospitals-page .vertical-cards-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.hospitals-page .hospital-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    height: 100%;
}

/* Tablet */

@media (max-width:992px) {

    .hospitals-page .vertical-cards-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

}

/* Mobile */

@media (max-width:768px) {

    .hospitals-page .vertical-cards-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}


.hospital-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.card-logo {
    height: 100px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-logo img {
    width: auto;
    max-width: 90%;
    max-height: 115px;
    object-fit: contain;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-img-link {
    display: block;
    width: 100%;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.card-specialty {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.card-text {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-features {
    margin-bottom: 25px;
}

.card-features li {
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li i {
    color: var(--primary-green);
    font-size: 14px;
}

.btn-know-more {
    margin-top: auto;
    width: 100%;
    padding: 10px;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-orange {
    border: 1.5px solid #F17127;
    color: #F17127;
}

.btn-orange:hover {
    background: #F17127;
    color: #fff;
}

.btn-green {
    border: 1.5px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-green:hover {
    background: var(--primary-green);
    color: #fff;
}

.btn-maroon {
    border: 1.5px solid #88244B;
    color: #88244B;
}

.btn-maroon:hover {
    background: #88244B;
    color: #fff;
}

/* =========================================
   FEATURES BOTTOM SECTION
   ========================================= */
.features-bottom {
    background: #f4f9fd;
    padding: 40px 0;
    border-top: 1px solid #e1ecf4;
    border-bottom: 1px solid #e1ecf4;
}

.features-bottom-wrapper {
    display: flex;
    justify-content: space-between;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 23%;
}

.feature-box-icon {
    color: var(--primary-blue);
    font-size: 35px;
}

.feature-box h4 {
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 5px;
    line-height: 1.2;
}

.feature-box p {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.4;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: linear-gradient(90deg, #0F2D55 0%, #153865 55%, #157538 100%);
    color: var(--white);
    padding: 50px 0 0 0;
    position: relative;
    overflow: hidden;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
}

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

.footer-text {
    font-size: 13px;
    line-height: 1.9;
    color: #d1e2f3;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary-green);
}

.footer-col:nth-child(3) .footer-heading {
    color: #87C859;
}

/* 1st Column: Brand */
.footer-col:nth-child(1) {
    width: 320px;
    padding-right: 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

/* 2nd Column: Quick Contact */
.footer-col:nth-child(2) {
    width: 300px;
    padding-left: 25px;
    padding-right: 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

/* 3rd Column: Why Choose Us */
.footer-col:nth-child(3) {
    width: 400px;
    padding-left: 25px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #d1e2f3;
}

.contact-list li i {
    font-size: 16px;
    width: 10px;
}

.why-choose-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #eaf3f8;
}

.why-choose-list li i {
    color: #87C859;
    margin-top: 0;
}

.footer-doctor-img {
    position: absolute;
    bottom: -50px;
    right: -50px;
    height: 310px;
    z-index: 1;
}

/* =========================================
   BACK BUTTON (For Inner Pages)
   ========================================= */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 25px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-green);
}

/* =========================================
   ✅ RESPONSIVE MEDIA QUERIES (Mobile & Tablet)
   ========================================= */

/* For Tablets and smaller laptops (Max Width: 992px) */
@media (max-width: 992px) {

    /* Header & Mobile Menu */
    .menu-toggle {
        display: block;
        font-size: 26px;
        color: var(--primary-blue);
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    /* Hero Section */
    .hero {
        padding: 40px 0;
    }

    .hero-slide {
        background-size: cover;
        background-position: center;
    }

    .hero-slide:nth-child(1) {
        background-image: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%), url('assets/hero-family.png');
    }

    .hero-slide:nth-child(2) {
        background-image: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%), url('assets/hero-dental.png');
    }

    .hero-slide:nth-child(3) {
        background-image: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%), url('assets/hero-eye.png');
    }

    .hero-slide:nth-child(4) {
        background-image: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%), url('assets/hero-ayurveda.png');
    }

    .hero-arrow {
        display: none;
    }

    .hero-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        text-align: center;
        padding-top: 0;
    }

    .hero-subtitle {
        margin: 15px auto 30px auto;

    }

    .hero-features {
        justify-content: center;
    }

    .hero-bottom-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        text-align: left;
    }

    .hero-form-container {
        width: 100%;
        max-width: 500px;
        margin-top: 40px;
    }

    /* Partners Section */
    .partners-header-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .header-btn {
        position: relative;
        transform: none;
        right: auto;
    }

    .cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Features Bottom */
    .features-bottom-wrapper {
        flex-wrap: wrap;
        gap: 30px;
    }

    .feature-box {
        width: 45%;
    }

    /* Footer */
    .footer-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    /* Remove fixed widths and borders from footer columns */
    .footer-col:nth-child(1),
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        border-right: none;
    }

    .footer-doctor-img {
        display: none;
        /* Hide doctor image on mobile so text is readable */
    }
}

/* For Mobile Phones (Max Width: 768px) */
@media (max-width: 768px) {
    .logo img {
        height: 60px;
        /* Smaller logo for phones */
    }

    .logo-text-top {
        font-size: 20px;
    }

    .logo-text-bottom {
        font-size: 14px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-bottom-bar {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-bottom-item {
        justify-content: center;
    }

    .cards-wrapper {
        grid-template-columns: 1fr;
        /* 1 card per row on mobile */
    }

    .feature-box {
        width: 100%;
        align-items: center;
        text-align: center;
        flex-direction: column;
    }
}

/* =========================================
   NEW: CAROUSEL SLIDER STYLES
   ========================================= */
.carousel-container {
    position: relative;
    width: 100%;
    padding: 0 50px;
    margin-top: 20px;
}

.cards-view-window {
    overflow: hidden;
    width: 100%;
}

.cards-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 30px;
    /* Overriding previous grid settings for flex slider */
}

.cards-wrapper .hospital-card {
    flex: 0 0 calc((100% - 90px) / 3.25) !important;
    min-width: calc((100% - 90px) / 3.25) !important;
    max-width: calc((100% - 90px) / 3.25) !important;
}

.btn-blue {
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-blue:hover {
    background: var(--primary-blue);
    color: #fff;
}

/* Slider Arrows */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid #e0e0e0;
    color: var(--primary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* =========================================
   NEW: TREATMENTS SECTION (Without Numbers)
   ========================================= */
.treatments-section-home {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.treatments-heading-home {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.treatments-heading-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    font-size: 20px;
}

.treatments-heading-line span {
    color: var(--primary-green);
    font-weight: 800;
}

.treatments-heading-line::before,
.treatments-heading-line::after {
    content: "";
    height: 2px;
    width: 60px;
    background: #e0e0e0;
    margin: 0 15px;
}

.treatments-grid-home {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.treatment-item-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
}

.treatment-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    color: #fff;
    font-size: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.treatment-item-home:hover .treatment-icon-circle {
    transform: translateY(-5px);
}

/* Icon Colors from image */
.t-ortho {
    background: #134e9e;
}

.t-onco {
    background: #5f3484;
}

.t-paeds {
    background: #f16322;
}

.t-gynae {
    background: #d82b68;
}

.t-liver {
    background: #1e8f3d;
}

.t-ivf {
    background: #008f88;
}

.treatment-item-home span {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    line-height: 1.3;
}


/* RESPONSIVE FOR NEW SECTIONS */
@media (max-width: 992px) {
    .cards-wrapper .hospital-card {
        flex: 0 0 calc((100% - 60px) / 2.25) !important;
        min-width: calc((100% - 60px) / 2.25) !important;
        max-width: calc((100% - 60px) / 2.25) !important;
    }

    .treatments-grid-home {
        justify-content: center;
        gap: 30px;
    }

    .treatment-item-home {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 18px;
    }

    .cards-view-window {
        width: 100%;
    }

    .cards-wrapper {
        gap: 15px !important;
    }

    .cards-wrapper .hospital-card {
        flex: 0 0 calc((100% - 15px) / 1.25) !important;
        min-width: calc((100% - 15px) / 1.25) !important;
        max-width: calc((100% - 15px) / 1.25) !important;
        margin: 0 auto;
    }

    .treatments-heading-home {
        font-size: 20px;
    }

    .treatments-heading-line::before,
    .treatments-heading-line::after {
        width: 30px;
    }
}

/* =========================================
   NEW: CUSTOM SEARCHABLE DROPDOWN & CAPTCHA
   ========================================= */
.search-dropdown-container {
    position: relative;
}

.search-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 999;
    display: none;
    padding: 0;
    margin: 5px 0 0 0;
    list-style: none;
}

.search-dropdown-list.show {
    display: block;
}

.search-dropdown-list li {
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
}

.search-dropdown-list li:hover {
    background-color: rgba(6, 67, 150, 0.05);
    color: #064396;
}

.captcha-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
}

.captcha-display {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f0f4f8;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px dashed rgba(6, 67, 150, 0.3);
}

.captcha-code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #064396;
    user-select: none;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%), linear-gradient(-45deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%);
    background-size: 10px 10px;
    padding: 2px 8px;
    border-radius: 4px;
}

.btn-refresh-captcha {
    background: none;
    border: none;
    color: #064396;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-refresh-captcha:hover {
    transform: rotate(180deg);
}

.captcha-input-group {
    margin-bottom: 0 !important;
}