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

body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #edefeb;
}

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

/* Typography Display Classes */
.display-1 { font-size: 5rem; line-height: 1; font-weight: 700; }
.display-2 { font-size: 4rem; line-height: 1; font-weight: 700; }
.display-4 { font-size: 1.4rem; line-height: 1.5; font-weight: 600; }
.display-5 { font-size: 2rem; line-height: 1.5; font-weight: 600; }
.display-7 { font-size: 1.1rem; line-height: 1.3; font-weight: 500; }

/* Color Classes */
.text-primary { color: #2b7a69 !important; }
.text-black { color: #000000 !important; }
.bg-primary { background-color: #2b7a69 !important; }

/* Menu Section */
.menu {
    background-color: transparent;
    padding: 0.75rem 0;
}

.navbar {
    min-height: 90px;
    transition: all 0.3s;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.navbar-fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.nav-container {
    display: flex;
    height: 90px;
    padding: 0.5rem 0.6rem;
    flex-wrap: nowrap;
    background: rgba(255, 255, 255, 0.9) !important;
    justify-content: space-between;
    align-items: center;
    border-radius: 100vw;
    margin: 1rem auto;
    max-width: 1200px;
    background-color: #ffffff;
    box-shadow: 0 30px 60px 0 rgba(27, 31, 10, 0.08);
    backdrop-filter: blur(8px);
}

.navbar-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 0;
    padding: 10px 0;
    transition: all 0.3s;
}

.navbar-logo {
    padding-left: 2rem;
    margin-right: 1rem;
}

.navbar-caption-wrap {
    padding-left: 0;
}

.navbar-caption {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar-caption:hover {
    color: #38a089 !important;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    padding: 16px !important;
    margin: 0 !important;
    border-radius: 1rem !important;
    transition: .3s all !important;
    text-decoration: none;
    display: block;
}

.nav-link:hover {
    background-color: rgba(27, 31, 10, 0.06);
    color: #38a089 !important;
}

.nav-link-button {
    border-radius: 25px !important;
    margin-left: 1rem;
    background-color: #2b7a69 !important;
    color: white !important;
    font-weight: 600 !important;
}

.nav-link-button:hover {
    background-color: #38a089 !important;
    color: white !important;
    transform: translateY(-1px);
}

.text-white { color: #ffffff !important; }

.navbar-toggler {
    border: none;
    padding: 4px 8px;
    background: transparent;
    cursor: pointer;
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.hamburger span {
    height: 2px;
    background-color: #333;
    border-radius: 1px;
    transition: all 0.3s;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
    justify-content: flex-end;
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: "▼";
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 160px;
    padding: 0.5rem 0;
    margin: 0;
    background-color: white;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 0.8rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(8px);
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
    margin: 0 0.5rem;
}

.dropdown-item:hover {
    background-color: rgba(43, 122, 105, 0.1);
    color: #2b7a69;
}

@media (max-width: 991px) {
    .navbar-collapse {
        display: none !important;
        z-index: 1000 !important;
        position: absolute;
        top: 110%;
        left: 0;
        width: 100%;
        padding: 1rem;
        border-radius: 1.5rem;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(8px);
        box-shadow: 0 30px 60px 0 rgba(27, 31, 10, 0.08);
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
    
    /* Mobile dropdown menu */
    .dropdown-menu {
        position: static !important;
        display: none !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
        border: 1px solid #ddd !important;
        background-color: #ffffff !important;
        border-radius: 0.8rem !important;
        transform: none !important;
        opacity: 1 !important;
        z-index: 1001 !important;
        padding: 0.5rem 0 !important;
        list-style: none !important;
    }
    
    .dropdown-menu.show {
        display: block !important;
        visibility: visible !important;
    }
    
    .dropdown:hover .dropdown-menu {
        display: none !important; /* Disable hover on mobile */
    }
    
    /* Ensure dropdown items are properly styled on mobile */
    .dropdown-item {
        display: block !important;
        padding: 0.75rem 1rem !important;
        color: #333 !important;
        text-decoration: none !important;
        background-color: transparent !important;
        border: none !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .dropdown-item:hover {
        background-color: rgba(43, 122, 105, 0.1) !important;
        color: #2b7a69 !important;
    }
    
    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hamburger.active span:nth-child(4) {
        opacity: 0;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .navbar-toggler {
        display: block;
    }
}

@media (max-width: 767px) {
    .nav-container {
        width: 95%;
        height: 56px !important;
        padding: 0.5rem 0.8rem;
        margin-top: 0rem;
        justify-content: space-between;
    }
    
    .navbar-brand {
        flex: 1;
        min-width: 0; /* Allows flex item to shrink */
        margin-right: 1rem;
    }
    
    .navbar-caption-wrap {
        padding-left: 0.5rem;
    }
    
    .navbar-caption {
        font-size: 1.2rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .navbar-toggler {
        flex-shrink: 0;
        margin-left: auto;
        padding: 0.25rem;
    }
    
    .navbar-logo img {
        height: 2rem !important;
    }
}

@media (max-width: 480px) {
    .navbar-caption {
        font-size: 1rem !important;
    }
    
    .navbar-brand {
        margin-right: 0.5rem;
    }
    
    .nav-container {
        padding: 0.4rem 0.6rem;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
    
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
}

.hero {
    background-color: #edefeb;
    color: #333;
    padding: 6rem 0 4rem 0;
    text-align: center;
    margin-top: 90px;
}

.hero-title {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    color: #333;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 0;
    color: #666;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0,0,0,0.5);
    border: none;
    border-radius: 0 3px 3px 0;
    user-select: none;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    color: white;
    text-decoration: none;
}

/* Dots navigation */
.dots-container {
    text-align: center;
    padding: 20px 0 10px 0;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: rgba(255,255,255,0.9);
}

/* Fade animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade {
    animation: fadeIn 0.5s ease-in-out;
}

.about, .contact {
    padding: 4rem 0;
}

.about {
    background-color: #f7f7f7;
}

.about h2, .contact h2 {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #666;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-instructor {
    text-align: left;
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 4px solid #2b7a69;
}

.contact-instructor h3 {
    color: #2b7a69;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    border-bottom: 2px solid #edefeb;
    padding-bottom: 0.5rem;
}

.instructor-details p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.instructor-details strong {
    color: #333;
    font-weight: 600;
}

.page-header {
    background-color: #edefeb;
    color: #333;
    padding: 6rem 0 4rem 0;
    text-align: center;
    margin-top: 90px;
}

.page-header h1 {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    color: #333;
}

.page-header p {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3;
    color: #666;
}

.teachers {
    padding: 4rem 0;
    background-color: #f7f7f7;
}

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

.teacher-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.teacher-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    border: 4px solid #3498db;
}

.teacher-info h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.instrument {
    color: #3498db;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.bio {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.qualifications {
    font-size: 0.9rem;
    color: #666;
}

.gurus {
    padding: 4rem 0;
    background-color: #f7f7f7;
}

.guru-profile {
    margin-bottom: 4rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.guru-profile:last-child {
    margin-bottom: 0;
}

.guru-image {
    flex-shrink: 0;
    padding: 3rem 0 3rem 3rem;
}

.guru-photo {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    object-fit: cover;
    border: 6px solid #2b7a69;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.guru-content {
    flex: 1;
    padding: 3rem 3rem 3rem 0;
}

.guru-content h2 {
    color: #2b7a69;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: left;
}

.guru-content h3 {
    color: #666;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: left;
    font-style: italic;
}

.guru-bio p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #444;
}

.guru-bio p:last-child {
    margin-bottom: 0;
}

.resources {
    padding: 4rem 0;
    background-color: #f7f7f7;
}

.level-index {
    display: grid;
    gap: 3rem;
    margin-top: 2rem;
}

.level-category {
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 6px solid #2b7a69;
}

.level-title {
    color: #2b7a69;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.level-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

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

.composition-entry {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.composition-entry:last-child {
    border-bottom: none;
}

.composition-entry:hover {
    background-color: rgba(43, 122, 105, 0.05);
    padding-left: 1rem;
}

.composition-entry a {
    color: #2b7a69;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    display: block;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.composition-entry a:hover {
    color: #38a089;
    text-decoration: underline;
}

/* Subsection Styles */
.subsection {
    margin-bottom: 2.5rem;
}

.subsection-title {
    color: #2b7a69;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2b7a69;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #38a089;
}

.subsection .composition-links {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 3px solid #e0e6e3;
}

.resources-overview {
    margin-top: 2rem;
}

.overview-content {
    text-align: center;
    margin-bottom: 3rem;
}

.overview-content h2 {
    color: #2b7a69;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.overview-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

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

.level-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 6px solid #2b7a69;
    transition: transform 0.3s ease;
    text-align: center;
}

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

.level-card h3 {
    margin-bottom: 0.5rem;
}

.level-card h3 a {
    color: #2b7a69;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.level-card h3 a:hover {
    color: #38a089;
}

.level-subtitle {
    color: #666;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

.level-summary {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.level-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.highlight {
    background-color: #2b7a69;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.level-content {
    padding: 4rem 0;
    background-color: #f7f7f7;
}

.level-details {
    max-width: 800px;
    margin: 0 auto;
}

.level-info {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.level-info h2 {
    color: #2b7a69;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.level-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.compositions-section {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.compositions-section h2 {
    color: #2b7a69;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Authentication Styles */
.login-section {
    padding: 4rem 0;
    background-color: #f7f7f7;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.login-form {
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 6px solid #2b7a69;
    max-width: 400px;
    width: 100%;
}

.login-form h2 {
    color: #2b7a69;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2b7a69;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background-color: #2b7a69;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #38a089;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid #f5c6cb;
}

.back-link {
    text-align: center;
    margin-top: 1.5rem;
}

.back-link a {
    color: #2b7a69;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #38a089;
}

.auth-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.auth-indicator {
    background-color: #d4edda;
    color: #155724;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #c3e6cb;
}

.logout-link {
    color: #2b7a69;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid #2b7a69;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.logout-link:hover {
    background-color: #2b7a69;
    color: white;
}

/* Composition Page Styles */
.composition-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.level-badge {
    background-color: #2b7a69;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.composition-content {
    padding: 4rem 0;
    background-color: #f7f7f7;
}

.composition-details {
    max-width: 1000px;
    margin: 0 auto;
}

.back-navigation {
    margin-bottom: 2rem;
}

.back-link {
    color: #2b7a69;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #38a089;
}

.pdf-section, .video-section, .description-section {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.pdf-section h2, .video-section h2, .description-section h2 {
    color: #2b7a69;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pdf-container {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.pdf-viewer {
    position: relative;
}

.pdf-viewer embed {
    display: block;
    border: none;
}

.pdf-fallback {
    text-align: center;
    padding: 2rem;
    margin: 0;
}

.pdf-download-link {
    display: inline-block;
    background-color: #2b7a69;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.pdf-download-link:hover {
    background-color: #38a089;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1rem;
}

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

.video-link {
    display: inline-block;
    color: #2b7a69;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
}

.video-link:hover {
    color: #38a089;
}

.description-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.description-content p {
    margin-bottom: 1.2rem;
}

.description-content p:last-child {
    margin-bottom: 0;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-instructor {
        padding: 1.5rem;
    }
    
    .guru-profile {
        flex-direction: column;
        gap: 0;
    }
    
    .guru-image {
        text-align: center;
        padding: 3rem 3rem 0 3rem;
    }
    
    .guru-photo {
        border-radius: 50%;
    }
    
    .guru-content {
        padding: 2rem 3rem 3rem 3rem;
    }
    
    .guru-content h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .guru-content h3 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .teacher-card {
        padding: 1.5rem;
    }
    
    .level-category {
        padding: 2rem;
    }
    
    .level-title {
        font-size: 2rem;
    }
    
    .level-description {
        font-size: 1.1rem;
    }
    
    .composition-entry a {
        font-size: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-instructor {
        padding: 1.2rem;
    }
    
    .contact-instructor h3 {
        font-size: 1.5rem;
    }
    
    .level-category {
        padding: 1.5rem;
    }
    
    .level-title {
        font-size: 1.8rem;
    }
    
    .composition-entry a {
        font-size: 0.95rem;
    }
    
    .guru-photo {
        width: 250px;
        height: 250px;
        border-radius: 50%;
    }
    
    .guru-image {
        text-align: center;
        padding: 2rem 2rem 0 2rem;
    }
    
    .guru-content {
        padding: 1.5rem 2rem 2rem 2rem;
    }
    
    .guru-content h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .guru-content h3 {
        font-size: 1.1rem;
        text-align: center;
    }
}

/* Gallery Styles */
.gallery-content {
    padding: 4rem 0;
    background-color: #f7f7f7;
}

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

.gallery-intro p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

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

.gallery-item {
    position: relative;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

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

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

.gallery-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-item-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Composition Authentication Styles */
.auth-section {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    border-left: 6px solid #2b7a69;
}

.auth-container h2 {
    color: #2b7a69;
    margin-bottom: 1rem;
}

.auth-form {
    max-width: 400px;
    margin: 1.5rem auto;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.auth-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form input[type="password"]:focus {
    outline: none;
    border-color: #2b7a69;
    box-shadow: 0 0 0 3px rgba(43, 122, 105, 0.1);
}

.auth-submit {
    background-color: #2b7a69;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-submit:hover {
    background-color: #1f5d54;
}

.auth-error {
    background-color: #ffebee;
    border: 1px solid #f44336;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.auth-info {
    background-color: #e8f5e8;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

/* Gallery Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.gallery-tab {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-tab:hover {
    color: #2b7a69;
    background-color: rgba(43, 122, 105, 0.05);
}

.gallery-tab.active {
    color: #2b7a69;
    border-bottom-color: #2b7a69;
    font-weight: 600;
}

.gallery-tab-content {
    display: none;
}

.gallery-tab-content.active {
    display: block;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.video-container-item {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #f8f9fa;
}

.video-container-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-item-info {
    padding: 1.5rem;
}

.video-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-item-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.video-item-link {
    display: inline-block;
    color: #2b7a69;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.video-item-link:hover {
    color: #38a089;
    text-decoration: underline;
}

.no-content {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
    font-style: italic;
    font-size: 1.1rem;
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: block;
    opacity: 1;
}

.lightbox-content {
    display: block;
    margin: 50px auto;
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #2b7a69;
}

.lightbox-caption {
    text-align: center;
    color: white;
    font-size: 1.2rem;
    padding: 1rem;
    margin-top: 1rem;
}

.lightbox-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    pointer-events: none;
}

.lightbox-prev, .lightbox-next {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    pointer-events: all;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .lightbox-content {
        margin: 20px auto;
        max-width: 95%;
        max-height: 70%;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }
    
    .lightbox-navigation {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-tab {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}