/* ==========================================================================
   NANDI IVF - MODERN HOMEPAGE STYLESHEET (homepage.css)
   Clean, Editorial, High-Trust Medical Clinic Architecture
   ========================================================================== */

:root {
    --brand-pink: #D81B60;
    --brand-pink-dark: #AD1457;
    --brand-pink-soft: #FFF0F5;
    --brand-pink-light: #FDE8EF;
    --text-primary: #0F172A;      /* Slate 900 for clean headings */
    --text-secondary: #334155;    /* Slate 700 for subtext */
    --text-muted: #64748B;        /* Slate 500 for body/captions */
    --surface-white: #FFFFFF;
    --surface-neutral: #F8FAFC;
    --surface-blush: #FFF8FA;
    --border-light: #E2E8F0;
    --border-pink: rgba(216, 27, 96, 0.16);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Base Homepage Layout */
.home-page {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-secondary);
    background-color: var(--surface-white);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.home-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.home-container-wide {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.home-section {
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.home-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.75rem;
    position: relative;
    z-index: 2;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-pink);
    background: var(--brand-pink-soft);
    border: 1px solid var(--border-pink);
    padding: 0.32rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
}

.home-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.home-title span {
    color: var(--brand-pink);
}

.home-subtitle {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* ==========================================================================
   FLOATING BACKGROUND DECORATIVE ELEMENTS (SVGs & GLOWS)
   ========================================================================== */
.floating-bg-decor {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

.decor-glow-orb {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    background: radial-gradient(circle, #FFD6E3 0%, transparent 70%);
}

.decor-icon {
    opacity: 0.18;
    color: var(--brand-pink);
    animation: floatSlow 7s ease-in-out infinite;
}

.decor-icon.reverse {
    animation: floatReverse 8s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(5deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(16px) rotate(-5deg); }
}

/* ==========================================================================
   1. HERO SECTION (AUTO HEIGHT - ZERO IMAGE CROPPING + OVERLAY FORM)
   ========================================================================== */
.home-hero-fullwidth {
    position: relative;
    width: 100%;
    background: #FFF4F7;
    overflow: hidden;
}

/* Full Width Banner Carousel - Natural Aspect Ratio (No Crop) */
.hero-carousel-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 486;
    min-height: auto;
    overflow: hidden;
    background: #FFF0F5;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Slider Controls */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--brand-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}

.hero-slider-nav:hover {
    background: var(--brand-pink);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.06);
}

.hero-slider-prev {
    left: 20px;
}

.hero-slider-next {
    right: calc(clamp(1.5rem, 3.5vw, 3.5rem) + 400px); /* Sits clear of the right floating form across all screen widths */
}

.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 45%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
    background: rgba(0, 0, 0, 0.35);
    padding: 5px 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--brand-pink);
    width: 24px;
    border-radius: 999px;
}

/* Floating Consultation Form Over Right Open Space of Carousel - Pinned to Right */
.hero-overlay-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    pointer-events: none;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1.25rem clamp(1.5rem, 3.5vw, 3.5rem);
    box-sizing: border-box;
}

.hero-floating-form {
    pointer-events: auto;
    width: 375px;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.form-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-pink);
    background: var(--brand-pink-soft);
    border: 1px solid var(--border-pink);
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.4rem;
}

.form-main-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.2rem;
}

.form-sub-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-quick-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0.85rem 0;
}

.form-input-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.form-input-field label {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input-field input,
.form-input-field select {
    width: 100%;
    padding: 0.58rem 0.8rem;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text-primary);
    background: #F8FAFC;
    transition: var(--transition);
}

.form-input-field input:focus,
.form-input-field select:focus {
    outline: none;
    border-color: var(--brand-pink);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.12);
}

