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

:root {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --nav-bg: rgba(45, 45, 45, 0.95);
    --card-bg: #2d2d2d;
    --border-color: #404040;
    --feature-bg: #242424;
    --footer-bg: #1a1a1a;
    --footer-text: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Navigation - IMPROVED */
.navbar {
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Logo - Dual logo preserved */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #e91e63;
    font-weight: 700;
    transition: opacity 0.2s;
}

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

.nav-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-logo-text {
    height: 30px;
    width: auto;
    object-fit: contain;
}

/* Desktop navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e91e63;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #e91e63;
}

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

.nav-menu a.active {
    color: #e91e63;
}

/* Navigation controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 0.5rem 1rem;
    min-width: 70px;
    height: 44px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle:hover {
    border-color: #e91e63;
    color: #e91e63;
    transform: translateY(-2px);
}

.lang-toggle:active {
    transform: translateY(0);
}

/* Hamburger menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

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

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

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

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

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.cta-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e91e63 0%, #f5576c 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.5);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

.cta-icon {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: #e91e63;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Carousel Section */
.carousel-section {
    padding: 80px 20px;
    background: var(--bg-color);
}

.carousel-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(45, 45, 45, 0.9);
    color: #e0e0e0;
    border: none;
    font-size: 3rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(45, 45, 45, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    border-color: #e91e63;
    transform: scale(1.2);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--feature-bg);
}

/* Pricing Section */
.pricing-section {
    padding: 20px 20px 80px 20px;
    background: var(--bg-color);
}

/* Dance Genres Section */
.genres-section {
    padding: 80px 20px;
    background: var(--bg-color);
}

.genres-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.genres-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 3rem;
}

.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.genre-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.genre-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.genre-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

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

.genre-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.genre-card:hover .genre-overlay {
    opacity: 1;
}

.genre-overlay h3 {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.genre-content {
    padding: 2rem;
}

.genre-content h3 {
    color: #e91e63;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.genre-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #e91e63;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Content Sections */
.content-section {
    padding: 80px 20px;
}

.content-section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.content-section h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    color: #667eea;
}

/* Classes Page */
.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.class-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.class-card h3 {
    color: #e91e63;
    margin-bottom: 0.5rem;
}

.class-time {
    color: #999;
    margin-bottom: 1rem;
    font-weight: 500;
}

.class-price {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: bold;
    margin-top: 1rem;
}

/* Add "Most Popular" badge */
.class-card:nth-child(5) { /* 32-class package */
    position: relative;
    border: 2px solid #e91e63;
    transform: scale(1.05);
}

.class-card:nth-child(5)::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e91e63;
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

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

/* Studio Gallery */
.studio-gallery {
    margin: 3rem 0;
    padding: 2rem 0;
}

.studio-gallery h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #e91e63;
    font-weight: 600;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    aspect-ratio: 4/3; /* Enforce consistent ratio */
}

.gallery-item.featured img {
    height: 400px;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

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

.instructor-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.instructor-photo {
    width: min(180px, 80vw);
    height: min(180px, 80vw);
    max-width: 200px;
    max-height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e91e63;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instructor-card:hover .instructor-photo {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.instructor-card:hover .instructor-photo img {
    transform: scale(1.1);
}

.instructor-card h3 {
    color: #e91e63;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Reviews Carousel */
.reviews-carousel-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem 0;
}

.reviews-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: auto;
    min-height: 200px;
    padding: 1rem 0;
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: translateX(100%);
}

.review-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.review-slide.prev {
    transform: translateX(-100%);
}

.review-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: auto;
    min-height: 150px;
    padding: 1.5rem;
}

.review-card:hover {
    border-color: #e91e63;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.2);
}

.review-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-style: italic;
}

