/* ========== CSS VARIABLES ========== */
:root {
  /* Colors derived from Logo */
  --primary-color: #C45C7C;      /* Rose pink */
  --primary-dark: #A34563;       /* Darker rose */
  --primary-light: #FDEEF3;      /* Blush pink */
  --secondary-color: #7B6BA5;    /* Soft lavender/purple */
  --secondary-light: #F3F0FA;    /* Light lavender */
  --accent-color: #D4976A;       /* Warm gold/peach */
  --accent-light: #FFF5ED;       /* Light peach */
  
  /* Text and Backgrounds */
  --text-color: #2D2D3F;         /* Near-black */
  --text-muted: #6B7280;         /* Muted gray */
  --bg-color: #FFFFFF;           /* Clean white */
  --white: #ffffff;
  
  /* Utilities */
  --whatsapp: #25D366;
  --font-family: 'Inter', 'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --transition: all 0.3s ease-in-out;
  --box-shadow: 0 10px 30px rgba(196, 92, 124, 0.08);
  --box-shadow-hover: 0 15px 40px rgba(196, 92, 124, 0.15);
  --border-radius: 16px;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    padding-bottom: 60px; /* Space for mobile action bar */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

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

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(196, 92, 124, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 92, 124, 0.4);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 151, 106, 0.3);
}

.btn-accent:hover {
    background-color: #c08458;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 151, 106, 0.4);
}

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

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

/* ========== HEADER & NAVIGATION ========== */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    font-weight: 500;
}

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

.hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: inline;
    }
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.shrink {
    padding: 5px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    transition: var(--transition);
    gap: 20px;
}

.header.shrink .navbar {
    padding: 8px 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.header.shrink .logo img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: none;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--box-shadow);
    list-style: none;
    min-width: 240px;
    border-radius: 12px;
    padding: 15px 0;
    z-index: 1000;
    border: 1px solid var(--primary-light);
}
.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}
.dropdown-menu li a {
    padding: 10px 25px;
    display: block;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}
.dropdown-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    padding-left: 30px;
}

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

.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-sm-hide {
    display: none;
}

.header-action .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.mobile-menu-btn {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
        gap: 8px;
        align-items: center;
    }
    .nav-links li a {
        font-weight: 600;
        font-size: 0.88rem;
        color: var(--text-color);
        padding: 5px 6px;
        position: relative;
        white-space: nowrap;
    }
    .nav-links li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 6px;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: var(--transition);
    }
    .nav-links li a:hover::after {
        width: calc(100% - 12px);
    }
    .nav-links li a:hover {
        color: var(--primary-color);
    }
    .btn-sm-hide {
        display: inline-flex;
    }
    .mobile-menu-btn {
        display: none;
    }
}

@media (min-width: 1200px) {
    .nav-links {
        gap: 16px;
    }
    .nav-links li a {
        font-size: 0.92rem;
        padding: 5px 4px;
    }
    .header-action .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Mobile menu styles moved to max-width: 767px query at the end of the file */

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(160deg, var(--primary-light) 0%, #fff 50%, #faf7f8 100%);
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Hero decorative circle removed for cleaner layout */

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-dark);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-family: var(--font-family);
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    border: 8px solid var(--white);
    position: relative;
    z-index: 2;
}

/* Hero image decoration removed for cleaner look */

@media (min-width: 992px) {
    .hero {
        padding: 80px 0 120px;
    }
    .hero .container {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    .hero-content {
        flex: 1.2;
        text-align: left;
        padding-right: 50px;
    }
    .hero-content h1 {
        font-size: 3.2rem;
    }
    .hero-btns {
        flex-direction: row;
        justify-content: flex-start;
    }
    .hero-image {
        flex: 0.8;
        max-width: 480px;
    }
}

/* ========== TRUST METRICS ========== */
.trust-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--box-shadow);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.metric-item {
    text-align: center;
    padding: 15px;
}

.metric-item h4 {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-family: var(--font-family);
    font-weight: 700;
}

.metric-item p {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

@media (min-width: 768px) {
    .trust-metrics {
        grid-template-columns: repeat(4, 1fr);
        padding: 50px;
    }
    .metric-item h4 {
        font-size: 3rem;
    }
    .metric-item {
        border-right: 1px solid var(--primary-light);
    }
    .metric-item:last-child {
        border-right: none;
    }
}

/* ========== SERVICES/TREATMENTS CARDS ========== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--white);
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 1px solid #f0e8ed;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    background: var(--primary-light);
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.service-card .btn-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.service-card .btn-link:hover {
    color: var(--primary-color);
    gap: 12px;
}

/* ========== WHY CHOOSE US ========== */
.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-family: var(--font-family);
    color: var(--text-color);
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========== IVF JOURNEY STEPS ========== */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
}

