/* ===== CSS VARIABLES ===== */
:root {
    /* Mustard Color Palette */
    --mustard: #D4A017;
    --mustard-dark: #B38B12;
    --mustard-light: #FFD700;
    --mustard-pale: #FFEEAD;
    
    /* Accent Colors */
    --accent: #5D8A7F;
    --accent-dark: #3A5A5F;
    
    /* Neutral Colors */
    --dark: #333333;
    --light: #FFFFFF;
    --gray: #F5F5F5;
    --gray-dark: #777777;
    
    /* Circle Sizes (About Section) */
    --circle-size: 100px;    
    --circle-number-size: 18px;    
    --circle-label-size: 13px;

    /* Mustard color palette */
    --mustard: #D4A017;
    --mustard-dark: #B38B12;
    --mustard-light: #FFD700;
    --mustard-pale: #FFEEAD;
    --mustard-gradient: linear-gradient(135deg, #FFD700 0%, #D4A017 50%, #B38B12 100%);
    
    /* Neutral colors */
    --dark: #333333;
    --light: #FFFFFF;
    --gray: #F8F8F8;
    --gray-dark: #777777;
    
    /* Additional colors */
    --shadow: 0 5px 15px rgba(212, 160, 23, 0.15);
    --accent: #5D8A7F;
    --accent-dark: #3A5A5F;
    
    /* Social media colors (if needed) */
    --whatsapp: #25D366;
    --facebook: #3b5998;
    --twitter: #1DA1F2;
    --linkedin: #0077B5;
    --instagram: #E4405F;
}


/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--mustard-dark);
    position: relative;
}


.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--mustard);
    margin: 15px auto;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--gray-dark);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--mustard);
    color: var(--light);
    border: 2px solid var(--mustard);
}

.btn-primary:hover {
    background: var(--mustard-dark);
    border-color: var(--mustard-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 160, 23, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--mustard);
    border: 2px solid var(--mustard);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--mustard);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 160, 23, 0.3);
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--mustard-gradient);
    color: var(--dark);
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    font-family: 'Playfair Display', serif;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateY(0);
    opacity: 1;
}

.announcement-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

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

.announcement-text {
    font-weight: 500;
}

.book-appointment-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.3);
}

.book-appointment-link:hover {
    color: var(--light);
    background: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 40px; /* Height of announcement bar */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: top 0.4s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Rest of your navbar styles remain the same */

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.doctor-name {
    display: flex;
    flex-direction: column;
}

.doctor-name-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mustard-dark);
    line-height: 1;
}

.doctor-name-sub {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    color: var(--gray-dark);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mustard-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--mustard-dark);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 2000;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    z-index: 2000;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--mustard);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--mustard);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .announcement-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .navbar {
        top: 70px; /* Adjusted for mobile */
    }
    
    .navbar.scrolled {
        top: 0;
    }
    
    .menu-toggle {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed;
        top: 110px; /* Adjusted for mobile with announcement */
        left: -100%;
        width: 80%;
        height: calc(100vh - 110px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        transition: all 0.3s ease;
        padding: 40px 20px;
        gap: 20px;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin-left: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 0;
    }
    
    .doctor-name-main {
        font-size: 1.2rem;
    }
    
    .doctor-name-sub {
        font-size: 0.7rem;
    }
    
    .logo {
        width: 45px;
        height: 45px;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 12px 15px;
    }
    
    .announcement-bar {
        font-size: 0.8rem;
        padding: 6px 0;
    }
    
    .book-appointment-link {
        font-weight: 600;
        padding: 3px 10px;
    }
    
    .logo-container {
        gap: 10px;
    }
    
    .doctor-name-main {
        font-size: 1.1rem;
    }
    
    .doctor-name-sub {
        font-size: 0.65rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-img {
        width: 25px;
        height: 25px;
    }
    
    .navbar {
        top: 60px; /* Adjusted for smaller mobile */
    }
    
    .nav-links {
        top: 100px; /* Adjusted for smaller mobile */
        height: calc(100vh - 100px);
    }
}
/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: url('../images/background.gif') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    z-index: 1;
}

.hero-content {
    position: relative;
    width: 45%;
    padding: 3rem;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.3s;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    position: relative;
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.about-image-container {
    position: relative;
    flex: 1;
    min-width: 380px;
}

.image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 2;
    position: relative;
}

