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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

/* Header styles */
header {
  background: linear-gradient(to right, #2563eb, #1d4ed8);
  color: white;
  padding: 2rem 0;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

.nav-links a:hover {
  color: #bfdbfe;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1rem;
  text-align: left;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #2563eb;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
}

.cta-button:hover {
  background: #f8fafc;
}

/* Courses section */
#cursos {
  padding: 5rem 0;
  background: #f9fafb;
}

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

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.course-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-card svg {
  width: 3rem;
  height: 3rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.course-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.course-card .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
}

/* Professor section */
#professor {
  padding: 5rem 0;
}

.professor-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.professor-image {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  object-fit: cover;
}

.professor-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.professor-info ul {
  list-style: none;
}

.professor-info li {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: #111827;
  color: white;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-info p {
  color: #9ca3af;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* Responsive design */
@media (max-width: 768px) {
  .professor-content {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-links {
    display: none;
  }
}