/* ------------------------------------------------------------------
   1. VARIABLES & RESET
------------------------------------------------------------------ */
:root {
    --primary-color: #005691;
    /* Professional Blue */
    --secondary-color: #00A896;
    /* Calming Teal */
    --accent-color: #F0F7FA;
    /* Light Blue Background */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f9f9f9;
    --border-color: #e1e1e1;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ------------------------------------------------------------------
   2. TYPOGRAPHY & BUTTONS
------------------------------------------------------------------ */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #008f80;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #f0f0f0;
}

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-text {
    font-weight: 600;
    color: var(--primary-color);
    padding: 0 15px;
}

/* ------------------------------------------------------------------
   3. NAVIGATION
------------------------------------------------------------------ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.mobile-menu.active {
    display: flex;
}

/* ------------------------------------------------------------------
   4. HERO SECTION
------------------------------------------------------------------ */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(to right, #ffffff, var(--accent-color));
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(0, 168, 150, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.trust-indicators {
    display: flex;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.trust-icon {
    color: var(--secondary-color);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    /* Modern rounded corners */
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 5px solid var(--secondary-color);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--text-dark);
}

/* ------------------------------------------------------------------
   5. PAIN SECTION
------------------------------------------------------------------ */
.pain-section {
    background-color: var(--white);
    padding-bottom: 40px;
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.pain-text h2 {
    font-size: 2.2rem;
}

.pain-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pain-card {
    background-color: var(--light-gray);
    padding: 25px 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.pain-card:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.pain-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.pain-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.pain-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ------------------------------------------------------------------
   6. SERVICES SECTION
------------------------------------------------------------------ */
.services-section {
    background-color: var(--accent-color);
}

.section-header {
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-benefit {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.service-link:hover {
    gap: 8px;
}

/* ------------------------------------------------------------------
   7. DOCTOR SECTION
------------------------------------------------------------------ */
.doctor-section {
    position: relative;
}

.doctor-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.doctor-image {
    flex: 1;
    position: relative;
}

.doctor-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.doc-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
}

.doc-badge span:last-child {
    color: #FFD700;
    /* Gold star */
}

.doctor-content {
    flex: 1.2;
}

.doctor-content .lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
}

.doctor-features {
    margin: 30px 0;
}

.doctor-features li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

/* ------------------------------------------------------------------
   8. TESTIMONIALS SECTION
------------------------------------------------------------------ */
.testimonials-section {
    background-color: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.author .name {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
}

.author .treatment {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ------------------------------------------------------------------
   9. PROCESS SECTION
------------------------------------------------------------------ */
.process-section {
    padding-bottom: 40px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 40px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 8px var(--white);
}

.step-connector {
    flex-grow: 1;
    height: 2px;
    background-color: var(--border-color);
    margin-top: 30px;
    position: relative;
    top: 0;
    z-index: 1;
}

/* ------------------------------------------------------------------
   10. FAQ SECTION
------------------------------------------------------------------ */
.faq-section {
    background-color: var(--accent-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question .toggle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
}

.faq-answer p {
    padding-bottom: 25px;
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximate height */
}

.faq-item.active .toggle {
    transform: rotate(45deg);
}

/* ------------------------------------------------------------------
   11. CTA SECTION
------------------------------------------------------------------ */
.cta-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-container h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.cta-btns {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-note {
    font-size: 0.9rem !important;
    opacity: 0.8;
}

/* ------------------------------------------------------------------
   12. FOOTER
------------------------------------------------------------------ */
footer {
    background-color: #f1f3f5;
    padding: 80px 0 30px;
    color: var(--text-dark);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ------------------------------------------------------------------
   13. RESPONSIVE DESIGN
------------------------------------------------------------------ */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-btns,
    .trust-indicators {
        justify-content: center;
    }

    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -25px;
        width: 250px;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .pain-points {
        grid-template-columns: repeat(3, 1fr);
    }

    .doctor-container {
        flex-direction: column;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step-connector {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn-text {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar .btn-primary {
        display: none;
        /* Hide header button on mobile, keeping menu clean */
    }

    .pain-points {
        grid-template-columns: 1fr;
    }

    .cta-btns {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 40px;
    }

    h1 {
        font-size: 2.2rem;
    }
}