/* ====== Hero Nosotros Fullscreen ====== */
.hero-nosotros {
  position: relative;
  height: 100vh; /* Ocupa toda la altura de la pantalla */
  background-image: url("../assets/img/portada_certificaciones.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px; /* Espacio por el navbar */
  overflow: hidden;
}

.hero-nosotros::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* oscurece para que se lea bien el texto */
  z-index: 1;
}

.hero-nosotros .container {
  position: relative;
  z-index: 2;
}

.hero-nosotros h1,
.hero-nosotros p {
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* ====== Sección Why Certifications Matter ====== */
.certification-badge-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.certification-badge {
  position: relative;
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.certification-badge:hover {
  transform: scale(1.1);
}

/* ====== Sección Certificaciones ====== */
.certification-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: white;
  display: flex;
  flex-direction: column;
}

.certification-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.certification-card .card-header {
  padding: 2rem 1rem;
}

.certification-card .card-body {
  flex-grow: 1;
}

.certification-card ul {
  margin-bottom: 1.5rem;
}

.certification-card ul li {
  margin-bottom: 0.5rem;
}

/* Divider */
.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #3b82f6, #10b981);
  margin: 1.5rem auto;
}

/* ====== Sección Benefits ====== */
.benefits-section {
  background-color: #0d6efd;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-icon {
  position: absolute;
  left: -30px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-content {
  padding-left: 1.5rem;
}

.timeline-item h5,
.timeline-item p {
  color: #003366;
}

/* ====== Responsive Adjustments ====== */
@media (max-width: 768px) {
  .hero-nosotros {
    height: auto;
    padding: 120px 0 80px;
  }

  .certification-badge-container {
    gap: 1rem;
  }

  .certification-badge {
    width: 80px;
    height: 80px;
  }

  .certification-card {
    margin-bottom: 20px;
  }
}
