/*
 * Agam Fertility Center - Design System & Custom Stylesheet
 * Brand guidelines: Emotional, premium, caring, and medically trustworthy.
 */

:root {
    /* Color Palette - Updated to Gold/Cream Brand Theme */
    --primary-blue: #d4a47a;
    /* Primary Gold */
    --secondary-blue: #42362b;
    /* Deep Bronze/Brown for text readability */
    --primary-pink: #c59369;
    /* Medium Gold/Bronze accent */
    --light-pink: #f3ebdb;
    /* Secondary Champagne/Cream */
    --light-blue: #faf6ee;
    /* Ultra-light Cream background */
    --white: #FFFFFF;
    --dark-text: #2d251e;
    /* Warm dark grey for body text */
    --grey-text: #786c60;
    /* Warm grey for secondary text */

    /* Font Families */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Reset & Styling */
html,
body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--dark-text);
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

.silk-wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

p {
    text-align: justify;
    line-height: 1.8;
}

.text-center p,
p.text-center {
    text-align: center !important;
}

.text-start p,
p.text-start {
    text-align: left !important;
}

.text-end p,
p.text-end {
    text-align: right !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-montserrat {
    font-family: var(--font-heading);
}

/* Typography Utilities */
.text-blue {
    color: var(--primary-blue);
}

.text-pink {
    color: var(--primary-pink);
}



.text-grey-text {
    color: var(--grey-text);
}

.text-secondary-blue {
    color: var(--secondary-blue) !important;
}

.text-light-cream {
    color: var(--primary-blue) !important;
}

/* Override text-light-cream inside the gold CTA card on inner pages */
.cta-gradient-card .text-light-cream {
    color: rgba(255, 255, 255, 0.92) !important;
}

.bg-light-pink {
    background-color: var(--light-pink);
}

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

.bg-light-blue {
    background-color: var(--light-blue);
}

.border-pink-subtle {
    border: 1px solid rgba(197, 147, 105, 0.2) !important;
}

/* .fa-location-dot:before,
.fa-map-marker-alt:before {
    color: #fff;
}

.fa-phone:before {
    color: #fff;
}

.fa-envelope:before {
    color: #fff;
}

.fa-clock-four:before,
.fa-clock:before {
    color: #fff;
} */

/* Custom Buttons */
.btn-pink {
    background-color: var(--primary-pink);
    color: var(--white);
    border: none;
    transition: var(--transition-smooth);
}

.btn-pink:hover {
    background-color: #b07f55;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 147, 105, 0.3) !important;
}

.btn-dark-bronze {
    background-color: var(--secondary-blue) !important;
    color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.btn-dark-bronze:hover {
    background-color: rgba(66, 54, 43, 0.9) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.btn-outline-blue {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    transition: var(--transition-smooth);
}

.btn-outline-blue:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-pink {
    border: 2px solid var(--primary-pink);
    color: var(--primary-pink);
    background: transparent;
    transition: var(--transition-smooth);
}

.btn-outline-pink:hover {
    background-color: var(--primary-pink);
    color: var(--white);
    transform: translateY(-2px);
}

.transition-lift:hover {
    transform: translateY(-4px);
}

/* TOP BAR */
.top-bar {
    background-color: var(--secondary-blue);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-info li {
    display: inline-flex;
    align-items: center;
}

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

/* HEADER & NAVBAR */
.main-header {
    background-color: #f8f4ec;
    position: relative;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.4s ease;
    background-color: var(--white);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar-brand.logo-overlap {
    position: absolute;
    top: 0px;
    left: 1.5rem;
    z-index: 1100;
    margin: 0;
    padding: 0;
}

.navbar-brand.logo-overlap img {
    width: 90px;
    height: auto;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--white);
    border-top: none;
    background-color: var(--white);
    transition: var(--transition-smooth);
}

@media (min-width: 992px) {
    .navbar-brand.logo-overlap {
        left: 3rem;
    }

    .navbar-brand.logo-overlap img {
        width: 110px;
        border-radius: 0 0 16px 16px;
        border-width: 4px;
    }
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--secondary-blue);
    padding: 0.5rem 16px !important;
    transition: var(--transition-smooth);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background-color: var(--primary-pink);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-pink);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown arrow for Specialization menu */
.navbar-nav .nav-item.dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Hide the Bootstrap default caret on dropdown-toggle */
.navbar-nav .nav-item.dropdown .dropdown-toggle::after {
    display: none !important;
}

/* Custom chevron icon via CSS */
.navbar-nav .nav-item.dropdown .dropdown-toggle .dropdown-chevron {
    display: inline-block;
    font-size: 0.7rem;
    transition: transform 0.25s ease;
    vertical-align: middle;
    margin-top: 1px;
}

/* Rotate chevron when dropdown is open */
.navbar-nav .nav-item.dropdown.show .dropdown-toggle .dropdown-chevron {
    transform: rotate(180deg);
}

/* 2-Column Dropdown Menu Styling (Desktop) */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown .dropdown-menu.show {
        display: grid;
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        grid-auto-flow: column;
        grid-template-rows: repeat(8, auto);
        gap: 4px 15px;
        padding: 20px 25px;
        min-width: 580px;
    }

    /* Light vertical divider between columns */
    .navbar-nav .nav-item.dropdown .dropdown-menu.show::before {
        content: "";
        position: absolute;
        top: 20px;
        bottom: 20px;
        left: 50%;
        width: 1px;
        background-color: rgba(66, 54, 43, 0.12); /* light bronze/brown divider */
        transform: translateX(-50%);
    }

    .navbar-nav .nav-item.dropdown .dropdown-menu.show li {
        width: 100%;
    }
}

/* Dropdown Item Styling */
.navbar-nav .dropdown-menu .dropdown-item {
    padding: 8px 14px;
    border-radius: 6px;
    color: var(--secondary-blue);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: var(--light-pink);
    color: var(--secondary-blue) !important;
    padding-left: 18px; /* subtle slide-in micro-animation */
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 70px 1.5rem 1.5rem 1.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(66, 54, 43, 0.08);
        margin-top: 15px;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(66, 54, 43, 0.08);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-toggler {
        margin-left: auto;
    }
}

.btn-header-cta {
    font-weight: 600;
    font-size: 0.9rem;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--white) 50%, var(--light-blue) 100%);
    padding: 40px 0 40px 0;
    min-height: 90vh;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 540px;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    z-index: 1;
    animation: floatAnimation 12s infinite ease-in-out;
}

