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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
    animation: pageLoad 3s ease-out;
}

@keyframes pageLoad {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Add parallax container for enhanced effect */
.parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('background.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
    will-change: transform;
}

/* Enhanced overlay for better text readability with animated gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 30%,
        rgba(0, 0, 0, 0.85) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
    z-index: -1;
    pointer-events: none;
    animation: overlayPulse 8s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Floating particles background effect */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(0,128,128,0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float infinite ease-in-out;
}

.particle:nth-child(1) { width: 4px; height: 4px; left: 10%; animation-duration: 6s; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; left: 20%; animation-duration: 8s; animation-delay: 1s; background: radial-gradient(circle, rgba(220,20,60,0.2) 0%, transparent 70%); }
.particle:nth-child(3) { width: 3px; height: 3px; left: 30%; animation-duration: 7s; animation-delay: 2s; }
.particle:nth-child(4) { width: 5px; height: 5px; left: 40%; animation-duration: 9s; animation-delay: 0.5s; background: radial-gradient(circle, rgba(0,128,128,0.25) 0%, transparent 70%); }
.particle:nth-child(5) { width: 4px; height: 4px; left: 50%; animation-duration: 6.5s; animation-delay: 3s; }
.particle:nth-child(6) { width: 7px; height: 7px; left: 60%; animation-duration: 8.5s; animation-delay: 1.5s; background: radial-gradient(circle, rgba(220,20,60,0.15) 0%, transparent 70%); }
.particle:nth-child(7) { width: 3px; height: 3px; left: 70%; animation-duration: 7.5s; animation-delay: 2.5s; }
.particle:nth-child(8) { width: 5px; height: 5px; left: 80%; animation-duration: 9.5s; animation-delay: 0.8s; }
.particle:nth-child(9) { width: 4px; height: 4px; left: 90%; animation-duration: 6.8s; animation-delay: 3.2s; background: radial-gradient(circle, rgba(0,128,128,0.2) 0%, transparent 70%); }

@keyframes float {
    0%, 100% { 
        transform: translateY(100vh) rotate(0deg); 
        opacity: 0; 
    }
    10% { 
        opacity: 1; 
    }
    90% { 
        opacity: 1; 
    }
    50% { 
        transform: translateY(-10vh) rotate(180deg); 
        opacity: 0.8; 
    }
}

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

/* Enhanced Combined Header */
header {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(26,26,26,0.9) 100%);
    border-bottom: 3px solid #008080;
    padding: 3rem 0;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0,128,128,0.05) 20%,
        rgba(220,20,60,0.05) 50%,
        rgba(0,128,128,0.05) 80%,
        transparent 100%
    );
    animation: headerShimmer 8s ease-in-out infinite;
}

@keyframes headerShimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.combined-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, rgba(0,128,128,0.15) 0%, rgba(220,20,60,0.15) 100%);
    border-radius: 20px;
    border: 2px solid rgba(0,128,128,0.5);
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 12px 40px rgba(0,128,128,0.25);
    transform: translateY(-3px);
    animation: logoEntrance 2s ease-out;
}

@keyframes logoEntrance {
    0% {
        transform: translateY(20px);
        opacity: 0;
        box-shadow: 0 4px 15px rgba(0,128,128,0.1);
        border-color: rgba(0,128,128,0.2);
        background: linear-gradient(135deg, rgba(0,128,128,0.08) 0%, rgba(220,20,60,0.08) 100%);
    }
    100% {
        transform: translateY(-3px);
        opacity: 1;
        box-shadow: 0 12px 40px rgba(0,128,128,0.25);
        border-color: rgba(0,128,128,0.5);
        background: linear-gradient(135deg, rgba(0,128,128,0.15) 0%, rgba(220,20,60,0.15) 100%);
    }
}

.combined-logo-section:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,128,128,0.4), 0 0 30px rgba(220,20,60,0.3);
    border-color: rgba(0,128,128,0.8);
    background: linear-gradient(135deg, rgba(0,128,128,0.25) 0%, rgba(220,20,60,0.25) 100%);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.logo-icon {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(3px 3px 16px rgba(0,128,128,0.6));
    transition: all 0.4s ease;
    animation: logoIconGlow 2s ease-out;
}

