/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

/* ===== BODY ===== */
body {
  background-color: #fff;
  color: #111;
  scroll-behavior: smooth;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0,0,0,0.5);
  border-radius: 30px;
  z-index: 1000;
}

.header.scrolled {
  background-color: rgba(0,0,0,0.9);
}

.header .logo {
  width: 120px;
}

.nav a {
  margin: 0 25px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  padding: 8px 15px;
  border-radius: 20px;
  transition: background 0.3s;
}

.nav a:hover {
  background-color: rgba(255,255,255,0.2);
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  background-image: url('../img/hero.png'); /* Ruta corregida */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4); /* capa oscura para que texto resalte */
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.hero-content h1 {
  font-size: 90px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-content p {
  font-size: 32px;
  margin: 20px 0;
}

.btn-whatsapp {
  padding: 20px 45px;
  background-color: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 22px;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 2;
  display: inline-block;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* ===== NOSOTROS ===== */
.nosotros {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 50px;
  gap: 30px;
}

.texto-nosotros h2 {
  font-size: 52px;
  margin-bottom: 30px;
}

.texto-nosotros p {
  font-size: 22px;
  line-height: 1.8;
}

.imagen-nosotros img {
  width: 500px;
  border-radius: 20px;
}

/* ===== MVV ===== */
.mvv {
  display: flex;
  justify-content: space-around;
  padding: 50px;
  background-color: #111;
  color: #fff;
  flex-wrap: wrap;
  gap: 20px;
}

.mvv-item {
  text-align: center;
  max-width: 250px;
  transition: transform 0.3s;
}

.mvv-item:hover {
  transform: translateY(-10px);
}

.mvv-item img {
  width: 100px;
  margin-bottom: 15px;
}

.mvv-item h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

/* ===== DISCIPLINAS ===== */
.disciplinas-section {
  background-color: #111;
  color: #fff;
  padding: 50px;
}

.disciplinas-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 40px;
}

.grid-disciplinas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.disciplina {
  text-align: center;
  max-width: 200px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.disciplina:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.disciplina img {
  width: 150px;
  border-radius: 10px;
}

.disciplina h3 {
  margin-top: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

/* ===== CONTACTO ===== */
.contacto {
  background-color: #fff;
  color: #111;
  padding: 50px;
  text-align: center;
}

.contacto-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 50px;
}

.contacto-redes, .contacto-sedes {
  text-align: center;
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 15px;
}

.contacto-redes h2, .contacto-sedes h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.redes, .sedes {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.red-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
}

.red-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  border-radius: 10px;
  background-color: #fff; /* resalta en fondos claros */
  padding: 10px;
}

.red-item a {
  text-decoration: none;
  color: #111;
  font-weight: bold;
  transition: color 0.3s;
  text-align: center;
}

.red-item a:hover {
  color: #25D366;
}

.sedes a {
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  color: #111;
  transition: color 0.3s;
}

.sedes a:hover {
  color: #25D366;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}