.shape-1 {
    width: 250px;
    height: 250px;
    background-color: var(--primary-pink);
    top: 10%;
    left: -5%;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background-color: var(--primary-blue);
    bottom: 5%;
    right: -10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background-color: var(--light-pink);
    top: 40%;
    right: 40%;
    animation-delay: 4s;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) scale(1.05) rotate(180deg);
    }

    100% {
        transform: translateY(0) scale(1) rotate(360deg);
    }
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-image-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 164, 122, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
}

.hero-img {
    max-width: 90%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: morphShape 15s infinite ease-in-out;
}

@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.wave-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.wave-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 60px;
}

.wave-divider-bottom .shape-fill {
    fill: var(--white);
}

.pulse-icon {
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* GLASSMORPHISM APPOINTMENT FORM */
/* .appointment-form-section {
    margin-top: -80px;
} */

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.input-group-custom {
    display: flex;
    flex-direction: column;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 0.95rem;
    z-index: 10;
}

.input-with-icon .form-control,
.input-with-icon .form-select {
    padding-left: 50px;
    height: 54px;
    border: 1.5px solid rgba(197, 147, 105, 0.2);
    background-color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-smooth);
    color: var(--dark-text);
    font-size: 0.9rem;
}

.input-with-icon .form-control:focus,
.input-with-icon .form-select:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 10px rgba(197, 147, 105, 0.15);
}

/* ABOUT US */
.about-image-card {
    text-align: center;
}

.main-about-img {
    border-radius: 24px;
    max-width: 90%;
    border: 6px solid var(--white);
}

.about-card-badge {
    position: absolute;
    bottom: -15px;
    right: 25px;
    z-index: 10;
    max-width: 180px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(197, 147, 105, 0.2) !important;
}

.checklist-item {
    background-color: var(--light-blue);
    padding: 12px 20px;
    border-radius: 12px;
}

/* WHY CHOOSE US */
.why-card {
    height: 100%;
    transition: var(--transition-smooth);
    border: 1.5px solid transparent;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 147, 105, 0.2);
    box-shadow: 0 15px 30px rgba(197, 147, 105, 0.15) !important;
}

.why-icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card .why-icon-box i {
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon-box i {
    transform: scale(1.2) rotate(8deg);
}

.bg-light-blue-icon {
    background-color: var(--light-blue);
}

/* TREATMENTS GRID */
.treatment-card {
    height: 100%;
    transition: var(--transition-smooth);
}

.treatment-card:hover {
    border-color: rgba(197, 147, 105, 0.3) !important;
    box-shadow: 0 15px 30px rgba(197, 147, 105, 0.08) !important;
}

.treatment-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TREATMENTS 3D SWIPER CAROUSEL */
.treatments-swiper-container {
    position: relative;
    width: 100%;
}

.treatments-swiper {
    padding: 30px 10px 60px 10px !important;
    width: 100%;
}

.treatments-swiper .swiper-slide {
    width: 350px;
    height: auto;
    opacity: 1;
}

.treatment-slide-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(197, 147, 105, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.treatment-slide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(197, 147, 105, 0.15);
    border-color: rgba(197, 147, 105, 0.3);
}

.treatment-slide-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

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

.treatment-slide-card:hover .treatment-slide-img {
    transform: scale(1.08);
}

.treatment-slide-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.treatment-slide-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 12px;
}