@keyframes logoIconGlow {
    0% {
        filter: drop-shadow(2px 2px 8px rgba(0,128,128,0.2));
        transform: scale(0.9);
    }
    100% {
        filter: drop-shadow(3px 3px 16px rgba(0,128,128,0.6));
        transform: scale(1);
    }
}

.combined-logo-section:hover .logo-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(5px 5px 25px rgba(0,128,128,0.8)) drop-shadow(0 0 15px rgba(220,20,60,0.6));
}

.logo-text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.6), 0 0 20px rgba(0,128,128,0.4);
    background: linear-gradient(135deg, #ffffff 0%, #008080 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    animation: logoTextGlow 2s ease-out;
    transition: all 0.4s ease;
}

@keyframes logoTextGlow {
    0% {
        text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        text-shadow: 2px 2px 12px rgba(0,0,0,0.6), 0 0 20px rgba(0,128,128,0.4);
        transform: translateY(0);
        opacity: 1;
    }
}

.combined-logo-section:hover .logo-text h1 {
    transform: scale(1.05);
    text-shadow: 3px 3px 15px rgba(0,0,0,0.8), 0 0 30px rgba(0,128,128,0.7), 0 0 40px rgba(220,20,60,0.4);
    background: linear-gradient(135deg, #ffffff 0%, #008080 50%, #dc143c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-tagline {
    font-size: 1.1rem;
    color: #cccccc;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5), 0 0 15px rgba(0,128,128,0.3);
    animation: taglineGlow 2s ease-out 0.5s both;
    transition: all 0.4s ease;
}

@keyframes taglineGlow {
    0% {
        opacity: 0;
        transform: translateY(10px);
        text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 1px 1px 4px rgba(0,0,0,0.5), 0 0 15px rgba(0,128,128,0.3);
    }
}

.combined-logo-section:hover .logo-tagline {
    transform: scale(1.03);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7), 0 0 25px rgba(0,128,128,0.6), 0 0 35px rgba(220,20,60,0.3);
    color: #ffffff;
}

/* Enhanced Navigation */
nav {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(26,26,26,0.9) 100%);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0,128,128,0.3);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(0,128,128,0.03) 0%,
        rgba(220,20,60,0.03) 50%,
        rgba(0,128,128,0.03) 100%
    );
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: linear-gradient(135deg, transparent 0%, rgba(0,128,128,0.05) 100%);
    border: 1px solid transparent;
    backdrop-filter: blur(5px);
    animation: navItemFloat 2s ease-in-out infinite;
    animation-delay: calc(var(--nav-index) * 0.3s);
}

nav a:nth-child(1) { --nav-index: 0; }
nav a:nth-child(2) { --nav-index: 1; }
nav a:nth-child(3) { --nav-index: 2; }
nav a:nth-child(4) { --nav-index: 3; }
nav a:nth-child(5) { --nav-index: 4; }

@keyframes navItemFloat {
    0%, 100% {
        transform: translateY(0);
        text-shadow: none;
    }
    50% {
        transform: translateY(-2px);
        text-shadow: 0 0 10px rgba(0,128,128,0.3);
    }
}

nav a:hover {
    background: linear-gradient(135deg, rgba(0,128,128,0.15) 0%, rgba(220,20,60,0.15) 100%);
    border-color: rgba(0,128,128,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,128,128,0.2);
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #008080 0%, #dc143c 100%);
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

nav a:hover::before {
    opacity: 0.1;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #008080 0%, #dc143c 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

/* Active nav item effect */
nav a.active {
    background: linear-gradient(135deg, rgba(0,128,128,0.2) 0%, rgba(220,20,60,0.1) 100%);
    border-color: rgba(0,128,128,0.4);
    color: #008080;
}

nav a.active::after {
    width: 80%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), 
                radial-gradient(circle at center, #008080 0%, #000000 70%);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background-image: url('hero-background.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(0,128,128,0.03) 2px,
        rgba(0,128,128,0.03) 4px
    );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #008080 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #cccccc;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #dc143c 0%, #b91c3c 100%);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.3);
    border: 1px solid #dc143c;
    animation: ctaBreath 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

@keyframes ctaBreath {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(220, 20, 60, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(220, 20, 60, 0.5), 0 0 20px rgba(0,128,128,0.3);
    }
}

.cta-button:hover {
    background: linear-gradient(135deg, #b91c3c 0%, #dc143c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.4);
}

/* Lessons Section */
.lessons {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.98) 0%, rgba(26,26,26,0.95) 100%);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
}

/* Section titles with dramatic entrance */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: #ffffff;
    animation: titleExplosion 1.5s ease-out forwards;
    opacity: 0;
    transform: scale(0.3) rotateX(90deg);
}

