/* Design System & Variables - Minimalist & Sophisticated */
:root {
    --primary: #5d1c6e;
    --primary-light: #7b2a8d;
    --primary-dark: #3a1045;
    --secondary: #c33a69;
    --accent: #f8f0f7;
    --text: #2d2d2d;
    --text-light: #5f5f5f;
    --bg-light: #ffffff;
    --bg-alt: #fafafa;
    --white: #FFFFFF;
    --whatsapp: #25D366;
    --glass: rgba(255, 255, 255, 0.98);
    --glass-border: rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 30px rgba(93, 28, 110, 0.06);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    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);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 100px 0;
}

.subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(113, 0, 143, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(113, 0, 143, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #ff4d85);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(204, 51, 102, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(204, 51, 102, 0.4);
    color: var(--white);
}

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

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

/* Glassmorphism */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
}

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

.animate-up {
    opacity: 0;
}

.animate-up.visible {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

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

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-text span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    position: relative;
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section - Minimalist & Clinical Luxury */
.hero {
    position: relative;
    padding: 140px 0 60px;
    background: var(--white);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Removed background blurs for a cleaner look */
.hero::before, .hero::after {
    display: none;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.05); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

.hero h1 span {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(204, 51, 102, 0.2);
    z-index: -1;
    border-radius: 10px;
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 550px;
}

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

.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Organic Background Shape behind the doctor */
/* Subtler aura behind the photo */
.hero-image::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(93, 28, 110, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    filter: blur(60px);
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible; /* Prevent cutting */
}

.image-wrapper img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    filter: drop-shadow(0 15px 45px rgba(113, 0, 143, 0.15));
    animation: portrait-float 4s ease-in-out infinite;
    z-index: 2;
    /* Soft fade at the bottom to hide sharp cuts */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

@keyframes portrait-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    left: -10%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 20px 30px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    z-index: 3;
    animation: badge-float 6s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.experience-badge span {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.experience-badge p {
    font-size: 12px;
    color: var(--text-light);
    margin: 5px 0 0;
    font-weight: 600;
    text-transform: uppercase;
}

/* About Section */
.about {
    background-color: var(--bg-alt);
}

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

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: 30px;
    z-index: 0;
    transition: var(--transition);
}

.about-image:hover::before {
    top: -10px;
    left: -10px;
}

.about-image img {
    border-radius: 30px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 40px;
    margin-bottom: 25px;
}

.features-list {
    margin: 30px 0 40px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text);
}

.features-list i {
    color: var(--secondary);
    font-size: 20px;
}

/* Services Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

/* Services Grids */
.top-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 4px solid var(--secondary);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(204,51,102,0.05), rgba(113,0,143,0.05));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3, .service-card p {
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* FAQ Section - Premium Layout */
.faq {
    background: #fafafe;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.faq-left h2 {
    font-size: 42px;
    margin: 10px 0 20px;
    line-height: 1.2;
}

.faq-left h2 span {
    color: var(--accent);
}

.faq-left p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

.faq-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(113, 0, 143, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:first-child {
    border-top: 1px solid rgba(113, 0, 143, 0.1);
}

.faq-question {
    padding: 24px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #222;
    font-size: 16px;
    gap: 20px;
    user-select: none;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.faq-icon i {
    color: white;
    font-size: 12px;
    transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
    background: var(--accent);
}

.faq-item.active .faq-icon i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 10px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

.faq-answer p {
    padding-bottom: 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(204,51,102,0.1);
    border-radius: 50%;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 38px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-banner span {
    color: #FFD700; /* Gold for highlight */
}

.cta-banner p {
    position: relative;
    z-index: 1;
    font-size: 18px;
    opacity: 0.9;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebe5d;
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer */
.footer {
    background: #1a081a;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info p {
    opacity: 0.7;
    margin-bottom: 25px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 25px;
    font-size: 20px;
    color: var(--white);
}

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

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--secondary);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    font-size: 14px;
    opacity: 0.6;
}

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

.footer-bottom-flex a {
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.footer-bottom-flex a:hover {
    color: var(--secondary);
}

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

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .top-services-grid, .other-services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-container, .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero p {
        margin: 0 auto 40px;
    }
    
    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.5s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-btn {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .subtitle::before {
        display: none;
    }
    .subtitle {
        padding-left: 0;
    }
    
    .top-services-grid, .other-services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .experience-badge {
        left: 0;
        right: 0;
        margin: 0 auto;
        width: fit-content;
        bottom: 0;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Methodology Section */
.methodology {
    padding: 40px 0 80px;
}

.methodology-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

/* Connecting line for desktop */
@media (min-width: 993px) {
    .methodology-track::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 10%;
        width: 80%;
        height: 1px;
        background: rgba(93, 28, 110, 0.1);
        z-index: 1;
    }
}

.methodology-step {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: var(--primary);
    position: relative;
    transition: var(--transition);
}

.methodology-step:hover .step-icon {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.step-num {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: var(--secondary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.methodology-step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.methodology-step p {
    font-size: 14px;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .methodology-track {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .methodology-step {
        max-width: 400px;
        margin: 0 auto;
    }
}