@media (min-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .process-grid::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 50px;
        right: 50px;
        height: 2px;
        background: dashed 2px var(--secondary-light);
        z-index: 0;
    }
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 3px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(123, 107, 165, 0.1);
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: var(--font-family);
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 50px 40px;
    text-align: center;
    color: var(--white);
    border-radius: 18px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(30deg);
}

.cta-banner h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* ========== DOCTOR CARDS ========== */
.doctor-profile-large {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .doctor-profile-large {
        flex-direction: row;
    }
}

.doctor-image-wrapper {
    flex: 1;
    position: relative;
}

.doctor-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.doctor-info-wrapper {
    flex: 1.5;
    padding: 50px;
}

.doctor-info-wrapper h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.doctor-designation {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.doctor-message {
    background: var(--secondary-light);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 30px;
    font-style: italic;
    color: var(--text-color);
}

/* Secondary Doctor Cards */
.doctor-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-10px);
}

.doctor-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
}

.doctor-info {
    padding: 30px;
    text-align: center;
}

.doctor-info h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-family: var(--font-family);
}

.doctor-info .spec {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* ========== TESTIMONIALS ========== */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    position: relative;
    border: 1px solid var(--primary-light);
}

.testimonial-card i.fa-quote-left {
    font-size: 3rem;
    color: var(--primary-light);
    position: absolute;
    top: 25px;
    left: 25px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-color);
    font-style: italic;
    margin: 20px 0 30px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--primary-light);
    padding-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
    font-family: var(--font-family);
}

.testimonial-author .stars {
    color: #FFD700;
    font-size: 0.85rem;
}

/* ========== BLOG CARDS ========== */
.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 1px solid var(--primary-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.blog-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: var(--font-family);
}

.blog-title a {
    color: var(--text-color);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.blog-link:hover {
    gap: 12px;
}

/* ========== FAQ ACCORDION ========== */
.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border: 1px solid var(--primary-light);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-dark);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-light);
}

.faq-question i {
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

/* ========== FLOATING WHATSAPP & MOBILE ACTION BAR ========== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 767px) {
    .floating-whatsapp {
        bottom: 80px; /* Above mobile action bar */
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    display: flex;
    z-index: 1000;
}

.action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
    border-right: 1px solid #eee;
}
.action-btn i {
    font-size: 1.3rem;
    margin-bottom: 5px;
}
.action-btn:last-child {
    border-right: none;
}

.call-btn { color: var(--primary-color); }
.whatsapp-btn { color: var(--whatsapp); }
.book-btn { color: var(--accent-color); }

@media (min-width: 768px) {
    .mobile-action-bar {
        display: none;
    }
}

/* ========== FOOTER ========== */
.footer {
    background-color: #2D2D3F; /* Dark background */
    color: #E2E8F0;
    padding: 80px 0 20px;
    border-top: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(196,92,124,0.1) 0%, transparent 70%);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-widget h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-family: var(--font-family);
    position: relative;
    display: inline-block;
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
    display: inline-block;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #cbd5e1;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

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

/* Forms */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    background-color: #F9FAFB;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: 10%;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 5%;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Layout Utilities */
.flex-column-gap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .flex-row-gap {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }
    .flex-1 {
        flex: 1;
    }
}