.stats-container {
    position: absolute;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    bottom: -25px;
    left: 0;
    z-index: 3;
    padding: 0 15px;
}

.stat-circle {
    width: var(--circle-size);
    height: var(--circle-size);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.stat-circle:hover {
    transform: translateY(-5px);
}

.stat-circle.experience {
    background: linear-gradient(135deg, #9b7b12, #E3C465);
    animation-delay: 0.2s;
}

.stat-circle.patients {
    background: linear-gradient(135deg, #0D4F4F, #3FBFBF);
    animation-delay: 0.4s;
}

.stat-circle.success {
    background: linear-gradient(135deg, #0B614B, #6DE2B5);
    animation-delay: 0.6s;
}

.stat-circle.fourth {
    background: linear-gradient(135deg, #6D2E3A, #ECA8B2);
    animation-delay: 0.8s;
}
.stat-circle {
    padding: 5px;                  /* Prevents text from hitting the circle edge */
    text-align: center;            /* Ensures text stays centered */
    line-height: 1.2;              /* Improves readability of multi-line labels */
}

.stat-label {
    text-transform: uppercase;     /* Optional: makes labels look more professional */
    font-weight: 500;
}

.stat-number {
    font-size: var(--circle-number-size);
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: var(--circle-label-size);
    position: relative;
    z-index: 2;
}

.about-text {
    flex: 1;
}

.mission-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.mission-box {
    padding-left: 20px;
    border-left: 3px solid var(--mustard);
}

.mission-box h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--mustard-dark);
    font-family: 'Playfair Display', serif;
}

.mission-box p {
    font-family: 'Playfair Display', serif;
}

.about-desc {
    margin-bottom: 30px;
}

.about-desc p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-family: 'Playfair Display', serif;
}

.action-section {
    display: flex;
    gap: 20px;
}

.dropdown-section {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: var(--mustard);
    color: var(--light);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.dropdown-btn:hover {
    background: var(--mustard-dark);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--light);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    z-index: 1000;
    margin-top: 10px;
}

.dropdown-content a {
    color: var(--dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.dropdown-content a:hover {
    background: var(--mustard);
    color: white;
    padding-left: 25px;
}

.dropdown-section:hover .dropdown-content {
    display: block;
}

.social-section {
    margin-top: 40px;
    text-align: center;
}

.social-section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--mustard-dark);
    font-family: 'Playfair Display', serif;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.social-icon:hover {
    transform: translateY(-5px);
    color: var(--mustard);
}

.social-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    filter: grayscale(30%);
}

.social-icon:hover .social-img {
    filter: grayscale(0%);
}

.social-icon span {
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image-container {
        min-width: auto;
        margin-bottom: 40px;
    }
    
    .stats-container {
        bottom: -30px;
    }
    
    .action-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-section {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .announcement-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .navbar {
        top: 70px;
    }
    
    .navbar.scrolled {
        top: 0;
    }
    
    .menu-toggle {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed;
        top: 130px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 130px);
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        transition: all 0.3s ease;
        padding: 20px;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .announcement-bar {
        padding: 8px 0;
        font-size: 0.85rem;
    }
    
    .hero {
        justify-content: center;
        align-items: center;
        background-position: left center;
    }

    .hero::before {
        display: none;
    }

    .hero-content {
        width: 90%;
        padding: 2rem;
        text-align: center;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        margin: 0 auto;
    }

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

    .hero-text {
        font-size: 1rem;
    }

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

@media (max-width: 576px) {
    .about {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .stats-container {
        position: relative;
        justify-content: space-around;
        bottom: 0;
        margin-top: 20px;
    }
    
    .stat-circle {
        width: 80px;
        height: 80px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
    
    .action-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .dropdown-btn {
        width: 100%;
        justify-content: center;
    }
    
    .dropdown-content {
        position: static;
        margin-top: 10px;
        width: 100%;
    }
    
    .navbar .container {
        padding: 12px 15px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .announcement-bar {
        font-size: 0.8rem;
        padding: 6px 0;
    }
    
    .book-appointment-link {
        font-weight: 600;
    }
    
    .hero-content {
        padding: 1.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Services Section */
.services {
    background: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--mustard-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--mustard-dark);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--mustard);
    color: var(--light);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--mustard-dark);
}

.service-para{
    padding-bottom: 10px;
}

/* References Section */
.references {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/backg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light);
    position: relative;
}

.references::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 160, 23, 0.2);
}

.references .section-title,
.references .section-subtitle {
    color: var(--light);
    position: relative;
    z-index: 2;
}

.references .section-title::after {
    background: var(--light);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.reference-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

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

.reference-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 160, 23, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.reference-overlay p {
    font-size: 1.2rem;
    text-align: center;
    color: var(--light);
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.reference-item:hover .reference-overlay {
    opacity: 1;
}

.reference-item:hover .reference-overlay p {
    transform: translateY(0);
}

.reference-item:hover img {
    transform: scale(1.1);
}

/* CSS for IVF Section */
.ivf {
    background: var(--light);
}

.ivf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ivf-video {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ivf-video:hover {
    transform: translateY(-5px);
}

.video-container {
    position: relative;
    padding-bottom: 177.78%; /* 9:16 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.play-pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, 
        var(--mustard) 0%, 
        #FF6B6B 30%, 
        #4ECDC4 70%, 
        var(--accent) 100%);
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    z-index: 2;
}

.play-pause-btn:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-pause-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Add this new rule */
.video-container.playing .play-pause-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}


@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 160, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .ivf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ivf-grid {
        grid-template-columns: 1fr;
    }
    
    .play-pause-btn {
        width: 50px;
        height: 50px;
    }
}

/* Reviews Section */
 .reviews-container {
        position: relative;
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .review-slider {
        display: flex;
        gap: 30px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 20px 0;
        scrollbar-width: none; /* Firefox */
    }
    
    .review-slider::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .review-card {
        min-width: 300px;
        background: var(--light);
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 25px;
        transition: transform 0.3s ease;
    }
    
    .review-card:hover {
        transform: translateY(-10px);
    }
    
    .review-header {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }
    
    .review-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 15px;
    }
    
    .review-meta h4 {
        margin-bottom: 5px;
        color: var(--dark);
    }
    
    .review-stars {
        color: var(--mustard);
        font-size: 14px;
    }
    
    .review-content {
        margin-bottom: 15px;
        color: var(--gray-dark);
        font-style: italic;
    }
    
    .review-footer {
        display: flex;
        align-items: center;
        font-size: 12px;
        color: var(--gray-dark);
    }
    
    .review-platform {
        width: 16px;
        height: 16px;
        margin-right: 5px;
    }
    
    .review-arrows {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }
    
    .review-arrow {
        background: var(--mustard);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .review-arrow:hover {
        background: var(--mustard-dark);
        transform: scale(1.1);
    }


    /* ivf photos */
.trusted-clinic {
  background-color: var(--light);
}

.trusted-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.trusted-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.trusted-gallery img:hover {
  transform: scale(1.03);
}

#ivfphoto{
    padding-bottom: 30px;
}

@media (max-width: 992px) {
  .trusted-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trusted-gallery img:nth-child(3) {
    grid-column: span 2;
    width: 50%;
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .trusted-gallery {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .trusted-gallery img:nth-child(3) {
    grid-column: auto;
    width: 100%;
  }
  
  .trusted-gallery img {
    height: 200px;
  }
}

    

/* JavaScript will be needed to handle the slider functionality */
/* different stuff */
:root {
            --mustard: #D4A017;
            --mustard-dark: #B38B12;
            --teal: #5D8A7F;
            --teal-dark: #3A5A5F;
            --light: #FFFFFF;
            --light-gray: #F5F5F5;
            --dark: #333333;
        }

        * {
            margin-bottom: 1px;
            padding: 0;
            box-sizing: border-box;

        }

        body {
            font-family: 'Playfair Display', serif;
            background-color: var(--light-gray);
        }

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

        .section {
            padding: 80px 0;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-align: center;
            color: var(--teal-dark);
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--mustard);
            margin: 15px auto 40px;
        }

        /* Timeline Styles */
        .timeline {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
        }

        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 100%;
            background: linear-gradient(to bottom, 
                rgba(93, 138, 127, 0.2) 0%, 
                var(--teal) 50%, 
                rgba(212, 160, 23, 0.2) 100%);
        }

        .timeline-progress {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 0;
            background: linear-gradient(to bottom, var(--mustard), var(--teal));
            transition: height 0.5s ease;
            z-index: 2;
        }

        .timeline-container {
            position: relative;
            padding: 40px 0;
        }

        .milestone {
            position: relative;
            width: 100%;
            margin-bottom: 60px;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .milestone.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .milestone:nth-child(odd) .milestone-content {
            margin-left: auto;
            text-align: right;
            padding-right: 80px;
            padding-left: 0;
        }

        .milestone:nth-child(even) .milestone-content {
            margin-right: auto;
            text-align: left;
            padding-left: 80px;
            padding-right: 0;
        }

        .milestone-content {
            width: calc(50% - 40px);
            padding: 30px;
            background: var(--light);
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        .milestone-year {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 10px;
            background: linear-gradient(135deg, var(--mustard), var(--teal));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .milestone-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--teal-dark);
        }

        .milestone-desc {
            color: var(--dark);
            line-height: 1.6;
        }

        .milestone-image {
            position: absolute;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid var(--light);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .milestone:nth-child(odd) .milestone-image {
            right: -60px;
            top: 50%;
            transform: translateY(-50%);
        }

        .milestone:nth-child(even) .milestone-image {
            left: -60px;
            top: 50%;
            transform: translateY(-50%);
        }

        .milestone-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .milestone-image:hover {
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .milestone-image:hover img {
            transform: scale(1.1);
        }

        /* Lightbox Styles */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .lightbox-content {
            background: var(--light);
            padding: 30px;
            border-radius: 10px;
            max-width: 600px;
            width: 90%;
            position: relative;
            animation: fadeIn 0.3s ease;
        }

        .lightbox-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 5px;
            margin-bottom: 20px;
        }

        .lightbox-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--teal-dark);
        }

        .lightbox-year {
            font-size: 1.5rem;
            color: var(--mustard-dark);
            margin-bottom: 10px;
        }

        .lightbox-title {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: var(--teal-dark);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            .timeline::before,
            .timeline-progress {
                left: 40px;
            }

            .milestone-content {
                width: calc(100% - 80px);
                margin-left: 80px !important;
                text-align: left !important;
                padding-left: 30px !important;
                padding-right: 30px !important;
            }

            .milestone-image {
                left: -40px !important;
                right: auto !important;
                width: 80px;
                height: 80px;
            }

            .milestone-year {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .section {
                padding: 50px 0;
            }

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

            .milestone-content {
                padding: 20px;
            }

            .milestone-title {
                font-size: 1.1rem;
            }
        }



/* Experience Section */
.experience-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  font-family: 'Roboto', sans-serif;
}

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

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #B38B12;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #555;
  font-size: 1.1rem;
  font-weight: 300;
}

.experience-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
  padding: 30px;
}

.map-container {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

/* IMPORTANT: Map container must have defined height */
#experience-map {
  width: 100%;
  height: 100%;
  min-height: 600px;
}

.locations {
  flex: 1;
  min-width: 300px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 10px;
}

/* Scrollbar styling */
.locations::-webkit-scrollbar {
  width: 6px;
}

.locations::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.locations::-webkit-scrollbar-thumb {
  background: #D4A017;
  border-radius: 10px;
}

.locations::-webkit-scrollbar-thumb:hover {
  background: #B38B12;
}

.location-item {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 4px solid #D4A017;
}

.location-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 160, 23, 0.15);
  background-color: var(--mustard-pale);
}

.location-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #B38B12;
  margin-bottom: 8px;
  padding-right: 40px;
}

