/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Video Background (Home Page Only) */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker, semi-transparent overlay so the video shows through better. Adjust the alpha (0.25/0.35) as needed. */
    background: linear-gradient(135deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: left;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
}

.nav-logo i {
    margin-right: 10px;
    color: #8e44ad;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #8e44ad;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8e44ad, #3498db);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

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

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

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

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section (Home Page) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    color: gainsboro;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: gainsboro;
    font-weight: 300;
    margin-top: 24px;
}

/* Page Headers */
.page-header {
    background: white;
    color: #2c3e50;
    padding: 100px 0 60px;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Teacher Section */
.echo-section,
.teacher-section {
    padding: 80px 0;
    background: white;
}

.echo-card,
.teacher-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.echo-image {
    display: flex;
    justify-content: center; /* Centers the image horizontally */
    align-items: top;     /* Centers the image vertically (if the div has height) */
    flex-direction: column;
    gap: 10px;
}

.echo-image img  {
    width: 61%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.teacher-image img {
    width: 60%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.echo-image img:hover,
.teacher-image img:hover {
    transform: scale(1.05);
}

.teacher-info h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.echo-info p,
.teacher-info p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.echo-intro p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.echo-intro {
  max-width: 700px;    /* adjust to taste */
  margin: 0 auto;      /* centers the block */
  text-align: left;    /* keeps text left-aligned */
  grid-column: 1 / -1; /* ensure it spans the grid if inside .echo-card */
}

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

.credential-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.credential-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px);
}

.credential-item i {
    margin-right: 1rem;
    color: #8e44ad;
    font-size: 1.5rem;
}

.credential-item:hover i {
    color: white;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.feature-card i {
    font-size: 3rem;
    color: #8e44ad;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Therapy Content */
.therapy-content {
    background: white;
    padding: 60px 0;
}

.therapy-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.therapy-image img,
.lessons-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.therapy-text h2,
.lessons-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.therapy-text p,
.lessons-text p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.benefits-section {
    margin-bottom: 4rem;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.benefit-card i {
    font-size: 2.5rem;
    color: #8e44ad;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

.therapy-programs {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}

.programs-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.program-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.program-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.program-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.program-item i {
    color: #8e44ad;
    margin-right: 1rem;
}

/* Lessons Content */
.lessons-content {
    padding: 60px 0;
}

.lesson-types {
    margin-bottom: 4rem;
}

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

.lesson-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.lesson-card i {
    font-size: 3rem;
    color: #8e44ad;
    margin-bottom: 1.5rem;
}

.lesson-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.lesson-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.lesson-card ul {
    list-style: none;
    color: #555;
}

.lesson-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.lesson-card ul li::before {
    content: '♪';
    position: absolute;
    left: 0;
    color: #8e44ad;
}

.curriculum-section {
    margin-bottom: 4rem;
}

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

.curriculum-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.curriculum-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px);
}

.curriculum-item i {
    font-size: 2.5rem;
    color: #8e44ad;
    margin-bottom: 1rem;
}

.curriculum-item:hover i {
    color: white;
}

.curriculum-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.curriculum-item:hover h3 {
    color: white;
}

.curriculum-item p {
    color: #666;
    line-height: 1.6;
}

.curriculum-item:hover p {
    color: rgba(255,255,255,0.9);
}

.levels-section {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}

.levels-timeline {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.level-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.level-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.level-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.level-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.level-content p {
    color: #666;
    line-height: 1.6;
}

/* About Content */
.about-content {
    padding: 60px 0;
}

.mission-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.mission-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.mission-text p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.mission-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.values-section {
    margin-bottom: 4rem;
}

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

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.value-card i {
    font-size: 3rem;
    color: #8e44ad;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

.instructor-section {
    margin-bottom: 4rem;
}

.instructor-profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.instructor-image img {
    width: 100%;
    border-radius: 15px;
}

.instructor-info h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.instructor-title {
    color: #8e44ad;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.instructor-info p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.instructor-achievements h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.instructor-achievements ul {
    list-style: none;
}

.instructor-achievements ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.instructor-achievements ul li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #8e44ad;
}

.studio-features {
    margin-bottom: 4rem;
}

.features-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-item i {
    font-size: 2.5rem;
    color: #8e44ad;
}

.feature-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
}

.testimonials-section {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.testimonial-content {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 3rem;
    color: #8e44ad;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-author strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #8e44ad;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #ecf0f1;
}

.contact-info p,
.hours-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.contact-info i,
.hours-info i {
    margin-right: 1rem;
    color: #3498db;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-3px);
}

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

cite {
    display: block;
    margin-top: 24px;
    color: gainsboro;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        color: white;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        color: white;
    }
    
    .teacher-card,
    .echo-card,
    .therapy-intro,
    .lessons-intro,
    .mission-section,
    .instructor-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .teacher-credentials,
    .features-grid,
    .benefits-grid,
    .lesson-grid,
    .curriculum-grid,
    .values-grid,
    .testimonials-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .level-item,
    .feature-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .level-marker {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .teacher-info h2,
    .therapy-text h2,
    .lessons-text h2,
    .mission-text h2 {
        font-size: 2rem;
    }
    
    .feature-card,
    .benefit-card,
    .lesson-card,
    .value-card {
        padding: 2rem 1.5rem;
    }
}