.btn-hero-submit {
    width: 100%;
    background: var(--brand-pink);
    color: #FFFFFF;
    border: none;
    padding: 0.78rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(216, 27, 96, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-hero-submit:hover {
    background: var(--brand-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(216, 27, 96, 0.45);
}

.form-privacy-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    padding-top: 0.6rem;
    border-top: 1px solid #F1F5F9;
}

.form-privacy-note a {
    color: var(--brand-pink);
    font-weight: 600;
    text-decoration: none;
}

/* ==========================================================================
   2. TRUST TICKER MARQUEE (SMOOTH ROLLING RIBBON)
   ========================================================================== */
.home-ticker-ribbon {
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 0.9rem 0;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.ticker-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marqueeContinuous 32s linear infinite;
}

.home-ticker-ribbon:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes marqueeContinuous {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.ticker-item strong {
    color: var(--brand-pink);
    font-weight: 600;
}

.ticker-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-pink-soft);
    color: var(--brand-pink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ticker-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.ticker-dot {
    color: #CBD5E1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   3. INFERTILITY TREATMENTS (COMPACT SPACING & ENHANCED HOVER EFFECTS)
   ========================================================================== */
.home-treatments-section {
    background-color: var(--surface-white);
    padding: 4rem 0 4.5rem;
}

.treatments-clean-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem; /* Compact clean spacing */
}

.treatment-clean-card {
    background: var(--surface-white);
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 1.65rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

/* Top subtle gradient highlight bar on hover */
.treatment-clean-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-pink), #FF8DA1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.treatment-clean-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 27, 96, 0.35);
    box-shadow: 0 16px 36px rgba(216, 27, 96, 0.1), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.treatment-clean-card:hover::before {
    opacity: 1;
}

.treatment-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-pink-soft);
    color: var(--brand-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.treatment-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(232, 62, 122, 0.08);
    color: var(--brand-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-clean-card:hover .treatment-card-icon {
    background: var(--brand-pink);
    color: #FFFFFF;
    transform: scale(1.08) rotate(3deg);
}

.treatment-clean-card h3 {
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 0.45rem;
}

.treatment-clean-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.treatment-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--brand-pink);
    text-decoration: none;
    transition: var(--transition);
    margin-top: auto;
}

.treatment-arrow-link span {
    transition: transform 0.2s ease;
}

.treatment-clean-card:hover .treatment-arrow-link span {
    transform: translateX(4px);
}

/* =========================================================================
   4. BEST IVF DOCTOR IN DELHI - DR. PAYAL BAJAJ SPOTLIGHT
   ========================================================================= */
.home-doctor-spotlight {
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F8 50%, #FFFFFF 100%);
    padding: 5.5rem 0;
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.home-doctor-spotlight::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(232, 62, 122, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.doctor-split-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 4rem;
    align-items: center;
}

.doctor-portrait-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctor-photo-wrap {
    width: 100%;
    max-width: 360px;
    height: 460px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #FFF0F5 0%, #FFFFFF 100%);
    box-shadow: 0 20px 50px rgba(232, 62, 122, 0.12), 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 3px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.doctor-photo-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(232, 62, 122, 0.18), 0 8px 25px rgba(0, 0, 0, 0.06);
}

.doctor-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s ease;
}

.doctor-photo-wrap:hover img {
    transform: scale(1.03);
}

.doctor-badge-rating {
    position: relative;
    margin-top: -24px;
    z-index: 3;
    background: #FFFFFF;
    border: 1.5px solid rgba(232, 62, 122, 0.2);
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(10px);
}

.rating-score {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
}

.rating-stars {
    color: #F59E0B;
    font-size: 1rem;
    letter-spacing: 0.12em;
}

.doctor-info-pane {
    display: flex;
    flex-direction: column;
}

.doctor-eyebrow-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(232, 62, 122, 0.1);
    color: #E83E7A;
    border: 1px solid rgba(232, 62, 122, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-bottom: 0.85rem;
}

.doctor-name-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 2.9rem);
    font-weight: 800;
    color: #0F172A;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.doctor-lead-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #E83E7A;
    margin: 0 0 1.25rem;
    letter-spacing: -0.01em;
}

.doctor-spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.35rem;
}

