/* CSS Variables */
:root {
    --primary: #C4955A;       /* Dourado / Caramelo quente */
    --primary-dark: #9E7340;  /* Dourado escuro */
    --primary-light: #F5EBD9; /* Champagne / creme dourado */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-main: #ffffff;
    --bg-light: #FDFAF5;      /* Fundo levemente creme */
    --divider: #e8ddd0;       /* Creme arenoso */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.06);
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

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

.mt-4 {
    margin-top: 1.5rem;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Dotted Divider */
.divider {
    width: 60px;
    height: 1px;
    border-bottom: 3px dotted var(--primary);
    margin: 3rem auto;
    opacity: 0.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(196, 149, 90, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 149, 90, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
    box-shadow: none;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.85rem 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--divider);
}

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

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, var(--bg-light) 0%, var(--bg-main) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

/* Hero Widget Box */
.hero-widget-box {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    border-top: 4px solid var(--primary);
    max-width: 90%;
    position: relative;
    z-index: 10;
}

.hero-widget-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

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

.widget-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.widget-placeholder {
    padding: 2rem 1.5rem;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    text-align: center;
    color: #888;
    background: var(--bg-light);
    transition: var(--transition);
}

.widget-placeholder:hover {
    border-color: var(--primary);
    background: #fff;
}

.widget-placeholder em {
    font-style: normal;
    font-weight: 600;
    color: var(--text-main);
}

.widget-placeholder span {
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

.image-wrapper {
    position: relative;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite both alternate;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(196, 149, 90, 0.2);
    aspect-ratio: 4/5;
    background-color: var(--primary-light);
}

@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.workspace-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: 500px;
    object-fit: cover;
}

.doctoralia-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.badge-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
}

.stars {
    display: flex;
    color: #ffd700;
    margin: 4px 0;
}

.stars .lucide {
    width: 14px;
    height: 14px;
    fill: #ffd700;
}

.badge-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-content p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
    height: 100%;
}

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

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

.service-card:hover .icon-box {
    background: var(--primary);
    color: white;
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-highlight {
    background: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin-top: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.service-highlight p {
    color: var(--text-main);
    font-size: 1rem;
    margin: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--primary-light);
    opacity: 0.5;
}

.quote-icon .lucide {
    width: 40px;
    height: 40px;
    fill: var(--primary-light);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-author {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary-dark);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

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

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-list a, .contact-list span {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.05rem;
}

.contact-list a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: var(--text-main);
}

.whatsapp-btn {
    background: #25D366;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Reflection Section (Redesigned) */
.reflection {
    background-color: #ffffff !important; /* Force pure white for perfect image blending */
    overflow: hidden;
    padding: 8rem 0;
}

.brain-orbit-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-visual {
    position: relative;
    width: 320px;
    height: 320px;
    z-index: 1; /* Keep below chips */
    display: flex;
    align-items: center;
    justify-content: center;
    animation: brainPulse 6s ease-in-out infinite;
    pointer-events: none; /* Allow clicks to pass through to chips */
    background-color: var(--primary-light);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; /* Same morphing shape for background */
    animation: morph 12s ease-in-out infinite both alternate;
}

@keyframes brainPulse {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.02) translateY(-10px); }
}

.photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 12s ease-in-out infinite both alternate;
    filter: none !important;
    mix-blend-mode: normal !important;
    mask-image: radial-gradient(circle, black 100%, transparent 100%); /* Helps hide jagged edges if any */
}

