/* ========================================
   CSS Reset & Base Styles
   ======================================== */

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

:root {
    --primary-color: #6b8e6b;
    --secondary-color: #8fbc8f;
    --accent-color: #d4a574;
    --dark-color: #2c3e2c;
    --light-color: #f5f9f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   Utility Classes
   ======================================== */

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

.section-title {
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    min-height: 44px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    touch-action: manipulation;
}

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

.btn-primary:hover {
    background: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

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

.btn-full {
    width: 100%;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.logo-text {
    line-height: 1.2;
}

.logo svg {
    color: var(--primary-color);
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-color);
    background-image: url('media/personal-pose1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    padding: 100px 20px 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 62, 44, 0.4) 0%,
        rgba(44, 62, 44, 0.55) 30%,
        rgba(44, 62, 44, 0.65) 70%,
        rgba(44, 62, 44, 0.75) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3.6vw, 1.8rem);
    margin-bottom: 0.5rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.6s both;
}

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

/* ========================================
   About Section
   ======================================== */

.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 3/4;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.badge-text {
    display: block;
    font-size: 0.9rem;
}

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

.certifications {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cert-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cert-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.cert-details h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.cert-details p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.work-experience {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-color);
}

.workshops {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-color);
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.work-item {
    margin-bottom: 1.5rem;
}

.work-item h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.work-period {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.workshop-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.workshop-item {
    padding: 0.8rem 1rem;
    background: var(--light-color);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.workshop-item:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.workshop-period {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

/* ========================================
   Classes Section
   ======================================== */

.classes {
    padding: 100px 0;
    background: var(--light-color);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.class-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.class-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.class-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.class-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

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

/* ========================================
   Schedule Section
   ======================================== */

.schedule {
    padding: 100px 0;
    background: var(--light-color);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.schedule-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.schedule-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.schedule-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.schedule-level {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.schedule-time {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ========================================
   Gallery Section
   ======================================== */

.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.gallery-images-section,
.gallery-videos-section {
    margin-bottom: 3rem;
}

.gallery-section-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 3rem;
    justify-items: center;
}

.images-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 100%;
}

.videos-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 100%;
    justify-content: center;
    align-items: start;
}

/* Photo Gallery - Static Row */
.photo-gallery-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    max-width: 1000px;
    padding: 20px 0;
}

.gallery-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Videos Row Styles */
.videos-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    overflow-x: auto;
    padding: 10px 0 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.videos-row::-webkit-scrollbar {
    height: 8px;
}

.videos-row::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 10px;
}

.videos-row::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.videos-row::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    background: var(--light-color);
    width: 100%;
    max-width: 100%;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-video {
    aspect-ratio: 9/16;
    max-width: 280px;
    min-width: 200px;
    flex-shrink: 0;
    margin: 0;
}

.gallery-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

/* ========================================
   Contact Section
   ======================================== */

.contact {
    padding: 100px 0;
    background: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 142, 107, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.error-message {
    display: none;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 400;
}

.char-count {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

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

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-about h3,
.footer-links h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-list li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.workshop-item,
.class-title,
.testimonial-text,
.schedule-level,
.schedule-time,
.contact-card p,
.footer-about p,
.footer-list li {
    overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        background: var(--dark-color);
        border-color: var(--dark-color);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

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

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

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

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

    .workshop-item:hover {
        background: var(--secondary-color);
        color: var(--white);
        transform: translateY(-2px);
    }

    .class-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

    .schedule-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .gallery-photo:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    .gallery-item:hover {
        transform: scale(1.05);
        box-shadow: var(--shadow-lg);
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        min-height: 100dvh;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 5.5rem 1.25rem 2rem;
        gap: 0.5rem;
        overflow-y: auto;
    }

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

    .nav-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

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

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

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

    .hero {
        padding: 80px 15px 40px;
        background-attachment: scroll;
        min-height: 100svh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    #testimonials .section-title {
        font-size: 1.75rem;
    }

    .logo-text {
        font-size: 1.05rem;
    }

    .nav-link {
        width: 100%;
        font-size: 1rem;
        padding: 0.6rem 0.35rem;
    }

    .about {
        padding: 60px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .work-experience,
    .workshops {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .subsection-title {
        font-size: 1.3rem;
    }
    
    .gallery {
        padding: 60px 0;
    }

    .gallery-section-title {
        font-size: 1.5rem;
    }

    .gallery-grid,
    .images-grid,
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .photo-gallery-row {
        gap: 15px;
        padding: 15px 0;
    }
    
    .gallery-photo {
        width: min(44vw, 180px);
        height: min(44vw, 180px);
    }

    .videos-row {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
    }

    .gallery-video {
        max-width: 100%;
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    .classes {
        padding: 60px 0;
    }

    .testimonials {
        padding: 60px 0;
    }

    .schedule {
        padding: 60px 0;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-wrapper {
        padding: 30px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .classes-grid,
    .testimonials-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .workshop-list {
        grid-template-columns: 1fr;
    }

    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 70px 12px 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    #testimonials .section-title {
        font-size: 1.5rem;
    }

    .logo {
        gap: 8px;
    }

    .logo svg {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 0.95rem;
        max-width: 180px;
    }

    .about {
        padding: 50px 0;
    }

    .about-photo {
        border-radius: 15px;
    }

    .classes {
        padding: 50px 0;
    }

    .testimonials {
        padding: 50px 0;
    }

    .schedule {
        padding: 50px 0;
    }

    .gallery {
        padding: 50px 0;
    }

    .gallery-section-title {
        font-size: 1.3rem;
    }

    .gallery-subtitle {
        font-size: 1rem;
    }

    .gallery-grid {
        gap: 15px;
    }

    .gallery-item {
        border-radius: 12px;
    }

    .videos-row {
        gap: 15px;
    }

    .gallery-video {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .photo-gallery-row {
        gap: 12px;
        padding: 12px 0;
    }
    
    .gallery-photo {
        width: min(43vw, 160px);
        height: min(43vw, 160px);
        border-radius: 10px;
    }

    .contact {
        padding: 50px 0;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .contact-grid {
        gap: 25px;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .btn {
        width: 100%;
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .class-card,
    .testimonial-card,
    .schedule-card {
        padding: 30px 20px;
    }

    .testimonial-card {
        padding: 24px 18px;
    }

    .class-icon,
    .schedule-icon {
        font-size: 2.5rem;
    }

    .scroll-top-btn {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 1.2rem;
    }
}
