/* Base Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #388E3C;
    --accent-color: #81C784;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

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

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.underline {
    height: 3px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

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

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

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    font-weight: 500;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-color: var(--light-bg);
    padding: 150px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: nowrap;
}

.about-image {
    flex: 0 0 400px;
    min-width: 400px;
}

.about-text {
    flex: 1;
    min-width: 0;
}

.doctor-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
}

/* Services Section */
.services {
    background-color: var(--light-bg);
}

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

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.conditions-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.conditions-container h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.conditions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.conditions-list li {
    position: relative;
    padding-left: 25px;
}

.conditions-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Reviews Section */
.reviews {
    background-color: var(--white);
}

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

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    min-height: 350px;
}

.review-slide {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateX(20px);
}

.review-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.review-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
}

.review-text:before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
    opacity: 0.3;
}

.reviewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.reviewer-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.reviewer-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.nav-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background-color: var(--accent-color);
}

/* Pricing Section */
.pricing {
    background-color: var(--light-bg);
}

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

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    background-color: var(--light-bg);
    padding: 30px;
    text-align: center;
}

.pricing-header h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
}

.pricing-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pricing-details ul {
    margin-bottom: 20px;
    flex: 1;
}

.pricing-details li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.pricing-details li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.pricing-details .btn-primary,
.pricing-details .btn-secondary {
    width: 100%;
}

.free-consultation {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.consultation-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

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

.consultation-card .price {
    color: var(--white);
    margin-bottom: 20px;
}

.consultation-card .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.consultation-card .btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.insurance-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-link {
  margin-left: 6px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}

.contact-link:hover {
  color: #c13584;
  transform: translateY(-1px);
  text-decoration: underline;
}


.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-group button {
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.form-group button:hover {
    background-color: var(--secondary-color);
}


/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 10px;
}

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

.footer-links ul li a {
    color: var(--white);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

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

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

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


/* Ebook Page Styles */
/* eBook Section Styles */
.ebook-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ebook-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.ebook-card h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ebook-card p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.ebook-card .form-group {
    text-align: left;
    margin-bottom: 20px;
}

.ebook-card .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.ebook-card button,
.ebook-card .btn-primary {
    width: 100%;
}

#success-message h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.error-text {
    color: #D32F2F;
    font-size: 0.9rem;
    margin-top: 15px;
    min-height: 1.2em;
}

.form-group-consent {
    text-align: left;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-group-consent input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 20px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        margin-bottom: 20px;
    }

    .about-text {
        text-align: center;
    }

    .review-card {
        padding: 30px 20px;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .carousel-navigation {
        gap: 15px;
        margin-top: 25px;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-form form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }

    .review-card {
        padding: 25px 15px;
    }
    
    .review-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .carousel-navigation {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 25px;
    }

    .carousel-dots {
        order: 1; 
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-btn {
        order: 2;
    }
}