*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-bg: #121212;
    --secondary-bg: #1E1E1E;
    --accent-color: #FFD700;
    --text-color: #FFFFFF;
    --secondary-text-color: #AAAAAA;
}

@keyframes animate-background {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    max-width: 1400px;
    width: 100%; /* Keep width 100% to ensure it fills max-width */
    height: 140px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background-color: #000;
    box-sizing: border-box;
    border-radius: 0 0 20px 20px; /* Add some rounded corners to the bottom */
}

.logo {
    max-height: 140px;
    max-width: 805px;
}

nav {
    background-color: black;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    margin: 0 20px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

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

main {
    flex-grow: 1;
    display: block;
    text-align: center;
    padding-top: 140px; /* Height of the header */
    width: 100%;
    overflow-x: hidden;
}

.hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #1a1a1a, #333, #1a1a1a);
    background-size: 400% 400%;
    animation: animate-background 15s ease infinite;
    padding: 80px 20px; /* Add some padding to the hero section */
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.glass-panel {
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    max-width: 700px;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.register-panel {
    display: block;
    background: rgba(255, 215, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    width: 300px;
    text-decoration: none;
    color: var(--primary-bg);
    box-shadow: 0 10px 40px 0 rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px 0 rgba(255, 215, 0, 0.3);
}

.register-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.register-panel p {
    font-size: 1.1rem;
}

.glass-panel h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.glass-panel p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--secondary-text-color);
}

.cta-button {
    text-decoration: none;
    color: var(--primary-bg);
    background-color: var(--accent-color);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

footer {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--secondary-bg);
    color: var(--secondary-text-color);
}

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

.features {
    text-align: center;
    padding: 120px 20px 80px;
    background-color: var(--primary-bg);
}

.features h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 600;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: var(--secondary-bg);
    padding: 40px 30px;
    border-radius: 20px;
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fade-in 0.5s ease-out forwards;
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.3);
}

.feature-item h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.music-tiles {
    padding: 80px 20px;
    background-color: var(--secondary-bg);
}

.music-tiles h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 600;
}

.tiles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tile {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tile:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.5);
}

.tile img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.tile:hover img {
    transform: scale(1.1);
}

.tile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,1), transparent);
    color: var(--text-color);
    padding: 30px;
    box-sizing: border-box;
}

.tile-content h3 {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 600;
}

.tile-content p {
    margin: 0 0 20px;
    font-size: 1.1rem;
    color: var(--secondary-text-color);
}

.tile-button {
    text-decoration: none;
    color: var(--primary-bg);
    background: var(--accent-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.tile-button:hover {
    background: var(--text-color);
    color: var(--primary-bg);
}


#hamburger-icon {
    display: none;
    cursor: pointer;
}

#hamburger-icon .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 101;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.side-nav a {
    padding: 15px 8px 15px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.side-nav a:hover {
    color: #f1f1f1;
}

.side-nav .close-btn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media (max-width: 768px) {
    header {
        justify-content: space-between;
        padding: 20px;
        width: calc(100% - 40px);
    }

    nav {
        display: none;
    }

    #hamburger-icon {
        display: block;
    }

    .hero-container {
        flex-direction: column;
    }

    .glass-panel {
        padding: 20px;
        max-width: 100%;
    }

    .glass-panel h1 {
        font-size: 2.5rem;
    }

    .glass-panel p {
        font-size: 1.1rem;
    }

    .register-panel {
        width: 100%;
        padding: 30px;
    }

    .register-panel h2 {
        font-size: 2rem;
    }

    .features {
        padding: 80px 20px;
    }

    .features h2 {
        font-size: 2.5rem;
    }

    .music-tiles {
        padding: 60px 20px;
    }

    .music-tiles h2 {
        font-size: 2.5rem;
    }
}
.fees-section {
    padding: 80px 20px;
    background-color: var(--primary-bg); /* Or secondary-bg, depending on desired contrast */
    text-align: center;
}

.fees-section h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 600;
    color: var(--text-color);
}

.table-container {
    overflow-x: auto; /* Makes table scrollable on small screens */
    margin: 0 auto;
    max-width: 800px; /* Limit table width */
    background-color: var(--secondary-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    color: var(--text-color);
}

th, td {
    padding: 15px 20px;
    border: 1px solid var(--primary-bg); /* Use primary-bg for subtle lines */
    text-align: center;
}

thead th {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    font-weight: 700;
    text-transform: uppercase;
}

tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly different background for even rows */
}

tbody tr:hover {
    background-color: rgba(255, 215, 0, 0.1); /* Subtle hover effect */
}

.terms-conditions {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .fees-section h2 {
        font-size: 2.5rem;
    }

    th, td {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}
/* Contact Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 200; /* Sit on top (higher than header) */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--secondary-bg);
    margin: auto;
    padding: 30px;
    border: 1px solid var(--accent-color);
    width: 80%; /* Could be responsive */
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    position: relative;
    color: var(--text-color);
    text-align: center;
}

.modal-content h2 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.modal-content p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.modal-content .phone-number {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 5px 0;
}

.close-button {
    color: var(--secondary-text-color);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}
.location-map {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.location-map h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.map-note {
    font-size: 0.85rem;
    color: var(--secondary-text-color);
    margin-top: 10px;
}