@keyframes titleExplosion {
    0% {
        opacity: 0;
        transform: scale(0.3) rotateX(90deg);
        text-shadow: none;
    }
    60% {
        transform: scale(1.1) rotateX(-10deg);
        text-shadow: 0 0 30px rgba(0,128,128,0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
        text-shadow: 2px 2px 8px rgba(0,0,0,0.5), 0 0 20px rgba(0,128,128,0.3);
    }
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Auto-activating card effects for mobile users */
.lesson-card {
    background: linear-gradient(135deg, rgba(26,26,26,0.9) 0%, rgba(42,42,42,0.9) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #333333;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: cardFloatIn 0.8s ease-out forwards;
    animation-delay: calc(var(--card-index) * 0.3s);
    opacity: 0;
    transform: translateY(30px);
}

@keyframes cardFloatIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lesson-card:nth-child(1) { --card-index: 0; }
.lesson-card:nth-child(2) { --card-index: 1; }
.lesson-card:nth-child(3) { --card-index: 2; }

.lesson-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #008080 0%, #dc143c 100%);
}

.lesson-card:hover {
    transform: translateY(-5px);
    border-color: #008080;
    box-shadow: 0 10px 40px rgba(0,128,128,0.2);
}

.lesson-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.lesson-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.7;
}

.lesson-features {
    list-style: none;
    margin-bottom: 2rem;
}

.lesson-features li {
    padding: 0.5rem 0;
    color: #cccccc;
    position: relative;
    padding-left: 1.5rem;
}

.lesson-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #008080;
    font-size: 0.8rem;
}

.book-button {
    background: transparent;
    color: #008080;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border: 2px solid #008080;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.book-button:hover {
    background-color: #008080;
    color: #000000;
}

/* Genre Focus */
.genres {
    padding: 5rem 0;
    background: rgba(0,0,0,0.95);
    border-top: 1px solid #333333;
    backdrop-filter: blur(5px);
    position: relative;
}

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

/* Atmospheric genre cards with staggered auto-effects */
.genre-card {
    background: linear-gradient(135deg, rgba(26,26,26,0.9) 0%, rgba(42,42,42,0.9) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    animation: genreReveal 1s ease-out forwards;
    animation-delay: calc(var(--genre-index) * 0.2s);
    opacity: 0;
    transform: rotateY(-15deg) translateZ(-50px);
}

@keyframes genreReveal {
    to {
        opacity: 1;
        transform: rotateY(0deg) translateZ(0px);
    }
}

.genre-card:nth-child(1) { --genre-index: 0; }
.genre-card:nth-child(2) { --genre-index: 1; }
.genre-card:nth-child(3) { --genre-index: 2; }
.genre-card:nth-child(4) { --genre-index: 3; }
.genre-card:nth-child(5) { --genre-index: 4; }
.genre-card:nth-child(6) { --genre-index: 5; }

.genre-card:hover {
    transform: translateY(-3px);
    border-color: #dc143c;
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.2);
}

.genre-card h4 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
}

.genre-card ul {
    list-style: none;
    text-align: left;
}

.genre-card li {
    padding: 0.5rem 0;
    color: #cccccc;
    position: relative;
    padding-left: 1.5rem;
}

.genre-card li::before {
    content: '♪';
    position: absolute;
    left: 0;
    color: #dc143c;
    font-size: 1.2rem;
}

/* Instructors Section */
.instructors {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(26,26,26,0.95) 0%, rgba(10,10,10,0.95) 100%);
    backdrop-filter: blur(5px);
    position: relative;
}

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

/* Instructor cards with dramatic reveal effects */
.instructor-card {
    background: linear-gradient(135deg, rgba(42,42,42,0.9) 0%, rgba(26,26,26,0.9) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: instructorSlideIn 1s ease-out forwards;
    animation-delay: calc(var(--instructor-index) * 0.4s);
    opacity: 0;
    transform: translateX(-50px) rotateX(10deg);
}

@keyframes instructorSlideIn {
    to {
        opacity: 1;
        transform: translateX(0) rotateX(0deg);
    }
}

.instructor-card:nth-child(1) { --instructor-index: 0; }
.instructor-card:nth-child(2) { --instructor-index: 1; }
.instructor-card:nth-child(3) { --instructor-index: 2; }

.instructor-card:hover {
    transform: translateY(-5px);
    border-color: #008080;
    box-shadow: 0 10px 40px rgba(0,128,128,0.15);
}

.instructor-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 3px solid #008080;
}