.treatment-slide-desc {
    font-size: 0.9rem;
    color: var(--grey-text);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.treatment-slide-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-pink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.treatment-slide-link:hover {
    color: var(--primary-blue);
    padding-left: 4px;
}

.treatments-swiper-container .swiper-button-prev,
.treatments-swiper-container .swiper-button-next {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    color: var(--primary-blue);
    border: 1px solid rgba(197, 147, 105, 0.15);
    transition: var(--transition-smooth);
    z-index: 10;
}

.treatments-swiper-container .swiper-button-prev:after,
.treatments-swiper-container .swiper-button-next:after {
    font-size: 1.1rem;
    font-weight: bold;
}

.treatments-swiper-container .swiper-button-prev:hover,
.treatments-swiper-container .swiper-button-next:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.treatments-swiper-container .swiper-button-prev {
    left: -25px;
}

.treatments-swiper-container .swiper-button-next {
    right: -25px;
}

@media (max-width: 768px) {
    .treatments-swiper-container .swiper-button-prev {
        left: 5px;
    }

    .treatments-swiper-container .swiper-button-next {
        right: 5px;
    }

    .treatments-swiper .swiper-slide {
        width: 300px;
    }
}

.treatments-swiper-container .swiper-pagination-bullet-active {
    background-color: var(--primary-blue) !important;
}


/* IVF LAB */
.lab-image-container {
    text-align: center;
}

.main-lab-img {
    border-radius: 24px;
    border: 6px solid var(--white);
    max-width: 95%;
}

.lab-pulse-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--primary-pink);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(197, 147, 105, 0.7);
    animation: pulsingCircle 2s infinite;
}

