/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #000000;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0;
    width: 100%;
    border: none;
    min-height: 80px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8a2be2;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.mobile-nav-list li {
    text-align: center;
    margin: 0;
}

.mobile-nav-link {
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 16px;
    padding: 15px 20px;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #8a2be2;
    background-color: rgba(138, 43, 226, 0.1);
}


/* Main content */
.main-content {
    margin-top: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #8a2be2 0%, #ff69b4 100%);
    padding: 120px 0 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="wave" x="0" y="0" width="100" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 Q25,0 50,10 T100,10 L100,20 L0,20 Z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23wave)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-highlight {
    background-color: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 5px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #32cd32;
    color: #fff;
}

.btn-secondary {
    background-color: #ff69b4;
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* About Section */
.about {
    background-color: #000;
    padding: 100px 0;
    color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #fff;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #fff;
}

.about-text h3 {
    color: #fff;
    margin-bottom: 15px;
}

.about-text ul {
    color: #fff;
}

.about-text li {
    color: #fff;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #8a2be2;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 10px;
    color: #fff;
}

/* Courses Section */
.courses {
    background-color: #ff69b4;
    padding: 100px 0;
    color: #000;
}

.courses-header {
    text-align: center;
    margin-bottom: 60px;
}

.courses-header h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #000;
}

.courses-header p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #000;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-image {
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 30px;
}

.course-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.course-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-link {
    color: #8a2be2;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.course-link:hover {
    color: #ff69b4;
}

/* Values Section */
.values {
    background-color: #f8f8f8;
    padding: 100px 0;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #000;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: #8a2be2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.value-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #000;
}

.value-description {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #8a2be2 0%, #ff69b4 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    position: relative;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    padding: 60px 0 30px;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

.footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin-bottom: 30px;
}

.footer-nav-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav-link:hover {
    color: #8a2be2;
}


.footer-copyright {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
}

.footer-character {
    text-align: right;
}

.footer-character-img {
    max-width: 200px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        margin-top: 0;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-content {
        justify-content: space-between;
        align-items: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-character {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        margin-top: 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about, .courses, .values, .cta {
        padding: 60px 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    
    .footer-nav-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
}

@media (max-width: 320px) {
    .hero {
        padding: 70px 0 50px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .course-content {
        padding: 20px;
    }
    
    .value-item {
        padding: 20px;
    }
}

/* Universal text color fixes for better contrast */
.courses h1, .courses h2, .courses h3, .courses h4, .courses h5, .courses h6 {
    color: #000 !important;
}

.courses p, .courses span, .courses div {
    color: #000 !important;
}

.values h1, .values h2, .values h3, .values h4, .values h5, .values h6 {
    color: #000 !important;
}

.values p, .values span, .values div {
    color: #333 !important;
}

.about h1, .about h2, .about h3, .about h4, .about h5, .about h6 {
    color: #fff !important;
}

.about p, .about span, .about div {
    color: #fff !important;
}

.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
    color: #fff !important;
}

.footer p, .footer span, .footer div {
    color: #fff !important;
}

/* FAQ specific fixes */
.faq-item h3 {
    color: #8a2be2 !important;
}

.faq-item p {
    color: #fff !important;
}