.location-period {
  display: inline-block;
  background: #D4A017;
  color: white;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.location-description {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.location-icon {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 1.8rem;
  opacity: 0.2;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Leaflet map marker styling */
.med-marker {
  background: #D4A017;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .experience-content {
    flex-direction: column;
  }
  
  .map-container {
    order: -1;
    height: 350px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .locations {
    max-height: none;
    overflow-y: visible;
  }
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--white-color);
    padding: 4rem 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3.125rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    opacity: 0.8;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.875rem;
}

.info-icon {
    width: 3.125rem;
    height: 3.125rem;
    background-color: rgba(26, 95, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3125rem;
}

.info-text p {
    color: var(--gray-color);
    margin-bottom: 0.3125rem;
    font-size: 0.95rem;
}

.map-container {
    margin-top: 2.5rem;
    border-radius: 0.9375rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: 0.9375rem;
    box-shadow: var(--shadow-sm);
    background-color: var(--mustard-pale);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9375rem;
    border: 0.0625rem solid var(--light-gray);
    border-radius: 0.5rem;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.1875rem rgba(26, 95, 122, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 7.5rem;
}

/* new */
/* ===== MAP BORDER STYLES ===== */
.map-border {
    border: 3px solid var(--mustard);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.15);
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.map-border:hover {
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.25);
    border-color: var(--mustard-dark);
}

/* Add a subtle decorative corner */
.map-border::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, transparent 50%, var(--mustard) 50%);
    z-index: 1;
}

.map-border::after {
    content: '📍';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 18px;
    z-index: 2;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
}

.google-map {
    display: block;
    border-radius: 10px;
}

/* Map container adjustments */
.map-container {
    margin-top: 20px;
    position: relative;
}

/* Map title/label */
.map-label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--mustard);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    font-family: 'Playfair Display', serif;
}