@keyframes pulsingCircle {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(197, 147, 105, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(197, 147, 105, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(197, 147, 105, 0);
    }
}

.lab-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* STATS SECTION */
.stats-section {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
}

.stat-box {
    display: inline-block;
}

.stat-suffix {
    margin-left: -5px;
}

/* MEET OUR EXPERTS */
.doctors-swiper {
    padding-bottom: 50px !important;
}

.doctor-card {
    transition: var(--transition-smooth);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.doctor-img-box {
    /* overflow: visible to allow experience badge to float half-out */
}

.doctor-img-box img {
    transition: var(--transition-smooth);
}

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

.doctor-socials {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(66, 54, 43, 0.8), rgba(0, 0, 0, 0));
    padding: 15px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.doctor-card:hover .doctor-socials {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.doctor-socials a {
    width: 36px;
    height: 36px;
    background-color: var(--primary-pink);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.doctor-socials a:hover {
    background-color: var(--white);
}

.doctor-socials a:hover i {
    color: var(--primary-pink) !important;
}

/* PARENTHOOD TIMELINE & UMBILICAL CORD REDESIGN */
.timeline-container {
    position: relative;
}

.timeline-number-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
    z-index: 4;
    background: var(--white) !important;
    border: 2px solid var(--light-pink) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    color: var(--primary-blue);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.timeline-card {
    position: relative;
    z-index: 4;
}

.cord-svg-container {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.cord-svg-container-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cord-svg-desktop,
.cord-svg-mobile {
    width: 100%;
    height: 100%;
    display: block;
}

.cord-path-bg {
    fill: none;
    stroke-linecap: round;
    opacity: 0.65;
}

.cord-path-bg.strand-1 {
    stroke: var(--light-pink);
    stroke-width: 8px;
}

.cord-path-bg.strand-2 {
    stroke: #e6dac3;
    /* Slightly darker cream for twisted depth */
    stroke-width: 6px;
}

.cord-path-flow {
    fill: none;
    stroke-linecap: round;
    opacity: 0;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: opacity 0.4s ease;
}

.cord-path-flow.strand-1 {
    stroke: var(--primary-pink);
    stroke-width: 4.5px;
}

.cord-path-flow.strand-2 {
    stroke: #ab7a52;
    /* Darker bronze accent for shaded twisted depth */
    stroke-width: 3.5px;
}

.journey-section.active .cord-path-flow {
    opacity: 1;
    animation: drawCordPath 4s cubic-bezier(0.4, 0, 0.2, 1) forwards, pulseCordGlow 2.5s infinite ease-in-out 4s;
}

@media (max-width: 991.98px) {
    .cord-path-bg.strand-1 {
        stroke: rgba(243, 235, 219, 0.45) !important;
    }

    .cord-path-bg.strand-2 {
        stroke: rgba(230, 218, 195, 0.35) !important;
    }

    .cord-path-flow.strand-1 {
        stroke: rgba(212, 164, 122, 0.25) !important;
    }

    .cord-path-flow.strand-2 {
        stroke: rgba(197, 147, 105, 0.2) !important;
    }
}

@keyframes drawCordPath {
    from {
        stroke-dashoffset: 1;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulseCordGlow {
    0% {
        filter: drop-shadow(0 0 1px var(--primary-pink));
    }

    50% {
        filter: drop-shadow(0 0 8px var(--primary-pink));
    }

    100% {
        filter: drop-shadow(0 0 1px var(--primary-pink));
    }
}

/* Responsive grid layout */
@media (min-width: 992px) {
    .timeline-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem 1rem;
        position: relative;
        align-items: start;
    }

    .grid-item.baby-step {
        margin-top: -130px;
        /* Align vertical center of baby womb to cord center (y = 30px): 160px center - 30px center = 130px shift */
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 991.98px) {
    .timeline-grid {
        display: flex;
        flex-direction: column;
        gap: 3.5rem;
        position: relative;
        align-items: center;
    }

    .grid-item {
        width: 100%;
        max-width: 540px;
    }

    .grid-item.baby-step {
        position: relative;
        z-index: 1;
    }
}

/* Womb & Baby Adaptivity Styling */
.baby-womb-wrapper {
    width: 320px;
    height: 320px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.baby-img {
    width: 270px;
    height: 270px;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.baby-logo-overlay {
    width: 270px;
    height: 270px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 2;
    opacity: 0.4;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@keyframes numberPulseZoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 0 15px rgba(197, 147, 105, 0.4);
    }

    100% {
        transform: scale(1);
    }
}

.timeline-number-box.active-pulse {
    background: var(--primary-pink) !important;
    border-color: var(--primary-pink) !important;
    color: var(--white) !important;
    box-shadow: 0 6px 15px rgba(197, 147, 105, 0.3) !important;
    animation: numberPulseZoom 3s infinite ease-in-out;
}

.baby-img.active-pulse {
    border-color: var(--primary-pink) !important;
    box-shadow: 0 10px 30px rgba(197, 147, 105, 0.5) !important;
    animation: numberPulseZoom 3s infinite ease-in-out;
}

.baby-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 15px rgba(212, 164, 122, 0.15));
}

.womb-border {
    transform-origin: center;
    animation: rotateWombRing 40s linear infinite;
}

@keyframes rotateWombRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.heart-pulse-group {
    animation: heartPulseEffect 1.5s infinite ease-in-out;
    transform-origin: 0px 0px;
}

@keyframes heartPulseEffect {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.3);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

/* PATIENT TESTIMONIALS (Light Layout matching Journey Section) */
.testimonials-section {
    background-color: var(--light-blue);
}

.testimonials-section h2.text-white {
    color: var(--primary-blue) !important;
}

.testimonials-section p.text-white-50 {
    color: var(--grey-text) !important;
}

.testimonials-section .testimonial-card {
    background: var(--white) !important;
    border: 1px solid rgba(197, 147, 105, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    min-height: 200px;
}

.testimonials-section .testimonial-card h5.text-white {
    color: var(--secondary-blue) !important;
}

.testimonials-section .testimonial-card p.text-white-80 {
    color: var(--dark-text) !important;
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.border-white-10 {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-white-30 {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.rating-stars {
    font-size: 0.85rem;
}

.testimonials-swiper {
    padding-bottom: 50px !important;
}

/* VIDEO SUCCESS STORIES */
.video-thumb-card {
    position: relative;
}

.play-btn-circle {
    width: 70px;
    height: 70px;
    background-color: var(--primary-pink);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(197, 147, 105, 0.4);
    transition: var(--transition-smooth);
    z-index: 10;
}

.play-btn-circle:hover {
    transform: translate(-50%, -50%) scale(1.15) !important;
    background-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(212, 164, 122, 0.4);
}

.video-info-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 9;
}

/* FERTILITY PACKAGES */
.pricing-card {
    background-color: var(--white);
    transition: var(--transition-smooth);
}

.pricing-card.highlighted {
    transform: scale(1.03);
    border-width: 2px !important;
    box-shadow: 0 15px 35px rgba(197, 147, 105, 0.12) !important;
}

.pricing-card.highlighted:hover {
    transform: scale(1.03) translateY(-4px);
}

/* BLOGS */
.blog-card {
    height: 100%;
}

.blog-card img {
    transition: var(--transition-smooth);
}

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

/* FAQ ACCORDION */
.accordion-custom .accordion-item {
    border: 1.5px solid rgba(197, 147, 105, 0.2) !important;
}

.accordion-custom .accordion-button {
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.accordion-custom .accordion-button:not(.collapsed) {
    background-color: var(--light-pink);
    color: var(--primary-pink);
}

.accordion-custom .accordion-button::after {
    background-size: 1rem;
}

/* CONTACT INFO */
.contact-icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* FOOTER */
.footer {
    background-color: #d4a47a;
    border-top: 5px solid #f8f4ec;
}

.footer .logo-text img {
    width: 90px;
    height: auto;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--white);
    /* border-top: none; */
    background-color: var(--white);
    transition: var(--transition-smooth);
    width: 110px;
    border-radius: 0 0 16px 16px;
    border-width: 4px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateX(4px);
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    background-color: var(--primary-pink);
}

.footer-bottom {
    background: #f3ebdb;
    color: #000;

}

/* FLOATING CTAs */
.floating-ctas {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-cta-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.floating-cta-btn:hover {
    transform: scale(1.1);
}

.floating-cta-btn.bg-blue {
    background-color: var(--primary-blue);
}

.floating-cta-btn.bg-pink {
    background-color: var(--primary-pink);
}

/* MOBILE STICKY BOTTOM BAR */
.sticky-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-blue);
    z-index: 999;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--primary-pink);
}

.mobile-cta-link {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 60px 0 100px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* .appointment-form-section {
        margin-top: -50px;
    } */

    .pricing-card.highlighted {
        transform: none;
    }

    .pricing-card.highlighted:hover {
        transform: translateY(-4px);
    }

    .timeline-line {
        display: none;
    }

    .timeline-number-box {
        margin-bottom: 15px !important;
    }

    body {
        padding-bottom: 70px;
        /* Space for mobile bottom bar */
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
}

/* =============================================
   INNER PAGES - SHARED STYLES
   ============================================= */

/* PAGE HERO / BREADCRUMB BANNER */
.page-hero {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-pink) 60%, var(--primary-blue) 100%);
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.breadcrumb-custom {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.breadcrumb-custom a:hover {
    color: var(--primary-pink);
}

.breadcrumb-custom .sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.breadcrumb-custom .current {
    color: var(--primary-pink);
    font-size: 0.9rem;
    font-weight: 600;
}

/* DROPDOWN MENU STYLES */
.dropdown-menu {
    border: none !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    min-width: 220px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--dark-text);
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    background-color: var(--light-pink);
    color: var(--primary-pink);
    padding-left: 26px;
}

/* SECTION HEADER UTILITY */
.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-pink);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.25;
}

/* TEAM / DOCTOR PAGE CARDS */
.team-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(197, 147, 105, 0.15) !important;
}

.team-img-box {
    position: relative;
    overflow: hidden;
}

.team-img-box img {
    transition: var(--transition-smooth);
    width: 100%;
}

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

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(66, 54, 43, 0.85) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social-links a {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.team-social-links a:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
}

.team-info {
    padding: 22px;
}

.team-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.team-role {
    font-size: 0.85rem;
    color: var(--primary-pink);
    font-weight: 600;
}

.team-exp {
    font-size: 0.82rem;
    color: var(--grey-text);
}

/* TREATMENT DETAIL CARDS */
.treatment-detail-card {
    border-radius: 20px;
    background: var(--white);
    border: 1.5px solid rgba(197, 147, 105, 0.15);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.treatment-detail-card:hover {
    border-color: rgba(197, 147, 105, 0.25);
    box-shadow: 0 15px 40px rgba(197, 147, 105, 0.08) !important;
    transform: translateY(-4px);
}

.treatment-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 30px;
}

/* BLOG PAGE */
.blog-list-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    border: 1.5px solid rgba(197, 147, 105, 0.12);
    transition: var(--transition-smooth);
}

.blog-list-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08) !important;
}

.blog-list-card img {
    transition: var(--transition-smooth);
}

.blog-list-card:hover img {
    transform: scale(1.04);
}

.blog-meta span {
    font-size: 0.82rem;
    color: var(--grey-text);
}

.blog-category-tag {
    background: var(--light-pink);
    color: var(--primary-pink);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

.sidebar-card {
    border-radius: 16px;
    border: 1.5px solid rgba(197, 147, 105, 0.15);
    overflow: hidden;
}

.sidebar-card .card-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
}

.recent-post {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.recent-post:last-child {
    border-bottom: none;
}

.recent-post:hover .post-title {
    color: var(--primary-pink);
}

.recent-post img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.post-title {
    font-size: 0.87rem;
    color: var(--dark-text);
    font-weight: 600;
    line-height: 1.4;
}

.post-date {
    font-size: 0.78rem;
    color: var(--grey-text);
}

/* CONTACT PAGE */
.contact-form-card {
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.07);
    border: 1.5px solid rgba(197, 147, 105, 0.12);
}

.contact-detail-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.contact-detail-item:hover {
    box-shadow: 0 8px 25px rgba(197, 147, 105, 0.18);
    transform: translateY(-2px);
}

.contact-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.form-control-custom,
.form-select-custom {
    border: 1.5px solid rgba(197, 147, 105, 0.2);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--dark-text);
    transition: var(--transition-smooth);
    background-color: var(--light-blue);
    width: 100%;
}