.doctor-spec-tag {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.doctor-bio-lead {
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 1.5rem;
}

.doctor-credentials-accordion {
    background: #FFFFFF;
    border: 1px solid rgba(232, 62, 122, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 1rem;
}

.credential-pill-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 1.25rem;
}

.credential-item {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.45;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cred-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(232, 62, 122, 0.08);
    color: #E83E7A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.credential-item:hover .cred-icon-box {
    background: #E83E7A;
    color: #FFFFFF;
    transform: scale(1.1) rotate(4deg);
}

.credential-item strong {
    color: #0F172A;
}

.doctor-action-row {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.btn-doctor-call {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #E83E7A 0%, #C92F68 100%) !important;
    color: #FFFFFF !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(232, 62, 122, 0.32);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-doctor-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(232, 62, 122, 0.45);
    color: #FFFFFF !important;
}

.btn-doctor-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #FFFFFF;
    color: #E83E7A !important;
    border: 1.5px solid rgba(232, 62, 122, 0.3);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-doctor-outline:hover {
    background: rgba(232, 62, 122, 0.05);
    border-color: #E83E7A;
    transform: translateY(-2px);
}

/* Dedicated About Read More Button with guaranteed white text */
.btn-about-more,
a.btn-about-more,
.about-text-content a.btn-about-more,
.about-text-content .btn-about-more {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    background: #D81B60 !important;
    color: #FFFFFF !important;
    padding: 0.85rem 1.85rem !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.96rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    box-shadow: 0 4px 16px rgba(216, 27, 96, 0.32) !important;
}

.btn-about-more *,
.btn-about-more span,
a.btn-about-more *,
a.btn-about-more span,
.about-text-content a.btn-about-more *,
.about-text-content a.btn-about-more span {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.btn-about-more:hover,
a.btn-about-more:hover,
.about-text-content a.btn-about-more:hover,
.about-text-content .btn-about-more:hover {
    background: #AD1457 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(216, 27, 96, 0.45) !important;
}

.btn-about-more:hover *,
.btn-about-more:hover span,
.about-text-content a.btn-about-more:hover * {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.btn-about-more:hover span:last-child,
.about-text-content a.btn-about-more:hover span:last-child {
    transform: translateX(4px);
}

.btn-doctor-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.72rem 1.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-doctor-outline:hover {
    border-color: var(--brand-pink);
    color: var(--brand-pink);
}

/* ==========================================================================
   5. ABOUT NANDI IVF - MODERN MULTI-IMAGE OVERLAPPING COLLAGE
   ========================================================================== */
.home-about-section {
    position: relative;
    overflow: hidden;
    background-color: var(--surface-white);
    padding: 4.5rem 0;
}

.about-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-text-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 1.15rem;
}

.about-text-content p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 1.15rem;
}

.about-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    margin: 1.85rem 0;
}

.about-stat-box,
.about-metric-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(232, 62, 122, 0.16);
    border-radius: var(--radius-md);
    padding: 1.25rem 0.95rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(216, 27, 96, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-stat-box::before,
.about-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E83E7A, #FF7597);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-stat-box:hover,
.about-metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(216, 27, 96, 0.12);
    border-color: rgba(232, 62, 122, 0.4);
}

.about-stat-box:hover::before,
.about-metric-card:hover::before {
    opacity: 1;
}

.about-stat-num,
.metric-card-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-pink);
    line-height: 1.1;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.about-stat-lbl,
.metric-card-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* Modern Overlapping Image Collage Stack */
.about-collage-column,
.about-mosaic-stack {
    position: relative;
    width: 100%;
    min-height: 440px;
    padding-bottom: 2rem;
}

.collage-primary-frame,
.about-photo-primary {
    width: 82%;
    height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    border: 4px solid #FFFFFF;
    position: relative;
    z-index: 1;
    background: #FFF0F5;
}

.collage-primary-frame img,
.about-photo-primary img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-primary-frame:hover img,
.about-photo-primary:hover img {
    transform: scale(1.03);
}