/* Fallback for instructor photos if images don't load */
.instructor-photo.placeholder {
    background: linear-gradient(135deg, #008080 0%, #dc143c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ffffff;
    font-weight: bold;
}

.instructor-card h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.instructor-title {
    color: #008080;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.instructor-bio {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.instructor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.specialty-tag {
    background-color: #333333;
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #008080;
}

.instructor-card .book-button {
    background: transparent;
    color: #008080;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border: 2px solid #008080;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.instructor-card .book-button:hover {
    background-color: #008080;
    color: #000000;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: rgba(0,0,0,0.95);
    border-top: 1px solid #333333;
    backdrop-filter: blur(5px);
    position: relative;
}

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

/* Services cards with spiral entrance */
.service-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26,26,26,0.9) 0%, rgba(42,42,42,0.9) 100%);
    border-radius: 12px;
    border-left: 4px solid #dc143c;
    transition: all 0.3s ease;
    border: 1px solid #333333;
    backdrop-filter: blur(10px);
    animation: serviceSpiral 1.2s ease-out forwards;
    animation-delay: calc(var(--service-index) * 0.3s);
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
}

@keyframes serviceSpiral {
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

.service-card:nth-child(1) { --service-index: 0; }
.service-card:nth-child(2) { --service-index: 1; }
.service-card:nth-child(3) { --service-index: 2; }

.service-card:hover {
    transform: translateX(5px);
    border-left-color: #008080;
    border-color: #444444;
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Footer with Enhanced Contact Info */
footer {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(26,26,26,0.95) 100%);
    border-top: 3px solid #008080;
    text-align: center;
    padding: 4rem 0;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0,128,128,0.05) 20%,
        rgba(220,20,60,0.05) 50%,
        rgba(0,128,128,0.05) 80%,
        transparent 100%
    );
    animation: footerShimmer 10s ease-in-out infinite;
}

@keyframes footerShimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.footer-hero-contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Footer contact cards with wave entrance */
.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(0,128,128,0.15) 0%, rgba(220,20,60,0.15) 100%);
    border-radius: 15px;
    border: 2px solid rgba(0,128,128,0.3);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,128,128,0.2);
    animation: footerWave 1s ease-out forwards;
    animation-delay: calc(var(--footer-index) * 0.2s);
    opacity: 0;
    transform: translateY(30px) rotateZ(-5deg);
}

@keyframes footerWave {
    to {
        opacity: 1;
        transform: translateY(0) rotateZ(0deg);
    }
}

.footer-hero-contact .footer-contact-card:nth-child(1) { --footer-index: 0; }
.footer-hero-contact .footer-contact-card:nth-child(2) { --footer-index: 1; }
.footer-hero-contact:nth-child(2) .footer-contact-card:nth-child(1) { --footer-index: 2; }
.footer-hero-contact:nth-child(2) .footer-contact-card:nth-child(2) { --footer-index: 3; }

.footer-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0,128,128,0.1) 25%,
        rgba(220,20,60,0.1) 75%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-contact-card:hover::before {
    opacity: 1;
}

.footer-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,128,128,0.3);
    border-color: rgba(0,128,128,0.5);
    background: linear-gradient(135deg, rgba(0,128,128,0.2) 0%, rgba(220,20,60,0.2) 100%);
}

.footer-contact-icon {
    font-size: 2rem;
    color: #dc143c;
    min-width: 3rem;
    text-align: center;
    filter: drop-shadow(2px 2px 8px rgba(220,20,60,0.4));
    transition: all 0.3s ease;
}

.footer-contact-card:hover .footer-contact-icon {
    transform: scale(1.1);
    filter: drop-shadow(2px 2px 12px rgba(220,20,60,0.6));
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    position: relative;
    z-index: 2;
}