/* CLINIC INFO STYLES */
.clinic-info {
    background: var(--light);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--mustard);
    position: relative;
}

.clinic-title {
    font-size: 1.4rem;
    color: var(--mustard-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
}

.clinic-title i {
    color: var(--mustard);
    background: var(--mustard-pale);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
    }
    
    .clinic-info {
        margin-bottom: 20px;
    }
    
    .map-border {
        border-width: 2px;
    }
}

@media (max-width: 768px) {
    .clinic-info {
        padding: 20px;
    }
    
    .clinic-title {
        font-size: 1.2rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-icon {
        margin-bottom: 10px;
    }
    
    .map-border::before {
        width: 30px;
        height: 30px;
    }
    
    .map-border::after {
        font-size: 14px;
        top: 3px;
        right: 3px;
    }
}


/*new*/
/* Contact Section Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

/* Contact Box Styles */
.contact-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.contact-box-title {
    color: #B38B12;
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
}

.contact-box-title i {
    font-size: 1.3rem;
    color: #D4A017;
}

/* Contact Info Box */
.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f8f4e9 0%, #f0e9d5 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4A017;
    font-size: 1.1rem;
}

.contact-info-text h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info-text p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-social-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.contact-social-links h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-icons-small {
    display: flex;
    gap: 12px;
}