.visual-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(196, 149, 90, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Emotion Orbit / Cloud */
.emotion-orbit {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.emotion-chip {
    position: absolute;
    pointer-events: auto;
    background: white;
    color: var(--text-main);
    border: 1px solid var(--divider);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    animation: floatChip 8s ease-in-out infinite;
    z-index: 3; /* Always on top of visual */
}

.emotion-chip:hover {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 20px rgba(158, 115, 64, 0.2);
    z-index: 10;
}

/* Positioning chips in an orbit (Manual for better control than a perfect circle) */
.emotion-chip:nth-child(1)  { top: 5%; left: 45%; animation-delay: 0.1s; } /* Ansiedade */
.emotion-chip:nth-child(2)  { top: 15%; left: 70%; animation-delay: 0.5s; } /* Relacionamentos */
.emotion-chip:nth-child(3)  { top: 40%; left: 82%; animation-delay: 1.2s; } /* Depressão */
.emotion-chip:nth-child(4)  { top: 70%; left: 75%; animation-delay: 0.8s; } /* Estresse */
.emotion-chip:nth-child(5)  { top: 85%; left: 52%; animation-delay: 2.1s; } /* Burnout */
.emotion-chip:nth-child(6)  { top: 80%; left: 25%; animation-delay: 1.5s; } /* TOC */
.emotion-chip:nth-child(7)  { top: 60%; left: 8%;  animation-delay: 0.3s; } /* Ciúmes */
.emotion-chip:nth-child(8)  { top: 30%; left: 5%;  animation-delay: 1.9s; } /* Medo */
.emotion-chip:nth-child(9)  { top: 10%; left: 20%; animation-delay: 2.5s; } /* Raiva */
.emotion-chip:nth-child(10) { top: 0%;  left: 65%; animation-delay: 0.9s; } /* Pânico */
.emotion-chip:nth-child(11) { top: 25%; left: 60%; animation-delay: 1.4s; } /* Autoestima */
.emotion-chip:nth-child(12) { top: 50%; left: 63%; animation-delay: 0.2s; } /* Insegurança */
.emotion-chip:nth-child(13) { top: 65%; left: 35%; animation-delay: 1.7s; } /* Solidão */
.emotion-chip:nth-child(14) { top: 35%; left: 22%; animation-delay: 0.6s; } /* Decisões */
.emotion-chip:nth-child(15) { top: 18%; left: 35%; animation-delay: 2.3s; } /* Imigrantes */

@keyframes floatChip {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(8px, -12px) rotate(1deg); }
    50% { transform: translate(-5px, 5px) rotate(-1deg); }
    75% { transform: translate(-8px, -6px) rotate(0.5deg); }
}

/* Mobile Adjustments for Orbit */
@media (max-width: 768px) {
    .brain-orbit-container {
        height: 600px; /* Increased height to accommodate the orbit */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin-bottom: 2rem;
    }
    .brain-visual {
        width: 180px;
        height: 180px;
        margin-bottom: 0;
        z-index: 1;
    }
    .emotion-orbit {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }
    .emotion-chip {
        position: absolute;
        pointer-events: auto;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        animation: floatChipMobile 6s ease-in-out infinite;
    }

    /* Compact Mobile Orbit Positioning */
    .emotion-chip:nth-child(1)  { top: 5%; left: 35%; animation-delay: 0.1s; }
    .emotion-chip:nth-child(2)  { top: 15%; left: 65%; animation-delay: 0.5s; }
    .emotion-chip:nth-child(3)  { top: 45%; left: 78%; animation-delay: 1.2s; }
    .emotion-chip:nth-child(4)  { top: 75%; left: 68%; animation-delay: 0.8s; }
    .emotion-chip:nth-child(5)  { top: 88%; left: 45%; animation-delay: 2.1s; }
    .emotion-chip:nth-child(6)  { top: 82%; left: 15%; animation-delay: 1.5s; }
    .emotion-chip:nth-child(7)  { top: 60%; left: 5%;  animation-delay: 0.3s; }
    .emotion-chip:nth-child(8)  { top: 30%; left: 2%;  animation-delay: 1.9s; }
    .emotion-chip:nth-child(9)  { top: 12%; left: 10%; animation-delay: 2.5s; }
    .emotion-chip:nth-child(10) { top: 0%;  left: 55%; animation-delay: 0.9s; }
    .emotion-chip:nth-child(11) { top: 25%; left: 62%; animation-delay: 1.4s; }
    .emotion-chip:nth-child(12) { top: 58%; left: 65%; animation-delay: 0.2s; }
    .emotion-chip:nth-child(13) { top: 70%; left: 32%; animation-delay: 1.7s; }
    .emotion-chip:nth-child(14) { top: 40%; left: 18%; animation-delay: 0.6s; }
    .emotion-chip:nth-child(15) { top: 22%; left: 32%; animation-delay: 2.3s; }
}

@keyframes floatChipMobile {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(3px, -8px); }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-md);
    max-width: 450px;
    width: 90%;
    position: relative;
    text-align: center;
    transform: translateY(30px);
    transition: var(--transition);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    color: var(--text-main);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-icon .lucide {
    width: 30px;
    height: 30px;
}

#modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-header {
    margin-bottom: 3rem;
}

.faq-intro {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.faq-grid {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--divider);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.faq-item.open {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    transition: var(--transition);
}

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

.faq-item.open .faq-question {
    color: var(--primary-dark);
    border-bottom: 1px solid var(--divider);
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.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 1.75rem;
}

.faq-answer.open {
    max-height: 600px;
    padding: 1.5rem 1.75rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.faq-steps {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    list-style: none;
    padding-left: 0;
}

.faq-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--primary);
    margin-top: 3px;
}

/* Footer */
.footer {
    background-color: var(--text-main);
    color: white;
    padding: 2rem 0;
}

/* Animations */
.reveal, .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    visibility: hidden;
}

.reveal.active {
    animation: fadeIn 0.8s ease forwards;
    visibility: visible;
}

.reveal-up.active {
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    visibility: visible;
}

.reveal-left.active {
    animation: fadeInLeft 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    visibility: visible;
}

.reveal-right.active {
    animation: fadeInRight 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    visibility: visible;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-container, .about-container, .contact-grid, .reflection-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .symptoms-list {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 7rem;
        min-height: auto;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-image img {
        height: 100%;
    }
    
    .workspace-img {
        height: 400px;
    }

    .doctoralia-badge {
        bottom: -15px;
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 90%;
        justify-content: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        gap: 1.25rem;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero {
        padding-top: 6rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        padding: 0 0.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-image {
        max-width: 320px;
        margin: 0 auto;
    }

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

    .booking-section {
        padding: 3rem 1rem;
    }

    .zl-url {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }

    .logo {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 0 1.25rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.whatsapp-label {
    background: white;
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--divider);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInLabel 0.5s ease forwards 1s;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-btn i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #128C7E;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

@keyframes pulseWhatsapp {
    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); }
}

@keyframes fadeInLabel {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments for WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    .whatsapp-btn i {
        width: 24px;
        height: 24px;
    }
}
