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

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Critical CSS for above-the-fold content */
.hero {
    contain: layout style paint;
}

/* Optimize font loading */
@font-face {
    font-family: 'Inter';
    font-display: swap;
    src: url('fonts/inter/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-display: swap;
    src: url('fonts/poppins/poppins-latin-600-normal.woff2') format('woff2');
}

:root {
    /* Thai Yoga Massage Color Palette - matching the app */
    --primary-color: #7D9A81;       /* Sage green - main brand color */
    --secondary-color: #D1B48C;     /* Warm sand - complements green */
    --accent-color: #CA8548;        /* Terracotta - for highlights and CTAs */
    --light-accent: #F4E1C1;        /* Light sand - subtle accents */
    --warm-white: #F7F4EB;          /* Soft cream - background color */
    --soft-beige: #F7F4EB;          /* Soft cream - same as background */
    --card-background: #FFFFFF;     /* White - for cards and containers */
    --deep-brown: #3B3B3B;          /* Dark gray - rich text color */
    --text-dark: #3B3B3B;           /* Dark gray - primary text */
    --text-light: #6D6D6D;          /* Medium gray - secondary text */
    --text-muted: #6D6D6D;          /* Medium gray - muted text */
    --border-light: #E0DAC8;        /* Light sand - borders */
    --success-color: #689F6E;       /* Green - for success states */
    --gradient-primary: linear-gradient(135deg, #7D9A81 0%, #D1B48C 100%);
    --gradient-secondary: linear-gradient(135deg, #7D9A81 0%, #CA8548 100%);
    --gradient-accent: linear-gradient(135deg, #D1B48C 0%, #CA8548 100%);
    --shadow-soft: 0 4px 20px rgba(125, 154, 129, 0.08);
    --shadow-medium: 0 8px 30px rgba(125, 154, 129, 0.12);
    --shadow-strong: 0 12px 40px rgba(125, 154, 129, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--warm-white);
    max-width: 1400px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(166, 124, 82, 0.08);
    position: relative;
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

/* Background pattern for wide screens */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(125, 154, 129, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(202, 133, 72, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(209, 180, 140, 0.015) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 3.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 3.0rem;
    margin-bottom: 0.75rem;
}

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

/* Navigation */
.navbar {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-image {
    height: 25px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--soft-beige) 100%);
    padding-top: 70px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(253, 252, 248, 0) 0%, rgba(253, 252, 248, 0.3) 30%, rgba(253, 252, 248, 0.7) 70%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-logo-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    max-width: 600px;
}

.hero-title {
    font-size: 3.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-soft);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--gradient-accent);
}

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

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.hero-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

.hero-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: none !important;
    filter: none !important;
}

/* Logo */
.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
}

/* Section Styles */
section {
    padding: 80px 0;
    margin-bottom: 0;
}

section:first-of-type {
    padding-top: 100px;
}

section:last-of-type {
    padding-bottom: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0;
}


.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Training Section */
.training-section {
    background: var(--warm-white);
    padding: 3rem;
    border-radius: 12px;
    margin-top: 3rem;
    border: 1px solid var(--border-light);
}

.additional-training {
    margin-top: 2rem;
    text-align: left;
}

.additional-training p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.training-section h4.training-title {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.training-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.training-summary {
    text-align: center;
    margin-bottom: 2rem;
}

.training-summary p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-show-more {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-show-more:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-show-more:active {
    transform: translateY(0);
}

/* Compact Courses Layout */
.courses-compact {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.courses-compact.expanded {
    display: grid;
}

.course-item {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.course-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.course-item.featured-course {
    border-color: var(--primary-color);
    background: white;
}

.course-summary {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    order: 1;
}

.course-summary h5 {
    order: 1;
}

.course-teacher {
    order: 2;
}

.course-duration {
    order: 3;
}

.course-summary h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding-right: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.course-teacher {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    order: 2;
}

.course-duration {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    width: fit-content;
    order: 3;
}

.course-details {
    padding: 0 1.5rem 1.5rem;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
    order: 2;
}

.course-description {
    order: 1;
}

.course-highlights {
    order: 2;
}

.course-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    order: 1;
}

.course-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    order: 2;
}

.highlight-tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    word-wrap: normal;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
    box-shadow: none !important;
    filter: none !important;
    background: transparent !important;
}

.about-image img {
    box-shadow: none !important;
    filter: none !important;
}

.about-placeholder {
    width: 280px;
    height: 280px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-medium);
    border: 4px solid var(--warm-white);
}

.about-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.about-placeholder p {
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.about-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: none !important;
    filter: none !important;
    border: none !important;
}

/* Services Section */
.services {
    background: white;
}

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

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        display: flex;
        flex-direction: column;
    }
    
    .service-icon,
    .service-card h3,
    .service-duration,
    .service-description,
    .service-price,
    .service-features {
        width: 100%;
        max-width: 100%;
    }
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-light);
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

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

