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

:root {
    --primary-color: #624C43;
    --secondary-color: #9F5456;
    --accent-color: #B47250;
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 20px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
    font-size: 15px;
    line-height: 1.6;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-content a:hover {
    color: var(--text-light);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-accept,
.btn-decline {
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-accept {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-accept:hover {
    background-color: var(--secondary-color);
}

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

.btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .btn-accept,
    .btn-decline {
        flex: 1;
        min-width: 120px;
    }
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.navbar-toggler {
    background-color: var(--accent-color);
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    margin-top: 70px;
}

.carousel-item {
    height: 600px;
    background-color: var(--bg-light);
}

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

.carousel-caption {
    background-color: rgba(98, 76, 67, 0.85);
    padding: 30px;
    bottom: 50px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: 600px;
}

.carousel-caption h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
}

.carousel-caption p {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-link:hover {
    color: var(--accent-color);
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.content-section {
    background-color: #ffffff;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-section h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section img {
    border-radius: 8px;
    margin-bottom: 20px;
}

.alt-bg {
    background-color: var(--bg-light);
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-item i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 16px;
    color: var(--text-dark);
}

/* Programs Section */
.programs-section {
    background-color: #ffffff;
}

.program-card {
    background-color: var(--bg-light);
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

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

.program-card i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.program-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.program-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Advantages Section */
.advantages-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.advantages-section .section-title {
    color: var(--text-light);
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-item i {
    font-size: 42px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.advantage-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.advantage-item p {
    font-size: 14px;
    line-height: 1.6;
}

/* Trust Section */
.trust-section {
    background-color: var(--bg-light);
    padding: 50px 0;
}

.trust-badge {
    text-align: center;
    padding: 20px;
}

.trust-badge i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.trust-badge p {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* Masters Section */
.masters-section {
    background-color: var(--bg-light);
}

.master-card {
    background-color: #ffffff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
}

.master-card i {
    font-size: 80px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.master-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.master-card .master-title {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.master-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* Schedule Section */
.schedule-section {
    background-color: #ffffff;
}

.schedule-table {
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 20px;
    border-bottom: 2px solid #ffffff;
    gap: 20px;
}

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

.schedule-time {
    font-weight: 700;
    color: var(--primary-color);
}

.schedule-class {
    font-weight: 600;
    color: var(--text-dark);
}

.schedule-duration {
    color: var(--secondary-color);
    text-align: right;
}

/* Disciplines Section */
.disciplines-section {
    background-color: var(--bg-light);
}

.discipline-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--secondary-color);
}

.discipline-card i {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.discipline-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.discipline-card p {
    font-size: 15px;
    line-height: 1.6;
}

/* Class Descriptions */
.class-descriptions {
    background-color: #ffffff;
}

.description-box {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.description-box h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.description-box i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.description-box p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Accordion */
.accordion-section {
    background-color: var(--bg-light);
}

.accordion-item {
    background-color: #ffffff;
    border: none;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

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

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 20px;
    font-size: 15px;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-control {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(159, 84, 86, 0.1);
}

.contact-info {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 32px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.info-item a {
    color: var(--secondary-color);
}

.info-item a:hover {
    color: var(--accent-color);
}

/* Map Section */
.map-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Success Page */
.success-content {
    text-align: center;
    padding: 100px 20px;
    min-height: 60vh;
}

.success-icon {
    font-size: 80px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.success-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.success-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Policy Pages */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.policy-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 12px;
}

.policy-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.policy-content li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer i {
    color: var(--accent-color);
    margin-right: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-legal {
    margin-bottom: 15px;
}

.footer-legal a {
    color: var(--text-light);
    margin: 0 15px;
    font-size: 14px;
}

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

/* Mobile Responsive */
@media (max-width: 991px) {
    .navbar-menu {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 28px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .schedule-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .schedule-duration {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 20px;
        bottom: 20px;
    }
    
    .carousel-caption h1 {
        font-size: 24px;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .carousel-caption h1 {
        font-size: 20px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
}