.form-control-custom:focus,
.form-select-custom:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(197, 147, 105, 0.08);
    background-color: var(--white);
    outline: none;
}

/* Form Validation Styles */
.form-control-custom.is-invalid,
.form-select-custom.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fff8f8;
}

.form-control-custom.is-invalid:focus,
.form-select-custom.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.invalid-feedback-custom {
    display: none;
    width: 100%;
    margin-top: 4px;
    font-size: 0.825rem;
    color: #dc3545;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.invalid-feedback-custom.d-block {
    display: block;
}



/* SUCCESS STORIES PAGE */
.story-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    border: 1.5px solid rgba(197, 147, 105, 0.15);
    transition: var(--transition-smooth);
}

.story-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-5px);
}

.story-quote {
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--primary-pink);
    font-style: italic;
    color: var(--grey-text);
    line-height: 1.7;
}

.stat-highlight-box {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    border-radius: 20px;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

/* IVF LAB PAGE */
.equipment-card {
    border-radius: 16px;
    border: 1.5px solid rgba(197, 147, 105, 0.15);
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
    background: var(--white);
}

.equipment-card:hover {
    border-color: rgba(197, 147, 105, 0.25);
    box-shadow: 0 10px 30px rgba(197, 147, 105, 0.07);
    transform: translateY(-4px);
}

.equipment-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
}