.service-card.featured {
    border-color: var(--primary-color);
    border-width: 2px;
}

.service-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-duration {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.service-duration:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.service-duration:active {
    transform: scale(0.98);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
}

.service-features li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* What is Thai Yoga Massage Section */
.what-is {
    background: white;
}

.what-is-content {
    display: block;
}

.what-is-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.what-is-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.feature-list, .benefits-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li, .benefits-list li {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.feature-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.benefits-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Image with text wrap in What is Thai Yoga section – right-aligned, 62% / max 494px from 1024px up */
.what-is-float-img {
    float: right;
    width: 62%;
    max-width: 494px;
    height: auto;
    margin: 0 0 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

/* About-Sektion: gleiche Klasse, Bild breiter */
.about .what-is-float-img {
    width: 52%;
    max-width: 580px;
}

/* Float einschließen, damit das Bild nicht in „Meine Ausbildung“ ragt */
.about .what-is-content::after {
    content: "";
    display: table;
    clear: both;
}

/* About-Bild: ab mittlerer Breite volle Breite, sobald Text unter das Bild springt */
@media (max-width: 900px) {
    .about .what-is-float-img {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 1rem 0;
        display: block;
    }
}

/* Same width as float image, but centered (no float) */
.what-is-centered-img {
    display: block;
    width: 62%;
    max-width: 494px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 600px) {
    .what-is-float-img {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 1rem 0;
        display: block;
    }

    .what-is-centered-img {
        width: 100%;
        max-width: 100%;
    }
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 0 4rem;
}

.testimonials-container {
    min-height: 650px; /* Desktop: enough for longest testimonial + dots */
    display: flex;
    flex-direction: column;
}

/* Tablet and smaller screens - need more height due to narrower width */
@media (max-width: 1200px) {
    .testimonial-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 1024px) {
    .testimonials-container {
        min-height: 800px;
    }
}

/* Mobile tablets - even more height needed */
@media (max-width: 768px) {
    .testimonials-container {
        min-height: 850px;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonials-carousel-wrapper {
    position: relative;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    visibility: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    visibility: visible;
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px !important;
    left: -35px !important;
    font-size: 7rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    font-style: italic !important;
    line-height: 1;
    z-index: 0;
}

.testimonial-content p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.9;
    font-size: 1.15rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: justify;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: block;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(209, 180, 140, 0.3);
}

.author-info {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.author-info h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    white-space: normal;
}

/* Small screens: Force line break between name and profession */
@media (max-width: 480px) {
    .author-info {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
    }
    
    .author-info h4 {
        margin-bottom: 0;
    }
    
    .author-info span {
        white-space: normal;
    }
}

/* Navigation Buttons */
.testimonial-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    min-height: 50px;
    min-width: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.9;
}

.testimonial-nav-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-strong);
    background: var(--gradient-accent);
}

.testimonial-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-nav-btn:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.testimonial-nav-btn:focus:not(:focus-visible) {
    outline: none;
}

.testimonial-prev {
    left: -1rem;
}

.testimonial-next {
    right: -1rem;
}

.testimonial-nav-btn i {
    pointer-events: none;
}

/* Dots Indicator */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: calc(0.5rem + 1em);
    padding: 0;
}