.collage-secondary-frame,
.about-photo-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 56%;
    height: 230px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(232, 62, 122, 0.15);
    border: 5px solid #FFFFFF;
    background: #FFFFFF;
    z-index: 2;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.collage-secondary-frame:hover,
.about-photo-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(216, 27, 96, 0.22);
}

.collage-secondary-frame img,
.about-photo-secondary img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collage-secondary-frame:hover img,
.about-photo-secondary:hover img {
    transform: scale(1.04);
}

.collage-badge-card,
.about-photo-badge {
    position: absolute;
    top: 15px;
    right: -10px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    box-shadow: 0 12px 35px rgba(216, 27, 96, 0.16);
    border: 1.5px solid rgba(232, 62, 122, 0.2);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 3;
    animation: floatSubtleBadge 6s ease-in-out infinite;
}

.collage-badge-card .badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand-pink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--brand-pink);
    flex-shrink: 0;
}

/* ==========================================================================
   6. WHY CHOOSE NANDI IVF (MODERN BENTO GRID REDESIGN - NO BORING CARDS!)
   ========================================================================== */
.home-why-section {
    position: relative;
    overflow: hidden;
    background-color: var(--surface-neutral);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 3.25rem 0; /* Compact vertical padding */
}

.home-why-section .home-section-head {
    margin-bottom: 2rem;
}

/* Floating Background SVGs & Glow Orbs */
.floating-bg-decor {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.decor-glow-orb {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 27, 96, 0.1) 0%, rgba(216, 27, 96, 0.02) 50%, rgba(216, 27, 96, 0) 70%);
    filter: blur(50px);
    animation: pulseGlowOrb 7s ease-in-out infinite alternate;
}

.decor-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(216, 27, 96, 0.25);
    filter: drop-shadow(0 6px 16px rgba(216, 27, 96, 0.12));
    animation: floatSlow 7s ease-in-out infinite alternate;
    transition: transform 0.5s ease;
}

.decor-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.decor-icon.reverse {
    animation: floatSlowReverse 8.5s ease-in-out infinite alternate;
}

.decor-icon.rotate {
    animation: floatSlowRotate 14s ease-in-out infinite alternate;
}

@keyframes floatSlow {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-16px) rotate(4deg);
    }
    100% {
        transform: translateY(-6px) rotate(-2deg);
    }
}

@keyframes floatSlowReverse {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(16px) rotate(-4deg);
    }
    100% {
        transform: translateY(5px) rotate(3deg);
    }
}

@keyframes floatSlowRotate {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-12px) rotate(10deg) scale(1.04);
    }
    100% {
        transform: translateY(-4px) rotate(-6deg) scale(0.98);
    }
}

@keyframes pulseGlowOrb {
    0% {
        opacity: 0.35;
        transform: scale(0.92);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.08);
    }
}

.why-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.why-card-box {
    background: #FFFFFF;
    border: 1.5px solid rgba(232, 62, 122, 0.12);
    border-radius: 16px;
    padding: 1.35rem 1.45rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card-box:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 62, 122, 0.38);
    box-shadow: 0 14px 32px rgba(232, 62, 122, 0.1);
}

.why-card-wide {
    grid-column: span 2;
    background: linear-gradient(135deg, #FFF5F8 0%, #FFFFFF 100%);
    border-color: rgba(232, 62, 122, 0.22);
}

.why-icon-bubble {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(232, 62, 122, 0.08);
    color: #E83E7A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.9rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
}

.why-card-box:hover .why-icon-bubble {
    transform: scale(1.08) rotate(3deg);
    background: #E83E7A;
    color: #FFFFFF;
}

.why-icon-bubble img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.why-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
    margin: 0 0 0.45rem;
}

.why-card-desc {
    font-size: 0.88rem;
    line-height: 1.58;
    color: #475569;
    margin: 0 0 0.95rem;
    flex-grow: 1;
}

.why-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(232, 62, 122, 0.08);
    color: #E83E7A;
    border: 1px solid rgba(232, 62, 122, 0.2);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.26rem 0.8rem;
    border-radius: 999px;
    width: fit-content;
}