.footer-contact-label {
    font-size: 0.9rem;
    color: #008080;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-value {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.footer-contact-card:hover .footer-contact-value {
    background: linear-gradient(135deg, #008080 0%, #dc143c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(1px 1px 4px rgba(0,0,0,0.3));
}

.social-icon:hover {
    transform: scale(1.15);
    filter: drop-shadow(2px 2px 8px rgba(0,128,128,0.4));
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #008080;
    font-weight: 600;
}

.footer-section p, .footer-section a {
    color: #cccccc;
    text-decoration: none;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background: linear-gradient(135deg, rgba(26,26,26,0.95) 0%, rgba(42,42,42,0.95) 100%);
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    border: 1px solid #333333;
    backdrop-filter: blur(20px);
}

.close {
    color: #cccccc;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #dc143c;
}

/* Mobile optimizations */
@media (max-width: 968px) {
    .combined-logo-section {
        padding: 1.5rem 2rem;
    }
    
    .logo-area {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-icon {
        width: 200px;
        height: 200px;
    }
    
    .logo-text h1 {
        font-size: 2.5rem;
    }
    
    .footer-hero-contact {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .footer-contact-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Mobile background image optimization */
    body {
        background-size: contain;
        background-position: top center;
    }
    
    body::before {
        background-color: rgba(0, 0, 0, 0.8);
    }
    
    .combined-logo-section {
        padding: 1.5rem 2rem;
    }
    
    .logo-icon {
        width: 180px;
        height: 180px;
    }
    
    .logo-text h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .lessons-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-hero-contact {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-contact-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .footer-contact-details {
        align-items: center;
    }
    
    /* Mobile auto-hover simulation */
    .lesson-card {
        animation: cardFloatInMobile 1s ease-out forwards, cardPulse 4s ease-in-out infinite;
        animation-delay: calc(var(--card-index) * 0.5s), calc(var(--card-index) * 0.5s + 2s);
    }
    
    @keyframes cardPulse {
        0%, 100% {
            transform: translateY(0);
            border-color: #333333;
            box-shadow: none;
        }
        50% {
            transform: translateY(-2px);
            border-color: #008080;
            box-shadow: 0 5px 20px rgba(0,128,128,0.15);
        }
    }
    
    @keyframes cardFloatInMobile {
        0% {
            opacity: 0;
            transform: translateY(50px) scale(0.95);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    /* Mobile navigation auto-glow */
    nav a {
        animation: navItemFloatMobile 3s ease-in-out infinite, navItemGlow 8s ease-in-out infinite;
        animation-delay: calc(var(--nav-index) * 0.2s), calc(var(--nav-index) * 0.2s + 4s);
    }
    
    @keyframes navItemGlow {
        0%, 100% {
            border-color: transparent;
            background: linear-gradient(135deg, transparent 0%, rgba(0,128,128,0.05) 100%);
        }
        50% {
            border-color: rgba(0,128,128,0.3);
            background: linear-gradient(135deg, rgba(0,128,128,0.1) 0%, rgba(220,20,60,0.1) 100%);
        }
    }
    
    @keyframes navItemFloatMobile {
        0%, 100% {
            transform: translateY(0) scale(1);
        }
        50% {
            transform: translateY(-3px) scale(1.05);
            text-shadow: 0 0 15px rgba(0,128,128,0.4);
        }
    }
    
    /* Mobile genre auto-effects */
    .genre-card {
        animation: genreRevealMobile 1.2s ease-out forwards, genreGlow 6s ease-in-out infinite;
        animation-delay: calc(var(--genre-index) * 0.3s), calc(var(--genre-index) * 0.3s + 3s);
    }
    
    @keyframes genreGlow {
        0%, 100% {
            border-color: #333333;
            box-shadow: none;
        }
        25% {
            border-color: rgba(220,20,60,0.3);
            box-shadow: 0 4px 15px rgba(220,20,60,0.1);
        }
        75% {
            border-color: rgba(0,128,128,0.3);
            box-shadow: 0 4px 15px rgba(0,128,128,0.1);
        }
    }
    
    @keyframes genreRevealMobile {
        0% {
            opacity: 0;
            transform: rotateY(-30deg) translateZ(-100px) scale(0.8);
        }
        100% {
            opacity: 1;
            transform: rotateY(0deg) translateZ(0px) scale(1);
        }
    }
    
    /* Mobile instructor auto-effects */
    .instructor-card {
        animation: instructorSlideInMobile 1.3s ease-out forwards, instructorBreath 5s ease-in-out infinite;
        animation-delay: calc(var(--instructor-index) * 0.5s), calc(var(--instructor-index) * 0.5s + 4s);
    }
    
    @keyframes instructorBreath {
        0%, 100% {
            transform: translateX(0) scale(1);
            border-color: #333333;
        }
        50% {
            transform: translateX(0) scale(1.02);
            border-color: rgba(0,128,128,0.4);
            box-shadow: 0 8px 25px rgba(0,128,128,0.1);
        }
    }
    
    @keyframes instructorSlideInMobile {
        0% {
            opacity: 0;
            transform: translateX(-80px) rotateX(20deg) scale(0.9);
        }
        100% {
            opacity: 1;
            transform: translateX(0) rotateX(0deg) scale(1);
        }
    }
    
    /* Mobile service auto-effects */
    .service-card {
        animation: serviceSpiralMobile 1.4s ease-out forwards, serviceShimmer 7s ease-in-out infinite;
        animation-delay: calc(var(--service-index) * 0.4s), calc(var(--service-index) * 0.4s + 5s);
    }
    
    @keyframes serviceShimmer {
        0%, 100% {
            border-left-color: #dc143c;
            transform: translateX(0);
        }
        33% {
            border-left-color: #008080;
            transform: translateX(2px);
        }
        66% {
            border-left-color: #dc143c;
            transform: translateX(-2px);
        }
    }
    
    @keyframes serviceSpiralMobile {
        0% {
            opacity: 0;
            transform: rotate(270deg) scale(0.3);
        }
        60% {
            transform: rotate(-20deg) scale(1.05);
        }
        100% {
            opacity: 1;
            transform: rotate(0deg) scale(1);
        }
    }
    
    /* Mobile footer auto-effects */
    .footer-contact-card {
        animation: footerWaveMobile 1.3s ease-out forwards, footerPulse 8s ease-in-out infinite;
        animation-delay: calc(var(--footer-index) * 0.3s), calc(var(--footer-index) * 0.3s + 6s);
    }
    
    @keyframes footerPulse {
        0%, 100% {
            border-color: rgba(0,128,128,0.3);
            box-shadow: 0 6px 25px rgba(0,128,128,0.2);
        }
        50% {
            border-color: rgba(220,20,60,0.4);
            box-shadow: 0 8px 30px rgba(220,20,60,0.15);
        }
    }
    
    @keyframes footerWaveMobile {
        0% {
            opacity: 0;
            transform: translateY(50px) rotateZ(-15deg) scale(0.8);
        }
        70% {
            transform: translateY(-5px) rotateZ(2deg) scale(1.05);
        }
        100% {
            opacity: 1;
            transform: translateY(0) rotateZ(0deg) scale(1);
        }
    }
    
    /* Mobile CTA extra effects */
    .cta-button {
        animation: ctaBreathMobile 4s ease-in-out infinite, ctaPulse 2s ease-in-out infinite;
    }
    
    @keyframes ctaPulse {
        0%, 100% {
            border-color: #dc143c;
        }
        50% {
            border-color: #008080;
            text-shadow: 0 0 10px rgba(0,128,128,0.8);
        }
    }
    
    @keyframes ctaBreathMobile {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 4px 20px rgba(220, 20, 60, 0.3);
        }
        25% {
            transform: scale(1.03);
            box-shadow: 0 6px 25px rgba(220, 20, 60, 0.4);
        }
        75% {
            transform: scale(1.08);
            box-shadow: 0 10px 35px rgba(220, 20, 60, 0.6), 0 0 25px rgba(0,128,128,0.4);
        }
    }
}

/* Additional mobile optimizations for smaller screens */
@media (max-width: 480px) {
    body {
        background-position: center top;
        background-size: cover;
        background-attachment: scroll;
    }
    
    .parallax-container {
        background-size: cover;
        background-position: center top;
        background-attachment: scroll;
    }
    
    body::before {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.85) 50%,
            rgba(0, 0, 0, 0.95) 100%
        );
    }
    
    .combined-logo-section {
        padding: 1rem 1.5rem;
    }
    
    .logo-icon {
        width: 160px;
        height: 160px;
    }
    
    .logo-text h1 {
        font-size: 1.8rem;
    }
    
    .logo-tagline {
        font-size: 1rem;
    }
    
    .footer-contact-card {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .footer-contact-icon {
        font-size: 1.5rem;
    }
    
    .footer-contact-value {
        font-size: 1.1rem;
    }
}