/* Variables CSS */
:root {
    --primary-color: #d51616;
    --secondary-color: #bf5a5a;
    --accent-color: #f49f1c;
    --light-gray: lightgray;
    --white: #fff;
    --black: #000;
    --footer-bg: #d51616;
    --footer-text: white;
    --rubro-bg-1: #d4131e;
    --rubro-bg-2: #ff9100;
    --rubro-bg-3: #fc4783;
    --rubro-bg-4: #59087a;
    --rubro-bg-5: #005dd1;
    --rubro-bg-6: #009b0b;
    --card-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --btn-padding: 10px 20px;
    --border-radius: 10px;
    --default-margin: 20px;
    --default-padding: 20px;
    --card-flex-basis: 300px;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
  }
  
  /* Uniformidad en márgenes y paddings */
  .container {
    display: flex;
    /* flex-wrap: wrap; */
    gap: var(--default-margin);
    margin: var(--default-margin) auto;
    padding: var(--default-padding);
    max-width: 1600px;
    /* background-color: var(--white); */
  }

  .team-container {
    display: flex;
    /* flex-wrap: wrap; */
    gap: var(--default-margin);
    margin: var(--default-margin) auto;
    padding: var(--default-padding);
    max-width: 1400px;
    /* background-color: var(--white); */
  }
  
  .icon-brand {
    width: 250px;
    margin-bottom: 20px;
  }

  .text-fix{
    font-size: larger;
  }

  /* Estilos para la barra de navegación */
  .navbar .social-icons img {
    margin-left: 10px;
  }
  
  .navbar-nav .nav-item {
    margin: 0 15px;
  }

  .navbar .social-icons {
    display: flex;
    gap: 15px;
    margin-left: 20px;
    justify-content: center;
  }
  
  .navbar .service-btn {
    margin-left: 30px;
  }
  
  @media (max-width: 768px) {
    .navbar-nav {
      text-align: center;
    }
  
    .navbar-nav .nav-item {
      margin: 10px 0;
    }
  
    .social-icons {
      margin-top: 10px;
    }
  
    .service-btn {
      margin-top: 15px;
    }

    .navbar-fix{
      flex-direction: column;
    }
  }
  
  header {
    background-color: #ffffff;
    padding: 20px;
    border-bottom: 1px solid #ddd;
  }
  
  .social-icons {
    font-size: x-large;
  }
  /* Botones */
  .service-btn {
    background-color: var(--primary-color);
    border: none;
    padding: var(--btn-padding);
    color: var(--white);
    border-radius: var(--border-radius);
  }
  
  .service-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
  }
  
  /* Footer Section */
  .footer {
      background-color: var(--footer-bg) !important;
      color: var(--footer-text);
      padding: 40px 20px;
    }
    
    .footer-logo {
      width: 30px;
      height: 30px;
    }
    
    .footer-social-icons a {
      margin-right: 10px;
      font-size: 1.5em;
    }
    
    .footer p {
      margin: 0;
    }
    
    @media (max-width: 767.98px) {
      .footer .col-md-4 {
        text-align: center;
        margin-bottom: 20px;
      }
    }
  footer {
    background-color: #d51616;
    padding: 40px 0;
    color: #fff;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }
  
  .footer-section {
    text-align: left;
    margin-bottom: 20px;
    flex: 1; /* Permite que cada sección ocupe el mismo espacio disponible */
    max-width: 30%; /* Limita el ancho máximo en pantallas grandes */
  }
  
  .footer-section h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .footer-section li {
    margin-bottom: 5px;
  }
  
  .footer-section a {
    text-decoration: none;
    color: #fff;
  }
  
  .footer-social {
    text-align: right;
    flex: 1;
    max-width: 20%;
    display: flex;
  }
  
  .footer-social a {
    color: #fff;
    font-size: 20px;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
  }
  
  .footer-social i {
    margin-right: 8px; /* Espacio entre el ícono y el texto */
  }
  
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      align-items: center;
    }
  
    .footer-section {
      width: 100%; /* Ocupa todo el ancho en pantallas pequeñas */
      text-align: center;
    }
  
    .footer-social {
      text-align: center;
      width: 100%;
      margin-top: 20px;
      justify-content: center;
    }
  
    .footer-social a {
      margin-left: 0;
      margin-bottom: 10px; /* Espacio entre los enlaces */
    }
  }
  /* End Footer Section */
  

  /*Estilos postulate*/
  .team-section {
    padding: 50px 0;
    width: 100%;
    box-sizing: border-box;
}
  
.team-content {
    display: flex;
    align-items: flex-start;
}
  
.team-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-images img {
  object-fit: cover;
}
  
.top-images {
    display: flex;
    /* gap: 15px; */
    align-items: flex-end; /* Alinea la segunda imagen a la parte superior */
}
  
/* Ajustes para las imágenes superiores */
.top-images img:first-child {
  width: 258px !important; /* Forzamos el tamaño con !important */
  height: 259px !important;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 87px; /* Ajusta este valor si es necesario */
}

