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

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

:root {
    --primary-color: #0d1321;
    --secondary-color: #1d2d44;
    --accent-color: #3e5c76;
    --accent-light: #748cab;
    --cream: #f0ebd8;
    --text-color: #0d1321;
    --text-light: #3e5c76;
    --light-bg: #f0ebd8;
    --cream-bg: #f0ebd8;
    --white: #ffffff;
    --dark-overlay: rgba(13, 19, 33, 0.8);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: var(--primary-color);
    background-color: var(--white);
    font-weight: 400;
}

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

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 38px;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--cream);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(29, 45, 68, 0.3);
}

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

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--cream);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(29, 45, 68, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled .nav-menu > li > a {
    color: var(--secondary-color);
}

.navbar.scrolled .nav-menu > li > a:hover {
    color: var(--accent-color);
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 70px;
}

.logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.navbar.scrolled .logo img {
    filter: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
}

.nav-menu > li > a {
    text-decoration: none;
    color: var(--cream);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover::before {
    width: 100%;
}

.nav-menu > li.has-dropdown > a:hover::before {
    width: calc(100% - 15px);
}

.nav-menu > li > a:hover {
    color: var(--accent-light);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    margin-bottom: 3px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover > a::after {
    transform: rotate(-135deg);
}

.dropdown .has-dropdown > a::after {
    display: none;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 250px;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 10px 0;
    margin-top: 15px;
    border-radius: 4px;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.dropdown li {
    padding: 0;
}

.dropdown li a {
    display: block;
    padding: 12px 25px;
    font-size: 13px;
    color: var(--secondary-color) !important;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    position: static;
}

.dropdown li a::before,
.dropdown li a::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.dropdown a:hover {
    background-color: var(--cream);
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: url('photos/main_page.jpeg') center/cover no-repeat;
    background-color: var(--primary-color);
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 19, 33, 0.5) 0%, rgba(29, 45, 68, 0.3) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.8rem;
    font-weight: 400;
    margin-bottom: 100px;
    line-height: 1.15;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Section Styles */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 300;
}

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

.services-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.services-intro p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 15px;
}

.services-intro p:last-child {
    margin-bottom: 0;
}

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

.services-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    display: block;
    background: var(--white);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    padding: 20px;
    font-size: 1.3rem;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 20%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 60%;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(13, 19, 33, 0.15);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-content .subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.about-content h2 {
    color: var(--secondary-color);
}

.about-content p {
    margin-bottom: 22px;
    color: var(--text-light);
    line-height: 1.9;
}

.about-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--cream);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--cream);
}

.testimonials .section-header h2 {
    color: var(--cream);
}

.testimonials .section-header h2::after {
    background: var(--accent-light);
}

.testimonials .section-header p {
    color: var(--accent-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    text-align: center;
    padding: 45px 35px;
    border: 1px solid rgba(240, 235, 216, 0.1);
    background: rgba(240, 235, 216, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    background: rgba(240, 235, 216, 0.08);
    border-color: var(--accent-light);
}

.testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 25px;
    opacity: 0.95;
    color: var(--cream);
}

.testimonial-author {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

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

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Therapy Page */
.therapy-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
}

.therapy-page h1 {
    font-size: 3rem;
}

/* Booking Page */
.booking-page {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.booking-header p {
    color: #666;
    font-size: 1.1rem;
}

.calendly-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Therapy Detail Pages */
.therapy-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('photos/terapia_angelical.jpeg');
    background-size: cover;
    background-position: center;
}

.therapy-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--dark-overlay) 0%, rgba(26, 26, 46, 0.55) 100%);
}

.therapy-hero-content {
    position: relative;
    z-index: 1;
}

.therapy-hero-reiki {
    background-image: url('photos/terapia_reiki.jpeg');
}

.therapy-hero-akashicos {
    background-image: url('photos/registros_akashicos.PNG');
}

.therapy-hero-animales {
    background-image: url('photos/comunicacion_animales.jpeg');
}

.therapy-hero-about {
    background-image: url('photos/about_ximena.jpeg');
}

.therapy-hero-agenda {
    background-image: url('photos/book_now.jpeg');
}

/* Booking/Agenda Page */
.booking-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--cream-bg) 0%, var(--white) 100%);
}

.booking-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.booking-intro h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.booking-intro p {
    color: var(--text-light);
    line-height: 1.9;
}

.calendly-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(13, 19, 33, 0.1);
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.booking-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.booking-note p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* About Page Section */
.about-page-section {
    padding: 80px 0;
    background: var(--white);
}

.about-page-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.about-page-content h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.about-page-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-page-content p:last-child {
    margin-bottom: 0;
}

.about-page-image {
    position: sticky;
    top: 100px;
}

.about-page-image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(13, 19, 33, 0.15);
}

@media (max-width: 992px) {
    .about-page-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-page-image {
        order: -1;
        text-align: center;
        position: static;
    }

    .about-page-image img {
        max-width: 300px;
    }

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

/* Guidelines Grid */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 30px auto 0;
}