.review-card strong {
    color: #e91e63;
    font-size: 1rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-nav .carousel-btn {
    background: rgba(45, 45, 45, 0.9);
    color: #e0e0e0;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav .carousel-btn:hover {
    background: rgba(45, 45, 45, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-nav .carousel-btn.prev {
    margin-left: -25px;
}

.carousel-nav .carousel-btn.next {
    margin-right: -25px;
}

.reviews-carousel-container .carousel-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.reviews-carousel-container .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(233, 30, 99, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.reviews-carousel-container .dot:hover {
    background: rgba(233, 30, 99, 0.6);
    transform: scale(1.2);
}

.reviews-carousel-container .dot.active {
    background: #e91e63;
    border-color: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
}

/* Add touch swipe support */
.reviews-carousel {
    touch-action: pan-y pinch-zoom;
    overflow-x: hidden;
}

/* Gallery Page */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.video-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.video-card p {
    padding: 1rem;
}

/* Video placeholder styles */
.video-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-align: center;
}

.play-button {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-placeholder:hover .play-button {
    opacity: 1;
    transform: scale(1.1);
}

.instagram-link {
    display: inline-block;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(188, 24, 136, 0.4);
}

/* Contact Page */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Map Section */
.map-section {
    margin-top: 3rem;
    padding: 2rem 0;
}

.map-section h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #e91e63;
    font-weight: 600;
}

.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--feature-bg);
    border-radius: 10px;
}

.contact-info h3 {
    color: #e91e63;
    margin-bottom: 1rem;
}

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

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 20px 1rem 20px;
}

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

.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: left;
}

.footer-brand-logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.footer-brand-logo:hover {
    filter: brightness(70%);
    transition: color 0.3s;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #e91e63;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #e91e63;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #404040;
    color: #95a5a6;
}

/* WeChat Modal */
.wechat-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.wechat-modal-content {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    border: 2px solid var(--border-color);
}

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

.wechat-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.wechat-close:hover {
    color: #e91e63;
    background: var(--feature-bg);
    transform: rotate(90deg);
}

.wechat-modal-content h3 {
    color: #07c160;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.qr-code-container {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.qr-code {
    width: 200px;
    height: 200px;
    display: block;
    border-radius: 10px;
}

.wechat-id {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.wechat-id strong {
    color: #07c160;
}


.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}

.schedule-table th {
    background-color: var(--card-bg);
    font-weight: 600;
    color: #e91e63;
}

.schedule-table tbody tr:hover {
    background-color: var(--feature-bg);
}

.stats-bar {
  background: var(--card-bg);
  border-top: 3px solid #e91e63;
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}
.stats-bar .container {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 2rem;
  color: #e91e63;
}
.stat span {
  font-size: 0.9rem;
  color: #999;
}