/* ABOUT PAGE */
.value-card {
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1.5px solid rgba(197, 147, 105, 0.15);
    background: var(--white);
}

.value-card:hover {
    box-shadow: 0 15px 40px rgba(197, 147, 105, 0.18);
    transform: translateY(-6px);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.7rem;
}

.milestone-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 16px;
    background: var(--white);
    border: 1.5px solid rgba(197, 147, 105, 0.15);
    transition: var(--transition-smooth);
    margin-bottom: 16px;
}

.milestone-item:hover {
    border-color: rgba(197, 147, 105, 0.2);
}

.milestone-year {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-pink);
    min-width: 70px;
    line-height: 1;
}

/* MAX-WIDTH UTILITY */
.max-width-600 {
    max-width: 600px;
}

.max-width-700 {
    max-width: 700px;
}

.max-width-800 {
    max-width: 800px;
}

.max-width-1000 {
    max-width: 1000px;
}


/* RESPONSIVE INNER PAGES */
@media (max-width: 991.98px) {
    .page-hero {
        padding: 100px 0 60px 0;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 575.98px) {
    .page-hero-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* =============================================
   SILK WAVE DECORATIVE PATTERNS
   ============================================= */

.silk-wave-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.silk-wave {
    position: absolute;
    opacity: 0;
    animation: silkFadeIn 1.5s ease forwards;
}

@keyframes silkFadeIn {
    to {
        opacity: 1;
    }
}

/* Hero section waves */
.hero-section .silk-wave-container {
    z-index: 1;
}

/* About section wave */
.about-section .silk-wave-container {
    z-index: 0;
}

/* Treatments section wave */
.treatments-section .silk-wave-container {
    z-index: 0;
}

/* Why Choose Us section wave */
.why-choose-section .silk-wave-container {
    z-index: 1;
}

/* Gentle drift animation for the waves */
.silk-wave-drift {
    animation: silkFadeIn 1.5s ease forwards, silkDrift 18s ease-in-out infinite;
}

.silk-wave-drift-slow {
    animation: silkFadeIn 1.5s ease forwards, silkDrift 25s ease-in-out infinite reverse;
}

@keyframes silkDrift {
    0% {
        transform: translateX(0) translateY(0) scaleX(1);
    }

    33% {
        transform: translateX(18px) translateY(-10px) scaleX(1.02);
    }

    66% {
        transform: translateX(-12px) translateY(8px) scaleX(0.98);
    }

    100% {
        transform: translateX(0) translateY(0) scaleX(1);
    }
}

/* =============================================
   CUSTOM STYLING & ANIMATIONS FOR AGAM PAGES
   ============================================= */

.about-image-wrapper-animated {
    position: relative;
    display: inline-block;
    width: 100%;
    animation: floatCard 6s infinite ease-in-out;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.animated-bg-blob {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--light-pink) 0%, rgba(212, 164, 122, 0.15) 100%);
    z-index: 1;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blobMorph 10s infinite ease-in-out;
    filter: blur(5px);
}

@keyframes blobMorph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%;
    }
}

.pillar-card {
    transition: var(--transition-smooth);
    border: 1px solid rgba(197, 147, 105, 0.15);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(197, 147, 105, 0.15) !important;
    border-color: var(--primary-pink);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1) rotate(10deg);
}

.vision-mission-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.vision-mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(197, 147, 105, 0.18) !important;
    border-color: var(--primary-pink);
}

.icon-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.vision-mission-card:hover .icon-orb {
    transform: scale(1.1);
    background-color: var(--primary-pink) !important;
    color: var(--white) !important;
}

.specialist-image-container {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}

.specialist-frame {
    position: absolute;
    top: 15px;
    left: -15px;
    right: 15px;
    bottom: -15px;
    border: 3px solid var(--primary-blue);
    border-radius: 20px;
    z-index: 1;
    transition: var(--transition-smooth);
    animation: frameBreath 8s infinite ease-in-out;
}

@keyframes frameBreath {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03) translate(-5px, 5px);
    }
}

.specialist-badge {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    background: #d4a47a;
    right: -15px;
    max-width: 220px;
    animation: floatBadge 5s infinite ease-in-out;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.approach-item {
    transition: var(--transition-smooth);
}

.approach-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(197, 147, 105, 0.15) !important;
    border-color: var(--primary-pink) !important;
}