.testimonial-dot {
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    max-width: 7px !important;
    max-height: 7px !important;
    border-radius: 50%;
    border: 0.5px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    padding: 0 !important;
    margin: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.testimonial-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}

.testimonial-dot.active {
    border-color: var(--accent-color);
}

.testimonial-dot.active::after {
    transform: translate(-50%, -50%) scale(1);
    background: var(--accent-color);
}

.testimonial-dot:hover {
    border-color: var(--accent-color);
    transform: scale(1.2);
}

.testimonial-dot:hover::after {
    transform: translate(-50%, -50%) scale(1);
    background: var(--accent-color);
}

.testimonial-dot:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.testimonial-dot:focus:not(:focus-visible) {
    outline: none;
}

/* Booking Section */
.booking {
    background: var(--warm-white);
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.booking-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-item i {
    color: var(--accent-color);
    margin-right: 1rem;
    width: 20px;
}

.preparation-list {
    list-style: none;
    margin: 1.5rem 0;
}

.preparation-list li {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.preparation-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.booking-note {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

/* First booking-note (before iframe) should have less top margin */
.booking-form h3 + .booking-note {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.wellness-disclaimer {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1.5rem;
    font-style: italic;
    padding-top: 1rem;
    border-top: 1px solid rgba(209, 180, 140, 0.2);
}

.booking-note-small {
    font-size: 0.9rem;
    font-style: normal;
}

.booking-note-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.booking-note-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.booking-instructions {
    background: var(--warm-white);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.booking-instructions-intro {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 0;
}

.booking-instructions-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.booking-instructions-list li {
    margin-bottom: 0.65rem;
    color: var(--text-light);
    padding-left: 1.25rem;
    position: relative;
}

.booking-instructions-list li:last-child {
    margin-bottom: 0;
}

.booking-instructions-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    opacity: 0.6;
}

.booking-instructions-help {
    margin-top: 1.25rem;
    margin-bottom: 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(209, 180, 140, 0.3);
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.booking-instructions-help i {
    color: var(--accent-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.booking-instructions-help a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.booking-instructions-help a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Map Styling */
.map-container {
    margin: 1.5rem 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    border: none;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 10px;
}

.map-note {
    background: var(--light-accent);
    padding: 1rem;
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-note i {
    color: var(--accent-color);
    font-size: 1rem;
}

.map-placeholder {
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 1rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.map-placeholder h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.map-placeholder p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.map-placeholder .btn {
    display: inline-block;
    margin: 0 auto;
}

.map-privacy-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.map-privacy-note a {
    color: var(--accent-color);
    text-decoration: none;
}

.map-privacy-note a:hover {
    text-decoration: underline;
}

/* Directions Info */
.directions-info {
    margin: 2rem 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.directions-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.transport-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.transport-item i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.transport-item strong {
    color: var(--primary-color);
}

.booking-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.reclaim-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: none;
}

.reclaim-container object {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Remove fieldset border */
.booking-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.booking-form h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--soft-beige);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--warm-white);
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Newsletter Section */
.newsletter {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.newsletter-form {
    flex-shrink: 0;
    min-width: 300px;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: var(--shadow-medium);
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.newsletter-input-group input::placeholder {
    color: var(--text-light);
}

.newsletter-input-group .btn {
    border-radius: 50px;
    padding: 12px 24px;
    white-space: nowrap;
    font-size: 0.95rem;
}

.newsletter-message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    min-height: 20px;
}

.newsletter-message.success {
    color: #4CAF50;
}

.newsletter-message.error {
    color: #FFC107;
}

/* Social Media Section */
.social {
    background: var(--light-accent);
    padding: 4rem 0;
}

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

.social-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.social-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    min-width: 140px;
    justify-content: center;
}

.social-link.facebook {
    background: #1877F2;
    color: white;
}

.social-link.facebook:hover {
    background: #166FE5;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.social-link.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
    color: white;
}

.social-link.instagram:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.social-link i {
    font-size: 1.2rem;
}


/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
}

.whatsapp-button:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
    color: white;
}

.whatsapp-button i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--deep-brown);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #D7CCC8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #D7CCC8;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #5D4037;
    color: #D7CCC8;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--warm-white);
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    z-index: 2001;
}

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

.modal h2 {
    background: var(--gradient-primary);
    color: white;
    margin: 0;
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    text-align: center;
    font-size: 1.8rem;
}

.impressum-content,
.datenschutz-content {
    padding: 2rem;
    line-height: 1.6;
}

.impressum-content h3,
.datenschutz-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.impressum-content h4,
.datenschutz-content h4 {
    color: var(--accent-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.impressum-content p,
.datenschutz-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.impressum-content strong {
    color: var(--primary-color);
}

.impressum-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.impressum-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Wide Screen Optimization */
@media (min-width: 1400px) {
    body {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .hero {
        padding: 0 2rem;
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
        margin: 3rem auto 0;
    }
    
    .testimonials-carousel-wrapper {
        max-width: 900px;
        padding: 0 4rem;
    }
    
    .about-content,
    .what-is-content {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .booking-content {
        max-width: 1200px;
        margin: 3rem auto 0;
    }
    
    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .nav-container {
        max-width: 1200px;
    }
    
    .hero-buttons {
        gap: 1.5rem;
    }
    
    .btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}

/* Extra Wide Screen Optimization */
@media (min-width: 1600px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-header h2 {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
        line-height: 1.9;
    }
    
    .service-card,
    .testimonial-card {
        padding: 3rem;
    }
    
    .about-text p,
    .what-is-text p {
        font-size: 1.2rem;
        line-height: 1.9;
    }
}

/* Performance Optimizations */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    .service-card,
    .testimonial-card,
    .course-item {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    /* Optimize scrolling performance */
    .navbar {
        will-change: background, backdrop-filter;
    }
    
    /* Reduce motion for better battery life */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
    
    /* Optimize touch interactions */
    .btn,
    .nav-link,
    .service-card,
    .testimonial-card,
    .course-item {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(125, 154, 129, 0.2);
    }
    
    /* Improve text rendering on mobile */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeSpeed;
    }
    
    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Optimize animations for better performance */
.service-card,
.testimonial-card,
.about-content,
.what-is-content {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Optimize font rendering */
body {
    text-rendering: optimizeSpeed;
}

h1, h2, h3, h4, h5, h6 {
    text-rendering: optimizeLegibility;
}

/* Critical resource hints */
.hero {
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

/* Accessibility Improvements */

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Indicators - Enhanced for better visibility */
*:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(125, 154, 129, 0.3);
}

/* Focus indicators for different elements */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    background-color: rgba(125, 154, 129, 0.1);
}

button:focus:not(:focus-visible) {
    outline: none;
}

.map-placeholder button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(125, 154, 129, 0.2);
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Required field indicators */
.required {
    color: #e74c3c;
    font-weight: bold;
}

/* Error message styling */
.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Help text styling */
.help-text {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Form validation states - handled by JavaScript only */
/* Override browser default validation styles */
input:invalid,
select:invalid,
textarea:invalid {
    border-color: var(--border-light) !important;
    box-shadow: none !important;
}

input:valid,
select:valid,
textarea:valid {
    border-color: var(--border-light) !important;
}

/* Availability Status */
.availability-status {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.availability-status.checking {
    background: rgba(125, 154, 129, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(125, 154, 129, 0.3);
}

.availability-status.available {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.availability-status.unavailable {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.availability-status.error {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.availability-status i {
    font-size: 0.8rem;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --accent-color: #0066cc;
        --text-dark: #000000;
        --text-light: #333333;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .service-card,
    .testimonial-card {
        border: 2px solid var(--text-dark);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .service-card:hover,
    .testimonial-card:hover {
        transform: none !important;
    }
}

/* Keyboard navigation improvements */
.nav-link:focus,
.btn:focus {
    position: relative;
    z-index: 10;
}

/* Ensure interactive elements are keyboard accessible */
button,
input,
select,
textarea,
a[href] {
    min-height: 44px;
    min-width: 44px;
}

/* Remove unwanted borders from hamburger button */
.hamburger {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    outline: none;
}

.hamburger:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    background: rgba(125, 154, 129, 0.1);
    border-radius: 4px;
}

/* Enhanced Mobile Touch Targets and Interactions */
@media (max-width: 768px) {
    /* Larger touch targets for better mobile usability */
    .nav-link,
    .btn,
    .hamburger,
    .course-item,
    .service-card,
    .testimonial-card {
        display: flex;
        flex-direction: column;
    }
    
    /* Enhanced button sizing for mobile */
    .btn {
        padding: 16px 32px;
        font-size: 1.1rem;
        min-height: 52px;
        border-radius: 12px;
    }
    
    /* Mobile-specific form inputs */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 52px;
        padding: 16px 20px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 12px;
    }
    
    /* Enhanced mobile navigation */
    .nav-menu {
        padding: 3rem 0;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 16px 24px;
        font-size: 1.1rem;
        border-radius: 8px;
        margin: 4px 0;
        background: rgba(122, 155, 122, 0.05);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background: rgba(125, 154, 129, 0.15);
        transform: translateY(-2px);
    }
    
    /* Mobile hamburger improvements */
    .hamburger {
        padding: 12px;
        border-radius: 8px;
        background: rgba(125, 154, 129, 0.05);
    }
    
    .hamburger:active {
        background: rgba(125, 154, 129, 0.15);
        transform: scale(0.95);
    }
    
    /* Enhanced service cards for mobile */
    .service-card {
        padding: 2rem 1.5rem;
        margin: 0.5rem 0;
        border-radius: 16px;
        min-height: 200px;
    }
    
    .service-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Mobile testimonial carousel */
    .testimonials-carousel-wrapper {
        padding: 0 3rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonial-prev {
        left: -0.5rem;
    }
    
    .testimonial-next {
        right: -0.5rem;
    }
    
    .testimonial-dots {
        margin-top: calc(0.5rem + 1em);
        gap: 0.5rem;
    }
    
    .testimonial-dot {
        width: 7px !important;
        height: 7px !important;
        min-width: 7px !important;
        min-height: 7px !important;
        max-width: 7px !important;
        max-height: 7px !important;
    }
    
    .testimonial-dot::after {
        width: 6px;
        height: 6px;
    }
    
    /* Course items mobile optimization */
    .course-item {
        margin: 0.5rem 0;
        border-radius: 12px;
        min-height: 60px;
    }
    
    .course-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Mobile-specific hero buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Enhanced mobile forms */
    .booking-form {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    /* Mobile modal improvements */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        border-radius: 20px;
    }
    
    .close {
        font-size: 2.5rem;
        padding: 0;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        max-width: 44px;
        max-height: 44px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    
    /* Touch feedback for interactive elements */
    .nav-link:active,
    .btn:active,
    .course-item:active,
    .service-card:active,
    .testimonial-card:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Improved spacing for mobile */
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    /* Mobile-specific text sizing */
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    /* Mobile-focused form states */
    .form-group.mobile-focused input,
    .form-group.mobile-focused select,
    .form-group.mobile-focused textarea {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px rgba(125, 154, 129, 0.2);
        transform: scale(1.02);
        transition: all 0.3s ease;
    }
    
    .form-group.mobile-focused label {
        color: var(--accent-color);
        transform: translateY(-2px);
        transition: all 0.3s ease;
    }
    
    /* Mobile-specific improvements for very small screens */
    @media (max-width: 480px) {
        .hero-title {
            font-size: 2.2rem;
        }
        
        .section-header h2 {
            font-size: 1.8rem;
        }
        
        .btn {
            padding: 14px 28px;
            font-size: 1rem;
            min-height: 48px;
        }
        
        .service-card {
            padding: 1.5rem 1rem;
        }
        
        .testimonials-carousel-wrapper {
            padding: 0 2.5rem;
        }
        
        .testimonial-card {
            padding: 1.5rem 1rem;
        }
        
        .testimonial-content p {
            font-size: 0.95rem;
        }
        
        .testimonial-nav-btn {
            width: 35px;
            height: 35px;
            font-size: 0.9rem;
        }
        
        .testimonial-prev {
            left: -0.25rem;
        }
        
        .testimonial-next {
            right: -0.25rem;
        }
        
        .nav-link {
            padding: 14px 20px;
            font-size: 1rem;
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 14px 16px;
            font-size: 16px;
        }
        
        .modal-content {
            width: 98%;
            margin: 2% auto;
        }
        
        .close {
            font-size: 2rem;
            padding: 0;
            width: 40px;
            height: 40px;
            min-width: 40px;
            min-height: 40px;
            max-width: 40px;
            max-height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }
    }
}

/* Color contrast improvements - keeping original colors for bullet points */

/* Ensure sufficient contrast for all text - using original colors */

/* Focus visible for better keyboard navigation */
:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* Success message styling */
.success-message {
    background: var(--light-accent);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.success-message h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.success-message:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Responsive Design for Courses */
@media (max-width: 1024px) {
    .courses-compact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .courses-compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .course-summary {
        padding: 1rem;
        display: flex;
        flex-direction: column;
    }
    
    .course-details {
        padding: 0 1rem 1rem;
        display: flex;
        flex-direction: column;
    }
    
    .course-summary h5 {
        font-size: 1rem;
        padding-right: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        order: 1;
    }
    
    .course-teacher {
        order: 2;
    }
    
    .course-duration {
        order: 3;
    }
    
    .course-description {
        word-wrap: break-word;
        overflow-wrap: break-word;
        order: 4;
    }
    
    .course-highlights {
        order: 5;
    }
}

@media (max-width: 480px) {
    .training-section {
        padding: 1.5rem;
    }
    
    .course-summary {
        padding: 0.75rem;
    }
    
    .course-details {
        padding: 0 0.75rem 0.75rem;
    }
}

/* Responsive Design - Navigation earlier for better spacing */
/* Show hamburger menu when screen width is below 900px (regardless of orientation) */
/* Show full menu in landscape mode above 900px (iPad Pro 11" landscape is 1194px) */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--warm-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-soft);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
}

@media (max-width: 768px) {
    .nav-logo-image {
        height: 20px;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
        white-space: nowrap;
    }
    
    .map-placeholder {
        text-align: center;
    }
    
    .map-placeholder .btn {
        display: block;
        margin: 0 auto;
        width: auto;
    }
    
    .hero-logo-top {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .logo {
        max-width: 300px;
    }
    
    .about-content,
    .what-is-content {
        display: block;
    }
    
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-features {
        text-align: left;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    /* Newsletter Mobile */
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .newsletter-form {
        min-width: auto;
        width: 100%;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 1rem;
        background: transparent;
        padding: 0;
    }
    
    .newsletter-input-group input {
        background: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
        color: var(--text-dark);
    }
    
    .newsletter-input-group input::placeholder {
        color: var(--text-light);
    }
    
    /* Social Media Mobile */
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .social-link {
        width: 100%;
        max-width: 250px;
    }
    
    
    /* WhatsApp Button Mobile */
    .whatsapp-button {
        bottom: 15px;
        left: 15px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .whatsapp-button span {
        display: none;
    }
    
    .whatsapp-button i {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .booking-form {
        padding: 1.5rem;
    }
    
    .hero-placeholder,
    .hero-photo,
    .about-placeholder,
    .about-photo {
        width: 200px;
        height: 200px;
    }
    
    .hero-logo-top {
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .logo {
        max-width: 250px;
    }
}