.social-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-small:hover {
    transform: translateY(-3px);
}

.social-icon-small.whatsapp {
    background: #25D366;
}

.social-icon-small.facebook {
    background: #1877F2;
}

.social-icon-small.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-icon-small.linkedin {
    background: #0077B5;
}

/* Contact Form Box */
.contact-form-box .form-group {
    margin-bottom: 20px;
}

.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
    outline: none;
    border-color: #D4A017;
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.contact-form-box textarea {
    min-height: 120px;
    resize: vertical;
}

.full-width {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Location Boxes */
.location-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.location-info {
    flex: 1;
    margin-bottom: 20px;
}

.location-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.location-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #f8f4e9 0%, #f0e9d5 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4A017;
    font-size: 1rem;
    flex-shrink: 0;
}

.location-text h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.location-text p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.location-map {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-top: auto;
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    color: #D4A017;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: #B38B12;
}

.map-link i {
    margin-right: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-box {
        padding: 20px;
    }
    
    .contact-box-title {
        font-size: 1.3rem;
    }
    
    .location-detail {
        flex-direction: column;
        gap: 10px;
    }
    
    .location-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}



/* FORM STYLES ENHANCEMENT */
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4A017' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--mustard);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.form-group input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    cursor: pointer;
}

.form-group input[type="date"]:focus {
    outline: none;
    border-color: var(--mustard);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

/* Submit button enhancement */
.btn.btn-primary i {
    margin-right: 8px;
}





/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .info-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .info-text h3 {
        font-size: 1.1rem;
    }
    
    .info-text p {
        font-size: 0.85rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Blog Section */
.blog {
    background: var(--light);
}

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

.blog-post {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

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

.blog-post:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--mustard-dark);
}

.blog-excerpt {
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--mustard-dark);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--mustard);
    gap: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* FAQ Section */
