/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: #E91E8C;
}

h2 {
    font-size: 2.5rem;
    color: #333;
}

h3 {
    font-size: 1.5rem;
    color: #333;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #E91E8C, #D61876);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #E91E8C;
    border: 2px solid #E91E8C;
}

.btn-secondary:hover {
    background: #E91E8C;
    color: white;
    transform: translateY(-2px);
}

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

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo h3 {
    color: #E91E8C;
    margin: 0;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #E91E8C;
}

.nav-cta {
    background: #E91E8C;
    color: white !important;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: #E91E8C;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #E91E8C;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 2rem;
    font-style: italic;
}

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

.hero-image {
    display: flex;
    justify-content: center;
}

.photo-placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f8d7da, #f3c5ca);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #E91E8C;
    font-size: 1.2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(233, 30, 140, 0.2);
}

.photo-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: #E91E8C;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: inline;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    display: inline;
}

.stat-icon {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.education-timeline {
    margin-top: 3rem;
}

.timeline {
    position: relative;
    margin-top: 2rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-year {
    background: #E91E8C;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    width: fit-content;
}

.timeline-content h4 {
    color: #E91E8C;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E91E8C, #D61876);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Privacy & Comfort Section */
.privacy-comfort {
    padding: 100px 0;
    background: #fdf8fc;
}

.comfort-assurance {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-indicator {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(233, 30, 140, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-indicator:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(233, 30, 140, 0.15);
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E91E8C, #D61876);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.trust-indicator h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.trust-indicator p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Why Choose Section */
.why-choose {
    background: #f8f9fa !important;
    padding: 100px 0;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.trust-badge {
    text-align: center;
    padding: 2rem;
}

.badge-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #E91E8C, #D61876);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.5rem;
}

.trust-badge h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.trust-badge p {
    color: #666;
    line-height: 1.6;
}

/* Credentials Section */
.credentials {
    padding: 100px 0;
    background: #f8f9fa;
}

.credentials-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.degrees h3, .memberships h3 {
    color: #E91E8C;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.degrees ul {
    list-style: none;
    margin-bottom: 2rem;
}

.degrees li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.degrees strong {
    color: #333;
    font-weight: 600;
}

.registration {
    background: #E91E8C;
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.membership-grid {
    display: grid;
    gap: 1rem;
}

.membership-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.membership-item i {
    color: #E91E8C;
    font-size: 1.5rem;
}

/* Patient Education Section */
.patient-education {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f9 100%);
}

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

.education-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(233, 30, 140, 0.15);
    border-color: rgba(233, 30, 140, 0.1);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E91E8C, #D61876);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(233, 30, 140, 0.3);
}

.education-icon i {
    font-size: 2rem;
    color: white;
}

.education-card h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.education-card ul {
    list-style: none;
    padding: 0;
}

.education-card li {
    padding: 8px 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
}

.education-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #E91E8C;
    font-weight: bold;
    font-size: 1rem;
}

.education-footer {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background: rgba(233, 30, 140, 0.05);
    border-radius: 15px;
    border-left: 4px solid #E91E8C;
}

.education-footer p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.education-footer i {
    color: #E91E8C;
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 100%);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial.active {
    display: block;
}

.stars {
    margin-bottom: 1.5rem;
}

.stars i {
    color: #FFD700;
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

.testimonial-author strong {
    color: #E91E8C;
    font-size: 1.1rem;
}

.testimonial-author span {
    display: block;
    color: #888;
    margin-top: 0.5rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.testimonial-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimonial-btn.active {
    background: #E91E8C;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E91E8C, #D61876);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    color: #666;
    margin: 0;
}

.contact-details a {
    color: #E91E8C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #D61876;
}

.map-placeholder {
    background: #eee;
    height: 300px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
    text-align: center;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #E91E8C;
}

/* Contact Form */
.contact-form-section {
    max-width: 600px;
    margin: 0 auto 4rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.appointment-form .form-group {
    margin-bottom: 1.5rem;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.appointment-form textarea {
    border-radius: 20px;
    resize: vertical;
    min-height: 100px;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: #E91E8C;
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

.appointment-form select {
    cursor: pointer;
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.privacy-note i {
    color: #E91E8C;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.map-container {
    position: relative;
}

.map-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #666;
    font-weight: 500;
}

.map-caption i {
    color: #E91E8C;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #E91E8C;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #E91E8C;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #E91E8C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Mobile Responsive Design */

/* Tablet (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .container {
        padding: 0 20px;
    }

    /* Hero Section - Tablet */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

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

    .doctor-photo {
        max-height: 350px;
    }

    /* Stats - Tablet */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* About - Tablet */
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Services - Tablet */
    .services-grid.tab-content.active {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
    }

    .service-tabs {
        gap: 20px !important;
    }

    .tab-btn {
        padding: 12px 35px !important;
        font-size: 16px !important;
    }

    /* Why Choose - Tablet */
    .why-badges {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* Credentials - Tablet */
    .credentials-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Education Grid - Tablet */
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Reviews Grid - Tablet */
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Contact - Tablet */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Footer - Tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation - Mobile */
    .nav {
        padding: 0.8rem 15px;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

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

    .nav-menu li {
        margin-bottom: 1rem;
    }

    .nav-link {
        display: block;
        padding: 15px 30px;
        font-size: 16px;
        text-align: center;
        min-height: 44px; /* Touch-friendly */
        line-height: 1;
    }

    .nav-cta {
        margin: 20px 30px 0;
        display: block;
        text-align: center;
        min-height: 44px;
        line-height: 28px;
    }

    .nav-toggle {
        display: block;
        font-size: 1.5rem;
        color: #E91E8C;
        cursor: pointer;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-logo h3 {
        font-size: 1.3rem;
    }

    /* Typography - Mobile */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Hero Section - Mobile */
    .hero {
        padding: 130px 0 50px;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        min-height: 44px;
        justify-content: center;
    }

    .doctor-photo {
        max-height: 280px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .photo-container {
        display: flex;
        justify-content: center;
    }

    /* Stats - Mobile */
    .stats {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number, .stat-suffix {
        font-size: 2.2rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    /* About - Mobile */
    .about {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .timeline-year {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    /* Services - Mobile */
    .services {
        padding: 60px 0;
    }

    .service-tabs {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 30px !important;
    }

    .tab-btn {
        width: 100% !important;
        max-width: 300px !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        text-align: center !important;
        min-height: 44px !important;
    }

    .services-grid.tab-content.active {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    /* Why Choose - Mobile */
    .why-choose {
        padding: 60px 0 !important;
    }

    .why-badges {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .why-badge {
        padding: 25px 20px !important;
    }

    .why-badge .badge-icon {
        width: 60px !important;
        height: 60px !important;
    }

    .why-badge h3 {
        font-size: 1.2rem !important;
    }

    .why-badge p {
        font-size: 0.9rem !important;
    }

    /* Credentials - Mobile */
    .credentials {
        padding: 60px 0 !important;
    }

    .credentials-content {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .degrees, .memberships {
        padding: 25px 20px !important;
    }

    .membership-item {
        padding: 12px 15px !important;
    }

    .membership-item p {
        font-size: 0.8rem !important;
    }

    /* Patient Education - Mobile */
    .patient-education {
        padding: 60px 0;
    }

    .education-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .education-card {
        padding: 25px 20px;
    }

    .education-card h3 {
        font-size: 1.2rem;
    }

    .education-icon {
        width: 60px !important;
        height: 60px !important;
    }

    .education-icon i {
        font-size: 1.5rem !important;
    }

    .education-card ul li {
        font-size: 0.9rem !important;
        padding: 8px 0 8px 25px !important;
    }

    /* Trust Badges - Mobile */
    .badges-grid {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }

    .badge-item {
        font-size: 14px !important;
        padding: 10px 20px;
        background: rgba(255,255,255,0.1);
        border-radius: 20px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Testimonials - Mobile */
    .testimonials {
        padding: 60px 0;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-screenshot {
        max-width: 100%;
    }

    /* Contact - Mobile */
    .contact {
        padding: 60px 0;
    }

    .contact-form-section {
        margin: 0 auto 3rem;
        padding: 25px 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .contact-actions .btn-primary,
    .contact-actions .btn-whatsapp {
        width: 100%;
        max-width: 300px;
        min-height: 44px;
        justify-content: center;
    }

    .contact-item {
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .map-container iframe {
        height: 250px;
    }

    /* Footer - Mobile */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Form Elements - Touch Friendly */
    .appointment-form input,
    .appointment-form select,
    .appointment-form textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .form-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .form-actions .btn-primary,
    .form-actions .btn-whatsapp {
        width: 100%;
        max-width: 300px;
        min-height: 44px;
        justify-content: center;
    }

    /* Privacy Note */
    .privacy-note {
        font-size: 0.85rem;
        padding: 12px 15px;
    }
}

/* Large Mobile (401px - 480px) Additional Refinements */
@media (max-width: 480px) and (min-width: 401px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .service-tabs {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .tab-btn {
        width: 48% !important;
        max-width: 160px !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Very Small Mobile (320px - 400px) */
@media (max-width: 400px) {
    .container {
        padding: 0 10px;
    }

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

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

    .nav-logo h3 {
        font-size: 1.2rem;
    }

    .stat-number, .stat-suffix {
        font-size: 2rem;
    }

    .why-badge .badge-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .why-badge .badge-icon i {
        font-size: 20px !important;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .education-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .education-icon i {
        font-size: 1.3rem !important;
    }
}

/* Tablet Landscape and Small Desktop (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 1000px;
    }

    .hero-content {
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
    }

    .services-grid.tab-content.active {
        grid-template-columns: repeat(3, 1fr) !important;
    }

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

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

/* Desktop and Large Desktop (1025px+) */
@media (min-width: 1025px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

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

@media (max-width: 480px) {
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

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

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

    .photo-placeholder {
        width: 250px;
        height: 250px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number, .stat-suffix {
        font-size: 2rem;
    }

    /* Privacy & Comfort */
    .comfort-assurance {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trust-indicator {
        padding: 1.5rem 1rem;
    }

    /* Patient Education Mobile */
    .patient-education {
        padding: 60px 0;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .education-card {
        padding: 25px;
    }
    
    .education-card h3 {
        font-size: 1.2rem;
    }
    
    .education-icon {
        width: 70px;
        height: 70px;
    }
    
    .education-icon i {
        font-size: 1.8rem;
    }

    /* Contact Form */
    .contact-form-section {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.trust-badge,
.testimonial {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll padding for fixed header */
section {
    scroll-margin-top: 80px;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #E91E8C;
    outline-offset: 2px;
}

/* Loading state for stats */
.stat-number {
    transition: color 0.3s ease;
}

/* Hover effects for interactive elements */
.contact-item:hover .contact-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.membership-item:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .testimonial-nav,
    .contact-actions {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        padding: 20px 0;
    }
}
/* Doctor Photo Styles */
.photo-container {
    text-align: center;
}
.doctor-photo {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Service Tabs */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #E91E8C;
    background: white;
    color: #E91E8C;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #fce4f1;
}

.tab-btn.active {
    background: #E91E8C;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: grid;
}

@media (max-width: 768px) {
    .service-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 80%;
        text-align: center;
    }
}

/* Service Tabs - Enhanced */
.service-tabs {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-bottom: 40px !important;
    padding: 20px 0 !important;
}

.tab-btn {
    padding: 15px 50px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border: 2px solid #E91E8C !important;
    background: white !important;
    color: #E91E8C !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    font-family: 'Poppins', sans-serif !important;
}

.tab-btn:hover {
    background: #fce4f1 !important;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #E91E8C 0%, #c4167a 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.4);
}

/* Patient Resources - Enhanced Cards */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.education-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 30, 140, 0.15);
    border-color: #E91E8C;
}

.education-card .education-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E91E8C 0%, #c4167a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.education-card .education-icon i {
    font-size: 24px;
    color: white;
}

.education-card h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.education-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-card ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid #f5f5f5;
}

.education-card ul li:last-child {
    border-bottom: none;
}

.education-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #E91E8C;
    font-weight: bold;
}

.education-footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #fce4f1;
    border-radius: 10px;
}

.education-footer p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.education-footer i {
    color: #E91E8C;
    margin-right: 8px;
}

/* Trust Badges - Compact Strip */
.trust-badges {
    background: linear-gradient(135deg, #E91E8C 0%, #c4167a 100%);
    padding: 25px 0;
}

.badges-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
    font-size: 15px;
}

.badge-item i {
    font-size: 20px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .badges-grid {
        gap: 20px;
    }
    .badge-item {
        font-size: 13px;
    }
}

/* Fix service tabs on mobile */
@media (max-width: 600px) {
    .service-tabs {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    .tab-btn {
        padding: 12px 25px !important;
        font-size: 14px !important;
        flex: 1;
        min-width: 140px;
    }
}

/* Ensure service cards grid works */
.services-grid.tab-content.active {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Why Choose Section - Redesigned */
.why-choose {
    background: #f8f9fa !important;
    padding: 80px 0 !important;
    background: #f8f9fa !important;
}

.why-choose .section-header h2 {
    color: #333 !important;
}

.why-choose .section-header p {
    color: #666 !important;
}

.why-choose .trust-badges {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    background: transparent !important;
    padding: 0 !important;
}

.why-choose .trust-badge {
    background: white !important;
    border-radius: 16px !important;
    padding: 30px 25px !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.why-choose .trust-badge:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(233, 30, 140, 0.15) !important;
}

.why-choose .badge-icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #E91E8C 0%, #c4167a 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
}

.why-choose .badge-icon i {
    color: white !important;
    font-size: 28px !important;
}

.why-choose .trust-badge h3 {
    color: #333 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

.why-choose .trust-badge p {
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .why-choose .trust-badges {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .why-choose .trust-badge {
        padding: 25px 20px !important;
    }
}

/* Why Badges - Clean Cards */
.why-badges {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    background: transparent !important;
    padding: 20px 0 !important;
}

.why-badge {
    background: white !important;
    border-radius: 16px !important;
    padding: 30px 25px !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.why-badge:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(233, 30, 140, 0.15) !important;
}

.why-badge .badge-icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #E91E8C 0%, #c4167a 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
}

.why-badge .badge-icon i {
    color: white !important;
    font-size: 28px !important;
}

.why-badge h3 {
    color: #333 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

.why-badge p {
    color: #666 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .why-badges {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .why-badge {
        padding: 25px 20px !important;
    }
    
    .why-badge h3 {
        font-size: 16px !important;
    }
}

/* Credentials Section - Redesigned */
.credentials {
    padding: 60px 0 !important;
    background: white !important;
}

.credentials-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
}

.degrees, .memberships {
    background: #f8f9fa !important;
    border-radius: 16px !important;
    padding: 30px !important;
}

.degrees h3, .memberships h3 {
    color: #E91E8C !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #E91E8C !important;
}

.degrees ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.degrees ul li {
    padding: 15px !important;
    background: white !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    border-left: 3px solid #E91E8C !important;
}

.degrees ul li:last-child {
    margin-bottom: 0 !important;
}

.degrees ul li strong {
    color: #333 !important;
    display: block !important;
    margin-bottom: 3px !important;
}

.membership-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.membership-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 15px !important;
    background: white !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.membership-item i {
    color: #E91E8C !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}

.membership-item p {
    margin: 0 !important;
    font-size: 13px !important;
    color: #444 !important;
    line-height: 1.4 !important;
}

@media (max-width: 768px) {
    .credentials-content {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .degrees, .memberships {
        padding: 25px 20px !important;
    }
    
    .degrees ul li {
        padding: 12px !important;
        font-size: 13px !important;
    }
    
    .membership-item {
        padding: 10px 12px !important;
    }
    
    .membership-item p {
        font-size: 12px !important;
    }
}

/* Review Screenshots */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.review-screenshot {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.review-screenshot:hover {
    transform: translateY(-5px);
}

.review-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.reviews-cta {
    text-align: center;
    margin-top: 20px;
}

.reviews-cta .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Trust Badges Strip - Centered */
.trust-badges {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    text-align: center !important;
}

.trust-badges .container {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.badges-grid {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* =========================================
   COMPREHENSIVE RESPONSIVE FIXES
   ========================================= */

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Doctor photo responsive */
.doctor-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
}

/* Review screenshot images */
.review-screenshot img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Map responsive */
.map-container iframe {
    width: 100%;
    max-width: 100%;
}

/* Touch-friendly tap targets (minimum 44px) */
.btn-primary,
.btn-secondary, 
.btn-whatsapp,
.nav-link,
.nav-cta,
.tab-btn,
.nav-toggle {
    min-height: 44px;
    min-width: 44px;
}

/* Ensure buttons are touch-friendly on all screens */
@media (max-width: 1024px) {
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp {
        padding: 15px 25px;
        font-size: 16px;
    }
    
    /* Make service cards more touch-friendly */
    .service-card {
        min-height: 200px;
        cursor: pointer;
    }
    
    /* Education cards touch-friendly */
    .education-card {
        min-height: 280px;
    }
    
    /* Contact items touch spacing */
    .contact-item {
        margin-bottom: 2rem;
    }
}

/* Flexible grid containers */
.services-grid,
.education-grid,
.reviews-grid,
.why-badges,
.stats-grid,
.credentials-content {
    width: 100%;
    margin: 0 auto;
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
}

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

/* Typography responsive scaling */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .hero-tagline {
        font-size: 0.95rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
}

/* Fix service tab scrolling on very small screens */
@media (max-width: 320px) {
    .service-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 0 10px;
    }
    
    .tab-btn {
        display: inline-block;
        white-space: nowrap;
        margin-right: 10px;
        flex-shrink: 0;
        min-width: 120px;
    }
}

/* Ensure proper spacing on all screen sizes */
section {
    scroll-margin-top: 80px;
}

@media (max-width: 480px) {
    section {
        scroll-margin-top: 70px;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    /* Add more breathing room on mobile */
    .hero,
    .about,
    .services,
    .credentials,
    .patient-education,
    .testimonials,
    .contact {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* Fix footer responsive issues */
@media (max-width: 768px) {
    .footer-content {
        text-align: center;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1.5rem;
    }
}

/* High-DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .doctor-photo {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Landscape mobile adjustments */
@media (max-width: 896px) and (orientation: landscape) and (max-height: 414px) {
    .hero {
        padding: 90px 0 40px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }
    
    .doctor-photo {
        max-height: 250px;
    }
    
    .stats {
        padding: 30px 0;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
        padding-top: 1rem;
    }
}

/* Fix potential layout breaks */
* {
    box-sizing: border-box;
}

/* Ensure flex items don't break layout */
.hero-buttons,
.contact-actions,
.form-actions {
    width: 100%;
}

/* Review grid specific responsive fixes */
@media (max-width: 480px) {
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .review-screenshot {
        margin-bottom: 15px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

@media (min-width: 769px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px;
    }
}

/* Final accessibility and usability fixes */
@media (max-width: 480px) {
    /* Increase link and button spacing for easier tapping */
    .nav-menu li {
        margin-bottom: 1.5rem;
    }
    
    /* Form improvements */
    .appointment-form input,
    .appointment-form select,
    .appointment-form textarea {
        font-size: 16px !important; /* Prevent zoom on iOS */
        padding: 15px 20px;
    }
    
    /* Contact details readable sizing */
    .contact-details a {
        font-size: 1rem;
        font-weight: 500;
    }
}

/* Doctor Photo - Face Focus */
.doctor-photo {
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 12px !important;
}

.photo-container {
    overflow: hidden;
    border-radius: 12px;
}

/* Education Timeline - Better Mobile Layout */
.timeline {
    padding: 0 20px !important;
}

.timeline-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    margin-bottom: 25px !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    border-radius: 12px !important;
}

.timeline-year {
    min-width: 65px !important;
    height: 65px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #E91E8C 0%, #c4167a 100%) !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
}

.timeline-content {
    flex: 1 !important;
    text-align: left !important;
}

.timeline-content h4 {
    color: #E91E8C !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
}

.timeline-content p {
    color: #555 !important;
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

@media (max-width: 480px) {
    .timeline {
        padding: 0 15px !important;
    }
    
    .timeline-item {
        gap: 15px !important;
        padding: 15px !important;
    }
    
    .timeline-year {
        min-width: 55px !important;
        height: 55px !important;
        font-size: 14px !important;
    }
    
    .timeline-content h4 {
        font-size: 15px !important;
    }
    
    .timeline-content p {
        font-size: 13px !important;
    }
}

/* Credentials Section - Better Mobile */
@media (max-width: 768px) {
    .credentials {
        padding: 50px 0 !important;
    }
    
    .credentials .section-header {
        padding: 0 20px !important;
        margin-bottom: 30px !important;
    }
    
    .credentials-content {
        padding: 0 20px !important;
    }
    
    .degrees, .memberships {
        background: white !important;
        border-radius: 16px !important;
        padding: 25px !important;
        margin-bottom: 20px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    }
    
    .degrees h3, .memberships h3 {
        font-size: 18px !important;
        margin-bottom: 20px !important;
        padding-bottom: 12px !important;
    }
    
    .degrees ul {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .degrees ul li {
        padding: 15px !important;
        margin-bottom: 10px !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
        border-left: 3px solid #E91E8C !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    .degrees ul li strong {
        display: block !important;
        color: #333 !important;
        margin-bottom: 4px !important;
    }
    
    .membership-grid {
        gap: 12px !important;
    }
    
    .membership-item {
        padding: 15px !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
        gap: 15px !important;
    }
    
    .membership-item i {
        font-size: 20px !important;
        color: #E91E8C !important;
    }
    
    .membership-item p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}

/* Why Choose Section - Better Mobile */
@media (max-width: 768px) {
    .why-choose {
        padding: 50px 0 !important;
    }
    
    .why-choose .container {
        padding: 0 20px !important;
    }
    
    .why-badges {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 !important;
    }
    
    .why-badge {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 20px !important;
        background: white !important;
        padding: 20px !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
        text-align: left !important;
    }
    
    .why-badge .badge-icon {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        margin: 0 !important;
        border-radius: 12px !important;
    }
    
    .why-badge .badge-icon i {
        font-size: 24px !important;
    }
    
    .why-badge h3 {
        font-size: 16px !important;
        margin-bottom: 5px !important;
        color: #333 !important;
    }
    
    .why-badge p {
        font-size: 13px !important;
        color: #666 !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }
}

/* Reviews Section - Mobile Fix */
@media (max-width: 768px) {
    .testimonials {
        padding: 50px 0 !important;
    }
    
    .testimonials .container {
        padding: 0 20px !important;
    }
    
    .reviews-header {
        margin-bottom: 25px !important;
    }
    
    .reviews-header .google-rating {
        padding: 12px 20px !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .reviews-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .review-screenshot {
        background: white !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    }
    
    .review-screenshot img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
    }
    
    .reviews-cta {
        margin-top: 25px !important;
    }
    
    .reviews-cta .btn-secondary {
        width: 100% !important;
        justify-content: center !important;
        padding: 15px 20px !important;
    }
}

/* Review Screenshots - Force Proper Display */
.reviews-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 !important;
}

@media (min-width: 600px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 900px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.review-screenshot {
    background: white !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    border: 1px solid #eee !important;
}

.review-screenshot img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-width: 100% !important;
}

/* Patient Resources - Better Mobile */
@media (max-width: 768px) {
    .patient-education {
        padding: 50px 0 !important;
        background: #f8f9fa !important;
    }
    
    .patient-education .container {
        padding: 0 20px !important;
    }
    
    .patient-education .section-header {
        margin-bottom: 25px !important;
    }
    
    .education-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .education-card {
        background: white !important;
        border-radius: 16px !important;
        padding: 25px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
        border: none !important;
        border-left: 4px solid #E91E8C !important;
    }
    
    .education-card .education-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 15px !important;
        border-radius: 12px !important;
    }
    
    .education-card .education-icon i {
        font-size: 20px !important;
    }
    
    .education-card h3 {
        font-size: 17px !important;
        color: #333 !important;
        margin-bottom: 15px !important;
    }
    
    .education-card ul {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }
    
    .education-card ul li {
        padding: 10px 0 !important;
        padding-left: 25px !important;
        position: relative !important;
        font-size: 14px !important;
        color: #555 !important;
        line-height: 1.5 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .education-card ul li:last-child {
        border-bottom: none !important;
    }
    
    .education-card ul li::before {
        content: "✓" !important;
        position: absolute !important;
        left: 0 !important;
        color: #E91E8C !important;
        font-weight: bold !important;
    }
    
    .education-footer {
        margin-top: 25px !important;
        padding: 15px 20px !important;
        background: white !important;
        border-radius: 12px !important;
        border-left: 4px solid #E91E8C !important;
    }
    
    .education-footer p {
        font-size: 13px !important;
        margin: 0 !important;
    }
}

/* EDD Calculator Section */
.edd-calculator {
    padding: 60px 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 100%);
}

.edd-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(233, 30, 140, 0.15);
}

.edd-input {
    margin-bottom: 25px;
}

.edd-input label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 15px;
}

.edd-input input[type="date"] {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s;
}

.edd-input input[type="date"]:focus {
    border-color: #E91E8C;
}

.edd-results {
    text-align: center;
}

.edd-result-item {
    margin-bottom: 20px;
}

.edd-result-item.edd-main {
    background: linear-gradient(135deg, #E91E8C 0%, #c4167a 100%);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.edd-result-item.edd-main .edd-label {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.edd-result-item.edd-main .edd-value {
    color: white;
    font-size: 28px;
}

.edd-label {
    display: block;
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.edd-value {
    display: block;
    color: #333;
    font-size: 22px;
    font-weight: 700;
}

.edd-result-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.edd-result-row .edd-result-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 0;
}

.edd-progress {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.edd-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #E91E8C, #ff6b9d);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.edd-note {
    font-size: 13px;
    color: #888;
    margin: 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .edd-card {
        padding: 25px;
        margin: 0 15px;
    }
    
    .edd-result-item.edd-main .edd-value {
        font-size: 22px;
    }
    
    .edd-value {
        font-size: 18px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.faq-cat-btn {
    padding: 10px 25px;
    border: 2px solid #E91E8C;
    background: white;
    color: #E91E8C;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
    background: #E91E8C;
    color: white;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #fdf2f8;
}

.faq-question span {
    font-weight: 500;
    color: #333;
    font-size: 15px;
    flex: 1;
    padding-right: 15px;
}

.faq-question i {
    color: #E91E8C;
    transition: transform 0.3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.faq-answer p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.faq-footer {
    text-align: center;
    margin-top: 40px;
}

.faq-footer p {
    color: #666;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .faq-categories {
        padding: 0 15px;
    }
    
    .faq-cat-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question span {
        font-size: 14px;
    }
}

/* Period Checker Section */
.period-checker {
    padding: 60px 0;
    background: white;
}

.checker-card {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 35px;
}

.question-item {
    margin-bottom: 25px;
}

.question-item label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-size: 15px;
}

.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-btn {
    padding: 12px 18px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
}

.option-btn:hover {
    border-color: #E91E8C;
}

.option-btn.selected {
    border-color: #E91E8C;
    background: #fdf2f8;
    color: #E91E8C;
}

.option-btn.selected[data-v="warn"] {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #b45309;
}

.warning-signs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: background 0.3s;
}

.checkbox-label:hover {
    background: #fdf2f8;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #E91E8C;
}

.checker-result {
    margin-top: 25px;
}

.result-box {
    padding: 25px;
    border-radius: 16px;
    text-align: center;
}

.result-normal {
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
    border: 2px solid #10b981;
}

.result-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 2px solid #f59e0b;
}

.result-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.result-box h3 {
    margin-bottom: 10px;
    color: #333;
}

.result-box p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.checker-disclaimer {
    margin-top: 20px;
    font-size: 12px;
    color: #888;
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .checker-card {
        padding: 25px 20px;
        margin: 0 15px;
    }
    .option-btn {
        width: 100%;
        text-align: center;
    }
}

/* Hero mobile fix - clear fixed header */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px !important;
    }
}

/* Improved Mobile Menu */
@media (max-width: 768px) {
    .nav-menu {
        gap: 0 !important;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 18px 30px !important;
        font-size: 16px;
        text-align: left !important;
        transition: background 0.2s;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:active {
        background: #fdf2f8;
        color: #E91E8C;
    }
    
    .nav-menu .nav-cta {
        margin: 20px 30px !important;
        text-align: center;
    }
    
    /* Add subtle icons via CSS */
    .nav-menu li:nth-child(1) .nav-link::before { content: "🏠 "; }
    .nav-menu li:nth-child(2) .nav-link::before { content: "👩‍⚕️ "; }
    .nav-menu li:nth-child(3) .nav-link::before { content: "💉 "; }
    .nav-menu li:nth-child(4) .nav-link::before { content: "🛠️ "; }
    .nav-menu li:nth-child(5) .nav-link::before { content: "❓ "; }
}

/* Mobile menu contact info */
.nav-contact-info {
    display: none;
}

@media (max-width: 768px) {
    .nav-contact-info {
        display: flex !important;
        gap: 15px;
        padding: 20px 30px !important;
        border-top: 1px solid #eee !important;
        border-bottom: none !important;
        margin-top: 10px !important;
    }
    
    .nav-contact-info a {
        flex: 1;
        padding: 12px 15px;
        border-radius: 10px;
        text-align: center;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
    }
    
    .nav-whatsapp {
        background: #25D366;
        color: white !important;
    }
    
    .nav-emergency {
        background: #fee2e2;
        color: #dc2626 !important;
    }
}

/* ========== TEAL SECONDARY COLOR INTEGRATION ========== */
:root {
    --teal: #14b8a6;
    --teal-light: #ccfbf1;
    --teal-dark: #0d9488;
}

/* Why Choose section - teal background */
.why-choose {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%) !important;
}

.why-card {
    border-top: 4px solid var(--teal) !important;
}

.why-card i {
    color: var(--teal) !important;
}

/* Trust badges - alternating colors */
.trust-badge:nth-child(odd) {
    background: linear-gradient(135deg, var(--teal-light) 0%, #f0fdfa 100%);
}

.trust-badge:nth-child(odd) i {
    color: var(--teal);
}

/* FAQ category buttons - teal for inactive */
.faq-cat-btn {
    border-color: var(--teal) !important;
    color: var(--teal) !important;
}

.faq-cat-btn:hover {
    background: var(--teal) !important;
    color: white !important;
}

.faq-cat-btn.active {
    background: #E91E8C !important;
    border-color: #E91E8C !important;
    color: white !important;
}

/* Period checker - teal accents */
.checker-card {
    border-top: 4px solid var(--teal);
}

.option-btn[data-v="normal"].selected {
    border-color: var(--teal) !important;
    background: var(--teal-light) !important;
    color: var(--teal-dark) !important;
}

.result-normal {
    background: linear-gradient(135deg, var(--teal-light) 0%, #f0fdfa 100%) !important;
    border-color: var(--teal) !important;
}

/* Contact section - teal header accent */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #E91E8C, var(--teal), #E91E8C);
}

.contact {
    position: relative;
}

/* Footer - teal links on hover */
.footer-section ul li a:hover {
    color: var(--teal) !important;
}

/* Ratings badge - teal */
.rating-badge {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%) !important;
}

/* EDD Calculator section - teal accent */
.edd-calculator {
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 50%, #fdf2f8 100%) !important;
}

.edd-card {
    border-top: 4px solid var(--teal);
}

/* Services cards - alternating accent */
.service-card:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--teal);
    border-radius: 20px 20px 0 0;
}

.service-card {
    position: relative;
}

/* Nav CTA - teal variant on scroll */
.nav-cta:hover {
    background: var(--teal) !important;
}

/* Section headers - gradient text */
.section-header h2 {
    background: linear-gradient(90deg, #E91E8C, var(--teal-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile menu WhatsApp button already green, add teal to emergency */
.nav-emergency {
    background: var(--teal-light) !important;
    color: var(--teal-dark) !important;
}

/* Scrollbar teal accent */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #E91E8C, var(--teal));
    border-radius: 10px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Subtle page background gradient */
body {
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #fdf2f8 25%, 
        #f0fdfa 50%, 
        #fdf2f8 75%, 
        #ffffff 100%) !important;
    background-attachment: fixed !important;
}

/* ========== DARK MODE TOGGLE BUTTON ========== */
.theme-toggle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #E91E8C, var(--teal));
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0,0,0,0.3);
}

.toggle-icon {
    font-size: 22px;
    transition: transform 0.3s;
}

.theme-toggle:hover .toggle-icon {
    transform: rotate(20deg);
}

/* ========== DARK MODE WITH GLASSMORPHISM ========== */
body.dark-mode {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%) !important;
}

body.dark-mode .theme-toggle {
    background: linear-gradient(135deg, #f472b6, #2dd4bf);
}

body.dark-mode .toggle-icon::after {
    content: "☀️";
}

body.dark-mode .toggle-icon {
    font-size: 0;
}

body.dark-mode .toggle-icon::after {
    font-size: 22px;
}

/* Glassmorphism cards */
body.dark-mode .navbar,
body.dark-mode header {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .nav-logo h3 {
    color: #f472b6 !important;
}

body.dark-mode .nav-link {
    color: #e2e8f0 !important;
}

body.dark-mode .nav-link:hover {
    color: #2dd4bf !important;
}

body.dark-mode .hero {
    background: transparent !important;
}

body.dark-mode .hero-content h1,
body.dark-mode .hero-content h2 {
    color: #f472b6 !important;
}

body.dark-mode .hero-content p,
body.dark-mode .hero-content .subtitle {
    color: #cbd5e1 !important;
}

/* Glass cards for all sections */
body.dark-mode .about,
body.dark-mode .services,
body.dark-mode .why-choose,
body.dark-mode .edd-calculator,
body.dark-mode .period-checker,
body.dark-mode .faq-section,
body.dark-mode .reviews-section,
body.dark-mode .contact,
body.dark-mode .patient-resources {
    background: transparent !important;
}

body.dark-mode .section-header h2 {
    background: linear-gradient(90deg, #f472b6, #2dd4bf) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.dark-mode .section-header p {
    color: #94a3b8 !important;
}

body.dark-mode .about-card,
body.dark-mode .service-card,
body.dark-mode .why-card,
body.dark-mode .edd-card,
body.dark-mode .checker-card,
body.dark-mode .faq-item,
body.dark-mode .review-card,
body.dark-mode .contact-card,
body.dark-mode .resource-card {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}

body.dark-mode .about-card h3,
body.dark-mode .service-card h3,
body.dark-mode .why-card h3,
body.dark-mode .faq-question span {
    color: #f1f5f9 !important;
}

body.dark-mode .about-card p,
body.dark-mode .service-card p,
body.dark-mode .why-card p,
body.dark-mode .faq-answer p {
    color: #94a3b8 !important;
}

body.dark-mode .service-card i,
body.dark-mode .why-card i {
    color: #2dd4bf !important;
}

/* Trust badges glass */
body.dark-mode .trust-badge {
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

body.dark-mode .trust-badge span {
    color: #e2e8f0 !important;
}

body.dark-mode .trust-badge i {
    color: #f472b6 !important;
}

body.dark-mode .trust-badge:nth-child(odd) i {
    color: #2dd4bf !important;
}

/* Buttons */
body.dark-mode .btn-primary,
body.dark-mode .nav-cta {
    background: linear-gradient(135deg, #f472b6, #ec4899) !important;
}

body.dark-mode .btn-secondary {
    border-color: #2dd4bf !important;
    color: #2dd4bf !important;
}

body.dark-mode .btn-secondary:hover {
    background: #2dd4bf !important;
    color: #0f172a !important;
}

/* FAQ */
body.dark-mode .faq-cat-btn {
    background: transparent !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: #94a3b8 !important;
}

body.dark-mode .faq-cat-btn:hover,
body.dark-mode .faq-cat-btn.active {
    background: linear-gradient(135deg, #f472b6, #ec4899) !important;
    border-color: transparent !important;
    color: white !important;
}

body.dark-mode .faq-question {
    color: #e2e8f0 !important;
}

body.dark-mode .faq-question i {
    color: #2dd4bf !important;
}

/* Period checker */
body.dark-mode .option-btn {
    background: rgba(30, 41, 59, 0.5) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #cbd5e1 !important;
}

body.dark-mode .option-btn:hover {
    border-color: #f472b6 !important;
}

body.dark-mode .option-btn.selected {
    background: rgba(244, 114, 182, 0.2) !important;
    border-color: #f472b6 !important;
    color: #f472b6 !important;
}

body.dark-mode .option-btn.selected[data-v="normal"] {
    background: rgba(45, 212, 191, 0.2) !important;
    border-color: #2dd4bf !important;
    color: #2dd4bf !important;
}

body.dark-mode .checkbox-label {
    background: rgba(30, 41, 59, 0.5) !important;
    color: #cbd5e1 !important;
}

body.dark-mode .result-box {
    backdrop-filter: blur(20px) !important;
}

body.dark-mode .result-normal {
    background: rgba(45, 212, 191, 0.15) !important;
    border-color: #2dd4bf !important;
}

body.dark-mode .result-warning {
    background: rgba(251, 191, 36, 0.15) !important;
}

body.dark-mode .checker-disclaimer {
    background: rgba(30, 41, 59, 0.5) !important;
    color: #64748b !important;
}

/* Inputs */
body.dark-mode input[type="date"],
body.dark-mode .edd-input input {
    background: rgba(30, 41, 59, 0.7) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #e2e8f0 !important;
}

body.dark-mode input:focus {
    border-color: #f472b6 !important;
}

body.dark-mode .question-item label {
    color: #e2e8f0 !important;
}

/* Footer glass */
body.dark-mode footer,
body.dark-mode .footer {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

body.dark-mode .footer-section h4 {
    color: #f472b6 !important;
}

body.dark-mode .footer-section p,
body.dark-mode .footer-section li,
body.dark-mode .footer-section a {
    color: #94a3b8 !important;
}

body.dark-mode .footer-section a:hover {
    color: #2dd4bf !important;
}

body.dark-mode .footer-bottom {
    border-color: rgba(255,255,255,0.1) !important;
    color: #64748b !important;
}

/* Mobile menu */
body.dark-mode .nav-menu {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) !important;
}

body.dark-mode .nav-menu li {
    border-color: rgba(255,255,255,0.1) !important;
}

body.dark-mode .nav-menu .nav-link:hover {
    background: rgba(244, 114, 182, 0.1) !important;
}

/* Reviews */
body.dark-mode .review-card img {
    border: 1px solid rgba(255,255,255,0.1) !important;
}

body.dark-mode .rating-badge {
    background: linear-gradient(135deg, #2dd4bf, #14b8a6) !important;
}

/* Timeline */
body.dark-mode .timeline-item {
    color: #cbd5e1 !important;
}

body.dark-mode .timeline-dot {
    background: #f472b6 !important;
    box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.2) !important;
}

/* Credentials */
body.dark-mode .credentials-toggle {
    background: rgba(30, 41, 59, 0.7) !important;
    color: #e2e8f0 !important;
    border-color: rgba(255,255,255,0.1) !important;
}

body.dark-mode .credentials-content {
    background: rgba(30, 41, 59, 0.7) !important;
    border-color: rgba(255,255,255,0.1) !important;
}

body.dark-mode .credentials-content li {
    color: #94a3b8 !important;
}

/* ========== FIX 1: STICKY BOTTOM CTA BAR ========== */
.sticky-cta-bar {
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9998;
        background: white;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        padding: 12px 15px;
        gap: 10px;
    }
    
    .sticky-cta-bar a {
        flex: 1;
        padding: 14px 20px;
        border-radius: 12px;
        text-align: center;
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .sticky-cta-call {
        background: linear-gradient(135deg, #E91E8C, #be185d);
        color: white !important;
    }
    
    .sticky-cta-whatsapp {
        background: #25D366;
        color: white !important;
    }
    
    /* Adjust theme toggle position */
    .theme-toggle {
        bottom: 90px !important;
    }
    
    /* Add padding to footer so it's not hidden */
    footer, .footer {
        padding-bottom: 100px !important;
    }
    
    /* Dark mode sticky bar */
    body.dark-mode .sticky-cta-bar {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

/* ========== FIX 2: CONTRAST IMPROVEMENTS ========== */
/* Increase text contrast throughout */
.hero-content .subtitle,
.hero-content p {
    color: #4b5563 !important; /* Darker grey */
}

.section-header p {
    color: #4b5563 !important;
}

.service-card p,
.why-card p,
.about-card p {
    color: #374151 !important; /* Darker for readability */
}

.faq-answer p {
    color: #374151 !important;
}

.edd-note,
.checker-disclaimer,
.note {
    color: #4b5563 !important;
}

/* Pink text on light backgrounds - make darker */
.trust-badge span {
    color: #1f2937 !important;
}

.timeline-content {
    color: #374151 !important;
}

.footer-section p,
.footer-section li,
.footer-section a {
    color: #374151 !important;
}

.footer-section a:hover {
    color: #E91E8C !important;
}

/* ========== FIX 3: LARGER TOUCH TARGETS ========== */
/* FAQ category buttons */
.faq-cat-btn {
    padding: 14px 24px !important;
    font-size: 14px !important;
    min-height: 48px;
}

/* FAQ questions */
.faq-question {
    min-height: 56px;
    padding: 18px 20px !important;
}

/* Option buttons in period checker */
.option-btn {
    padding: 16px 20px !important;
    min-height: 52px;
    font-size: 14px !important;
}

/* Checkbox labels */
.checkbox-label {
    padding: 16px 18px !important;
    min-height: 52px;
}

/* Nav links mobile */
@media (max-width: 768px) {
    .nav-menu .nav-link {
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Footer links */
    .footer-section ul li a {
        display: inline-block;
        padding: 8px 0;
        min-height: 44px;
    }
}

/* All buttons minimum size */
.btn-primary,
.btn-secondary,
.nav-cta {
    min-height: 48px;
    padding: 14px 28px !important;
}

/* Date inputs */
input[type="date"] {
    min-height: 52px;
}

/* ================================================================
   COMPREHENSIVE DARK MODE - METHODICAL & COMPLETE
   ================================================================ */

/* Base dark background - covers entire page */
body.dark-mode {
    background: #0f172a !important;
    color: #e2e8f0 !important;
}

/* -------------------- HEADER / NAV -------------------- */
body.dark-mode header,
body.dark-mode .navbar,
body.dark-mode nav {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .nav-logo h3 {
    color: #f472b6 !important;
}

body.dark-mode .nav-link {
    color: #cbd5e1 !important;
}

body.dark-mode .nav-link:hover {
    color: #2dd4bf !important;
}

body.dark-mode .nav-cta {
    background: linear-gradient(135deg, #ec4899, #be185d) !important;
    color: white !important;
}

body.dark-mode .nav-toggle i {
    color: #f472b6 !important;
}

/* Mobile menu */
body.dark-mode .nav-menu {
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(20px) !important;
}

body.dark-mode .nav-menu li {
    border-color: rgba(255,255,255,0.08) !important;
}

body.dark-mode .nav-menu .nav-link {
    color: #e2e8f0 !important;
}

body.dark-mode .nav-menu .nav-link:hover,
body.dark-mode .nav-menu .nav-link:active {
    background: rgba(244, 114, 182, 0.15) !important;
    color: #f472b6 !important;
}

body.dark-mode .nav-contact-info {
    background: transparent !important;
    border-color: rgba(255,255,255,0.08) !important;
}

body.dark-mode .nav-whatsapp {
    background: #25D366 !important;
}

body.dark-mode .nav-emergency {
    background: rgba(45, 212, 191, 0.2) !important;
    color: #2dd4bf !important;
}

/* -------------------- HERO SECTION -------------------- */
body.dark-mode .hero,
body.dark-mode #home {
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%) !important;
}

body.dark-mode .hero-title,
body.dark-mode .hero h1 {
    color: #f472b6 !important;
}

body.dark-mode .hero-subtitle,
body.dark-mode .hero h2 {
    color: #e2e8f0 !important;
}

body.dark-mode .hero-tagline,
body.dark-mode .hero p {
    color: #94a3b8 !important;
}

body.dark-mode .hero .btn-primary {
    background: linear-gradient(135deg, #ec4899, #be185d) !important;
}

body.dark-mode .hero .btn-secondary,
body.dark-mode .hero .btn-whatsapp {
    border-color: #2dd4bf !important;
    color: #2dd4bf !important;
    background: transparent !important;
}

body.dark-mode .hero .btn-secondary:hover {
    background: #2dd4bf !important;
    color: #0f172a !important;
}

/* -------------------- STATS SECTION -------------------- */
body.dark-mode .stats {
    background: rgba(30, 27, 75, 0.5) !important;
}

body.dark-mode .stat-item,
body.dark-mode .stat-box {
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .stat-item h3,
body.dark-mode .stat-number {
    color: #f472b6 !important;
}

body.dark-mode .stat-item p,
body.dark-mode .stat-label {
    color: #94a3b8 !important;
}

/* -------------------- TRUST BADGES -------------------- */
body.dark-mode .trust-badges,
body.dark-mode .badges-strip {
    background: rgba(30, 41, 59, 0.4) !important;
}

body.dark-mode .trust-badge,
body.dark-mode .badge-item {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .trust-badge i,
body.dark-mode .badge-icon {
    color: #f472b6 !important;
}

body.dark-mode .trust-badge:nth-child(odd) i {
    color: #2dd4bf !important;
}

body.dark-mode .trust-badge span {
    color: #e2e8f0 !important;
}

/* -------------------- ABOUT SECTION -------------------- */
body.dark-mode .about,
body.dark-mode #about {
    background: #0f172a !important;
}

body.dark-mode .about-card,
body.dark-mode .about-content {
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .about h3,
body.dark-mode .about-card h3 {
    color: #f472b6 !important;
}

body.dark-mode .about p,
body.dark-mode .about-bio,
body.dark-mode .about-text p {
    color: #cbd5e1 !important;
}

body.dark-mode .degrees span {
    background: rgba(244, 114, 182, 0.15) !important;
    color: #f472b6 !important;
    border: 1px solid rgba(244, 114, 182, 0.3) !important;
}

/* Credentials dropdown */
body.dark-mode .credentials-toggle {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #e2e8f0 !important;
}

body.dark-mode .credentials-toggle:hover {
    background: rgba(45, 212, 191, 0.1) !important;
    border-color: #2dd4bf !important;
}

body.dark-mode .credentials-content {
    background: rgba(30, 41, 59, 0.9) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

body.dark-mode .credentials-content li {
    color: #94a3b8 !important;
}

body.dark-mode .credentials-content li::before {
    color: #2dd4bf !important;
}

/* -------------------- SERVICES SECTION -------------------- */
body.dark-mode .services,
body.dark-mode #services {
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%) !important;
}

body.dark-mode .service-card {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .service-card::before {
    background: linear-gradient(90deg, #f472b6, #2dd4bf) !important;
}

body.dark-mode .service-card:nth-child(even)::before {
    background: #2dd4bf !important;
}

body.dark-mode .service-card h3 {
    color: #f1f5f9 !important;
}

body.dark-mode .service-card p {
    color: #94a3b8 !important;
}

body.dark-mode .service-card i,
body.dark-mode .service-icon i {
    color: #f472b6 !important;
}

body.dark-mode .service-card:nth-child(even) i {
    color: #2dd4bf !important;
}

/* -------------------- EDD CALCULATOR SECTION -------------------- */
body.dark-mode .edd-calculator,
body.dark-mode #edd-calculator {
    background: #0f172a !important;
}

body.dark-mode .edd-card {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-top: 4px solid #2dd4bf !important;
}

body.dark-mode .edd-input label {
    color: #e2e8f0 !important;
}

body.dark-mode .edd-input input,
body.dark-mode #lmp-date {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    color: #e2e8f0 !important;
}

body.dark-mode .edd-input input:focus {
    border-color: #f472b6 !important;
}

body.dark-mode .edd-result-item {
    background: rgba(30, 41, 59, 0.5) !important;
}

body.dark-mode .edd-result-item.edd-main {
    background: linear-gradient(135deg, #ec4899, #be185d) !important;
}

body.dark-mode .edd-label {
    color: #94a3b8 !important;
}

body.dark-mode .edd-value {
    color: #f1f5f9 !important;
}

body.dark-mode .edd-note {
    background: rgba(30, 41, 59, 0.5) !important;
    color: #94a3b8 !important;
}

body.dark-mode .edd-progress {
    background: rgba(255,255,255,0.1) !important;
}

/* -------------------- PERIOD CHECKER SECTION -------------------- */
body.dark-mode .period-checker,
body.dark-mode #period-checker {
    background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%) !important;
}

body.dark-mode .checker-card {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-top: 4px solid #f472b6 !important;
}

body.dark-mode .question-item label {
    color: #e2e8f0 !important;
}

body.dark-mode .option-btn {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    color: #cbd5e1 !important;
}

body.dark-mode .option-btn:hover {
    border-color: #f472b6 !important;
    background: rgba(244, 114, 182, 0.1) !important;
}

body.dark-mode .option-btn.selected {
    background: rgba(244, 114, 182, 0.2) !important;
    border-color: #f472b6 !important;
    color: #f472b6 !important;
}

body.dark-mode .option-btn.selected[data-v="normal"] {
    background: rgba(45, 212, 191, 0.2) !important;
    border-color: #2dd4bf !important;
    color: #2dd4bf !important;
}

body.dark-mode .checkbox-label {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #cbd5e1 !important;
}

body.dark-mode .checkbox-label:hover {
    background: rgba(244, 114, 182, 0.1) !important;
}

body.dark-mode .result-box {
    backdrop-filter: blur(15px) !important;
}

body.dark-mode .result-normal,
body.dark-mode #result-normal {
    background: rgba(45, 212, 191, 0.15) !important;
    border: 2px solid #2dd4bf !important;
}

body.dark-mode .result-normal h3 {
    color: #2dd4bf !important;
}

body.dark-mode .result-warning,
body.dark-mode #result-warning {
    background: rgba(251, 191, 36, 0.15) !important;
    border: 2px solid #fbbf24 !important;
}

body.dark-mode .result-warning h3 {
    color: #fbbf24 !important;
}

body.dark-mode .result-box p {
    color: #cbd5e1 !important;
}

body.dark-mode .checker-disclaimer {
    background: rgba(30, 41, 59, 0.5) !important;
    color: #64748b !important;
}

/* -------------------- FAQ SECTION -------------------- */
body.dark-mode .faq-section,
body.dark-mode #faq {
    background: #0f172a !important;
}

body.dark-mode .faq-cat-btn {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.15) !important;
    color: #94a3b8 !important;
}

body.dark-mode .faq-cat-btn:hover {
    border-color: #2dd4bf !important;
    color: #2dd4bf !important;
    background: rgba(45, 212, 191, 0.1) !important;
}

body.dark-mode .faq-cat-btn.active {
    background: linear-gradient(135deg, #ec4899, #be185d) !important;
    border-color: transparent !important;
    color: white !important;
}

body.dark-mode .faq-item {
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .faq-question {
    background: transparent !important;
}

body.dark-mode .faq-question:hover {
    background: rgba(244, 114, 182, 0.08) !important;
}

body.dark-mode .faq-question span {
    color: #e2e8f0 !important;
}

body.dark-mode .faq-question i {
    color: #2dd4bf !important;
}

body.dark-mode .faq-answer {
    background: transparent !important;
}

body.dark-mode .faq-answer p {
    color: #94a3b8 !important;
}

/* -------------------- WHY CHOOSE SECTION -------------------- */
body.dark-mode .why-choose {
    background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%) !important;
}

body.dark-mode .why-card {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-top: 4px solid #2dd4bf !important;
}

body.dark-mode .why-card h3 {
    color: #f1f5f9 !important;
}

body.dark-mode .why-card p {
    color: #94a3b8 !important;
}

body.dark-mode .why-card i {
    color: #2dd4bf !important;
}

/* -------------------- REVIEWS SECTION -------------------- */
body.dark-mode .reviews-section,
body.dark-mode .reviews {
    background: #0f172a !important;
}

body.dark-mode .review-card {
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .review-card img {
    border: 1px solid rgba(255,255,255,0.1) !important;
}

body.dark-mode .rating-badge {
    background: linear-gradient(135deg, #2dd4bf, #14b8a6) !important;
}

body.dark-mode .rating-badge span {
    color: white !important;
}

/* -------------------- PATIENT RESOURCES -------------------- */
body.dark-mode .patient-resources {
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%) !important;
}

body.dark-mode .resource-card {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .resource-card h4 {
    color: #f1f5f9 !important;
}

body.dark-mode .resource-card p,
body.dark-mode .resource-card li {
    color: #94a3b8 !important;
}

body.dark-mode .resource-card a {
    color: #f472b6 !important;
}

/* -------------------- CONTACT SECTION -------------------- */
body.dark-mode .contact,
body.dark-mode #contact {
    background: #0f172a !important;
}

body.dark-mode .contact::before {
    background: linear-gradient(90deg, #f472b6, #2dd4bf, #f472b6) !important;
}

body.dark-mode .contact-card,
body.dark-mode .contact-content {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .contact-item,
body.dark-mode .contact-info {
    color: #cbd5e1 !important;
}

body.dark-mode .contact-item i,
body.dark-mode .contact-icon {
    color: #f472b6 !important;
}

body.dark-mode .contact-item h4 {
    color: #f1f5f9 !important;
}

body.dark-mode .contact-item p,
body.dark-mode .contact-item a {
    color: #94a3b8 !important;
}

body.dark-mode .contact-item a:hover {
    color: #2dd4bf !important;
}

/* Contact form */
body.dark-mode .contact-form input,
body.dark-mode .contact-form select,
body.dark-mode .contact-form textarea {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    color: #e2e8f0 !important;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form select:focus,
body.dark-mode .contact-form textarea:focus {
    border-color: #f472b6 !important;
}

body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
    color: #64748b !important;
}

body.dark-mode .contact-form label {
    color: #cbd5e1 !important;
}

/* Map */
body.dark-mode .contact-map iframe {
    filter: invert(90%) hue-rotate(180deg) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* -------------------- FOOTER -------------------- */
body.dark-mode footer,
body.dark-mode .footer {
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .footer-section h4 {
    color: #f472b6 !important;
}

body.dark-mode .footer-section p,
body.dark-mode .footer-section li,
body.dark-mode .footer-section a {
    color: #94a3b8 !important;
}

body.dark-mode .footer-section a:hover {
    color: #2dd4bf !important;
}

body.dark-mode .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    color: #64748b !important;
}

body.dark-mode .footer-bottom a {
    color: #f472b6 !important;
}

/* Social icons */
body.dark-mode .social-links a {
    background: rgba(255,255,255,0.1) !important;
    color: #cbd5e1 !important;
}

body.dark-mode .social-links a:hover {
    background: #f472b6 !important;
    color: white !important;
}

/* -------------------- SECTION HEADERS (ALL) -------------------- */
body.dark-mode .section-header h2 {
    background: linear-gradient(90deg, #f472b6, #2dd4bf) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body.dark-mode .section-header p {
    color: #94a3b8 !important;
}

/* -------------------- BUTTONS (ALL) -------------------- */
body.dark-mode .btn-primary {
    background: linear-gradient(135deg, #ec4899, #be185d) !important;
    color: white !important;
}

body.dark-mode .btn-secondary {
    background: transparent !important;
    border: 2px solid #2dd4bf !important;
    color: #2dd4bf !important;
}

body.dark-mode .btn-secondary:hover {
    background: #2dd4bf !important;
    color: #0f172a !important;
}

/* -------------------- STICKY CTA BAR -------------------- */
body.dark-mode .sticky-cta-bar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}

/* -------------------- THEME TOGGLE -------------------- */
body.dark-mode .theme-toggle {
    background: linear-gradient(135deg, #f472b6, #2dd4bf) !important;
    box-shadow: 0 4px 20px rgba(244, 114, 182, 0.3) !important;
}

/* -------------------- SCROLLBAR -------------------- */
body.dark-mode::-webkit-scrollbar-track {
    background: #1e293b !important;
}

body.dark-mode::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f472b6, #2dd4bf) !important;
}

/* -------------------- SELECTION -------------------- */
body.dark-mode ::selection {
    background: #f472b6 !important;
    color: white !important;
}

/* ========== DARK MODE FIXES - FORCE OVERRIDES ========== */

/* Why Choose cards - FORCE dark */
body.dark-mode .why-choose .why-card,
body.dark-mode .why-choose .card,
body.dark-mode .why-choose > .container > div > div {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* Why Choose section background */
body.dark-mode .why-choose {
    background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%) !important;
}

/* FAQ items - FORCE dark */
body.dark-mode .faq-section .faq-item,
body.dark-mode .faq-list .faq-item,
body.dark-mode #faq .faq-item {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* FAQ section background */
body.dark-mode .faq-section,
body.dark-mode #faq {
    background: #0f172a !important;
}

/* Icon circles in Why Choose */
body.dark-mode .why-card .icon-circle,
body.dark-mode .why-card > div:first-child {
    background: rgba(45, 212, 191, 0.15) !important;
}

/* Service cards if still white */
body.dark-mode .services .service-card,
body.dark-mode #services .service-card,
body.dark-mode .service-tabs .service-card {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* Any remaining white divs inside sections */
body.dark-mode section div[class*="card"],
body.dark-mode section div[class*="item"] {
    background-color: rgba(30, 41, 59, 0.7) !important;
}

/* Override any inline styles or stubborn whites */
body.dark-mode [style*="background: white"],
body.dark-mode [style*="background-color: white"],
body.dark-mode [style*="background:#fff"],
body.dark-mode [style*="background: #fff"] {
    background: rgba(30, 41, 59, 0.7) !important;
}

/* Why-badge styling (light mode) */
.why-badge {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.why-badge h3 {
    color: #333;
}

/* Why-badge (dark mode) */
body.dark-mode .why-badge {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}

body.dark-mode .why-badge h3 {
    color: #f1f5f9 !important;
}

body.dark-mode .why-badge p {
    color: #94a3b8 !important;
}

body.dark-mode .why-badge .badge-icon i {
    color: #2dd4bf !important;
}

/* Why-choose section (light mode needs class too) */
.why-choose {
    background: #f8f9fa;
}

/* ========== PATIENT RESOURCES / EDUCATION CARDS - DARK MODE ========== */
body.dark-mode .education-card {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}

body.dark-mode .education-card h3 {
    color: #f1f5f9 !important;
}

body.dark-mode .education-card p,
body.dark-mode .education-card li {
    color: #94a3b8 !important;
}

body.dark-mode .education-card ul li::before,
body.dark-mode .education-card .checkmark {
    color: #2dd4bf !important;
}

body.dark-mode .education-icon {
    background: rgba(244, 114, 182, 0.15) !important;
}

body.dark-mode .education-icon i {
    color: #f472b6 !important;
}

body.dark-mode .education-card:nth-child(2) .education-icon {
    background: rgba(45, 212, 191, 0.15) !important;
}

body.dark-mode .education-card:nth-child(2) .education-icon i {
    color: #2dd4bf !important;
}

body.dark-mode .education-card:nth-child(3) .education-icon {
    background: rgba(244, 114, 182, 0.15) !important;
}

/* Education grid section background */
body.dark-mode .education-section,
body.dark-mode section:has(.education-grid) {
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%) !important;
}

/* Credentials section */
body.dark-mode .credentials {
    background: #0f172a !important;
}

body.dark-mode .credentials-toggle {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #f472b6 !important;
}

body.dark-mode .credentials-toggle i {
    color: #2dd4bf !important;
}

body.dark-mode .credentials-content {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

body.dark-mode .credentials-content li {
    color: #cbd5e1 !important;
    border-color: rgba(255,255,255,0.08) !important;
}

/* Patient Education section dark mode */
body.dark-mode .patient-education {
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%) !important;
}

/* Remove any white/light backgrounds from sections */
body.dark-mode section {
    background-color: transparent !important;
}

/* Ensure all sections with specific gradients keep them */
body.dark-mode .hero { background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%) !important; }
body.dark-mode .about { background: #0f172a !important; }
body.dark-mode .services { background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%) !important; }
body.dark-mode .edd-calculator { background: #0f172a !important; }
body.dark-mode .period-checker { background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%) !important; }
body.dark-mode .faq-section { background: #0f172a !important; }
body.dark-mode .why-choose { background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%) !important; }
body.dark-mode .reviews-section { background: #0f172a !important; }
body.dark-mode .contact { background: #0f172a !important; }

/* ========== TRUST BADGES STRIP ========== */
.trust-badges {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0fdfa 100%);
    padding: 20px 0;
}

.badges-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

body.dark-mode .trust-badges {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%) !important;
}

body.dark-mode .badge-item {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

body.dark-mode .badge-item i {
    color: #f472b6 !important;
}

body.dark-mode .badge-item:nth-child(even) i {
    color: #2dd4bf !important;
}

body.dark-mode .badge-item span {
    color: #e2e8f0 !important;
}

/* ========== REVIEWS SECTION ========== */
.reviews-section,
section:has(.reviews-header) {
    background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 100%);
}

body.dark-mode .reviews-section,
body.dark-mode section:has(.reviews-header) {
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%) !important;
}

/* Google Rating Badge */
.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px 40px;
    border-radius: 60px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}

body.dark-mode .google-rating {
    background: rgba(30, 41, 59, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4) !important;
}

body.dark-mode .google-rating span,
body.dark-mode .google-rating .rating-text {
    color: #e2e8f0 !important;
}

body.dark-mode .google-rating .rating-number {
    color: #f1f5f9 !important;
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

body.dark-mode .review-card {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3) !important;
}

body.dark-mode .review-card p,
body.dark-mode .review-card span,
body.dark-mode .review-text {
    color: #cbd5e1 !important;
}

body.dark-mode .review-card .review-date,
body.dark-mode .review-card .review-time {
    color: #64748b !important;
}

/* Reviews container/slider */
body.dark-mode .reviews-slider,
body.dark-mode .reviews-container,
body.dark-mode .reviews-grid {
    background: transparent !important;
}

/* ========== CONTACT FORM CONTAINER - DARK MODE ========== */
body.dark-mode .contact-form-section {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 24px !important;
}

body.dark-mode .contact-form {
    background: transparent !important;
}

body.dark-mode .appointment-form {
    background: transparent !important;
}

body.dark-mode .form-group {
    background: transparent !important;
}

/* Also the section above reviews that's still light */
body.dark-mode section {
    background-color: #0f172a !important;
}

/* Force all light pink backgrounds to dark */
body.dark-mode [style*="fdf2f8"],
body.dark-mode [style*="f8f9fa"],
body.dark-mode [style*="fff"],
body.dark-mode [style*="white"] {
    background: rgba(30, 41, 59, 0.7) !important;
}

/* Force contact form section dark - higher specificity */
body.dark-mode .contact .contact-form-section,
body.dark-mode #contact .contact-form-section,
body.dark-mode section.contact .contact-form-section {
    background: rgba(30, 41, 59, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
}

/* The top light section between reviews and contact */
body.dark-mode section:not([class]),
body.dark-mode section[class=""] {
    background: #0f172a !important;
}

/* Service tabs dark mode */
body.dark-mode .service-tab,
body.dark-mode .service-tabs button,
body.dark-mode .service-tabs .tab-btn,
body.dark-mode [class*="tab"]:not(.active) {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #94a3b8 !important;
}

body.dark-mode .service-tab:hover,
body.dark-mode .service-tabs button:hover {
    background: rgba(45, 212, 191, 0.15) !important;
    border-color: #2dd4bf !important;
    color: #2dd4bf !important;
}

body.dark-mode .service-tab.active,
body.dark-mode .service-tabs button.active,
body.dark-mode .tab-btn.active {
    background: linear-gradient(135deg, #ec4899, #be185d) !important;
    border: none !important;
    color: white !important;
}
