* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background-color: #fff;
}

.logo {
  color: #e86e5a;
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #8cc0de;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #e86e5a;
}

/* Hero Section */
.hero {
  background-color: #f0f3f0;
  padding: 60px 10%;
  border-radius: 15px;
  margin: 20px 10%;
  text-align: center;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 20px;
  color: #1a2639;
  line-height: 1.2;
}

.hero h1 .highlight {
  color: #e86e5a;
}

.hero p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn-primary {
  background-color: #e86e5a;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #d85a45;
}

.btn-secondary {
  background-color: transparent;
  color: #8cc0de;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #8cc0de;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #8cc0de;
  color: white;
}

/* Cursos Section */
.cursos {
  padding: 60px 10%;
  text-align: center;
}

.cursos h2 {
  font-size: 32px;
  color: #8cc0de;
  margin-bottom: 15px;
}

.cursos p {
  color: #666;
  margin-bottom: 40px;
}

.cursos-container {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.curso-card {
  background-color: #f0f3f0;
  border-radius: 10px;
  padding: 25px;
  flex: 1;
  min-width: 300px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  color: white;
  margin-bottom: 15px;
}

.tag.basico {
  background-color: #e86e5a;
}

.tag.avanzado {
  background-color: #e86e5a;
}

.tag.certificado {
  background-color: #e86e5a;
}

.curso-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1a2639;
}

.curso-info {
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
}

.explore-btn {
  display: inline-block;
  background-color: #8cc0de;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.explore-btn:hover {
  background-color: #6ba8cc;
}

/* Testimonials */
.testimonials {
  padding: 60px 10%;
  text-align: center;
}

.testimonials h2 {
  font-size: 32px;
  color: #8cc0de;
  margin-bottom: 40px;
}

.testimonials-container {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.testimonial-card {
  background-color: #f0f3f0;
  border-radius: 10px;
  padding: 25px;
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.testimonial-card.blue {
  background-color: #e6f2f8;
}

.testimonial-card.pink {
  background-color: #fae9e7;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  color: #333;
}

.testimonial-author {
  font-weight: 600;
  color: #1a2639;
}

.testimonial-position {
  color: #666;
  font-size: 14px;
}

/* About Section */
.about {
  padding: 60px 10%;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content h2 {
  font-size: 28px;
  color: #8cc0de;
  margin-bottom: 20px;
}

.about-content p {
  color: #666;
  margin-bottom: 15px;
}

/* Resources Section */
.resources {
  padding: 60px 10%;
  text-align: center;
}

.resources h2 {
  font-size: 28px;
  color: #8cc0de;
  margin-bottom: 15px;
}

.resources p {
  color: #666;
  margin-bottom: 40px;
}

.resources-container {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.resource-card {
  background-color: #f0f3f0;
  border-radius: 10px;
  padding: 25px;
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.resource-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 15px;
  font-weight: bold;
}

.resource-icon.red {
  background-color: #e86e5a;
  color: white;
}

.resource-icon.blue {
  background-color: #8cc0de;
  color: white;
}

.resource-icon.green {
  background-color: #6b9080;
  color: white;
}

.resource-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1a2639;
}

.resource-card p {
  font-size: 14px;
  margin-bottom: 15px;
}

.resource-link {
  color: #8cc0de;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  transition: color 0.3s;
}

.resource-link:hover {
  color: #e86e5a;
}

.resources-more {
  display: inline-block;
  background-color: #8cc0de;
  color: white;
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 30px;
  transition: background-color 0.3s;
  font-size: 14px;
}

.resources-more:hover {
  background-color: #6ba8cc;
}

/* Contact Section */
.contact {
  padding: 60px 10%;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  font-size: 24px;
  color: #8cc0de;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #666;
}

.contact-detail i {
  margin-right: 10px;
  color: #8cc0de;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  font-size: 18px;
  color: #1a2639;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #666;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.send-btn {
  width: 100%;
  background-color: #e86e5a;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.send-btn:hover {
  background-color: #d85a45;
}

/* Pro Section */
.pro-section {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  margin: 20px 10%;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pro-section h2 {
  font-size: 24px;
  color: #8cc0de;
  margin-bottom: 15px;
}

.pro-section p {
  color: #666;
  margin-bottom: 30px;
}

.pro-features {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.pro-feature {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  background-color: #f0f3f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon.access {
  color: #333;
}

.feature-icon.tutoring {
  color: #8cc0de;
}

.feature-icon.priority {
  color: #e86e5a;
}

.pro-feature h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #1a2639;
}

.pro-feature p {
  font-size: 14px;
  color: #666;
}

/* Footer */
footer {
  background-color: #f9f9f9;
  padding: 40px 10% 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  color: #1a2639;
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-col p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

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

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

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #e86e5a;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: #999;
  font-size: 14px;
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.popup h3 {
  color: #e86e5a;
  margin-bottom: 15px;
}

.popup p {
  color: #333;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 20px 5%;
  }

  nav ul {
    margin-top: 20px;
  }

  nav ul li {
    margin-left: 15px;
    margin-right: 15px;
  }

  .hero,
  .cursos,
  .testimonials,
  .about,
  .resources,
  .contact,
  .pro-section {
    padding: 40px 5%;
  }

  .hero {
    margin: 20px 5%;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
  }

  .pro-section {
    margin: 20px 5%;
  }
}