/* ==========================================================================
   7. VIDEO CLINICAL SHOWCASE (CLEAN SLATE FRAME - NO DISCO GLOW)
   ========================================================================== */
.home-video-section {
    background-color: #0F172A;
    color: #FFFFFF;
    padding: 4.5rem 0;
}

.home-video-section .home-title {
    color: #FFFFFF;
}

.home-video-section .home-subtitle {
    color: #94A3B8;
}

.video-glow-wrapper {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 3.5px;
    border-radius: calc(var(--radius-lg) + 3px);
    background: linear-gradient(135deg, #E83E7A, #8B5CF6, #EC4899, #3B82F6, #F43F5E, #E83E7A);
    background-size: 300% 300%;
    animation: rainbowBorderShift 6s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(232, 62, 122, 0.28);
}

@keyframes rainbowBorderShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.video-frame-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.video-frame-container video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    background: #000000;
}

/* ==========================================================================
   8. SUCCESS STORIES CAROUSEL
   ========================================================================== */
.home-success-section {
    background-color: var(--surface-white);
    padding: 4.5rem 0;
    overflow: hidden;
}

.success-slider-box {
    position: relative;
    margin-top: 0.5rem;
}

.success-viewport {
    overflow: hidden;
    padding: 0.5rem 0 1rem;
}

.success-strip-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease-in-out;
}

.success-photo-tile {
    flex: 0 0 280px;
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 3px solid #FFFFFF;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    background: var(--brand-pink-soft);
    transition: var(--transition);
}

.success-photo-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.success-photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.success-photo-label {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 100%);
    padding: 1.5rem 1rem 0.85rem;
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 500;
}

.success-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-success-ctrl {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--brand-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.btn-success-ctrl:hover {
    background: var(--brand-pink);
    color: #FFFFFF;
    border-color: var(--brand-pink);
}

/* ==========================================================================
   9. MOST TRUSTED IVF CENTRE (EDITORIAL TWO-COLUMN WITH FAMILY PHOTO)
   ========================================================================== */
.home-trusted-editorial {
    background-color: var(--surface-blush);
    border-top: 1px solid var(--border-pink);
    border-bottom: 1px solid var(--border-pink);
    padding: 4.5rem 0;
}

.trusted-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.trusted-media-column {
    position: relative;
    width: 100%;
}

.trusted-collage-wrapper {
    position: relative;
    width: 100%;
    min-height: 420px;
    padding-bottom: 25px;
}

.trusted-main-frame,
.trusted-main-image {
    position: relative;
    width: 84%;
    height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    border: 4px solid #FFFFFF;
    background: #FFF0F5;
    z-index: 1;
}

.trusted-main-frame img,
.trusted-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.trusted-main-frame:hover img,
.trusted-main-image:hover img {
    transform: scale(1.03);
}

.trusted-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.4) 65%, transparent 100%);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 1.6rem 1.15rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    z-index: 2;
}

.trusted-inset-doctor {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(232, 62, 122, 0.15);
    border: 5px solid #FFFFFF;
    z-index: 2;
    background: #FFFFFF;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.trusted-inset-doctor:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(216, 27, 96, 0.22);
}

.trusted-inset-doctor img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.trusted-doctor-tag {
    background: #FFFFFF;
    padding: 0.5rem 0.75rem;
    text-align: center;
    border-top: 1px solid rgba(232, 62, 122, 0.12);
}

.trusted-doctor-tag strong {
    display: block;
    font-size: 0.84rem;
    color: #0F172A;
    font-weight: 700;
    line-height: 1.2;
}

.trusted-doctor-tag span {
    display: block;
    font-size: 0.72rem;
    color: #E83E7A;
    font-weight: 600;
    line-height: 1.2;
}

.trusted-corner-badge {
    position: absolute;
    top: 15px;
    left: -12px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 0.7rem 1.15rem;
    box-shadow: 0 12px 30px rgba(216, 27, 96, 0.16);
    border: 1.5px solid rgba(232, 62, 122, 0.2);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    z-index: 3;
    animation: floatSubtleBadge 6s ease-in-out infinite;
}

