/* ===================================
   MODERN FIT PILATES - MAIN STYLESHEET
   Color Scheme: Light Green, Light Purple, White
   Tone: Zen, Calm, Inviting, Creative
   =================================== */

/* ===================================
   CSS VARIABLES & ROOT STYLES
   =================================== */
:root {
    /* Color Palette */
    --primary-green: #b8d4c0;
    --primary-green-dark: #9bc1a8;
    --primary-green-light: #d4e8da;
    --primary-purple: #d4c4e8;
    --primary-purple-dark: #bfaad8;
    --primary-purple-light: #e8dff5;
    --accent-purple: #c9b4e0;
    --white: #ffffff;
    --off-white: #fafafa;
    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* ===================================
   GLOBAL RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 2px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 1.5px;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
}

p {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding) 0;
}

.contact-section {
    padding-bottom: 60px;
}

/* ===================================
   NAVIGATION BAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 10000;
    transition: var(--transition-smooth);
    padding: 0;
}

.nav-container {
    width: 100%;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo-container {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 0;
    margin: 0;
}

.logo {
    height: 120px;
    width: auto;
    transition: var(--transition-fast);
    padding: 0;
    margin: 0;
    display: block;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    padding-right: 2rem;
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 0.75rem 0.5rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-purple));
    transition: var(--transition-smooth);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green-dark);
}

.instagram-link {
    color: var(--primary-purple);
}

.instagram-link:hover {
    color: var(--primary-purple-dark);
    transform: scale(1.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition-smooth);
    transform-origin: center;
}

/* Hamburger → X animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

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

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-purple-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(184,212,192,0.3)"/></svg>');
    background-size: 50px 50px;
    animation: float 20s linear infinite;
    opacity: 0.4;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(255,255,255,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-medium);
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

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

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-green-dark);
    border-radius: 20px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-green-dark);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(184, 212, 192, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 212, 192, 0.6);
}

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

.btn-secondary:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 196, 232, 0.4);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-purple-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    background: var(--primary-purple-light);
    border-radius: 30px;
}

.section-title {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-purple-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   STORY SECTION
   =================================== */
.story-section {
    background: var(--off-white);
}

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

.story-text {
    padding-right: 2rem;
}

.story-intro {
    font-size: 1.3rem;
    color: var(--primary-green-dark);
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.story-highlights {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(184, 212, 192, 0.2);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-purple-dark);
}

.highlight-item p {
    font-size: 0.95rem;
    margin: 0;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-purple-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ===================================
   INSTRUCTORS SECTION
   =================================== */
.instructors-section {
    background: var(--white);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.instructor-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.instructor-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.instructor-image {
    position: relative;
    overflow: hidden;
}

.instructor-card:not(.featured) .instructor-image {
    aspect-ratio: 3/4;
}

.instructor-card.featured .instructor-image {
    aspect-ratio: 1/1;
}

.instructor-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple-light), var(--primary-green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
}

.instructor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(184, 212, 192, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.instructor-image:hover .instructor-overlay {
    opacity: 1;
}

.social-link {
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    transform: scale(1.2);
}

.instructor-info {
    padding: 2rem;
}

.instructor-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-purple));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.instructor-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green-dark);
}

.instructor-title {
    font-size: 1rem;
    color: var(--primary-purple-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.instructor-bio {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.instructor-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.credential {
    background: var(--primary-green-light);
    color: var(--primary-green-dark);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-purple-light) 100%);
}

.contact-content {
    display: grid;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-purple-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green-dark);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-purple-dark);
}

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-card .btn {
    margin-top: 1rem;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    filter: saturate(0.8) brightness(1.1);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: linear-gradient(135deg, #1f2a36 0%, #2d3748 100%);
    color: var(--white);
    padding: 2.5rem 0 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0;
    padding: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.footer-column h4 {
    color: var(--primary-green-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-column ul li {
    margin-bottom: 0.6rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column a:hover {
    color: var(--primary-green-light);
    transform: translateX(5px);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-purple-dark);
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.footer-social:hover {
    background: var(--primary-green-dark);
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.25rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 968px) {
    :root {
        --section-padding: 70px;
    }

    .logo {
        height: 80px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 1.5rem 0 2rem;
        z-index: 9999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        gap: 0.25rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-text {
        padding-right: 0;
    }
    
    .instructor-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --section-padding: 50px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        height: 100svh;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .logo {
        height: 56px;
    }

    .nav-menu {
        top: 56px;
        max-height: calc(100svh - 56px);
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-green), var(--primary-purple));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-green-dark), var(--primary-purple-dark));
}

/* Selection */
::selection {
    background: var(--primary-purple-light);
    color: var(--text-dark);
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 3px;
    border-radius: 4px;
}


/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    background: linear-gradient(160deg, var(--off-white) 0%, var(--primary-purple-light) 55%, var(--primary-green-light) 100%);
    overflow: hidden;
}

/* Carousel Layout */
.testimonial-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 920px;
    margin: 0 auto;
}

.carousel-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 28px;
}

