:root {
    --primary-color: #6A1B9A;
    --secondary-color: #EC407A;
    --text-color: #333333;
    --light-color: #ffffff;
    --dark-color: #222222;
    --gray-color: #f5f5f5;
    --shadow-color: rgba(106, 27, 154, 0.2);
    --hover-shadow: rgba(106, 27, 154, 0.4);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --border-radius: 15px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Abril Fatface', serif;
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 {
    font-size: 54px;
    font-weight: 700;
}

h2 {
    font-size: 42px;
    font-weight: 600;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-primary, .nav-secondary {
    display: flex;
}

.nav-primary {
    margin-right: 20px;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover:before {
    width: 100%;
}

.contact-btn {
    background: var(--gradient-primary);
    color: var(--light-color) !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 2px 0;
    border-radius: 3px;
    transition: var(--transition);
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 75px;
}

.hero-layers {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    padding: 20px;
    color: var(--light-color);
    transform: translateY(-20px);
}

.hero-text h1 {
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-text p {
    font-size: 22px;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--light-color);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--light-color);
}

.hero-decoration {
    z-index: 1;
}

.hero-shape {
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 64, 122, 0.2) 0%, rgba(106, 27, 154, 0.2) 70%, rgba(106, 27, 154, 0) 100%);
    border-radius: 50%;
}

.section-divider {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.section-divider svg {
    position: absolute;
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
    opacity: 0.15;
}

.advantages {
    padding: 80px 0;
    background-color: var(--light-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--hover-shadow);
}

.advantage-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.advantage-card:hover:before {
    opacity: 0.05;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: var(--primary-color);
}

.schedule {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.calendar-wrapper {
    background: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.calendar-header {
    background: var(--gradient-primary);
    color: var(--light-color);
    padding: 20px;
    text-align: center;
}

.current-month {
    font-size: 24px;
    font-weight: 600;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    background-color: rgba(106, 27, 154, 0.1);
}

.day-column {
    background-color: var(--light-color);
    padding: 20px 15px;
}

.day-header {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(106, 27, 154, 0.1);
}

.class-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(106, 27, 154, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.class-item:hover {
    background-color: rgba(106, 27, 154, 0.1);
    transform: translateY(-3px);
}

.class-time {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.class-name {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.class-instructor {
    display: block;
    font-size: 14px;
    color: #777;
}

.testimonials {
    padding: 80px 0;
    background-color: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: var(--transition);
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--hover-shadow);
}

.testimonial-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.7;
}

.team {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--hover-shadow);
}

.member-photo {
    height: 300px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.member-position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.faq {
    padding: 80px 0;
    background-color: var(--light-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--hover-shadow);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    background-color: rgba(106, 27, 154, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 20px;
    color: var(--primary-color);
}

.faq-answer {
    padding: 20px;
    background-color: var(--light-color);
}

.faq-answer p {
    margin: 0;
}

.contact {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.contact-info {
    padding: 40px;
    background: var(--gradient-primary);
    color: var(--light-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-email {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.contact-email span {
    margin-right: 10px;
    font-weight: 600;
}

.contact-email a {
    color: var(--light-color);
    text-decoration: underline;
}

.contact-form-wrapper {
    padding: 40px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-color);
}

.form-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.submit-btn {
    padding: 12px 25px;
    background: var(--gradient-primary);
    color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.footer {
    background-color: var(--dark-color);
    color: #aaa;
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-box h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-about p {
    line-height: 1.8;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-links ul,
.footer-policy ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-policy a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-policy a:hover {
    color: var(--secondary-color);
}

.newsletter-form .form-group {
    display: flex;
    flex-direction: row;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Raleway', sans-serif;
}

.newsletter-form button {
    padding: 0 20px;
    background: var(--secondary-color);
    color: var(--light-color);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 36px;
    }

    .hero-text {
        max-width: 700px;
    }
    
    .schedule-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 24px;
    }

    .hero {
        height: auto;
    }

    .hero-text {
        max-width: 600px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--light-color);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 900;
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .nav-primary, .nav-secondary {
        flex-direction: column;
        width: 100%;
    }

    .nav-primary {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .nav-item {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .contact-btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .cta-button {
        font-size: 16px;
        padding: 12px 25px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid, .team-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper, .contact-info {
        padding: 30px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 375px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    .hero-text {
        padding: 10px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .cta-button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .advantage-card, .testimonial-card, .team-member, .faq-item {
        padding: 20px;
    }

    .section-divider {
        height: 60px;
    }

    .form-group input, .form-group textarea, .form-group button {
        padding: 10px;
    }
}