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

:root {
    --primary: #1a1a1a;
    --accent: #d4b98c;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --transition: cubic-bezier(0.76, 0, 0.24, 1);
}

html, body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--primary);
    line-height: 1.6;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2.5rem;
    mix-blend-mode: difference;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.register-btn {
    background: var(--accent);
    color: var(--primary) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    opacity: 1 !important;
    font-weight: 600;
}

.register-btn:hover {
    background: #c4a87c;
}

/* Hero Section */
.hero {
    height: calc(100vh + 48px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -48px;
}

/* Half-height hero for individual register pages */
.hero-half {
    height: 60vh;
    margin-bottom: 0;
    margin-top: 100px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    opacity: 0.9;
    font-weight: 300;
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Registration Content */
.registration-content {
    padding: 4rem 0;
}

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

.category-header {
    text-align: center;
    margin-bottom: 4rem;
}

.category-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.category-header p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Instructions Grid */
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.instruction-card {
    background: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.instruction-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.instruction-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.instruction-card p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.instruction-card ul {
    list-style: none;
    padding-left: 0;
}

.instruction-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.instruction-card li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.deadline-info, .payment-info {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Application Form Section */
.application-form-section {
    text-align: center;
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 4rem;
}

.application-form-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.application-form-section p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.application-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.application-btn:hover {
    background: #c4a87c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 185, 140, 0.3);
}

/* Additional Info Tabs */
.additional-info {
    margin-top: 4rem;
}

.info-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: 2px solid #e9ecef;
    color: var(--gray);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tab-btn.active,
.tab-btn:hover {
    border-color: var(--accent);
    color: var(--primary);
    background: rgba(212, 185, 140, 0.1);
}

.tab-content {
    display: none;
    background: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
}

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

.tab-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item h4 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Fees Table */
.fees-table {
    margin-bottom: 2rem;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.fee-row:last-child {
    border-bottom: none;
}

.fee-row .category {
    font-weight: 600;
    color: var(--primary);
}

.fee-row .price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.125rem;
}

.fee-includes {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.fee-includes h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.fee-includes ul {
    list-style: none;
    padding-left: 0;
}

.fee-includes li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.fee-includes li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Repertoire Categories */
.repertoire-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.repertoire-category {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.repertoire-category h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.repertoire-category ul {
    list-style: none;
    padding-left: 0;
}

.repertoire-category li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.repertoire-category li::before {
    content: '♪';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.faculty-member {
    text-align: center;
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.faculty-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.faculty-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 1rem;
    border: 4px solid var(--accent);
}

.faculty-member h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.faculty-member p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.faculty-credentials {
    font-size: 0.875rem;
    color: var(--accent);
    font-style: italic;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:hover {
    color: var(--accent);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .hero {
        height: 50vh;
        margin-top: 80px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .instructions-grid {
        grid-template-columns: 1fr;
    }
    
    .info-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
        text-align: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .faculty-grid {
        grid-template-columns: 1fr;
    }
    
    .repertoire-categories {
        grid-template-columns: 1fr;
    }
}

/* Faculty Profile Styles */
.faculty-profile {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.profile-image-large {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.profile-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.credentials {
    font-size: 1.125rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.profile-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight {
    background: var(--light-gray);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.profile-content {
    display: grid;
    gap: 3rem;
}

.bio-section h3,
.achievements-section h3,
.masterclass-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.bio-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.achievement-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
}

.achievement-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.achievement-item ul {
    list-style: none;
    padding-left: 0;
}

.achievement-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
    font-size: 0.95rem;
}

.achievement-item li::before {
    content: '♪';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.highlight-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
}

.highlight-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.highlight-item p {
    color: var(--gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .profile-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .profile-image-large {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .masterclass-highlights {
        grid-template-columns: 1fr;
    }
}

/* Registration System Styles */
.registration-system {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 4rem;
}

.auth-tabs {
    display: flex;
    background: var(--light-gray);
}

.auth-tab {
    flex: 1;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.auth-form {
    display: none;
    padding: 3rem;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.auth-form p {
    color: var(--gray);
    margin-bottom: 2rem;
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group small {
    color: var(--gray);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.student-fields {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    font-size: 0.75rem;
}

.submit-btn {
    width: 100%;
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #c4a87c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 185, 140, 0.3);
}

.form-links {
    text-align: center;
    margin-top: 1.5rem;
}

.forgot-password {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.registration-benefits {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
}

.registration-benefits h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
}

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

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-item ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.benefit-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.benefit-item li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-form {
        padding: 2rem;
    }
    
    .registration-benefits {
        padding: 2rem 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 40vh;
    }
    
    .instruction-card,
    .tab-content,
    .application-form-section {
        padding: 1.5rem;
    }
    
    .category-header h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .profile-image-large {
        width: 200px;
        height: 200px;
    }
    
    .profile-info h2 {
        font-size: 2rem;
    }
    
    .auth-form {
        padding: 1.5rem;
    }
    
    .auth-tab {
        padding: 1rem;
        font-size: 0.9rem;
    }
}
