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

:root {
    --vh: 1vh;
}

a {
  color: #006DAB;
  text-decoration: none;
}

a:hover {
  color: #E06610;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #6b7280;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 50;
}

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

.nav-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

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

.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #030213;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 60;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger animation when open */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

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

/* Mobile responsive navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 4rem;
        left: -100%;
        width: 100%;
        height: auto;
        min-height: calc(var(--vh, 1vh) * 100 - 4rem);
        max-height: calc(var(--vh, 1vh) * 100 - 4rem);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0 3rem 0;
        transition: left 0.3s ease;
        z-index: 40;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

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

    .nav-menu .nav-link {
        font-size: 1.125rem;
        padding: 1.25rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: block;
        flex-shrink: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Responsive adjustments for smaller screens */
    .nav-brand {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
    .nav-menu {
        padding: 1.5rem 0 2.5rem 0;
        min-height: calc(var(--vh, 1vh) * 100 - 4rem);
        max-height: calc(var(--vh, 1vh) * 100 - 4rem);
    }
    
    .nav-brand {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 1rem 0;
    }
}

/* Very small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .nav-menu {
        padding: 1rem 0 2rem 0;
    }
    
    .nav-menu .nav-link {
        font-size: 0.95rem;
        padding: 0.875rem 0;
    }
}

/* Landscape orientation on small devices */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu {
        min-height: calc(var(--vh, 1vh) * 100 - 4rem);
        max-height: calc(var(--vh, 1vh) * 100 - 4rem);
        padding: 1rem 0 2rem 0;
    }
    
    .nav-menu .nav-link {
        padding: 0.75rem 0;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background-color: #1a1a1a;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: #030213;
}

.full-width {
    width: 100%;
}

/* Cards */
.card {
    background: white;
    border-radius: 0.625rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-content {
    padding: 1.5rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.badge-academic {
    background-color: #ececf0;
    color: #030213;
}

.badge-holiday {
    background-color: #f3f4f6;
    color: #374151;
}

.badge-break {
    background-color: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.badge-event {
    background-color: #030213;
    color: white;
}

/* Welcome Section with Hero Background */
.welcome-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 4rem;
}

/* Hero Background with subtle lightening and warmth */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./assets/images/studio-windows.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;

    /* Subtle brightness and warm tint */
    filter: brightness(1.1) saturate(1.05);
}

/* Overlay behind text - subtle, transparent, non-blurry */
.hero-overlay {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 3rem 2rem;

    /* Light, warm tint just behind the text */
    background: rgba(255, 245, 230, 0.25); /* very subtle warm overlay */
    border-radius: 0; /* keep corners sharp */
}

.hero-overlay h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-overlay .container {
    display: inline-block;
    padding: 2rem 2.5rem;
    background: linear-gradient(
        rgba(0, 0, 0, 0.6),  /* darker in the middle */
        rgba(0, 0, 0, 0.3)   /* lighter at edges */
    );
    border-radius: 0.75rem;
    text-align: center;
    backdrop-filter: blur(2px); /* subtle softening of background */
}

.welcome-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.welcome-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.welcome-buttons a {
  color: #ffffff;
  text-decoration: none;
}

#explore-lessons:hover {
  background-color: #FFBF00;
}

#explore-lessons a:hover {
  color: #000000;
}

#contact-us a {
    text-decoration: none;
    color: #ffffff;
}

#contact-us:hover {
  background-color: #FFBF00;
}

#contact-us a:hover {
  color: #000000;
}

.scroll-indicator {
    margin-top: 2rem;
}