/* Animation Utilities */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Treatment Details Sidebar Layout */
.treatment-layout {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

@media (min-width: 992px) {
    .treatment-layout {
        flex-direction: row;
    }
    
    .treatment-main {
        flex: 2;
    }
    
    .treatment-sidebar {
        flex: 1;
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

.treatment-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.treatment-content h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.treatment-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.treatment-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.treatment-content li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* Treatment Contact Card */
.contact-card-sidebar {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--white) 100%);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(123, 107, 165, 0.1);
}

/* ========== VIDEO SECTION (Preserved from old, adjusted colors) ========== */
.video-section {
    background: linear-gradient(135deg, #2D2D3F 0%, #1A1A2E 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(196,92,124,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(212,151,106,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.video-section .section-title h2 {
    color: #ffffff;
}

.video-section .section-title h2::after {
    background: var(--primary-color);
}

.video-section .section-title p {
    color: rgba(255,255,255,0.7);
}

.video-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 92, 124, 0.15);
    border: 1px solid rgba(196, 92, 124, 0.35);
    color: #FDEEF3;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.video-section-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

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

@media (min-width: 640px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    border-color: rgba(196,92,124,0.5);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #000;
}

@media (min-width: 768px) {
    .video-wrapper {
        aspect-ratio: 16 / 9;
    }
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-card:hover .video-wrapper video {
    transform: scale(1.05);
}

.video-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(15,15,25,0.95) 0%, rgba(15,15,25,0.4) 60%, transparent 100%);
    pointer-events: none;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.play-btn-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(196,92,124,0.8);
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.video-card:hover .play-btn-circle {
    background: var(--primary-color);
    border-color: var(--white);
    transform: scale(1.15);
}

.video-card.playing .play-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-duration {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.video-info {
    padding: 25px;
}

.video-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.video-info h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: var(--font-family);
}

.video-info p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-watch-full {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FF0000;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-watch-full:hover {
    transform: translateY(-2px);
    background: #cc0000;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255,0,0,0.3);
}

.video-sound-toggle {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 5;
}

.video-sound-toggle:hover {
    background: var(--primary-color);
}

.video-section-cta {
    text-align: center;
    margin-top: 60px;
}

.video-section-cta p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.btn-yt-channel {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-yt-channel:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

/* ==============================================
   MOBILE-FIRST RESPONSIVE OVERHAUL & POLISH
   ============================================== */

/* --- Global Mobile Fixes --- */
@media (max-width: 767px) {
    html { font-size: 15px; }
    body { padding-bottom: 65px; overflow-x: hidden; }
    .container { width: 90%; }
    .section { padding: 50px 0; }
    .section-title { margin-bottom: 30px; }
    .section-title h2 { font-size: 1.6rem; }
    .section-title p { font-size: 0.95rem; }

    /* Top Bar — hide on mobile to save space */
    .top-bar { display: none; }

    /* Header Mobile */
    .header { position: sticky; top: 0; }
    .navbar { padding: 10px 0; }
    .logo img { height: 42px; }
    .header-action .btn { display: none !important; }
    .mobile-menu-btn { display: block; font-size: 1.5rem; }

    /* Mobile Nav Drawer */
    .nav-links.active {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--white);
        z-index: 9999;
        padding: 80px 25px 30px;
        overflow-y: auto;
        animation: slideIn 0.3s ease;
        flex-direction: column;
        display: flex;
    }
    .nav-links.active li { margin-bottom: 0; }
    .nav-links.active li a {
        display: block;
        padding: 14px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--primary-light);
        color: var(--text-color);
    }
    .nav-links.active .dropdown-menu {
        position: static; /* Prevent top:100% from shifting it */
        box-shadow: none; border: none;
        padding: 0 0 0 20px; display: block; background: transparent;
        min-width: auto; border-radius: 0;
    }
    .nav-links.active .dropdown-menu li a {
        font-size: 0.95rem; padding: 10px 0;
        border-bottom: 1px dashed #eee;
        color: var(--text-muted);
    }
    .nav-links.active .dropdown-menu li:last-child a {
        border-bottom: none;
    }

    @keyframes slideIn {
        from { opacity: 0; transform: translateX(100%); }
        to { opacity: 1; transform: translateX(0); }
    }

    /* Hero Mobile */
    .hero { padding: 40px 0 80px; }
    .hero .container { gap: 30px; }
    .hero-content h1 { font-size: 1.8rem; line-height: 1.25; }
    .hero-content p { font-size: 0.95rem; margin-bottom: 25px; }
    .hero-btns { gap: 10px; }
    .hero-btns .btn { padding: 12px 20px; font-size: 0.9rem; width: 100%; }
    .hero-image { max-width: 100%; }
    .hero-image::after { display: none; }
    .hero-image img { border-width: 4px; border-radius: 16px; }

    /* Trust Metrics Mobile */
    .trust-metrics {
        margin-top: -50px; padding: 25px 15px;
        grid-template-columns: repeat(2, 1fr); gap: 10px;
        border-radius: 16px;
    }
    .metric-item { padding: 10px 5px; }
    .metric-item h4 { font-size: 1.6rem; }
    .metric-item p { font-size: 0.8rem; }

    /* Service Cards Mobile */
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 25px 20px; }
    .service-card:hover { transform: none; }
    .service-icon { width: 60px; height: 60px; font-size: 1.8rem; border-radius: 16px; }

    /* Process Steps Mobile */
    .process-grid { gap: 20px; grid-template-columns: 1fr; }
    .process-step { display: flex; align-items: flex-start; text-align: left; gap: 15px; }
    .step-number {
        width: 50px; height: 50px; font-size: 1.3rem;
        margin: 0; flex-shrink: 0;
    }
    .process-step h4 { font-size: 1.05rem; margin-bottom: 5px; }
    .process-step p { font-size: 0.85rem; }
    .process-step:hover .step-number { transform: none; }

    /* CTA Banner Mobile */
    .cta-banner { padding: 40px 20px; margin: 30px auto; border-radius: 16px; }
    .cta-banner h2 { font-size: 1.5rem; }
    .cta-banner p { font-size: 0.95rem; }

    /* Doctor Profile Mobile */
    .doctor-profile-large { border-radius: 16px; }
    .doctor-image-wrapper img { min-height: 280px; }
    .doctor-info-wrapper { padding: 25px 20px; }
    .doctor-info-wrapper h3 { font-size: 1.6rem; }
    .doctor-message { padding: 15px; font-size: 0.9rem; }

    .doctor-card img { height: 250px; }
    .doctor-info { padding: 20px; }

    /* Testimonials Mobile */
    .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
    .testimonial-card { padding: 25px 20px; }
    .testimonial-card i.fa-quote-left { font-size: 2rem; top: 15px; left: 15px; }
    .testimonial-text { font-size: 0.95rem; margin: 15px 0 20px; }

    /* Blog Cards Mobile */
    .blog-card img { height: 180px; }
    .blog-content { padding: 20px; }
    .blog-title { font-size: 1.1rem; }

    /* Page Header Mobile */
    .page-header { padding: 50px 0; }
    .page-header h1 { font-size: 1.8rem; }
    .page-header p { font-size: 0.95rem; }

    /* Treatment Layout Mobile */
    .treatment-layout { gap: 30px; }
    .treatment-sidebar { position: static !important; }
    .contact-card-sidebar { padding: 25px; }

    /* Forms Mobile */
    .flex-row-gap { flex-direction: column; gap: 0; }
    .form-control { padding: 14px 16px; }

    /* Footer Mobile */
    .footer { padding: 50px 0 15px; }
    .footer-top { gap: 30px; grid-template-columns: 1fr; }
    .footer-widget h4 { margin-bottom: 15px; font-size: 1.1rem; }
    .footer-links li { margin-bottom: 10px; }
    .footer-bottom { font-size: 0.8rem; padding-top: 20px; }

    /* Hide floating WhatsApp on mobile — bottom action bar already has it */
    .floating-whatsapp { display: none; }

    /* Mobile Action Bar Polish */
    .mobile-action-bar {
        background: linear-gradient(135deg, var(--white) 0%, #fef7f9 100%);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
        border-top: 1px solid var(--primary-light);
    }
    .action-btn { padding: 10px 0; font-size: 0.75rem; gap: 3px; }
    .action-btn i { font-size: 1.1rem; margin-bottom: 3px; }
    .call-btn { background: linear-gradient(135deg, #fef2f5 0%, #fff 100%); }
    .book-btn { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); color: var(--white) !important; }
    .book-btn i { color: var(--white); }

    /* Video Section Mobile */
    .video-section { padding: 50px 0; }
    .video-grid { grid-template-columns: 1fr; gap: 20px; }
    .video-card { border-radius: 14px; }
    .video-info { padding: 16px; }
    .video-info h3 { font-size: 1rem; }
    .play-btn-circle { width: 50px; height: 50px; font-size: 1.2rem; }
    .btn-watch-full { padding: 10px 18px; font-size: 0.85rem; }
    .video-section-badge { font-size: 0.7rem; padding: 6px 14px; }
    .video-section-cta { margin-top: 30px; }
    .btn-yt-channel { padding: 12px 25px; font-size: 0.9rem; }
}

/* --- Small phones --- */
@media (max-width: 380px) {
    html { font-size: 14px; }
    .hero-content h1 { font-size: 1.6rem; }
    .trust-metrics { padding: 20px 10px; }
    .metric-item h4 { font-size: 1.4rem; }
    .cta-banner { padding: 30px 15px; }
    .cta-banner h2 { font-size: 1.3rem; }
}

/* --- Tablet --- */
@media (min-width: 768px) and (max-width: 991px) {
    .hero .container { gap: 30px; }
    .hero-content h1 { font-size: 2.4rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
}

/* ==============================================
   UNIQUE PREMIUM DESIGN POLISH
   ============================================== */

/* Organic blob removed for cleaner look */

/* Remove grain — it causes visual artifacts on wide screens */

/* Section dividers removed for cleaner look */

/* Card hover glow */
.service-card:hover {
    box-shadow: 0 20px 50px rgba(196,92,124,0.12), 0 0 0 1px var(--primary-light);
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Better select styling */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Premium button shine */
.btn-primary::after {
    content: '';
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-primary { position: relative; overflow: hidden; }
.btn-primary:hover::after { left: 120%; }

/* Active nav link indicator */
.nav-links li a.active { color: var(--primary-color); }
.nav-links li a.active::after { width: 100%; }

/* Image loading placeholder */
img { background-color: #f0f0f0; }

/* Focus accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* CTA banner button hover */
.btn-white { position: relative; overflow: hidden; }
.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Footer contact links */
.footer-contact a { color: #cbd5e1; }
.footer-contact a:hover { color: var(--accent-color); }

/* Gallery lightbox hint on mobile */
@media (max-width: 767px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-item { height: 160px; border-radius: 10px; }
}
