/* Base Styles */
:root {
    --primary-color: #283D42;
    --secondary-color: #E7D6BD;
    --accent-color: #D66853;
    --text-color: #333333;
    --light-color: #F5F5F5;
    --dark-color: #121212;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

.section-line.light {
    background-color: var(--secondary-color);
}

.section-title.light {
    color: var(--light-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

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

.primary-btn:hover {
    background-color: #c55a48;
    color: white;
    transform: translateY(-2px);
}

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

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

.accent {
    color: var(--accent-color);
    font-style: italic;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-color);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0.75;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
    opacity: 0.5;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.transparent {
    background-color: transparent;
    box-shadow: none;
}

.logo-container {
    flex: 0 0 200px;
}

.logo {
    width: 50px;
    object-fit: contain;
    height: auto;
}

.menu {
    display: flex;
}

.menu li {
    margin: 0 1.2rem;
}

.menu a {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.4;
}

.cta-container {
    display: flex;
    gap: 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9);
}

.hero-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
    opacity: 0.2;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    opacity: 0.8;
}

.scroll-indicator span {
    font-size: 0.8rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    position: relative;
}

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

@keyframes scrollDown {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Reveal Text Animation */
.reveal-text {
    overflow: hidden;
    position: relative;
    animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-text-delay {
    overflow: hidden;
    position: relative;
    animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.3s forwards;
    opacity: 0;
}

@keyframes reveal {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* About Section */
.about {
    padding: 100px 5%;
    background-color: #f9f9f9;
    position: relative;
}

.about-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 0 0 45%;
    position: relative;
}

.about-image img {
    border-radius: 4px;
    box-shadow: var(--box-shadow);
}

.about-content {
    flex: 1;
}

.about-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    position: relative;
    padding-left: 45px;
}

.feature-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
}

/* Services Section */
.services {
    padding: 100px 5%;
}

.services-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.services-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #666;
}

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

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

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

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

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

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

.service-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.service-duration, .service-price {
    font-weight: 500;
}

.service-price {
    color: var(--accent-color);
}

.service-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.service-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Benefits Section */
.benefits {
    background-color: #f5f5f5;
    padding: 100px 0;
}

.benefits-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-content {
    flex: 1;
    padding: 0 50px;
}

.benefits-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.benefits-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #666;
}

.benefits-list {
    counter-reset: benefits;
}

.benefits-list li {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.benefit-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-right: 1.5rem;
    flex: 0 0 auto;
}

.benefit-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.benefit-text p {
    color: #666;
}

.benefits-image {
    flex: 1;
    position: relative;
}

.benefits-image img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
}

/* Instructors Section */
.instructors {
    padding: 100px 5%;
    position: relative;
}

.instructors-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.instructor-card {
    flex: 0 0 100%;
    display: flex;
    padding: 20px;
    gap: 40px;
    transition: transform 0.5s ease;
}

.instructor-image {
    flex: 0 0 40%;
}

.instructor-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.instructor-info {
    flex: 1;
    padding: 20px 0;
}

.instructor-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.instructor-title {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.instructor-bio {
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.instructor-certifications {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.instructor-certifications span {
    background-color: #f5f5f5;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    width: fit-content;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--accent-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* Testimonials Section */
.testimonials {
    position: relative;
    padding: 100px 5%;
    background: url('images/av.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 61, 66, 0.85);
}

.testimonials-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-container {
    position: relative;
    height: 250px;
    margin: 40px 0;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateX(50px);
    pointer-events: none;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 40px;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    position: absolute;
    color: var(--secondary-color);
    opacity: 0.5;
}

.testimonial-quote::before {
    top: -20px;
    left: 0;
}

.testimonial-quote::after {
    bottom: -40px;
    right: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.author-location {
    font-size: 0.9rem;
    color: #ddd;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.testimonial-arrow {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-arrow:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.testimonial-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* Schedule Section */
.schedule {
    padding: 100px 5%;
    background-color: #fff;
}

.schedule-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    padding: 20px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.class-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.class-time {
    flex: 0 0 120px;
    font-weight: 600;
    color: var(--primary-color);
}

.class-details {
    flex: 1;
}

.class-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.class-details p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}
html{
    overflow-x: hidden;
}
.class-btn {
    flex: 0 0 100px;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
}

.class-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Contact Section */
.contact {
    background-color: #f5f5f5;
    padding: 100px 5%;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    color: #666;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.contact-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

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

.submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    font-weight: 500;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 70px 5% 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-nav {
    flex: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    min-width: 120px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-newsletter {
    flex: 1;
    min-width: 300px;
}

.footer-newsletter h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-newsletter p {
    margin-bottom: 1.5rem;
    color: #ccc;
}

.newsletter-form {
    display: flex;
    height: 44px;
}

.newsletter-form input {
    flex: 1;
    padding: 0 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-btn {
    width: 44px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.9rem;
    color: #aaa;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #ccc;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--secondary-color);
}

/* Booking Modal */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.booking-modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.booking-modal.open .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    transition: var(--transition);
}

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

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-actions button {
    flex: 1;
}

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

    .about-container,
    .benefits-container {
        flex-direction: column;
    }

    .benefits-content,
    .benefits-image {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }

    .benefits-image {
        order: -1;
        margin-bottom: 40px;
    }

    .about-image {
        margin-bottom: 40px;
    }
}

@media (max-width: 992px) {
    .menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 101;
    }

    .menu.active {
        right: 0;
    }

    .menu li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 102;
    }

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

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

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

    .instructor-card {
        flex-direction: column;
    }

    .instructor-image {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }

    .instructor-image img {
        height: 300px;
    }

    .tab-header {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1 0 25%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-container,
    .benefits-container,
    .contact-content {
        flex-direction: column;
    }

    .footer-top,
    .footer-nav {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .cta-container {
        justify-content: center;
    }

    .hero-background {
        width: 100%;
        opacity: 0.2;
    }
}

@media (max-width: 576px) {
    .tab-btn {
        flex: 1 0 33.333%;
    }

    .class-item {
        flex-direction: column;
        text-align: center;
    }

    .class-time, .class-details {
        margin-bottom: 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-item.visible {
    animation: staggerFadeIn 0.5s ease forwards;
}

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




 .text-wrapper h2, .text-wrapper h3{
  margin-top: 20px;
  margin-bottom: 10px;
}

.text-wrapper h1{
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
}
.text-wrapper h2{
  font-size: 1.5rem;
}

.text-wrapper{
  margin: 30px auto;
  max-width: 1200px;
  padding: 20px;
}