.carousel-track {
    display: flex;
    will-change: transform;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0.5rem;
}

/* Testimonial Card */
.tc-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 3rem 3.5rem 2.5rem;
    box-shadow: 0 8px 50px rgba(0, 0, 0, 0.08), 0 2px 14px rgba(184, 212, 192, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.tc-stars {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 1.35rem;
    color: #f59e0b;
    letter-spacing: 3px;
    text-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    line-height: 1;
}

.tc-quote {
    font-family: var(--font-heading);
    font-size: 9rem;
    line-height: 0.55;
    color: var(--primary-green-dark);
    opacity: 0.18;
    margin-bottom: 1.5rem;
    pointer-events: none;
    user-select: none;
    font-weight: 300;
}

.tc-text {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 2rem;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--primary-green-light);
    margin-top: auto;
}

.tc-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(184, 212, 192, 0.45);
    letter-spacing: 0.5px;
}

.tc-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.tc-label {
    font-size: 0.82rem;
    color: var(--primary-green-dark);
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 0;
}

/* Arrow Buttons */
.carousel-arrow {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-green-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-arrow:hover {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-purple-dark));
    color: var(--white);
    border-color: transparent;
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(184, 212, 192, 0.5);
}

.carousel-arrow:active {
    transform: scale(0.96);
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary-green-light);
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
    flex-shrink: 0;
}

.carousel-dot.active {
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-purple-dark));
    width: 30px;
    border-radius: 5px;
}

.carousel-dot:hover:not(.active) {
    background: var(--primary-green);
    transform: scale(1.25);
}

/* Counter */
.carousel-counter {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1.5px;
    font-family: var(--font-body);
}

.counter-sep {
    margin: 0 0.4rem;
    color: var(--primary-green-dark);
    font-weight: 700;
}

/* Testimonial responsive overrides */
@media (max-width: 968px) {
    .testimonial-carousel {
        gap: 1rem;
    }

    .carousel-arrow {
        width: 48px;
        height: 48px;
    }

    .tc-card {
        padding: 2.5rem 2.5rem 2rem;
    }

    .tc-stars {
        top: 2rem;
        right: 2rem;
    }
}

@media (max-width: 640px) {
    .testimonial-carousel {
        gap: 0.6rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .tc-card {
        padding: 2rem 1.75rem 1.75rem;
        min-height: 320px;
    }

    .tc-stars {
        top: 1.75rem;
        right: 1.75rem;
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .tc-quote {
        font-size: 6rem;
        margin-bottom: 1rem;
    }

    .tc-text {
        font-size: 0.98rem;
    }
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
    display: block;
    transform: scale(1);
}

.gallery-item.large {
    grid-column: span 1;
    max-width: 450px;
}

.gallery-item .image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section {
    background: linear-gradient(135deg, var(--primary-purple-light) 0%, var(--primary-green-light) 100%);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(184, 212, 192, 0.3);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

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

.faq-icon {
    transition: var(--transition-smooth);
    color: var(--primary-purple-dark);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

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

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ===================================
   RESPONSIVE ENHANCEMENTS
   =================================== */

@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .schedule-tabs {
        flex-wrap: nowrap;
        overflow-x: scroll;
    }

    .class-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .class-time {
        min-width: auto;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .service-card {
        padding: 2rem 1.5rem;
    }

    .schedule-content {
        padding: 1rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

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