@font-face {
  font-family: 'Rubik';
  src: url(static/font/Rubik.ttf) format('truetype');
}

.navbar-brand {
  font-size: 1.5rem;
}

.footer-links a {
  margin: 0 0.5rem;
  color: #007bff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Header Styles */
#nav {
  background-color: #105edb;
}

header>.container-fluid {
  display: flex;
  align-items: center;
}

header>.container-fluid>img {
  width: 1.5cm;
}

header>.container-fluid>.navbar-brand {
  font-size: 1.5rem;
  margin-left: 0.5cm;
  color: #00245E;
  font-weight: 600;
}

/* Main Banner Styles */
#imgHome {
  width: 100%;
  height: 15cm;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/img1.jpg);
  background-size: cover;
}

#title {
  color: white;
  position: relative;
  top: 25%;
  height: 100%;
  text-align: center;
  padding: 2rem;
}

#title>span {
  display: block;
  margin-top: 1rem;
  font-size: 25px;
}

/* Objective Section Styles */
#objetivo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
  margin: 2rem 0;
}

#objetivo .objective-text {
  max-width: 800px;
}

/* About Section Styles */
#About {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

#About>img {
  width: 100%;
  max-width: 75%;
  height: auto;
  border-radius: 0.8rem;
}

/* Services Section Styles */
#services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px; /* Espacio entre elementos */
  justify-content: center; /* Centra el grid en el contenedor */
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra el contenido horizontalmente */
  text-align: center; /* Centra el texto */
  padding: 0cm 3cm 0cm 3cm;
}
#imgDefinition{
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/img3.jpg);
}
#imgDefinition2{
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/img4.jpg);
}
#imgDefinition3{
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/img5.jpg);
}
#imgDefinition, #imgDefinition2, #imgDefinition3{
  background-repeat: no-repeat;
  background-size: cover;
  width: 27cm;
  height: 15cm;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0cm 3cm 0cm 3cm;
}
.definition{
  width: 27cm
}

.service-icon {
  width: 2.5cm; /* Ajusta el tamaño máximo del icono según sea necesario */
  height: auto; /* Mantiene la proporción del icono */
  margin-bottom: 10px; /* Espacio entre el icono y el título */
}

#services > img > h3 {
  font-size: 1.2rem; /* Ajusta el tamaño del texto según sea necesario */
  margin: 0; /* Elimina el margen por defecto del título */
}
#services > div {
  width: 5cm;
}

/* Difference Section Styles */
#difference {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
}

#difference .d-flex {
  flex-direction: column;
  align-items: center;
}

#difference img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 0.8rem;
}

/* Modal Styles */
.modal-content {
  border-radius: 0.5rem;
}

.txt {
  border-radius: 0.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
}

#LogoFooter>img {
  width: 1cm;
}

.objective-text {
  font-size: 1rem;
  margin-top: .5cm;
}

#list-difference {
  font-size: 1rem;
  width: 10cm;
  height: 8cm;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  #title h1 {
    font-size: 1.75rem;
  }

  .objective-text, #list-difference {
    font-size: 0.875rem;
  }

  .service-icon {
    width: 3rem;
    height: 3rem;
  }

  #services {
    gap: 1rem;
  }

  #LogoFooter {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: -1.5cm;
    padding-bottom: 1.5cm;
  }

  #LogoFooter {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: -1.5cm;
    padding-bottom: .8cm;
  }

  #LogoFooter>img {
    width: 2cm;
  }

  #LogoFooter>span {
    font-size: 50px;
    padding-left: .2cm;
  }
  .definition{
    width: 100%;
  }
  #imgDefinition, #imgDefinition2, #imgDefinition3{
    width: 100%;
    
  }
}

#btnContact {
  background-color: #00245E;
  border: none;
  color: #fff;
  height: 2.5rem;
  width: 7rem;
  border-radius: 0.8rem;
  font-size: 1rem;
}

#btnContact:hover {
  background-color: #0051d4;
}

.footer-links {
  float: right;
  font-size: 15px;
  margin-top: -1cm;
  font-weight: 100;
}