/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-cream: #FDDDC1;
    --color-lavender: #BEBAFD;
    --color-purple: #9856D1;
    --color-dark: #333333;
    --color-light: #ffffff;
    --color-gray: #cccccc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
    background-image: url('../image/picture1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: -1;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, var(--color-purple), var(--color-lavender));
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-light);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-cream), var(--color-lavender));
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    flex: 1;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-purple);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-dark);
}

.hero-image {
    flex: 1;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--color-purple);
    color: var(--color-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(152, 86, 209, 0.4);
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-purple);
}

/* Overlapping Layout */
.overlapping-section {
    position: relative;
    margin: -50px auto 0;
    background: var(--color-light);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--color-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--color-cream);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-purple);
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--color-purple);
    margin-bottom: 1rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

/* Benefits Section */
.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-cream);
    border-radius: 10px;
}

.benefit-icon {
    font-size: 2rem;
    color: var(--color-purple);
    flex-shrink: 0;
}

/* Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 2px solid var(--color-cream);
    border-radius: 10px;
    overflow: hidden;
}

.accordion-header {
    background: var(--color-lavender);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-dark);
}

.accordion-header:hover {
    background: var(--color-purple);
    color: var(--color-light);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 1.5rem;
}

.accordion-icon {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--color-cream);
    border-radius: 15px;
}

.badge {
    text-align: center;
    padding: 1rem;
}

.badge-icon {
    font-size: 3rem;
    color: var(--color-purple);
    margin-bottom: 0.5rem;
}

/* Class Schedule / Programs */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.schedule-item {
    background: var(--color-light);
    border: 2px solid var(--color-lavender);
    border-radius: 10px;
    padding: 2rem;
}

.schedule-item h4 {
    color: var(--color-purple);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--color-purple), var(--color-lavender));
    color: var(--color-light);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--color-light);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-dark);
    color: var(--color-light);
    padding: 1.5rem;
    display: none;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Placeholder Images */
img[src*="picture"] {
    background-color: var(--color-gray);
    min-height: 200px;
    display: block;
}

/* Contact Info */
.contact-info {
    background: var(--color-cream);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.contact-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    color: var(--color-purple);
    font-size: 1.2rem;
}

/* Map */
.map-container {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Thematic Text Blocks */
.thematic-block {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.thematic-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-purple), var(--color-lavender), var(--color-cream));
}

.thematic-block h3 {
    font-size: 2rem;
    color: var(--color-purple);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.thematic-block h3 i {
    font-size: 2.5rem;
}

.thematic-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.thematic-block:nth-child(odd) {
    background: linear-gradient(135deg, var(--color-cream), rgba(253, 221, 193, 0.3));
}

.thematic-block:nth-child(even) {
    background: linear-gradient(135deg, var(--color-lavender), rgba(190, 186, 253, 0.3));
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-purple);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    section {
        padding: 2rem 1rem;
    }

    .thematic-block {
        padding: 2rem 1.5rem;
    }

    .thematic-block h3 {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .thematic-block h3 i {
        font-size: 2rem;
    }

    .thematic-block p {
        font-size: 1rem;
    }
}

