/* ===========================
   ESTILOS GENERALES
   =========================== */
@font-face {
  font-family: "Eurostile";
  src: url("/fonts/eurostile/EurostileBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Eurostile";
  src: url("/fonts/eurostile/Eurostile.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Nasailzation";
  src: url("/fonts/Nasalization-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
}

body {
  color: #333333 !important;
  font-family: "Eurostile", sans-serif;
  font-size: 17px;
  font-weight: 400;
}
.sweet-modal-overlay{
  z-index: 9999;
}
/* ===========================
   NAVBAR
   =========================== */
.navbar {
  border-bottom: 1px solid #eeeeee;
}

.navbar .btn-primary {
  background-color: #2563eb;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 1.1rem;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.35); */
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-family: "Nasailzation", sans-serif;
  color: #20a9b2;
}

.hero-section h2 {
  font-size: 1.8rem;
}

.alert-box {
  background: #c4c4c44d; 
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
  border-radius: 44px;
  opacity: 1;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  color: #ffffff;
  padding: 20px 30px;
  max-width: 600px;
  font-size: 1rem;
}


.hero-section .btn-success {
  background-color: #27ae60;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 1.1rem;
}

/* ===========================
   SECCIÓN AUTOMATIZACIÓN
   =========================== */
.py-6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.automatizacion-section {
  background-image: url("/img/Grupo-1@2x.png");
  background-repeat: no-repeat;
  background-size: 400px auto;
  background-position: 50px -50px;
  background-color: #f9f9f9;
  padding: 60px 0;
}

.card-body h2 {
  font-family: "Nasailzation", sans-serif;
}

.info-automatiza {
  color: #707070 !important;
}

#color-facial {
  color: #0a58ad !important;
}

#color-antifraude {
  color: #28b672 !important;
}

#color-multifactorial {
  color: #0a58ad !important;
}

/* ===========================
   CARDS
   =========================== */
.card {
  border: none;
  border-radius: 12px;
}

.card-title {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.card-title i {
  font-size: 1.5rem;
  vertical-align: middle;
  margin-right: 8px;
}

.card-body {
  font-size: 0.95rem;
}

/* ===========================
   SECCIÓN VENTAJAS
   =========================== */
.section-ventaja {
  background: transparent linear-gradient(
    117deg,
    #28b672 0%,
    #20a9b2 52%,
    #0a58ad 100%
  ) 0% 0% no-repeat padding-box;
  opacity: 1;
  color: white;
  padding: 60px 0;
}

.section-ventaja .text-primary {
  color: #0a58ad !important;
}

.card-body h2 {
  font-family: "Nasailzation", sans-serif;
  color: #20a9b2 !important;
}

.card-fixed {
  height: 350px; 
}

.fixed-img {
  height: 350px;
  width: 100%;
  object-fit: cover;
  border-radius: 0.375rem 0 0 0.375rem;
}

.section-tecnologia .text-success {
  color: #28b672 !important;
}

.bg-gray-custom {
  background-color: #9d9d9d; 
}

.logo-cert {
  max-height: 180px;
}

/* ===========================
   SECCIÓN CERTIFICACIONES
   =========================== */
.section-certificaciones {
  color: #20a9b2 !important;
}

.section-certificaciones h2 {
  font-family: "Nasailzation", sans-serif;
}

/* ===========================
   SECCIÓN CONTACTO
   =========================== */
.section-contacto {
  background-image: url("/img/Grupo-1@2x.png");
  background-repeat: no-repeat;
  background-size: 400px auto;
  background-position: 150px 30px;
  background-color: #0a58ad;
  padding: 60px 0;
}

.section-contacto .text-success {
  color: #28b672 !important;
}

.section-contacto .btn-success {
  background-color: #28b672 !important;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 1.1rem;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: url("/img/footer.png") center/cover no-repeat;
  color: #fff;
  font-size: 0.95rem;
}

/* .footer-main {
  padding: 10rem 0 8rem;
} */

.footer .logo-footer {
  max-width: 200px;
}

.footer-bottom {
  background-color: #0a58ad;
  padding: 1rem 0; 
  font-size: 0.85rem;
}

.footer h6 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer p {
  margin-bottom: 0.3rem;
}

/* ===========================
   BOTONES - ANIMACIONES
   =========================== */
.btn {
  transition: all 0.25s ease-in-out;
  transform: scale(1);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: scale(0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 576px) {
  .navbar .btn-primary {
    padding: 8px 20px;   
    font-size: 0.9rem;   
  }
}

/* ===========================
   HERO SECTION RESPONSIVE
   =========================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.6rem; 
  }

  .hero-section h2 {
    font-size: 1.6rem; 
  }

  .hero-section p.lead {
    font-size: 1rem; 
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem; 
  }

  .hero-section h2 {
    font-size: 1.4rem;
  }

  .hero-section p.lead {
    font-size: 0.95rem;
  }

  .alert-box {
    padding: 16px 24px;
    font-size: 0.9rem;
  }

  .hero-section .btn-success {
    padding: 10px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.9rem; 
    line-height: 1.3;
  }

  .hero-section h2 {
    font-size: 1.2rem;
  }

  .hero-section p.lead {
    font-size: 0.9rem;
  }

  .alert-box {
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .hero-section .btn-success {
    padding: 9px 22px;
    font-size: 0.95rem;
  }
}

/* Ajustes específicos para tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  /* Títulos dentro de las tarjetas */
  .automatizacion-section .card-body h2 {
    font-size: 1.2rem;   
    line-height: 1.4;
  }

  .automatizacion-section .card-body p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .automatizacion-section .info-automatiza h2 {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .automatizacion-section .info-automatiza p {
    font-size: 0.95rem;
  }
}

/* Ajustes específicos para tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  /* Centrar verticalmente icono + texto dentro de las cards */
  .section-ventaja .card-body.d-flex {
    align-items: center !important;
  }

  /* Ajustar tamaños de fuente */
  .section-ventaja .card-body h2 {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .section-ventaja .card-body p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

#loader-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

#loader-overlay.show {
  opacity: 1;
  visibility: visible;
}

#loader-overlay img {
  width: 100px;
  height: 100px;
}

/* Cards más grandes y rectangulares */
.section-tecnologia .card {
  min-height: 380px;       
  border-radius: 14px;
}

.section-tecnologia .fixed-img {
  height: 380px;          
  object-fit: cover;
}

.section-tecnologia .card-body {
  padding: 2rem;          
  font-size: 1rem;         
  line-height: 1.6;        
}