.guideline-card {
    background: var(--white);
    padding: 35px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.guideline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.guideline-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--cream);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.guideline-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-weight: 500;
}

.guideline-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.therapy-hero h1 {
    color: var(--white);
    font-size: 3.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.3s both;
}

.therapy-hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--accent-light);
    margin: 25px auto 0;
    animation: expandLine 0.8s ease 0.8s both;
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.therapy-section {
    padding: 80px 0;
}

.therapy-section.alt-bg {
    background-color: var(--cream);
}

.therapy-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

.therapy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.therapy-content p {
    margin-bottom: 22px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 2;
}

.therapy-content em {
    color: var(--secondary-color);
    font-style: italic;
    font-weight: 500;
}

.therapy-cta {
    text-align: center;
    margin-top: 40px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--white);
    padding: 35px 30px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 500;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.pricing-card {
    background: var(--white);
    padding: 50px 35px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: var(--white);
}

.pricing-card h3 {
    font-size: 0.9rem;
    margin-bottom: 25px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

.pricing-card .price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pricing-card .price-alt {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-top: 25px;
    margin-bottom: 8px;
}

.pricing-card .price {
    color: var(--secondary-color);
}

.pricing-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-note {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Related Therapies Grid */
.related-therapies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.related-therapy-card {
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.related-therapy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.related-therapy-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-therapy-card:hover img {
    transform: scale(1.05);
}

.related-therapy-card h3 {
    padding: 22px 20px;
    font-size: 1.05rem;
    text-align: center;
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.related-therapy-card h3::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 20%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.related-therapy-card:hover h3::after {
    width: 60%;
}

/* Responsive for therapy pages */
@media (max-width: 768px) {
    .therapy-hero h1 {
        font-size: 2.5rem;
    }

    .benefits-grid,
    .related-therapies-grid {
        grid-template-columns: 1fr;
    }

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--cream);
    padding: 35px 0;
    text-align: center;
}

.footer p {
    font-size: 0.85rem;
    opacity: 0.8;
    letter-spacing: 0.5px;
    color: var(--accent-light);
}

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

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations for grids */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Hero animations */
.hero-content h1 {
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-content p {
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.7s both;
}

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

/* Floating animation for cards on hover */
.service-card,
.testimonial-card,
.benefit-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
}

/* Parallax-like effect for sections */
.section-header h2 {
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 20px auto 0;
    transition: width 0.5s ease;
}

.section-header:hover h2::after {
    width: 100px;
}

/* Button hover effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Image reveal effect */
.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1);
    z-index: 1;
}

.about-image.visible::before {
    transform: scaleX(0);
}

/* Smooth scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--cream);
    border-bottom: 2px solid var(--cream);
    transform: rotate(45deg);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid,
    .services-grid-4,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-image img {
        max-width: 280px;
        max-height: 360px;
    }

    .about-buttons {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s ease;
}

.navbar.scrolled .mobile-menu-toggle span {
    background: var(--secondary-color);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Tablet Styles */
@media (max-width: 992px) {
    .services-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid,
    .related-therapies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }

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

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu > li > a {
        color: var(--secondary-color);
        padding: 15px 0;
        display: block;
        font-size: 14px;
    }

    .nav-menu > li > a::before {
        display: none;
    }

    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 10px 15px;
        background: transparent;
    }

    .dropdown li a {
        padding: 10px 0;
        font-size: 13px;
    }

    .hero-content h1 {
        font-size: 2rem;
        padding: 0 10px;
        margin-bottom: 50px;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
        transform: translateY(0);
    }

    .service-image {
        height: 160px;
    }

    .calendly-container {
        padding: 10px;
    }

    .testimonials-grid {
        gap: 20px;
    }

    .services-grid,
    .services-grid-4,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .services-intro {
        padding: 0 10px;
    }

    .services-intro p {
        font-size: 0.95rem;
    }

    section {
        padding: 50px 0;
    }

    .container {
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 11px;
    }

    .about-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .social-links {
        justify-content: center;
    }

    .testimonial-card {
        padding: 25px;
    }

    .footer {
        padding: 30px 0;
    }

    .therapy-hero h1 {
        font-size: 2rem;
    }

    .therapy-section h2 {
        font-size: 1.8rem;
    }

    .benefit-card {
        padding: 25px;
    }

    .pricing-card {
        padding: 30px 25px;
    }

    .booking-intro h2 {
        font-size: 1.8rem;
    }

    .about-page-content h2 {
        font-size: 1.8rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.7rem;
        margin-bottom: 35px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }

    .about-image img {
        max-width: 220px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        padding: 15px;
    }

    .pricing-grid {
        gap: 20px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
    }

    .service-image {
        height: 130px;
    }

    section {
        padding: 35px 0;
    }

    .benefits-grid,
    .related-therapies-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .therapy-hero h1 {
        font-size: 1.7rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 16px 32px;
    }

    .nav-menu > li > a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .social-icon {
        min-width: 48px;
        min-height: 48px;
    }

    .service-card h3::after,
    .related-therapy-card h3::after {
        display: none;
    }
}
