/* 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); */
}

/* 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;
}

.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);
}


.icon-brand {
  width: 250px;
  margin-bottom: 20px;
}

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

/* Formulario */
form {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 5px;
  background-color: var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-image {
  height: 100%;
  width: auto;
  max-height: 600px;
  border-radius: 5px;
}

form .btn-block {
  width: 100%;
}

.form-control-msg {
  width: 100% !important;
}

form .form-control {
  width: 90%;
}

.form-size {
  height: 100%;
}

@media only screen and (max-width: 768px) {
  .form-control {
    width: 100%;
  }
}

/* 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;
  }

  .footer-social a {
    margin-left: 0;
    margin-bottom: 10px; /* Espacio entre los enlaces */
  }
}
/* End Footer Section */

.section {
  display: flex;
  /* align-items: center; */
  padding: 20px 0;
  width: 100%;
  margin-bottom: 60px;
}

.content {
  flex: 1;
  padding: 0 40px;
  font-size: 1.1rem;
  max-width: 1000px;
  margin-right: 20px;
  padding: 150px;
}

.image {
  max-width: 847px; /* Establece el ancho máximo del contenedor de la imagen */
  width: 100%; /* Asegura que la imagen ocupe todo el contenedor */
  height: 100%; /* Mantén la altura automática */
  position: relative; /* Asegura que los íconos se posicionen correctamente */
}

.image img {
  width: 100%; /* La imagen ocupa el 100% del contenedor */
  height: auto; /* Mantén la proporción de la imagen */
  object-fit: cover; /* Cubre el contenedor sin distorsión */
  display: block; /* Evita espacios en blanco debajo de la imagen */
}

/* Redondear bordes derechos de la primera imagen */
.image-top-style {
  border-top-right-radius: 20px; /* Ajusta el valor para el redondeo */
  border-bottom-right-radius: 20px;
}

/* Redondear bordes izquierdos de la segunda imagen */
.section:last-child .image img {
  border-top-left-radius: 20px; /* Ajusta el valor para el redondeo */
  border-bottom-left-radius: 20px;
}

.top-icon {
  top: 5%;
  left: 100%; /* Mover al costado derecho */
  transform: translate(-70%); /* Ajusta la posición */
}

.top-bottom-icon {
  top: 5%;
  left: 100%; /* Mover al costado derecho */
  transform: translate(-550%); /* Ajusta la posición */
}

.middle-icon {
  top: 70%;
  left: 100%;
  transform: translate(-50%);
}

.middle-bottom-icon {
  top: 70%;
  /* left: 100%; */
  transform: translate(-50%);
}

.middle-icon i {
  color: #d51616;
}

.bottom-icon {
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, 55%);
  background-color: #d4131e;
  color: white;
}

.icon-container i {
  margin-right: 5px;
}

.icon-container p {
  margin: 0;
}

.section:last-child {
  justify-content: flex-end;
}

.title {
  font-size: 48px;
  margin-bottom: 10px;
}

.text {
  line-height: 1.4;
  margin-bottom: 15px;
  font-size: 24px;
}

@media only screen and (max-width: 768px) {
  .section {
    flex-direction: column;
    text-align: center;
  }

  .image {
    width: 100%;
    height: auto;
    margin-left: 0;
    margin-bottom: 20px;
  }

  .content {
    width: 100%;
    padding: 0 20px;
  }

  .main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
}

.main-title-container {
  margin: auto;
  text-align: center;
}

.main-title-container h1 {
  font-size: 48px;
  justify-content: center;
  display: flex;
  margin-top: 20px;
  font-weight: 700;
}

.main-title-container p {
  font-size: 26px;
  justify-content: center;
  display: flex;
  margin-top: 20px;
}

.main-title-margin {
  margin-bottom: 20px;
}

.benefits-container {
  padding: 50px 0;
}

.benefits-and-list {
  margin-top: 20px;
}

.benefits-content {
  padding: 20px;
}

.image-section {
  position: relative;
}
.benefits-content h2 {
  font-size: 48px;
  font-weight: 700;
}

.benefits-content ul {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
  font-size: 24px;
}

.benefits-content ul li {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-left: 50px;
}

.benefits-content ul li i {
  position: absolute;
  left: 0;
  background-color: #d51616;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.benefits-image {
  position: relative;
}

.benefits-image img {
  width: 400px;
  border-radius: 15px;
}

.icon-container {
  position: relative;
  transform: rotate(-25deg);
  background-color: #d51616;
  padding: 15px;
  border-radius: 20%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
}

.icon-container img {
  width: 50px; /* Tamaño del icono */
  height: 50px;
}

.product-info {
  position: absolute;
  bottom: -40px;
  left: 30px;
  background-color: #f9ad2c;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  transform: rotate(10deg);
}

