:root {
  --primary: #0a3d62;
  --secondary: #1e90ff;
  --bg: #f4f8fb;
  --dark: #0f172a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--dark);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
/* HEADER */
.header {
  background: rgba(10,61,98,0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  color: white;
  font-weight: 600;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.menu li {
  margin: 5px 10px;
}

.menu a {
  color: white;
  text-decoration: none;
  position: relative;
}

.menu a::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--secondary);
  position: absolute;
  left: 0;
  bottom: -3px;
  transition: 0.3s;
}

.menu a:hover::after {
  width: 100%;
}
/* HERO */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(10,61,98,0.7), rgba(30,144,255,0.6)),
              url('https://source.unsplash.com/1600x900/?technology,future');
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  animation: fadeUp 1s ease;
}

.hero p {
  margin-bottom: 20px;
}

.btn {
  padding: 12px 25px;
  background: var(--secondary);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* ABOUT */
.about {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  gap: 20px;
}

.about img {
  width: 100%;
  border-radius: 10px;
}
/* COURSES */
.courses {
  padding: 60px 0;
  text-align: center;
}

.cards {
  display: grid;
  gap: 20px;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
}

.card img {
  width: 100%;
}

.card h3 {
  padding: 15px;
}
/* CTA */
.cta {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
  padding: 60px 20px;
}
/* FOOTER */
.footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 20px;
}
* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* RESPONSIVO */
@media(min-width: 768px) {
  .hero h2 {
    font-size: 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width: 768px) {
  .header-flex {
    flex-direction: column;
  }

  .menu {
    justify-content: center;
  }
}