.chevron-down {
    width: 2rem;
    height: 2rem;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
.about-section {
    padding: 6rem 0;
}

.studio-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.studio-intro p {
    font-size: 1.125rem;
}

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

.instructor-card {
    height: 100%;
}

/* Instructor Photo Styling */
.instructor-photo {
    padding: 1.5rem 1.5rem 0;
    text-align: center;
}

.instructor-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(3, 2, 19, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instructor-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instructor-title {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.instructor-subtitle {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.instructor-links {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    margin-left: 1.5rem;
}

/* Instructor Quotes Section */
.instructor-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Instructor Quote Styling */
.instructor-quote {
    position: relative;
    border-left: 4px solid #030213;
    border-radius: 0.625rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

/* Background images for specific quotes */
.instructor-quote:nth-child(1) {
    background-image: url('./assets/images/piano-keyboard.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.instructor-quote:nth-child(2) {
    background-image: url('./assets/images/theory-example.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay to ensure text readability */
.instructor-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.65)
    );
    border-radius: 0.625rem;
    z-index: 1;
}

/* Ensure text content appears above overlay */
.instructor-quote > * {
    position: relative;
    z-index: 2;
}

.instructor-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.quote-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ffffff;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.quote-text::before {
    content: "";
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
    position: absolute;
    left: -1rem;
    top: -0.5rem;
    font-family: serif;
    z-index: 1;
}

.quote-author {
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    display: block;
    text-align: right;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.certification-section {
    text-align: center;
    max-width: 600px;
    margin: 3rem auto 0;
}

.certification-logo {
    margin-top: 2rem;
}

.rcm-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
}

/* Lessons Section */
.lessons-section {
    padding: 6rem 0;
    background-color: rgba(0, 109, 171, 0.03);
}

/* Theory Levels Section */
.theory-levels-section {
    padding: 4rem 0;
    background-color: #f9f9fb;
}

/* Theory Level Cards with Background Images */
.theory-levels-section .age-group-card {
    position: relative;
    overflow: hidden;
    color: white;
    height: 100%;
}

.theory-levels-section .age-group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.theory-levels-section .age-group-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 109, 171, 0.85), rgba(0, 109, 171, 0.75));
    z-index: 2;
}

/* Specific background images for each theory level */
.theory-levels-section .age-group-card:nth-child(1)::before {
    background-image: url('assets/images/treble-clef.jpg');
}

.theory-levels-section .age-group-card:nth-child(2)::before {
    background-image: url('assets/images/bass-clef.jpg');
}

.theory-levels-section .age-group-card:nth-child(3)::before {
    background-image: url('assets/images/c-clef.jpg');
}

.theory-levels-section .age-groups-grid:last-child .age-group-card:nth-child(1)::before {
    background-image: url('assets/images/whole-note.jpg');
}

.theory-levels-section .age-groups-grid:last-child .age-group-card:nth-child(2)::before {
    background-image: url('assets/images/eighth-note-single.jpg');
}

.theory-levels-section .age-groups-grid:last-child .age-group-card:nth-child(3)::before {
    background-image: url('assets/images/rest.jpg');
}

.theory-levels-section .age-groups-grid:last-child .age-group-card:nth-child(4)::before {
    background-image: url('assets/images/eighth-rest.jpg');
}

.theory-levels-section .age-group-card .card-header,
.theory-levels-section .age-group-card .card-content {
    position: relative;
    z-index: 3;
}

.theory-levels-section .age-group-card .card-header h3,
.theory-levels-section .age-group-card .age-subtitle,
.theory-levels-section .age-group-card .card-content p {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.theory-levels-section .age-group-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 109, 171, 0.3);
}

.theory-levels-section .age-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Lesson Images */
.lesson-images {
    margin-bottom: 4rem;
}

.lesson-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.lesson-image-item {
    text-align: center;
}

.lesson-image-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.625rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lesson-image-item img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-caption {
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
}

.philosophy-section {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.philosophy-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.lesson-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.instructor-name {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.lesson-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

.lesson-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.detail-item strong {
  margin-right: 0.25rem; /* about one space */
}

.detail-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

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

.features-list h4 {
    font-size: 0.875rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

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

/* Age Groups Cards with Background Images */
.age-group-card {
    position: relative;
    overflow: hidden;
    color: white;
    height: 100%;
}

.age-group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.age-group-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 109, 171, 0.85), rgba(0, 109, 171, 0.75));
    z-index: 2;
}

/* Specific background images for each age group */
.age-group-card:nth-child(1)::before {
    background-image: url('assets/images/js-bach.jpg');
}

.age-group-card:nth-child(2)::before {
    background-image: url('assets/images/chopin.jpg');
}

.age-group-card:nth-child(3)::before {
    background-image: url('assets/images/path.jpg');
}

.age-group-card:nth-child(4)::before {
    background-image: url('assets/images/treble-clef.jpg');
}

.age-group-card:nth-child(5)::before {
    background-image: url('assets/images/c-clef.jpg');
}

.age-group-card:nth-child(6)::before {
    background-image: url('assets/images/bass-clef.jpg');
}

.age-group-card:nth-child(7)::before {
    background-image: url('assets/images/rest.jpg');
}

.age-group-card:nth-child(8)::before {
    background-image: url('assets/images/eighth-rest.jpg');
}

.age-group-card:nth-child(9)::before {
    background-image: url('assets/images/eighth-note-single.jpg');
}

.age-group-card:nth-child(10)::before {
    background-image: url('assets/images/whole-note.jpg');
}

.age-group-card .card-header,
.age-group-card .card-content {
    position: relative;
    z-index: 3;
}

.age-group-card .card-header h3,
.age-group-card .age-subtitle,
.age-group-card .card-content p {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.age-group-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 109, 171, 0.3);
}

.age-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Calendar Section */
.calendar-section {
    padding: 6rem 0;
}

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

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

