/* Flat Design Music School - Mobile First */

:root {
    --primary-color: #304E52;
    --secondary-color: #68837E;
    --tertiary-color: #98A197;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-light: #f8f9fa;
    --gray-dark: #6c757d;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 320px;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-brand i {
    color: var(--tertiary-color);
    margin-right: 0.5rem;
}

.nav-link {
    color: var(--white) !important;
    margin: 0 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--tertiary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--tertiary-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: var(--tertiary-color);
    text-decoration: underline;
}

/* Hero Section - Fragmented/Collage */
.hero-collage {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-box {
    background: rgba(255,255,255,0.95);
    padding: 2.5rem;
    border-radius: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-text-box h1 {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text-box .lead {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero Image Collage - Overlapping Layout */
.hero-image-collage {
    position: relative;
    height: 500px;
}

.collage-item {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #999;
}

.collage-1 {
    width: 250px;
    height: 250px;
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(-5deg);
}

.collage-2 {
    width: 200px;
    height: 280px;
    top: 100px;
    right: 50px;
    z-index: 2;
    transform: rotate(8deg);
}

.collage-3 {
    width: 220px;
    height: 220px;
    bottom: 20px;
    left: 100px;
    z-index: 1;
    transform: rotate(-3deg);
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Section Titles */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Programs Section */
.programs-section {
    background-color: var(--gray-light);
}

.program-card {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.program-icon {
    width: 80px;
    height: 80px;
    background: var(--tertiary-color);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Trust Badges */
.trust-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.trust-badge i {
    font-size: 3rem;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

.trust-badge h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* About Section */
.about-features .feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.about-features .feature-item i {
    font-size: 1.5rem;
    color: var(--tertiary-color);
    flex-shrink: 0;
}

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

/* Benefits Section */
.benefit-card {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
    border: 2px solid var(--tertiary-color);
}

.benefit-card:hover {
    background: var(--primary-color);
    color: var(--white);
}

.benefit-card:hover h3,
.benefit-card:hover i {
    color: var(--white);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

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

/* Benefit Item with Icon Left */
.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-item i {
    font-size: 1.8rem;
    color: var(--tertiary-color);
    flex-shrink: 0;
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.accordion-button {
    background-color: var(--tertiary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 0;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background-color: var(--white);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Instrument Detail Cards */
.instrument-detail-card {
    padding: 2rem;
    height: 100%;
}

.instrument-icon {
    width: 70px;
    height: 70px;
    background: var(--tertiary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.instrument-icon i {
    font-size: 2rem;
    color: var(--white);
}

.instrument-detail-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list i {
    color: var(--tertiary-color);
    font-size: 1.2rem;
}

/* Schedule Table */
.schedule-table {
    background: var(--white);
}

.schedule-table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.schedule-table th {
    padding: 1rem;
    font-weight: 600;
}

.schedule-table td {
    padding: 0.75rem 1rem;
}

.schedule-table tbody tr:hover {
    background-color: rgba(152, 161, 151, 0.1);
}

/* Masters/Instructors Section */
.master-card {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

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

.master-icon {
    width: 100px;
    height: 100px;
    background: var(--tertiary-color);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.master-icon i {
    font-size: 3.5rem;
    color: var(--white);
}

.master-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.master-card .title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    border: 2px solid var(--tertiary-color);
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    transform: scale(1.05);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.duration {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--tertiary-color);
}

/* Vocal/Theory Sections */
.curriculum-card {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.curriculum-card:hover {
    background: var(--primary-color);
    color: var(--white);
}

.curriculum-card:hover i,
.curriculum-card:hover h3 {
    color: var(--white);
}

.curriculum-card i {
    font-size: 2.5rem;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

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

/* Genre Cards */
.genre-card {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    height: 100%;
    border-left: 4px solid var(--tertiary-color);
    transition: all 0.3s;
}

.genre-card:hover {
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.genre-icon {
    width: 60px;
    height: 60px;
    background: var(--tertiary-color);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.genre-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

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

/* Theory Cards */
.theory-card {
    background: var(--white);
    padding: 2rem;
    height: 100%;
    border-top: 4px solid var(--tertiary-color);
}

.theory-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

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

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

.theory-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--tertiary-color);
}

/* Exam Prep Feature */
.prep-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.prep-feature i {
    font-size: 2rem;
    color: var(--tertiary-color);
    flex-shrink: 0;
}

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

/* Success Stories */
.success-card {
    background: var(--white);
    padding: 2rem;
    height: 100%;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quote-icon {
    font-size: 3rem;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

.student-name {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 1rem;
}

/* Custom Lists */
.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.custom-list li::before {
    content: '♪';
    position: absolute;
    left: 0;
    color: var(--tertiary-color);
    font-size: 1.2rem;
}

/* Level Cards */
.level-card {
    background: var(--white);
    padding: 2rem;
    height: 100%;
    text-align: center;
    border: 2px solid var(--tertiary-color);
}

.level-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.level-card h3 i {
    color: var(--tertiary-color);
}

.level-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1.5rem 0;
}

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

.level-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tertiary-color);
    font-weight: 700;
}

/* Contact Section */
.contact-info-card {
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.contact-item i {
    font-size: 2rem;
    color: var(--tertiary-color);
    flex-shrink: 0;
}

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

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: var(--primary-color);
}

.form-control,
.form-select {
    border: 2px solid var(--tertiary-color);
    border-radius: 0;
    padding: 0.75rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(48, 78, 82, 0.15);
}

/* Map Container */
.map-container {
    margin-top: 2rem;
}

/* FAQ Card */
.faq-card {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-card i {
    color: var(--tertiary-color);
    margin-right: 0.5rem;
}

/* Success Page */
.success-content {
    background: var(--white);
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--tertiary-color);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon i {
    font-size: 3.5rem;
    color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer a {
    color: var(--tertiary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--white);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer i {
    margin-right: 0.5rem;
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.legal-content h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.legal-content ul {
    margin-bottom: 1.5rem;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .hero-collage {
        min-height: auto;
        padding: 100px 0 40px;
    }
    
    .hero-image-collage {
        height: 400px;
        margin-top: 2rem;
    }
    
    .collage-1 {
        width: 200px;
        height: 200px;
    }
    
    .collage-2 {
        width: 180px;
        height: 240px;
    }
    
    .collage-3 {
        width: 180px;
        height: 180px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .hero-text-box {
        padding: 1.5rem;
    }
    
    .hero-text-box h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-image-collage {
        height: 350px;
    }
    
    .collage-1 {
        width: 150px;
        height: 150px;
        left: 10px;
    }
    
    .collage-2 {
        width: 140px;
        height: 180px;
        right: 10px;
        top: 80px;
    }
    
    .collage-3 {
        width: 140px;
        height: 140px;
        left: 50px;
        bottom: 10px;
    }
    
    .program-icon,
    .master-icon {
        width: 70px;
        height: 70px;
    }
    
    .program-icon i,
    .master-icon i {
        font-size: 2rem;
    }
    
    .trust-badge i {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Responsive - Small Mobile (320px) */
@media (max-width: 375px) {
    .hero-text-box h1 {
        font-size: 1.75rem;
    }
    
    .hero-text-box .lead {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .program-card,
    .benefit-card,
    .curriculum-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}