.approach-icon {
    width: 45px;
    height: 45px;
    transition: var(--transition-smooth);
}

.approach-item:hover .approach-icon {
    transform: rotate(360deg);
    background-color: var(--primary-pink) !important;
    color: var(--white) !important;
}

.cta-gradient-card {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-blue) 100%);
    box-shadow: 0 20px 40px rgba(197, 147, 105, 0.25) !important;
}

.cta-shine {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.cta-gradient-card:hover .cta-shine {
    left: 150%;
}

.divider-line {
    width: 80px;
    height: 3px;
    background-color: var(--primary-pink);
    border-radius: 2px;
}

.max-width-600 {
    max-width: 600px;
}

.max-width-700 {
    max-width: 700px;
}

/* Custom classes for removing inline styles in about.php */
.about-img-framed {
    border: 6px solid var(--white);
}

.specialist-portrait {
    object-fit: cover;
    max-height: 520px;
    border: 6px solid var(--white);
}

.shape-story-3 {
    opacity: 0.08;
}

.shape-specialist-1 {
    opacity: 0.05;
    right: 5%;
    top: 15%;
    left: auto;
}

.shape-approach-2 {
    opacity: 0.05;
    left: 5%;
    bottom: 10%;
}

.shape-cta-3 {
    opacity: 0.04;
    top: 10%;
    left: 30%;
}

/* Animated Doctor Badge overlay on Doctor Image */
.doctor-badge-container {
    position: absolute;
    bottom: 25px;
    left: 15px;
    z-index: 10;
    width: 170px;
}

@media (min-width: 992px) {
    .doctor-badge-container {
        left: -40px;
    }
}

@media (min-width: 1200px) {
    .doctor-badge-container {
        left: -85px;
    }
}

.doctor-badge-animated {
    animation: floatDoctorBadge 4s ease-in-out infinite;
}

.doctor-img-badge {
    text-align: center;
    background-color: var(--primary-pink);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(197, 147, 105, 0.3) !important;
    transition: var(--transition-smooth);
    border-radius: 16px;
    /* equivalent to rounded-4 */
    padding: 1rem;
    /* equivalent to p-3 */
}

.doctor-card:hover .doctor-img-badge {
    transform: scale(1.05);
    box-shadow: 0 18px 36px rgba(197, 147, 105, 0.45) !important;
    background-color: #b07f55;
    /* subtle darken on hover */
}

@keyframes floatDoctorBadge {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

/* =============================================
   OVULATION CALCULATOR CUSTOM WIDGET STYLES
   ============================================= */
.custom-calendar-widget {
    background-color: var(--white);
    border: 1.5px solid rgba(197, 147, 105, 0.15);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(66, 54, 43, 0.04);
}

.calendar-nav {
    border-bottom: 1.5px solid rgba(197, 147, 105, 0.12);
    padding-bottom: 15px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary-blue);
    transition: var(--transition-smooth);
    user-select: none;
}

.calendar-day-cell:hover:not(.text-muted-subtle) {
    background-color: var(--light-pink);
    color: var(--primary-pink);
}

.calendar-day-cell.active {
    background-color: var(--secondary-blue) !important;
    color: var(--white) !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(66, 54, 43, 0.3);
}

.calendar-day-cell.text-muted-subtle {
    color: rgba(66, 54, 43, 0.25);
    cursor: not-allowed;
}

/* Timeline animations & styling */
.cycle-timeline-wrapper {
    border: 1.5px solid rgba(197, 147, 105, 0.15);
}

.phase-menstruation {
    background-color: var(--primary-pink) !important;
    color: var(--white) !important;
}

.phase-follicular {
    background-color: var(--light-pink) !important;
    color: var(--secondary-blue) !important;
    border: 1.5px solid rgba(197, 147, 105, 0.25);
}

.phase-fertile {
    background-color: var(--primary-blue) !important;
    color: var(--secondary-blue) !important;
    box-shadow: 0 4px 12px rgba(212, 164, 122, 0.2);
}

.phase-luteal {
    background-color: var(--light-blue) !important;
    color: var(--secondary-blue) !important;
    border: 1.5px solid rgba(197, 147, 105, 0.15);
}

.animate-pulse-glow {
    animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 164, 122, 0.4);
    }

    50% {
        box-shadow: 0 0 15px 5px rgba(212, 164, 122, 0.2);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 164, 122, 0.4);
    }
}

.border-end-md {
    border-right: none;
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid rgba(197, 147, 105, 0.15) !important;
    }
}

.fs-5-5 {
    font-size: 1.05rem;
}

/* =============================================
   PAGE HERO BACKGROUNDS AND GRADIENTS
   ============================================= */

.page-hero {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 80px 0 100px 0;
    /* Add extra spacing at bottom to clear the wave divider */
    z-index: 1;
}

/* Gradient overlay for text display (left side gradient) */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Left to right dark bronze gradient fading from solid dark bronze to transparent */
    background: linear-gradient(to right, rgb(42 33 26 / 78%) 0%, rgb(42 33 26 / 85%) 35%, rgb(42 33 26 / 0%) 65%, rgba(42, 33, 26, 0) 100%);
    z-index: 1;
}