.trusted-badge-stat {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-pink);
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.trusted-badge-desc {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.25;
}

.trusted-text-column h2 {
    font-size: 2.15rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.trusted-text-column p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.trusted-text-column p a {
    color: var(--brand-pink);
    font-weight: 500;
    text-decoration: underline;
}

.trusted-closing-callout {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.15rem 0 1.35rem;
}

.trusted-button-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   10. FAQS WITH LIVE CLINIC VISIT CARD & INTERACTIVE GOOGLE MAP
   ========================================================================== */
.home-faq-section {
    background-color: var(--surface-white);
    padding: 4.5rem 0;
}

.faq-map-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.faq-clean-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-clean-item {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-clean-item[open] {
    border-color: var(--brand-pink);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.faq-clean-header {
    padding: 1.15rem 1.4rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}

.faq-clean-header::-webkit-details-marker {
    display: none;
}

.faq-toggle-chevron {
    width: 18px;
    height: 18px;
    color: var(--brand-pink);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-clean-item[open] .faq-toggle-chevron {
    transform: rotate(180deg);
}

.faq-clean-body {
    padding: 0 1.4rem 1.25rem 1.4rem;
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* Clinic Contact & Google Map Card */
.clinic-contact-map-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.65rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.clinic-card-header {
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 1rem;
}

.clinic-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.clinic-card-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.clinic-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.clinic-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.clinic-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--brand-pink-soft);
    color: var(--brand-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.clinic-info-icon svg {
    width: 16px;
    height: 16px;
}

.clinic-info-item strong {
    color: var(--text-primary);
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}

.clinic-info-item a {
    color: var(--brand-pink);
    text-decoration: none;
    font-weight: 600;
}

/* Map Embed Container */
.clinic-map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 200px;
    background: #F1F5F9;
}

.clinic-map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.btn-directions-link {
    width: 100%;
    background: var(--brand-pink);
    color: #FFFFFF;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(216, 27, 96, 0.25);
}

.btn-directions-link:hover {
    background: var(--brand-pink-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-slider-next {
        right: 20px;
    }

    .hero-overlay-wrapper {
        position: static;
        padding: 2rem 1.5rem;
        justify-content: center;
    }

    .hero-floating-form {
        width: 100%;
        max-width: 500px;
    }

    .doctor-split-layout,
    .about-split-layout,
    .trusted-split-grid,
    .faq-map-split-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

    .why-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .home-title {
        font-size: 1.85rem;
    }

    .treatments-clean-grid,
    .credential-pill-group,
    .why-bento-grid {
        grid-template-columns: 1fr;
    }

    .why-card-wide {
        grid-column: span 1;
    }

    .about-metrics-row {
        grid-template-columns: 1fr;
    }

    .trusted-text-column h2,
    .doctor-name-display,
    .doctor-name-heading,
    .about-text-content h2 {
        font-size: 1.75rem;
    }

    .about-collage-column,
    .about-mosaic-stack {
        min-height: 330px;
        padding-bottom: 1.5rem;
    }

    .collage-primary-frame,
    .about-photo-primary {
        width: 86%;
        height: 250px;
    }

    .collage-secondary-frame,
    .about-photo-secondary {
        width: 58%;
        height: 160px;
    }

    .collage-badge-card,
    .about-photo-badge {
        top: 10px;
        right: 0;
        padding: 0.6rem 0.95rem;
    }

    .trusted-collage-wrapper {
        min-height: 340px;
        padding-bottom: 1.5rem;
    }

    .trusted-main-frame,
    .trusted-main-image {
        width: 86%;
        height: 250px;
    }

    .trusted-inset-doctor {
        width: 56%;
    }

    .trusted-inset-doctor img {
        height: 140px;
    }

    .trusted-corner-badge {
        top: 10px;
        left: 0;
        padding: 0.5rem 0.85rem;
    }
}

@keyframes floatSubtleBadge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

