/* Design System */
:root {
    --primary: #6A1B4D;
    /* Maroon/Purple from Logo */
    --primary-light: #8E2B6B;
    --primary-dark: #4A1236;
    --black: #000000;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --bg-white: #FFFFFF;
    --bg-off: #F9FAFB;
    --bg-card: #FFFFFF;
    --border: #E5E7EB;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(106, 27, 77, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--black);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 3rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #D4145A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

section {
    padding: 75px 0;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(106, 27, 77, 0.3);
}

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

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

.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

/* Responsive Utilities */
@media (max-width: 768px) {
    h1 {
        font-size: 1.85rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.65rem;
    }

    section {
        padding: 25px 0;
    }

    section#about {
        padding-top: 0;
        /* Remove space between hero and about */
    }

    .container {
        padding: 0 16px;
    }

    .hero-section {
        padding-top: 110px;
        padding-bottom: 0;
        /* Removed space below form */
    }

    .final-cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .eyebrow {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .hero-desc {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .whatsapp-float {
        bottom: 20px;
        left: auto;
        right: 20px;
        /* Switch to right on mobile to avoid overlap with left-aligned content */
    }
}

/* Specific Section Styles */

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.brand-logo {
    height: 65px;
    width: auto;
    display: block;
}



.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
}

.nav-item i {
    color: var(--primary);
    width: 22px;
    height: 22px;
}

@media (max-width: 600px) {
    .nav-item span {
        display: inline-block;
        font-size: 0.85rem;
        color: white;
        white-space: nowrap;
    }

    .nav-item {
        background: var(--primary);
        color: white;
        padding: 10px 14px;
        border-radius: 4px;
        /* Straight corners */
        gap: 8px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        box-shadow: 0 4px 10px rgba(106, 27, 77, 0.2);
    }

    .nav-item i {
        color: white;
        width: 16px;
        height: 16px;
    }

    .brand-logo {
        height: 50px;
    }

    .nav-bar {
        padding: 10px 0;
    }

    .nav-bar .btn-pill-outline {
        display: none;
    }

    .nav-content {
        justify-content: space-between;
    }
}

.btn-pill-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

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

/* Hero Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.4) 100%), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

@media (max-width: 991px) {
    .hero-section {
        background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('hero-bg.png');
        background-size: cover;
        background-attachment: scroll;
        padding-top: 140px;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 80px;
    align-items: center;
}

.eyebrow {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 2.5rem;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.check-icon {
    color: var(--primary);
    width: 20px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* Hero Form */
.form-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

@media (max-width: 600px) {
    .form-card {
        padding: 1.25rem 1.25rem 0.75rem;
        /* Reduced bottom padding */
        background: var(--bg-card);
        border-radius: 12px;
    }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(106, 27, 77, 0.1);
}

.w-full {
    width: 100%;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bg-off {
    background-color: var(--bg-off);
}

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

.icon-box {
    margin: 0 auto 1.5rem;
    width: 60px;
    height: 60px;
    background: rgba(106, 27, 77, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    line-height: 1.1;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    line-height: 1.7;
    max-width: 540px;
}

@media (max-width: 991px) {

    .about-text h2,
    .about-text p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

.rounded-lg {
    border-radius: 20px;
}

.shadow-lg {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .about-image img {
        height: 200px;
        /* Smaller image */
        border-radius: 12px;
    }
}

/* Timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

@media (max-width: 991px) {
    .timeline-item {
        text-align: left;
        padding-left: 60px;
    }

    .timeline-dot {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }
}

.timeline-dot {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
}

/* Video Gallery */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 25px;
}

.support-cta p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 991px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .video-info {
        padding: 20px;
    }
}

/* Testimonials */
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .testimonial-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 10px 10px 40px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }

    .testimonial-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        min-width: 85vw;
        scroll-snap-align: center;
        margin: 0;
    }
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.star-filled {
    color: #FFB800;
    fill: #FFB800;
    stroke: #FFB800;
    width: 20px;
    height: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.patient-info {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.patient-name {
    display: block;
    font-weight: 700;
    color: var(--black);
}

.patient-meta {
    display: block;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

/* FAQ */
.narrow {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-header {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-body {
    padding: 0 25px 20px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-body {
    display: block;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
    transition: 0.3s;
}

/* Popular Searches */
.popular-searches {
    background-color: var(--bg-off);
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.popular-searches h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--text-main);
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}

.search-tags a {
    background: white;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-tags a:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .popular-searches {
        padding: 30px 0;
    }

    .search-tags {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        padding: 0 10px;
        width: 100%;
    }

    .search-tags a {
        font-size: 0.7rem;
        padding: 4px 10px;
        white-space: normal;
        text-align: center;
        flex: 0 1 auto;
        /* Natural width, not stretching */
        line-height: 1.1;
        background: var(--bg-card);
    }
}

/* Final CTA */
.final-cta {
    background: linear-gradient(rgba(106, 27, 77, 0.85), rgba(0, 0, 0, 0.92)), url('cta-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0;
}

.text-white {
    color: white;
}

.m-bottom {
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background: #fff;
    padding: 20px 0;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.highlight-text {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.highlight-text:hover {
    text-decoration: underline;
}

/* WhatsApp Floater */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
    color: white;
}

@media (max-width: 768px) {
    .footer-wrap {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 25px;
        left: 25px;
        width: 55px;
        height: 55px;
        box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

/* Responsive Grid Overrides */
@media (max-width: 991px) {

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .hero-bullets,
    .hero-cta {
        justify-content: center;
    }

    .timeline {
        flex-direction: column;
        gap: 40px;
    }

    .timeline::before {
        display: none;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.fade-in-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.hero-content.fade-in-hidden {
    transform: translateX(-30px);
}

.hero-form.fade-in-hidden {
    transform: translateX(30px);
}

.hero-content.fade-in-visible,
.hero-form.fade-in-visible {
    transform: translateX(0);
}

/* Mobile CTA Bar */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    z-index: 2000;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.mobile-cta-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    color: white;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    gap: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.mobile-cta-item:last-child {
    border-right: none;
}

.mobile-cta-item i {
    width: 20px;
    height: 20px;
}

.mobile-cta-item span {
    letter-spacing: 0.5px;
}

.mobile-cta-item:active {
    background-color: var(--primary-dark);
}

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
    }

    .whatsapp-float {
        display: none !important;
    }

    .footer {
        padding-bottom: 80px;
        /* Ensure content is not hidden behind the bar */
    }
}