/* Make sure container content is above the gradient overlay */
.page-hero .container {
    position: relative;
    z-index: 3;
}

/* Style breadcrumbs inside page hero for high contrast */
.page-hero .breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.page-hero .breadcrumb-custom a:hover {
    color: var(--primary-blue) !important;
    /* hover to primary gold */
}

.page-hero .breadcrumb-custom .sep {
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 0 8px;
}

.page-hero .breadcrumb-custom .current {
    color: var(--primary-blue) !important;
    /* Gold */
    font-weight: 600;
}

/* Optimize text contrast for page hero titles and subtitles */
.page-hero .page-hero-title {
    color: var(--white) !important;
    /* White title looks super clean and high contrast on dark overlay */
}

.page-hero .page-hero-subtitle {
    color: #f3ebdb !important;
    /* color: var(--primary-blue) !important; */
    /* Gold subtitle accent */
}

/* Page Hero Background Mappings */
.page-hero-advanced {
    background-image: url('images/inner-page-banner/Advanced Fertility Treatments.jpg');
}

.page-hero-female-fertility {
    background-image: url('images/inner-page-banner/Female Fertility Assessment.jpg');
}

.page-hero-fertility-preservation {
    background-image: url('images/inner-page-banner/Fertility Preservation.jpg');
}

.page-hero-icsi {
    background-image: url('images/inner-page-banner/ICSI Treatment.jpg');
}

.page-hero-iui {
    background-image: url('images/inner-page-banner/IUI (Intrauterine Insemination).jpg');
}

.page-hero-ivf {
    background-image: url('images/inner-page-banner/IVF-Treatment.jpg');
}

.page-hero-natural-cycle {
    background-image: url('images/inner-page-banner/Natural Cycle IVF Treatment.jpg');
}

.page-hero-follicular {
    background-image: url('images/inner-page-banner/Follicular Monitoring.jpg');
}

.page-hero-pgta {
    background-image: url('images/inner-page-banner/PGT-A Testing.jpg');
}

.page-hero-pgtm {
    background-image: url('images/inner-page-banner/PGT-M Testing.jpg');
}

.page-hero-pgtsr {
    background-image: url('images/inner-page-banner/PGT-SR Testing.jpg');
}

.page-hero-donor-egg {
    background-image: url('images/inner-page-banner/Donor Egg IVF.jpg');
}

.page-hero-donor-sperm {
    background-image: url('images/inner-page-banner/Donor Sperm Treatment.jpg');
}

.page-hero-donor-embryo {
    background-image: url('images/inner-page-banner/Donor Embryo Program.jpg');
}

.page-hero-endometrial {
    background-image: url('images/inner-page-banner/endometrial.jpg');
}

.page-hero-male-fertility {
    background-image: url('images/inner-page-banner/Male Fertility Assessment.jpg');
}

.page-hero-about {
    background-image: url('images/inner-page-banner/About Us.jpg');
}

.page-hero-contact {
    background-image: url('images/inner-page-banner/Contact Us.jpg');
}

.page-hero-ovulation-calculator {
    background-image: url('images/inner-page-banner/Ovulation Calculator.jpg');
}

/* Fallback/General background for other inner pages */
.page-hero-doctors,
.page-hero-blogs {
    background-image: url('images/inner-page-banner/Advanced Fertility Treatments.jpg');
}

/* Responsive styles for Page Hero */
@media (max-width: 991.98px) {
    .page-hero {
        padding: 60px 0 80px 0;
        min-height: auto;
    }

    .page-hero::before {
        /* Mobile gradient overlay: top to bottom dark overlay to support stacked text readability */
        background: linear-gradient(to bottom, rgba(42, 33, 26, 0.95) 0%, rgba(42, 33, 26, 0.9) 65%, rgba(42, 33, 26, 0.7) 85%, rgba(42, 33, 26, 0.3) 100%);
    }
}

/* =============================================
   BOOKING MODAL STYLES
   ============================================= */
.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1050;
    background-color: var(--white) !important;
    opacity: 0.8;
    border-radius: 50% !important;
    padding: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    border: none !important;
}

.modal-close-btn:hover {
    opacity: 1;
    transform: scale(1.05);
    background-color: var(--light-pink) !important;
}

.modal-image-side {
    position: relative;
    min-height: 100%;
}

.modal-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(42, 33, 26, 0.95) 0%, rgba(42, 33, 26, 0.5) 60%, rgba(42, 33, 26, 0.1) 100%);
    width: 100%;
    height: 100%;
}

.py-2-5 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

#modalSuccessAlert i {
    color: var(--primary-pink);
}

/* Footer Specialization Double Columns */
@media (min-width: 576px) {
    .footer-links-double {
        column-count: 2;
        column-gap: 25px;
    }
    .footer-links-double li {
        break-inside: avoid;
    }
}