/* General styles */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Header styles */
.header_section {
  background-color: #343a40;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header_section .navbar-brand img {
  max-height: 50px;
}

.header_section .navbar-nav {
  display: flex;
  justify-content: flex-start; /* Alinea el menú a la izquierda */
  padding-left: 0; /* Eliminar padding a la izquierda */
}

.header_section .navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  padding-right: 30px; /* Añadir espacio entre los links */
}

.header_section .navbar-nav .nav-link:hover {
  color: #ffc107;
}

.header_section .navbar-toggler {
  border: none;
}

.header_section .navbar-toggler-icon img {
  max-height: 25px;
}

/* Ajustes para el menú desplegable */
.header_section .navbar-nav .dropdown-menu {
  min-width: 220px;
  background-color: #343a40;
  border-radius: 10px;
  white-space: nowrap;
  overflow: hidden;
}

.header_section .navbar-nav .dropdown-item {
  color: white;
  padding: 10px 20px;
}

.header_section .navbar-nav .dropdown-item:hover {
  background-color: #495057;
}


/* Service section */
.service_section {
  padding: 60px 0;
  text-align: center;
  color: #f9fcfb;
  background-image: url(service-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

/* Footer styles */
.footer_bg {
  background-color: #343a40;
  padding: 60px 0;
  color: #fff;
}

.footer_bg h3,
.footer_bg h5,
.footer_bg p {
  color: #fff;
}

.footer_bg .form_container input {
  background: #495057;
  border: none;
  color: #fff;
}

.footer_bg .form_container button {
  background: #ffc107;
  border: none;
  color: #343a40;
}

/* Otros estilos personalizados */
.btn-1 {
  background-color: #feb543;
  color: #f9fcfb;
  border-radius: 25px;
  padding: 12px 40px;
  display: inline-block;
}

.btn-1:hover {
  transform: translateY(-7px);
}

/* Service section */
.service_section {
  padding: 60px 0;
  text-align: center;
  color: #f9fcfb;
  background-image: url(service-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0; /* Ajustado para evitar superposición */
  position: relative;
  z-index: 1;
}

.service_section .custom_heading-container {
  margin-bottom: 40px;
  text-align: center;
  background-color: rgba(52, 58, 64, 0.8); /* Fondo oscuro transparente */
  padding: 10px;
  border-radius: 10px;
  display: inline-block;
}

.service_section .custom_heading-container h2 {
  font-size: 36px;
  font-weight: 700;
  color: white;
  text-shadow: 1px 1px 2px #000; /* Contorno oscuro */
}

.service_section .text-box h4,
.service_section .text-box p {
  text-shadow: 1px 1px 2px #000; /* Contorno oscuro */
}

.service_section .service_container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.service_section .service_container .service_box {
  width: 270px;
  margin: 25px;
  background-color: #1b3374;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
}

.service_section .service_container .service_box .img-box {
  width: 100%;
  height: 185px;
}

.service_section .service_container .service_box .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.service_section .service_container .service_box .detail-box {
  margin-top: 25px;
}

.service_section .service_container .service_box .detail-box h4 {
  color: #feb543;
  margin-bottom: 15px;
}

.service_section .service_container .service_box .detail-box p {
  margin: 0;
}

.vantaggi_section {
  padding: 60px 0;
  background-color: #e9f5f5;
}

.vantaggi_section .custom_heading-container {
  margin-bottom: 40px;
  text-align: center;
  background-color: #6f42c1; /* Fondo morado */
  padding: 10px;
  border-radius: 10px;
  display: flex; /* Cambiar a flex */
  justify-content: center; /* Asegurar centrado */
}

.vantaggi_section .custom_heading-container h2 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  text-shadow: 1px 1px 2px #000; /* Contorno oscuro */
}

.vantaggi_section .card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  padding: 20px;
  text-align: center;
}

.vantaggi_section .card h5 {
  font-size: 18px;
  font-weight: 700;
  color: #007b5e;
  margin-bottom: 10px;
}

.vantaggi_section .card p {
  font-size: 16px;
  color: #5a5a5a;
}

/* Footer styles */
.footer_bg {
  background-color: #343a40;
  padding: 60px 0;
  color: #fff;
}

.footer_bg h3,
.footer_bg h5,
.footer_bg p {
  color: #fff;
}

.footer_bg .form_container input {
  background: #495057;
  border: none;
  color: #fff;
}

.footer_bg .form_container button {
  background: #ffc107;
  border: none;
  color: #343a40;
}

.footer_logo {
  width: 400px; /* Ajustar el tamaño según sea necesario para el logo */
  margin: 0 auto; /* Centrar el logo */
}

.footer_logo img {
  width: 100%;
  height: auto;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in;
}

.fade-in.visible {
  opacity: 1;
}

.text-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.text-image-container .text-box {
  max-width: 100%;
  margin-top: 20px;
  background-color: rgba(52, 58, 64, 0.8); /* Fondo oscuro transparente */
  padding: 20px;
  border-radius: 10px;
  color: white;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #6f42c1; /* Cambiar a morado */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  color: white; /* Cambiar el color del texto a blanco */
  text-align: center;
}

.feature-card h5 {
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-card p {
  font-size: 16px;
}

@media(min-width: 768px) {
  .text-image-container {
    flex-direction: row;
  }
  .text-image-container .text-box {
    max-width: 60%;
    margin-left: 20px;
    margin-top: 0;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar .navbar-nav {
      display: flex;
      flex-direction: column;
  }

  .footer_bg .info_content .row {
      flex-direction: column;
  }

  .footer_bg .info_content .img-box {
      margin-top: 20px;
  }
}

/* Otros estilos personalizados */
.btn-1 {
  background-color: #feb543; /* Color de fondo */
  color: #f9fcfb; /* Color del texto */
  border-radius: 25px;
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  transition: all .3s;
  border: none;
  padding: 12px 40px;
  display: inline-block;
}

.btn-1:hover {
  transform: translateY(-7px);
}

/* Sección de fondo ajustada */
.footer_bg {
  background-image: url('footer-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 200px;
  padding-bottom: 80px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.footer_bg .img-box {
  width: 100px;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.footer_bg .img-box img {
  width: 100%;
}

.footer_bg .email-icon {
  display: inline-block; /* Asegurar que se alineen correctamente */
  width: 20px; /* Tamaño pequeño para la imagen del icono del correo */
  height: 20px;
  margin-right: 5px; /* Espacio entre la imagen y el texto */
  vertical-align: middle; /* Alinear verticalmente con el texto */
}

.footer_logo {
  width: 400px; /* Ajustar el tamaño según sea necesario para el logo */
  margin: 0 auto; /* Centrar el logo */
}

.footer_logo img {
  width: 100%;
  height: auto;
}

.cta_section {
  padding: 40px 0;
  background: linear-gradient(135deg, #4b0082 0%, #1e90ff 100%); /* Fondo degradado */
  text-align: center;
}

.btn-glow {
  padding: 8px 20px;
  width: 220px;
  height: 60px;
  color: #ffffff; /* Cambiar el color del texto a blanco puro */
  font-weight: 700;
  border-radius: 30px;
  text-transform: uppercase;
  margin: 25px;
  overflow: hidden;
  position: relative;
  text-align: center;
  display: inline-block;
  background: transparent;
  box-shadow: 0 0 20px #ff9800;
  transition: box-shadow 0.5s, background-color 0.5s;
}

.btn-glow:hover {
  box-shadow: 0 0 20px #ff9800, 0 0 60px #ff9800;
  background-color: rgba(255, 152, 0, 0.2);
}

.btn-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, #ff9800, transparent);
  transition: transform 0.5s;
  transform: translateX(-100%);
}

.btn-glow:hover::before {
  transform: translateX(100%);
}

/* Ajuste del tamaño de las imágenes en el pie de página */
.footer_bg .img-box {
  display: inline-block; /* Asegurar que se alineen correctamente */
  width: 20px; /* Tamaño pequeño para la imagen del icono del correo */
  height: 20px;
  margin-right: 5px; /* Espacio entre la imagen y el texto */
}

.footer_bg .img-box img {
  width: 100%;
  height: auto;
}

/* Estilos personalizados para los botones */
.btn-1 {
  background-color: #feb543; /* Color de fondo */
  color: #f9fcfb; /* Color del texto */
  border-radius: 25px;
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  transition: all .3s;
  border: none;
  padding: 12px 40px;
  display: inline-block;
}

.btn-1:hover {
  transform: translateY(-7px);
}

.slider_section .carousel_btn-container .carousel-control-next {
  background-image: url(next.png);
}

.slider_section ol.carousel-indicators {
  margin: 0;
  width: 75px;
  bottom: 10%;
  left: 47.5%;
}

.slider_section ol.carousel-indicators li {
  width: 55px;
  height: 55px;
  border-radius: 100%;
  text-indent: 0px;
  text-align: center;
  line-height: 55px;
  color: #f9fcfb;
  background-color: #547bfe;
  opacity: 1;
  display: none;
}

.slider_section ol.carousel-indicators li.active {
  display: block;
}

.slider_detail-box h1 {
  font-weight: bold;
  margin-bottom: 25px;
}

.slider_detail-box .btn-box a {
  display: inline-block;
  padding: 12px 40px;
  background-color: #feb543;
  color: #f9fcfb;
  border-radius: 25px;
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  transition: all .3s;
  border: none;
  margin: 35px 0 50px 0;
}

.slider_detail-box .btn-box a:hover {
  transform: translateY(-7px);
}

.slider_img-box {
  width: 75%;
  margin: 0 auto;
}

.slider_img-box img {
  width: 100%;
}

.welcome_section {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.welcome_section .img-box {
  width: 65%;
  margin: 0 auto;
}

.welcome_section .img-box img {
  width: 100%;
}

.welcome_section .detail-box {
  margin-top: 45px;
}

.welcome_section .detail-box a {
  display: inline-block;
  padding: 12px 40px;
  background-color: #feb543;
  color: #f9fcfb;
  border-radius: 25px;
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  transition: all .3s;
  border: none;
  margin-top: 45px;
}

.welcome_section .detail-box a:hover {
  transform: translateY(-7px);
}

.problem_section {
  background-color: #f9fcfb;
  color: #1b3374;
  padding-top: 150px;
  padding-bottom: 125px;
  text-align: center;
  margin-top: 0; /* Ajustado para evitar superposición */
  position: relative;
  z-index: 1;
}

.problem_section .custom_heading-container h2 {
  border-color: #1b3374;
}

.problem_section .layout_padding2 {
  display: flex;
  justify-content: space-between;
}

.problem_section .layout_padding2 .img-box {
  width: 50%;
}

.problem_section .layout_padding2 .img-box img {
  width: 100%;
}

.problem_section .layout_padding2 .detail-box {
  width: 50%;
  margin: 75px 0;
}

.problem_section .layout_padding2 .detail-box p {
  color: #6f6f6f;
  margin-top: 25px;
}

.problem_section .layout_padding2 .detail-box a {
  display: inline-block;
  padding: 12px 40px;
  background-color: #feb543;
  color: #f9fcfb;
  border-radius: 25px;
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  transition: all .3s;
  border: none;
  margin-top: 25px;
}

.problem_section .layout_padding2 .detail-box a:hover {
  transform: translateY(-7px);
}

.why_section {
  color: #f9fcfb;
  background: linear-gradient(to right, #1b3374, #8f4fe8);
}

.why_section .custom_heading-container h2 {
  border-color: #f9fcfb;
}

.why_section p {
  text-align: center;
  margin: 40px 0 55px 0;
}

.client_section h2 {
  font-weight: bold;
  text-align: center;
}

.client_section .carousel-control-prev,
.client_section .carousel-control-next {
  width: 65px;
  height: 60px;
  border: none;
  opacity: 1;
  background-repeat: no-repeat;
  background-size: 14px;
  background-position: center;
  background-color: #383a90;
  top: 50%;
  transform: translateY(-50%);
}

.client_section .carousel-control-prev:hover,
.client_section .carousel-control-next:hover {
  background-color: #feb543;
}

.client_section .carousel-control-prev {
  background-image: url(prev.png);
}

.client_section .carousel-control-next {
  background-image: url(next.png);
}

.client_container {
  width: 55%;
  margin: 0 auto;
}

.client_container .client_text {
  padding: 30px;
  border: 1px solid #bcbcbc;
  border-radius: 5px;
}

.client_container .detail-box {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.client_container .detail-box .img-box {
  width: 75px;
  margin-right: 15px;
  border: 10px solid #9852f2;
  border-radius: 100%;
  overflow: hidden;
}

.client_container .detail-box .img-box img {
  width: 100%;
}

.client_container .detail-box .name h5 {
  margin: 0;
}

.client_container .detail-box .name p {
  text-transform: uppercase;
  color: #0b93b1;
  margin: 0;
}

.contact_section .contact_heading {
  text-align: center;
  margin-bottom: 45px;
}

.contact_section .contact_heading h2 {
  font-weight: bold;
}

.contact_section form .form-control {
  border: none;
  background-color: #f2f3f4;
  outline: none;
  box-shadow: none;
  border-radius: 0;
  height: 50px;
}

.contact_section form .form-control#inputMessage {
  height: 120px;
}

.contact_section form select.form-control {
  appearance: none;
  position: relative;
  background-image: url(down-arrow.png);
  background-repeat: no-repeat;
  background-position: 98%;
}

.contact_section button {
  display: inline-block;
  padding: 12px 40px;
  background-color: #a053f9;
  color: #f9fcfb;
  border-radius: 5px;
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  transition: all .3s;
  border: none;
  text-transform: uppercase;
  box-shadow: none;
  outline: none;
  margin-top: 35px;
  font-size: 15px;
}

.contact_section button:hover {
  transform: translateY(-7px);
}

/* info section */
.footer_bg {
  background-image: url('footer-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 200px;
  padding-bottom: 80px;
  margin-top: 0; /* Ajustado para evitar superposición */
  position: relative;
  z-index: 1;
}

.footer_bg .img-box {
  width: 100px;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.footer_bg .img-box img {
  width: 100%;
}

.info_section {
  position: relative;
  font-family: "Poppins", sans-serif;
}

.info_section h3 {
  text-transform: uppercase;
  font-weight: bold;
  color: #f9fcfb;
  margin-bottom: 35px;
}

.info_section img {
  width: 100%;
}

.info_section ul {
  padding: 0;
}

.info_section ul li {
  list-style-type: none;
  margin: 10px 0;
}

.info_section ul li a,
.info_section ul li a:hover {
  color: #fff;
}

.info_section h5 {
  margin-bottom: 12px;
  font-size: 22px;
  color: #fff;
  padding: 1px 3px;
  border-bottom: 2px solid #feb543;
}

.info_section .form_container form {
  display: flex;
  align-items: center;
}

.info_section .form_container label {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
}

.info_section .form_container input {
  width: 300px;
  height: 40px;
  border: none;
  outline: none;
  padding-left: 15px;
  background-color: #fff;
  margin-left: 45px;
  margin-right: 10px;
}

.footer_section {
  background-color: #feb543;
  padding: 20px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer_section p {
  color: #1b3374;
  margin: 0;
  text-transform: uppercase;
  font-weight: bold;
}

.footer_section p a {
  color: #fff;
}

.card.purple-bg {
  background-color: #8f4fe8;
  color: white;
  margin-bottom: 20px;
  border: none;
  border-radius: 10px;
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  transition: transform 0.3s;
}

.card.purple-bg:hover {
  transform: translateY(-10px);
}

/* Asegurar que el footer esté siempre al final de la página */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Otros estilos personalizados */
.btn-1 {
  background-color: #feb543;
  color: #f9fcfb;
  border-radius: 25px;
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  transition: all .3s;
  border: none;
  padding: 12px 40px;
  display: inline-block;
}

.btn-1:hover {
  transform: translateY(-7px);
}

.cta_section {
  padding: 40px 0;
  background: linear-gradient(135deg, #4b0082 0%, #1e90ff 100%); /* Fondo degradado */
  text-align: center;
}

.btn-glow {
  padding: 8px 20px;
  width: 220px;
  height: 60px;
  color: #ffffff; /* Cambiar el color del texto a blanco puro */
  font-weight: 700;
  border-radius: 30px;
  text-transform: uppercase;
  margin: 25px;
  overflow: hidden;
  position: relative;
  text-align: center;
  display: inline-block;
  background: transparent;
  box-shadow: 0 0 20px #ff9800;
  transition: box-shadow 0.5s, background-color 0.5s;
}

.btn-glow:hover {
  box-shadow: 0 0 20px #ff9800, 0 0 60px #ff9800;
  background-color: rgba(255, 152, 0, 0.2);
}

.btn-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, #ff9800, transparent);
  transition: transform 0.5s;
  transform: translateX(-100%);
}

.btn-glow:hover::before {
  transform: translateX(100%);
}

.vantaggi_section .card .icon-box {
  text-align: center;
  margin-bottom: 15px;
}

.vantaggi_section .card .icon-box .icon {
  width: 50px; /* Tamaño fijo para todos los iconos */
  height: 50px; /* Asegurar que todos los iconos tengan la misma altura */
  object-fit: contain; /* Ajustar el contenido para mantener la proporción */
}