.team-section .top-images > div:nth-child(2) img {
  width: 258px !important;
  height: 346px !important;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .top-images img:first-child {
    width: 372px !important;
  }

  /* Estilos para el nth-child(2) en pantallas pequeñas */
  .team-section .top-images > div:nth-child(2) img {
    width: 372px !important;
    height: auto; /* Ajusta si es necesario */
  }
}
.team-text {
    /* margin-left: 20px; Ajusta la separación entre las imágenes y el texto */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente el texto */
}
  

  /* .team-text {
    flex: 1;
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  } */
  
  .team-text h2 {
    font-size: 48px;
    font-weight: 700;
  }
  
  .team-text p {
    font-size: 1.2rem;
    color: #555;
    margin-top: 20px;
  }
  
  .offer-section {
    text-align: center;
    margin: 20px auto;
    padding: 20px;
  }

  .offer-section h2{
    margin-bottom: 40px;
  }
  
  .offer-container {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 0 auto;
    max-width: 1300px;
}
  
  .offer-container hr {
    position: absolute;
    width: calc(100% - 40px); /* Reduce para que no toque los bordes */
    left: 50%;
    transform: translateX(-50%);
    background-color: #e0e0e0;
    border: none;
    height: 1px;
  }
  
  .offer-container hr.vertical {
    position: absolute;
    height: calc(100% - 40px); /* Reduce para que no toque los bordes */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    background-color: #e0e0e0;
    border: none;
    width: 1px;
  }
  
  .offer {
    display: flex;
    align-items: center;
    padding: 15px;
    /* Eliminar el borde */
    border: none; 
}
  
.offer-icon {
  margin-right: 15px; /* Espacio entre el ícono y el texto */
  width: 60px; /* Tamaño del contenedor del ícono */
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Borde redondeado pequeño para el contenedor del ícono */
  border-radius: 10px; 
  background-color: #f5f5f5;
}
.offer-icon img {
  width: 30px; /* Tamaño del ícono propiamente dicho */
  height: 30px;
}
  .red-bg {
    background-color: #D4131E;
  }
  
  .green-bg {
    background-color: #8BBA05;
  }
  
  .purple-bg {
    background-color: #860BBF;
  }
  
  .blue-bg {
    background-color: #1327E1;
  }
  
  .offer-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .offer-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
  }
  
  .join-section {
    background-color: #D51616;
    background-image: url("../Icons/Group.svg");
    background-repeat: no-repeat;
    background-position: bottom center; /* La imagen tocará el borde inferior */
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    text-align: center;
    max-width: 1300px;
    height: 400px;
    display: flex; /* Usamos flexbox para centrar */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    flex-direction: column; /* Alinea el texto y botón en columna */
}

  .join-section a{
    text-decoration: none;
  }
  
  .join-section h2 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700; /* Aumenta el grosor de la fuente */
}
  
  .join-button {
    font-size: 1.1rem;
    color: #000;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 25px; /* Botón redondeado */
    text-decoration: none;
    display: inline-block;
    border: 2px solid transparent;
    font-weight: 700; /* Aumenta el grosor del texto */
}
  
  
  .join-button b {
    border-bottom: none; /* Elimina el subrayado del texto en negrita */
}

  .bottom-images img {
    width: 100% !important; /* Forzamos para que ocupe todo el ancho del contenedor */
    height: 346px !important; /* Mantén la altura fija si lo deseas */
    border-radius: 25px;
    object-fit: cover;
}
.bottom-images img {
    width: 535px;
    height: 346px;
    border-radius: 25px !important;
    object-fit: cover;
}


.img-fix {
  width: 22%;
  height: 260px;
}



.rounded{
border-radius: 25px !important;
}

.offer-content {
  display: flex;
  align-items: center;
}

.compras-email{
  display: contents;
}

@media (max-width: 768px) { /* Para pantallas más pequeñas */
  .compras-email {
    display: inline-block;
    max-width: 250px; /* Ajusta el ancho según necesites */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.fc-icon-margin{
  margin-right: 10px;
}


@media (max-width: 768px) { /* Para pantallas más pequeñas */
  .rrhh-email {
    display: inline-block;
    max-width: 250px; /* Ajusta el ancho según necesites */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 768px) { /* Para pantallas más pequeñas */
  .compras-email {
    display: inline-block;
    max-width: 250px; /* Ajusta el ancho según necesites */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.fc-icon-margin{
  margin-right: 10px;
}


@media (max-width: 768px) { /* Para pantallas más pequeñas */
  .rrhh-email {
    display: inline-block;
    max-width: 250px; /* Ajusta el ancho según necesites */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
    margin: 15px auto;
  }
  
  /* Mejora en los emails para mobile */
  .compras-email, .rrhh-email {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-all;
  }
}

@media (max-width: 768px) {
  .contact-container {
    padding: 40px 20px;
  }
  
  .contact-content {
    padding: 20px;
  }
  
  .mid-text-info h2 {
    font-size: 32px;
    margin-top: 30px;
  }
  
  .mid-text-info p {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .main-title-container h1 {
    font-size: 32px;
  }
  
  .main-title-container p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .footer-section {
    max-width: 100%;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .footer-social {
    max-width: 100%;
    justify-content: center;
    margin-top: 20px;
  }
  
  .footer-social a {
    margin: 0 10px;
  }
  
  .footer {
    padding: 30px 20px;
  }
}
