/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  padding-top: 70px;
  background-color: #f5f5f5;
  line-height: 1.6;
  color: #333;
}

/* Navbar */
.navbar {
  background-color: #000;
}

.navbar-brand,
.navbar-nav .nav-link {
  color: #ffc107 !important;
  font-weight: 500;
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler-icon {
  background-color: #ffc107;
}

.hero {
  background: url('img/fondoCATMINER.jpg') no-repeat center center/cover;
  min-height: 100vh;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  max-width: 700px;
  margin: auto;
}

.hero-content h1 {
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* Botón amarillo */
.btn-yellow {
  background-color: #ffc107;
  border: none;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 5px;
  color: #000;
  transition: 0.3s ease;
}

.btn-yellow:hover {
  background-color: #e0a800;
  color: #fff;
}

/* Sección de servicios / cursos */
.section-title {
  text-align: center;
  margin: 60px 0 30px;
  font-size: 2.2rem;
  color: #333;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card i {
  font-size: 2.5rem;
  color: #ffc107;
  margin-bottom: 15px;
}

/* Footer */
footer {
  background-color: #212529;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
}

/* Responsividad */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
.footer-custom {
  background-color: #111;
  color: #ddd;
}

.footer-custom a {
  color: #ffc107;
  text-decoration: none;
}

.footer-custom a:hover {
  text-decoration: underline;
}

.footer-custom h5,
.footer-custom h6 {
  color: #ffc107;
}


.card-img-top {
  height: 250px; /* Ajusta la altura según necesites */
  object-fit: cover;
  width: 100%;
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.card:hover {
  background-color: #ffc107; /* Amarillo tipo naranja */
  transform: translateY(-5px); /* Un leve movimiento hacia arriba */
  color: #000; /* Texto oscuro para que contraste */
}

.card:hover .btn-primary {
  background-color: #000;
  border-color: #000;
  color: #ffc107;
}

.certificacion {
  background: rgba(245, 245, 245, 0.95); /* Gris claro */
}

.certificacion h2 {
  font-size: 2rem;
}

.certificado-img {
  max-width: 100%;
  height: auto;
  border: 3px solid #ffc107;
  border-radius: 8px;
}


.modal-contenido {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 20px;
  max-width: 900px;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  flex-wrap: wrap;
}

.modal-izquierda, .modal-derecha {
  flex: 1 1 50%;
  box-sizing: border-box;
}

.modal-imagenes, .modal-mapa {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsivo para celular */
@media screen and (max-width: 768px) {
  .modal-contenido {
    flex-direction: column;
  }

  .modal-izquierda, .modal-derecha {
    flex: 1 1 100%;
  }

  .modal-imagenes, .modal-mapa {
    height: 200px;
  }
}


.modal-body {
  display: flex;
  flex-direction: column;
}

.modal-body .imagenes,
.modal-body .mapa {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.modal-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  border-radius: 10px;
}

@media (max-width: 576px) {
  .modal-body {
    padding: 1rem;
  }

  .modal-body .imagenes img,
  .modal-body .mapa iframe {
    width: 100%;
    height: auto;
  }
}


.imagen-fondo {
  position: relative;
  background-color: #ffc107;
  border-radius: 30px;
  transform: rotate(-3deg);
  padding: 20px;
  overflow: visible;
  margin: 0 auto;
  max-width: 90%;
  transition: transform 0.3s;
}

.imagen-fondo:hover {
  transform: rotate(0deg);
}

.imagen-operacion {
  transform: rotate(3deg); /* para contrarrestar la inclinación del fondo */
  display: block;
  margin: 0 auto;
  max-height: 250px;
}

.operacion-item {
  text-align: center;
}

@media (max-width: 768px) {
  .imagen-fondo {
    transform: rotate(-2deg);
  }
  .imagen-operacion {
    transform: rotate(2deg);
    max-height: 200px;
  }
}

.facebook-float {
  position: fixed;
  bottom: 90px; /* un poco más arriba que el WhatsApp */
  right: 20px;
  z-index: 100;
}
.instagram-float {
  position: fixed;
  bottom: 160px;
  right: 20px;
  z-index: 100;
}

.tiktok-float {
  position: fixed;
  bottom: 230px;
  right: 20px;
  z-index: 100;
}