.faq {
    background: var(--gray);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-btn {
    width: 100%;
    padding: 20px;
    background: var(--light);
    border: none;
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mustard-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-btn:hover {
    background: var(--mustard-pale);
}

.accordion-btn i {
    transition: transform 0.3s ease;
}

.accordion-btn.active i {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 20px;
    background: var(--light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content p {
    padding-bottom: 20px;
}

.accordion-content.active {
    max-height: 300px;
    padding: 0 20px 20px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--mustard);
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--light);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--mustard);
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--mustard);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--mustard);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--light);
    opacity: 0.7;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--mustard);
}

/* Floating Action Buttons */
/* Replace existing .fab styles with these */
.fab-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.fab::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
} 

@keyframes ripple {
    0% {
        transform: scale(1, 1) translate(-50%, -50%);
        opacity: 1;
    }
    100% {
        transform: scale(20, 20) translate(-50%, -50%);
        opacity: 0;
    }
}

.whatsapp {
    background: #25D366;
}

.email {
    background: var(--mustard);
}


/* Animations */
@keyframes floatBall {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-50px) translateX(20px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        padding-left: 1.1rem;
        margin-top: 50px;
    }

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

    .about-content {
        flex-direction: column;
    }

    .about-image-container {
        min-width: auto;
        margin-bottom: 50px;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--light);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin-left: 0;
    }

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

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

    .timeline-container::before {
        left: 31px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
    }

    .timeline-content,
    .timeline-img {
        width: 100%;
    }

    .timeline-item::after {
        left: 31px;
    }

    .timeline-content::before {
        display: none;
    }

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

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .mission-section {
        flex-direction: column;
    }

    .asymmetric-shape {
        width: 300px;
        height: 400px;
    }
}



/* Continuous Background for Reviews + IVF Clinic Sections */
#reviews, 
.trusted-clinic {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f5 0%, #fffcf6 50%, #f0f0c2 100%);
    background-size: 300% 300%;
    animation: gradientFlow 18s ease infinite;
    z-index: 1;
}

/* Shared Animated Pattern */
#reviews::before,
.trusted-clinic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 160, 23, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(93, 138, 127, 0.03) 0%, transparent 20%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%23D4A017" fill-opacity="0.03" d="M30,10 Q50,5 70,10 T90,30 Q95,50 90,70 T70,90 Q50,95 30,90 T10,70 Q5,50 10,30 T30,10 Z"/></svg>');
    background-size: 300px 300px;
    opacity: 0.5;
    z-index: -1;
}

/* Animation */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Ensure content stays above background */
.reviews-container,
.trusted-clinic .container {
    position: relative;
    z-index: 2;
}/* Continuous Background for Reviews + IVF Clinic Sections */
#reviews, 
.trusted-clinic {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f5 0%, #fffcf6 50%, #f8f8f5 100%);
    background-size: 300% 300%;
    animation: gradientFlow 18s ease infinite;
    z-index: 1;
}

/* Shared Animated Pattern */
#reviews::before,
.trusted-clinic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 160, 23, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(93, 138, 127, 0.03) 0%, transparent 20%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%23D4A017" fill-opacity="0.03" d="M30,10 Q50,5 70,10 T90,30 Q95,50 90,70 T70,90 Q50,95 30,90 T10,70 Q5,50 10,30 T30,10 Z"/></svg>');
    background-size: 300px 300px;
    opacity: 0.5;
    z-index: -1;
}

/* Animation */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Ensure content stays above background */
.reviews-container,
.trusted-clinic .container {
    position: relative;
    z-index: 2;
}

/* Animated Background for Achievements Section */
#achievements {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 50%, #f9f9f9 100%);
    background-size: 400% 400%;
    animation: gradientBG 18s ease infinite;
}

#achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 65%, rgba(212, 160, 23, 0.03) 65%, rgba(212, 160, 23, 0.03) 70%, transparent 70%),
        linear-gradient(-45deg, transparent 65%, rgba(93, 138, 127, 0.03) 65%, rgba(93, 138, 127, 0.03) 70%, transparent 70%);
    background-size: 40px 40px;
    z-index: 0;
}