.calendar-event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.calendar-date {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.calendar-icon {
    margin-right: 0.5rem;
}

/* Recitals Section */
.recitals-section {
    padding: 6rem 0;
    background-color: rgba(0, 109, 171, 0.03);
}

.recitals-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

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

.feature-card {
    text-align: center;
}

.feature-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

/* Community Section */
.community-section {
    padding: 6rem 0;
}

.community-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.community-section-block {
    margin-bottom: 4rem;
}

.community-section-block h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.organizations-grid,
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.organization-header,
.opportunity-header,
.festival-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.organization-icon,
.opportunity-icon,
.festival-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.organization-subtitle,
.opportunity-subtitle,
.festival-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.opportunity-description {
    color: #9ca3af;
    font-size: 0.75rem;
}

/* Contact Section - NO BACKGROUND IMAGE */
.contact-section {
    padding: 6rem 0;
    background-color: rgba(236, 236, 240, 0.05);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: rgba(0, 109, 171, 0.03);
}

.faq-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 0.625rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background-color: rgba(0, 109, 171, 0.02);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(0, 109, 171, 0.1);
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.faq-chevron {
    width: 1.25rem;
    height: 1.25rem;
    color: #006DAB;
    transition: transform 0.3s ease !important;
    transform: rotate(0deg);
}

.faq-question.active .faq-icon {
    background-color: #006DAB;
}

.faq-question.active .faq-chevron {
    color: white;
    transform: rotate(180deg) !important;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.active {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-content {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-content p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

/* Community Section */
.community-section {
    padding: 6rem 0;
}

.community-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.community-section-block {
    margin-bottom: 4rem;
}

.community-section-block h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.organizations-grid,
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.organization-header,
.opportunity-header,
.festival-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.organization-icon,
.opportunity-icon,
.festival-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.organization-subtitle,
.opportunity-subtitle,
.festival-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.opportunity-description {
    color: #9ca3af;
    font-size: 0.75rem;
}

/* Contact Section - NO BACKGROUND IMAGE */
.contact-section {
    padding: 6rem 0;
    background-color: rgba(236, 236, 240, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

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

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-item a {
    color: #030213;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.lesson-formats {
    background: white;
    padding: 1.5rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.format-info {
    font-size: 0.875rem;
    color: #6b7280;
}

.format-info div {
    margin-bottom: 0.5rem;
}

.contact-form-card .card-header p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    background-color: #f3f3f5;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

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

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* Footer */
.footer {
    background-color: #030213;
    color: white;
    padding: 3rem 0;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    cursor: pointer;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact div {
    margin-bottom: 0.25rem;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    margin: 0;
}

/* Photo Gallery Section */
.photo-gallery-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.gallery-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-intro p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.masonry-gallery {
    column-count: 4;
    column-gap: 1.5rem;
    margin: 0;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    break-inside: avoid;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
}

.gallery-caption {
    padding: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-align: center;
    background: white;
    border-radius: 0 0 12px 12px;
}

/* Section padding top to account for fixed navbar */
section {
    scroll-margin-top: 4rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.375rem;
    }
    
    /* Section padding adjustments */
    .about-section,
    .lessons-section,
    .calendar-section,
    .recitals-section,
    .community-section,
    .contact-section,
    .faq-section {
        padding: 4rem 0;
    }
    
    .theory-levels-section {
        padding: 3rem 0;
    }
    
    .photo-gallery-section {
        padding: 3rem 0;
    }

    /* Hero overlay container */
    .hero-overlay .container {
        padding: 1.5rem 2rem;
        margin: 0 1rem;
    }

    .welcome-subtitle {
        font-size: 1.125rem;
    }

    .welcome-buttons {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    /* Grid adjustments */
    .instructors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .instructor-quotes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lesson-images-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .lessons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 600px;
    }
    
    .age-groups-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .recital-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .organizations-grid,
    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .festivals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Photo gallery responsive */
    .masonry-gallery {
        column-count: 2;
        column-gap: 1rem;
    }
    
    /* Form adjustments */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Card padding adjustments */
    .card-header,
    .card-content {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    /* Further typography adjustments */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Container and padding */
    .container {
        padding: 0 0.75rem;
    }
    
    /* Hero adjustments */
    .hero-overlay .container {
        padding: 1.25rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
    }
    
    .welcome-buttons {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .welcome-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Gallery single column */
    .masonry-gallery {
        column-count: 1;
    }
    
    /* Calendar grid single column */
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    /* Card adjustments */
    .card-header,
    .card-content {
        padding: 1rem;
    }
    
    /* Instructor image smaller */
    .instructor-image {
        width: 150px;
        height: 150px;
    }
    
    /* Feature icon smaller */
    .feature-icon {
        font-size: 2.5rem;
    }
    
    /* Quote text smaller */
    .quote-text {
        font-size: 1rem;
    }
    
    /* Organization header stack */
    .organization-header,
    .opportunity-header,
    .festival-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .organization-icon,
    .opportunity-icon,
    .festival-icon {
        align-self: center;
        margin-left: 0;
    }
}