/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #ff6a00;
    --light-gray: #f9f9f9;
    --white: #ffffff;
    --dark-gray: #333333;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --gradient-start: #ff6a00;
    --gradient-end: #ff8533;
    --shadow-light: 0 2px 10px rgba(255, 106, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(255, 106, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 70px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    color: var(--primary-orange);
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    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);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero-background-shape {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(-15deg);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.hero-layout {
    display: flex;
    align-items:center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-logo {
    width: 200px;
    max-width: 85%;
    height: auto;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s both;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #eceeea ;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.about-text {
    space-y: 2rem;
}

.about-description {
    font-size: 1.3rem;
    line-height: 2rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    text-align: justify;
}

.about-features {
    display: grid;
    gap: 1rem;
}

.feature-card {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-orange);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: .5rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.feature-text {
    color: var(--text-light);
    line-height: 1.6;
    text-align: justify;
}
.impacto-container {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #0d1117; /* fondo oscuro elegante */
  color: #f39c12; /* naranja vibrante */
  font-family: 'Courier New', monospace;
  border-radius: 10px;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
}

.impacto-typewriter {
  overflow: hidden;
  border-right: .15em solid #f39c12;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .1em;
  animation: typing 4s steps(40, end), blink-caret .75s step-end infinite;
  font-size: 1.8rem;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #f39c12 }
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    background-color: #fa9b77;
    border-color: var(--primary-orange);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
    text-align: justify;
}
.banner-verano {
  background: #fff3e0;
  padding: 60px 20px;
}

.banner-verano-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.banner-verano-img {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.banner-verano-texto {
  max-width: 500px;
  text-align: justify;
}

.banner-verano-texto h2 {
  font-size: 2rem;
  color: #d84315;
  margin-bottom: 1rem;
}

.banner-verano-texto p {
  font-size: 1.1rem;
  color: #4e342e;
  margin-bottom: 1.5rem;
}

.verano-button {
  background-color: #00bcd4;
  color: white;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.verano-button:hover {
  background-color: #0097a7;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button-large {
    background: var(--white);
    color: var(--primary-orange);
    border: none;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: var(--light-gray);
}
.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .cta-flex {
    flex-direction: column;
    text-align: center;
  }
  .cta-image img {
    max-width: 100%;
  }
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.footer-description {
    color: #cccccc;
    line-height: 1.7;
    text-align: justify;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-orange);
}

.footer-list {
    list-style: none;
}

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

.footer-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.6;
}

.footer-link:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
}

.footer-quote {
  font-style: italic;
  color: #f39c12; /* Naranja vibrante */
  font-size: 1.1rem;
  text-align: center;
  margin-top: 2rem;
  background-color: #0d1117; /* Fondo oscuro del footer */
  padding: 1rem 2rem;
  border-left: 4px solid #f39c12;
  border-radius: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.3);
}

.quote-author {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-copyright {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .service-item,
    .feature-card {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Ensure sufficient color contrast */
.nav-link:focus {
    background: rgba(255, 106, 0, 0.1);
    border-radius: 4px;
    padding: 4px 8px;
    margin: -4px -8px;
}

/* Verano Styles */
.verano-hero {
  padding: 80px 20px;
  background: #ffe7c2;
}

.verano-hero-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.verano-hero-img {
  width: 300px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.verano-hero-texto {
  max-width: 500px;
  text-align: left;
}

.verano-hero-texto h2 {
  font-size: 2rem;
  color: #d84315;
}

.verano-button {
  background-color: #00bcd4;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

.verano-button:hover {
  background-color: #0097a7;
}

.verano-detalles, .verano-descarga, .verano-contacto {
  padding: 60px 20px;
  text-align: justify;
}

.verano-detalles ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: justify;
}

.verano-detalles li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #333;
}
.cursos-verano {
  padding: 80px 20px;
  background-color: #fef7ec;
}

.seccion-titulo {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  color: #ff6f00;
}

.categoria {
  margin-bottom: 3rem;
}

.categoria h3 {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 1rem;
}

.cursos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.curso-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  padding: 1.5rem;
  max-width: 350px;
  text-align: left;
  flex: 1;
}

.curso-card h4 {
  color: #d84315;
  margin-bottom: 0.5rem;
}

.boton {
  display: inline-block;
  margin-top: 1rem;
  background: #00bcd4;
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* ======= DOCENTE MAKER PAGE ======= */

.curso-hero {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--white);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.curso-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  justify-content: center;
}

.curso-img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.curso-texto {
  max-width: 600px;
  color: var(--white);
}

.curso-texto h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.curso-texto p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.curso-texto ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.curso-texto li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.curso-texto li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  top: 0;
}

/* Botón reutilizable */
.verano-button {
  display: inline-block;
  background-color: var(--primary-orange);
  color: #fff;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.verano-button:hover {
  background-color: #e85c00;
}

/* Chatbot Styles */
/* Estilos del botón flotante */
#chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
}

/* Botón flotante */
#chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Imagen dentro del botón */
#chatbot-toggle img {
  width: 60%;
  height: 60%;
  border-radius: 50%;
  object-fit: cover;
}

/* Efecto hover */
#chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

/* Ventana del chatbot */
#chatbot {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  height: 400px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  z-index: 1000;
}

/* Header del chatbot */
#chatbot-header {
  background: var(--primary-orange);
  color: white;
  padding: 12px 15px;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  text-align: center;
}

/* Área de mensajes */
#chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f9f9f9;
}

/* Estilos de mensajes */
.message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 15px;
  max-width: 80%;
  word-wrap: break-word;
}

.message.user {
  background: var(--primary-orange);
  color: white;
  margin-left: auto;
  text-align: right;
}

.message.bot {
  background: #e5e5ea;
  color: #333;
  margin-right: auto;
}

/* Área de entrada */
#chatbot-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
  border-radius: 0 0 10px 10px;
  background: white;
}

/* Campo de entrada de texto */
#user-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 12px;
  margin-right: 8px;
  outline: none;
  font-size: 14px;
}

#user-input:focus {
  border-color: var(--primary-orange);
}

/* Botón enviar */
#send-btn {
  background: var(--primary-orange);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
}

#send-btn:hover {
  background: #e55a00;
}

