/* 
  Theme: Minimalist, Modern, and Medical
  Colors: Professional Teal (#008080), Soft Blue (#F0F8FF), Trust Navy (#1A237E)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

:root {
    --color-primary: #E91E63;
    /* Reference Pink */
    --color-primary-dark: #C2185B;
    --color-secondary: #1A237E;
    /* Deep Navy */
    --color-bg-soft: #FCE4EC;
    /* Very light pink background */
    --color-white: #FFFFFF;
    --color-text-dark: #333333;
    --color-text-light: #555555;
    --color-accent: #FF4081;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 4px 6px rgba(233, 30, 99, 0.1);
    --shadow-md: 0 8px 15px rgba(233, 30, 99, 0.15);
    --shadow-lg: 0 15px 30px rgba(233, 30, 99, 0.2);

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-bg-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    line-height: 1.25;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    /* Pill shape is more modern */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(216, 27, 96, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 77, 64, 0.2);
}


/* --- Header Styles --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Softer header shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

/* --- Header Actions --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    color: white;
}

.call-btn {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: white;
}

.call-btn:hover {
    background-color: var(--color-primary);
    color: white;
}

/* --- Floating WhatsApp --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    /* moved up slightly to avoid overlap with bottom navigation on phones */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
}

/* --- Hero Section Styles --- */
.hero-section {
    background: linear-gradient(135deg, #FCE4EC 0%, #FFFFFF 100%);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    text-align: left;
    /* Alignment change */
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
    line-height: 1.2;
}

.subheadline {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 100%;
}

.hero-form-wrapper {
    flex: 0 0 400px;
    z-index: 2;
}

.hero-form-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--color-primary);
}

.hero-form-card h3 {
    text-align: center;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.consultation-form .form-group {
    margin-bottom: 1rem;
}

.consultation-form input,
.consultation-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.consultation-form input:focus,
.consultation-form select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.btn-block {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-block:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* --- Trust Buffer Styles --- */
.trust-buffer {
    background: linear-gradient(90deg, #F8BBD0, #F48FB1);
    /* Gradient Match */
    padding: 2rem 0;
}

.trust-buffer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-item {
    text-align: center;
    color: var(--color-secondary);
}

.trust-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #880E4F;
    /* Darker pink for contrast */
    margin-bottom: 0px;
    background: none;
    -webkit-text-fill-color: initial;
}

.trust-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #880E4F;
    letter-spacing: 0.5px;
}

/* --- Services Section Styles --- */
.services-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Softer border */
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.learn-more {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Expertise Section Styles --- */
.expertise-section {
    background-color: var(--color-bg-soft);
    padding: 6rem 0;
}

.expertise-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.doctor-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.doctor-placeholder {
    width: 100%;
    max-width: 400px;
    /* Responsive consistency */
    height: 450px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    /* More pleasant placeholder bg */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 20px;
    border: 8px solid var(--color-white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.doctor-details {
    flex: 1;
    min-width: 300px;
}

.badge {
    background-color: rgba(0, 128, 128, 0.1);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.doctor-details h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.credential {
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.doctor-bio {
    margin-bottom: 2rem;
    color: var(--color-text-dark);
}

.doctor-highlights {
    margin-bottom: 2rem;
}

.doctor-highlights li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.doctor-highlights i {
    color: var(--color-primary);
}

/* --- Transparency Section Styles --- */
.transparency-section {
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-align: center;
    padding: 6rem 0;
}

.transparency-section .section-title {
    color: var(--color-white);
}

.transparency-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4DB6AC;
    /* Light Teal for visibility on dark bg */
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}


/* --- Social Proof Styles --- */
.social-proof-section {
    background-color: var(--color-white);
    text-align: center;
    padding: 6rem 0;
}

.testimonial-slider {
    max-width: 900px;
    margin: 4rem auto 0;
    position: relative;
    padding: 4rem;
    background: var(--color-white);
    /* Cleaner background */
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

.stars {
    color: #FFC107;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-secondary);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    padding: 0 1rem;
    pointer-events: none;
    /* Let clicks pass through if needed, but buttons handle pointer-events */
}

.prev-btn,
.next-btn {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- CTA Banner Styles --- */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    text-align: center;
    padding: 6rem 0;
}

.cta-banner h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary-inv {
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.btn-primary-inv:hover {
    background-color: var(--color-bg-soft);
    transform: translateY(-2px);
}

.btn-secondary-inv {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.btn-secondary-inv:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* --- Footer Styles --- */
.main-footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul li a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}


/* --- Responsive Styles --- */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: none;
        /* Removed toggle as we have direct actions */
    }

    .header-book-btn {
        /* Hide the big "Book Appointment" text button on mobile */
        display: none;
    }

    .header-actions {
        gap: 0.75rem;
        /* Smaller gap on mobile */
    }

    .logo img {
        height: 40px !important;
        /* Smaller logo on mobile */
    }

    .main-header .btn {
        display: none;
        /* Hide button on mobile to prevent overlap */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 1rem;
        box-shadow: var(--shadow-md);
        text-align: center;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-container {
        flex-direction: column-reverse;
        /* Form on top, Text on bottom */
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-form-wrapper {
        width: 100%;
        flex: auto;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .trust-buffer .container {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }

    .trust-item {
        flex: 1 1 40%;
        /* 2 per row */
    }

    .expertise-content {
        flex-direction: column;
        text-align: center;
    }

    .slider-controls {
        position: static;
        margin-top: 1rem;
        justify-content: center;
        gap: 2rem;
        transform: none;
    }
}

/* --- Sticky Mobile Footer --- */
.sticky-mobile-footer {
    display: none;
}

@media (max-width: 768px) {
    .sticky-mobile-footer {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

    .sticky-btn {
        flex: 1;
        padding: 15px;
        text-align: center;
        color: white;
        text-decoration: none;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 1rem;
        transition: background-color 0.3s;
    }

    .whatsapp-sticky {
        background-color: #25D366;
    }

    .call-sticky {
        background-color: var(--color-primary);
        /* Updated to Brand Pink */
    }

    /* Hide the floating button on mobile to avoid clutter */
    .floating-whatsapp {
        display: none;
    }

    /* Ensure footer content isn't covered */
    body {
        padding-bottom: 50px;
    }
}