#achievements .container {
    position: relative;
    z-index: 1;
}

/* Animation Keyframes */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Floating Animation for Stat Circles */
.stat-circle {
    animation: floatStat 6s ease-in-out infinite;
}

.stat-circle.patients {
    animation-delay: 0.5s;
}

.stat-circle.success {
    animation-delay: 1s;
}

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

/* Pulse Animation for Review Cards */
.review-card {
    transition: all 0.3s ease;
    animation: pulseCard 8s ease-in-out infinite;
}

.review-card:nth-child(2n) {
    animation-delay: 1s;
}

.review-card:nth-child(3n) {
    animation-delay: 2s;
}

@keyframes pulseCard {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    50% {
        box-shadow: 0 8px 25px rgba(212, 160, 23, 0.15);
    }
}

/* Subtle Scale Animation for IVF Gallery */
.trusted-gallery img {
    transition: all 0.5s ease;
    animation: subtleScale 10s ease-in-out infinite;
}

.trusted-gallery img:nth-child(2n) {
    animation-delay: 2s;
}

.trusted-gallery img:nth-child(3n) {
    animation-delay: 4s;
}

@keyframes subtleScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.01);
    }
}

/* Timeline Animation Enhancements */
.milestone-content {
    transition: all 0.5s ease;
    animation: timelineGlow 12s ease-in-out infinite;
}

.milestone:nth-child(2n) .milestone-content {
    animation-delay: 2s;
}

.milestone:nth-child(3n) .milestone-content {
    animation-delay: 4s;
}

@keyframes timelineGlow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 15px 35px rgba(212, 160, 23, 0.2);
    }
}


/* Floating Action Buttons */
.fab-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  align-items: flex-end;
}

.fab-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
}

/* Button Colors */
.back-to-top {
  background: var(--mustard);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.whatsapp {
  background: #25D366;
}

.email {
  background: var(--accent);
}

/* Button Animations */
.fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.fab:active {
  transform: scale(0.95);
}

/* Ripple Effect */
.fab::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 1%, transparent 1%) center/15000%;
  opacity: 0;
  transition: opacity 0.5s, background-size 0.5s;
}

.fab:active::after {
  background-size: 100%;
  opacity: 1;
  transition: 0s;
}

/* Back to Top Button States */
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--mustard-dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .fab { 
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .fab-container {
    right: 15px;
    bottom: 15px;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .fab {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}



/* ===== MEDICAL ALERT STYLES ===== */
.medical-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Playfair Display', serif;
    animation: fadeInAlert 0.4s ease-out;
}

.medical-alert-content {
    background: linear-gradient(135deg, #ffffff 0%, #fffcf0 100%);
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 3px solid var(--mustard);
    animation: slideUpAlert 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.medical-alert-header {
    background: linear-gradient(135deg, var(--mustard-dark), var(--mustard));
    color: white;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.medical-alert-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.medical-alert-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.close-alert-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.close-alert-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.medical-alert-body {
    padding: 40px 30px;
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
}

.medical-alert-body p {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.medical-alert-footer {
    padding: 25px 30px;
    text-align: center;
    background: var(--mustard-pale);
}

.btn-acknowledge {
    background: linear-gradient(135deg, var(--mustard), var(--mustard-dark));
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 5px 15px rgba(212, 160, 23, 0.3);
}

.btn-acknowledge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.4);
    background: linear-gradient(135deg, var(--mustard-dark), #9b7b12);
}

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

/* Animations */
@keyframes fadeInAlert {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUpAlert {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Alert hidden state */
.medical-alert.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.medical-alert.hidden .medical-alert-content {
    transform: translateY(60px) scale(0.95);
    transition: transform 0.4s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .medical-alert-content {
        width: 95%;
        margin: 20px;
    }
    
    .medical-alert-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .medical-alert-header h3 {
        font-size: 1.5rem;
    }
    
    .close-alert-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
    
    .medical-alert-body {
        padding: 30px 20px;
        font-size: 1rem;
    }
    
    .medical-alert-footer {
        padding: 20px;
    }
    
    .btn-acknowledge {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .medical-alert-header h3 {
        font-size: 1.3rem;
    }
    
    .medical-alert-body {
        padding: 25px 15px;
    }
    
    .medical-alert-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}