@media (max-width: 768px) {
    .navbar .nav-container {
        height: 64px;
    }

    .nav-brand {
        flex: 1;
    }

    .nav-logo {
        width: 36px;
        height: 36px;
    }

    .nav-logo-text {
        height: 26px;
    }

    .nav-toggle {
        display: flex;
    }

    .lang-toggle {
        min-width: 60px;
        height: 40px;
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    /* Mobile menu with smooth animation */
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        gap: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color);
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        max-height: 400px;
        opacity: 1;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 20px;
        text-align: left;
        min-height: 48px;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a.active {
        background: rgba(233, 30, 99, 0.1);
        border-left: 3px solid #e91e63;
    }

    /* Floating CTA adjustments */
    .floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .cta-button {
        width: 60px;
        height: 60px;
        font-size: 0.7rem;
        gap: 0.1rem;
    }

    .cta-icon {
        font-size: 1.3rem;
        margin-bottom: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }

    /* Carousel responsive styles */
    .carousel-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .carousel-container {
        height: 300px;
    }

    .carousel-caption {
        font-size: 1rem;
        padding: 1rem;
    }

    .carousel-btn {
        font-size: 2rem;
        padding: 0.3rem 0.6rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-dots {
        bottom: 10px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* Reviews carousel responsive styles */
    .reviews-carousel-container {
        margin: 1rem auto;
        padding: 1rem 0;
    }

    .reviews-carousel {
        min-height: 300px;
    }

    .review-card {
        padding: 1.5rem;
    }

    .review-card p {
        font-size: 1rem;
    }

    .carousel-nav .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    /* Move buttons inside carousel */
    .carousel-nav .carousel-btn.prev {
        margin-left: 10px;
    }
    
    .carousel-nav .carousel-btn.next {
        margin-right: 10px;
    }

    .reviews-carousel-container .carousel-dots {
        bottom: -30px;
    }

    .reviews-carousel-container .dot {
        width: 10px;
        height: 10px;
    }

    /* Ensure dots don't cause scroll */
    .reviews-carousel-container .carousel-dots {
        position: relative;
        bottom: auto;
        margin-top: 1rem;
    }

    /* Footer logo responsive styles */
    .footer-brand-logo {
        max-width: 120px;
    }

    .about-logo {
        max-width: 150px;
    }

    /* Gallery responsive */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item.featured img {
        height: 250px; /* Match regular items */
    }
    
    .gallery-item.featured img {
        height: 250px;
    }
    
    .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .gallery-overlay h4 {
        font-size: 1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem;
    }

    /* Genres section responsive */
    .genres-section h2 {
        font-size: 2rem;
    }

    .genres-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .genres-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .genre-image {
        height: 250px;
    }

    .genre-overlay h3 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .genre-content {
        padding: 1.5rem;
    }

    .genre-content h3 {
        font-size: 1.5rem;
    }

    .genre-content p {
        font-size: 0.95rem;
    }

    /* Map responsive */
    .map-section {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .map-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .map-container {
        padding-bottom: 75%; /* 4:3 aspect ratio on mobile */
        border-radius: 10px;
    }
    
    .map-container iframe {
        border-radius: 10px;
    }

    .wechat-modal-content {
        padding: 2rem 1.5rem;
        max-width: 350px;
    }

    .wechat-modal-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .qr-code-container {
        padding: 1rem;
    }

    .qr-code {
        width: 180px;
        height: 180px;
    }

    .wechat-close {
        top: 10px;
        right: 15px;
        font-size: 1.8rem;
        width: 30px;
        height: 30px;
    }

    .pricing-section .class-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 1.5rem;
    }
    
    .stats-bar .container { flex-direction: column; gap: 1.5rem; }

    .class-card:nth-child(5) {
        transform: none;
    }
}

/* Mobile-friendly card layout */
@media (max-width: 640px) {
    .schedule-table {
        border: 0;
    }

    .schedule-table thead {
        display: none;
    }

    .schedule-table tbody,
    .schedule-table tr,
    .schedule-table td {
        display: block;
        width: 100%;
    }

    .schedule-table tr {
        margin-bottom: 1rem;
        background: var(--card-bg);
        border: 2px solid var(--border-color);
        border-radius: 10px;
        padding: 0;
        overflow: hidden;
    }

    .schedule-table tr:hover {
        border-color: #e91e63;
    }

    .schedule-table td {
        border: none;
        padding: 0.75rem 1rem;
        text-align: left;
        position: relative;
        border-bottom: 1px solid var(--border-color);
    }

    .schedule-table td:last-child {
        border-bottom: none;
    }

    .schedule-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #e91e63;
        display: block;
        margin-bottom: 0.25rem;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .schedule-table td[colspan="4"] {
        text-align: center;
        padding: 2rem 1rem;
    }

    .schedule-table td[colspan="4"]::before {
        display: none;
    }
    
}
    
@media (max-width: 480px) {
    .nav-brand {
        gap: 8px;
    }

    .nav-logo {
        width: 32px;
        height: 32px;
    }

    .nav-logo-text {
        height: 22px;
    }

    .lang-toggle {
        min-width: 55px;
        font-size: 0.75rem;
    }
    
    .cta-button {
        width: 55px;
        height: 55px;
        font-size: 0.65rem;
    }

    .cta-icon {
        font-size: 1.2rem;
    }

    .map-container {
        padding-bottom: 100%; /* Square aspect ratio on very small screens */
    }

    .qr-code {
        width: 160px;
        height: 160px;
    }

    .pricing-section .class-grid {
        max-width: 100%;
        gap: 1rem;
    }
    
    .class-card {
        padding: 1.5rem;
    }
}

/* Show overlay by default on mobile (no hover) */
@media (hover: none) {
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent 40%, rgba(0,0,0,0.9));
        padding: 1rem;
    }
    
    .gallery-overlay h4 {
        font-size: 1rem;
    }
}