.marcas-info {
  position: absolute;
  bottom: 350px;
  left: 330px;
  background-color: #1327e1;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  transform: rotate(-20deg);
  color: #fff;
  width: 120px;
}


.marcas-info strong{
  margin-right: 10px;
}


.contact-section {
  background-color: #fff;
}

.contact-container {
  background-image: url("../Utilities/trabajaconnosotros.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Sombra en la parte inferior */
  padding: 100px;
}
.contact-content {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact-content h2 {
  font-size: 2rem;
  color: #333;
}

.contact-content p {
  font-size: 1rem;
  color: #777;
  margin: 20px 0;
}

.form-container {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact-form button {
  width: 100%;
  padding: 15px;
  background-color: #e74c3c;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.mid-text-info {
  text-align: center;
  margin-top: 40px; /* Aumenta la separación superior */
  margin-bottom: 40px; /* Aumenta la separación inferior */
}

.mid-text-info h2 {
  font-size: 48px;
  font-weight: 700;
  margin-top: 50px;
}

.mid-text-info p {
  font-size: 24px;
  margin-bottom: 50px;
}

.svg-icon{
  width: 40px !important;
  border-radius: 0px !important;
}

@media (max-width: 768px) {
 .marcas-info{
  left:240px;
 }
}

.benefits-img-fix{
  height: 500px;
}


.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) {
  .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;
  }
}

@media (max-width: 992px) {
  .benefits-container {
    padding: 30px 0;
  }
  
  .benefits-content h2 {
    font-size: 32px;
    text-align: center;
  }
  
  .benefits-content ul {
    font-size: 18px;
  }
  
  .benefits-content ul li {
    padding-left: 40px;
    margin-bottom: 15px;
  }
  
  .benefits-image {
    text-align: center;
    margin-top: 30px;
  }
  
  .benefits-image img {
    width: 100%;
    max-width: 300px;
  }
  
  .product-info, .marcas-info {
    position: static;
    transform: none;
    margin: 15px auto;
    display: inline-block;
    width: auto;
  }
  
  .marcas-info {
    margin-top: 20px;
  }
}

@media (max-width: 992px) {
  .section {
    flex-direction: column;
    margin-bottom: 40px;
  padding: 0;
  }
  
  .content {
    padding: 40px 20px;
    order: 2;
    margin-right: 0;
  }
  
  .image {
    max-width: 100%;
    order: 1;
  }
  
  .image img {
    border-radius: 0 !important; /* Elimina bordes redondeados en mobile */
  }
  
  .title {
    font-size: 32px;
  }
  
  .text {
    font-size: 18px;
  }
  
  /* Ajuste de iconos flotantes */
  .top-icon, .top-bottom-icon, 
  .middle-icon, .middle-bottom-icon {
    display: none; /* Ocultar iconos flotantes en mobile */
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 0;
  }
  
  .navbar-brand img {
    width: 180px; /* Reducción proporcional del logo */
  }
  
  .navbar-nav {
    margin-top: 15px;
  }
  
  .navbar .social-icons {
    justify-content: center;
    margin: 15px 0 0;
  }
  
  .navbar .service-btn {
    margin: 15px auto 0;
    display: block;
    width: 80%;
  }
}

/* Adaptaciones para mobile manteniendo la estética */
@media (max-width: 768px) {
  .image-section .container {
    padding: 0;
  }
  
  .image-section .row {
    flex-direction: column-reverse; /* Imagen arriba, icono abajo */
    align-items: center;
    gap: 20px;
  }
  
  .icon-container {
    transform: rotate(-15deg); /* Rotación más suave para mobile */
    margin-top: -30px; /* Superpone ligeramente con la imagen */
    z-index: 2; /* Asegura que aparezca sobre la imagen */
    width: 70px;
    padding: 12px;
  }
  
  .benefits-image {
    position: relative;
    width: 100%;
    text-align: center;
  }
  
  .benefits-img-fix {
    height: auto;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  
  /* Ajuste de los elementos flotantes para mobile */
  .product-info, 
  .marcas-info {
    position: relative;
    display: inline-block;
    margin: 15px 5px 0;
    transform: none;
    bottom: auto;
    left: auto;
    width: 45%;
    min-width: 120px;
    font-size: 1rem;
  }
  
  .product-info {
    background-color: #f9ad2c;
    transform: rotate(5deg);
  }
  
  .marcas-info {
    background-color: #1327e1;
    transform: rotate(-5deg);
  }
  
  .svg-icon {
    width: 30px !important;
    margin-left: 5px;
  }
}

/* Versión intermedia para tablets */
@media (min-width: 769px) and (max-width: 992px) {
  .icon-container {
    transform: rotate(-20deg);
    width: 75px;
  }
  
  .product-info {
    left: 20px;
    font-size: 1.1rem;
  }
  
  .marcas-info {
    left: 250px;
    bottom: 300px;
    font-size: 1.1rem;
  }
}