@font-face {
  font-family: Poppins;
  src: url(../fonts/Poppins-Regular.ttf) format('truetype');
}

@font-face {
  font-family: Poppins-Bolder;
  src: url(../fonts/Poppins-ExtraBold.ttf) format('truetype');
}


body {
  font-family: "Poppins", sans-serif;
  color: #444444;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

a {
  color: #ED3237;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Poppins", sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #EB2028;
  border-top-color: #e2eefd;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #00000052;
  transition: all 0.5s;
  z-index: 997;
  height: 86px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header.fixed-top {
  height: 100px;
}

#header .logo {
  font-size: 36px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.8px;
  font-family: Poppins-Bolder;
}

#header .logo a {
  color: #222222;
}

#header .logo a span {
  color: #EB2028;
}

#header .logo img {
  max-height: 40px;
}

.navbar {
  padding: 0;
}

.diagonal {
  background: linear-gradient(121deg, #FFFFFF 28.3%, #000000 28.47%) !important;
}

.navbar a:hover {
  /* padding: 5px;
  padding-left: 15px;
  padding-right: 15px; */
  /* background-color: #ED3237; */
  border-radius: 30px;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;

}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  white-space: nowrap;
  padding: 10px 0 10px 28px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 15px;
  font-weight: 600;
  /* color: #ED3237; */
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: #ED3237;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar .active {
  color: rgb(255, 0, 0);
}

.navbar a {
  color: white;
}

.navbar a:hover {
  color: #EB2028;
}

.mobile-nav-toggle {
  color: #b6b6b6;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(9, 9, 9, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #222222;
}

.navbar-mobile>ul>li {
  padding: 0px;
  width: 90%;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover>a:before,
.navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #EB2028;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}



.principal-section {
  filter: brightness(0.9);
  display: flex;
  width: 100%;
  height: 100vh !important;
  /* background-image: url(../img/fachadas.jpg); */
  /* Poner un background de video */
  /* background-size: contain; */
  position: relative;
  overflow: hidden;
  /* box-shadow: 4px 4px 18px 6px rgb(0 0 0 / 55%); */
}

/* .principal-section:before{
  content: '';
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
} */

.principal-section section {
  order: 1;
  width: 50vw;
  height: 100vh;
  background-color: #000000bd;
}

.principal-section aside {
  order: 2;
  width: 50vw;
  height: 100vh;
  background-color: #000000bd;
  text-align: center;
  position: relative;
}

#logo-big {
  margin-top: 40%;
  width: 80%;
}

#down-arrow {
  margin-top: 2%;
  padding: 1%;
  transition: 1s;
  border-radius: 200px;
}

#down-arrow:hover {
  background-color: #ED3237;
  cursor: pointer;
}

.section-services {
  padding-top: 14%;
  text-align: center;
}

.section-services li,
h1 {
  list-style: none;
  color: white;
  position: relative;
}

.section-aboutwe {
  width: 100%;
}

.section-aboutwe div {
  display: flex;
  padding-bottom: 5%;
}

.section-aboutwe h2 {
  font-family: "Poppins", sans-serif;
  color: #EB2028;
  text-align: center;
  padding-top: 2%;
  padding-bottom: 1%;
  font-size: 2.5rem;
}

.section-aboutwe div aside {
  width: 47%;
  margin-left: 3%;
  height: 60vh;
  background-size: cover;
  background-position: left;
  background-image: url(../img/fachadas-2.jpg);
  box-shadow: inset 0 0 8px 0px rgba(0, 0, 0, 0.52);
}

/* ******************* New Section ******************* */
.bg-video {
  width: 100%;
  object-fit: cover;
  height: 100%;
  /* Poner el with automatico */
  /* width: auto; */
  /* min-width: 100%; */
  position: absolute;
  src: url(../img/fachadas.mp4);
}

.content-banner {
  margin-top: 80px;
  color: rgba(0, 0, 0, 1);
  max-width: 768px;
  width: 70%;
  height: calc(100% - 80px);
  background-color: rgba(255, 255, 255, 0.56);
  /*  Hacer un semitriangulo a la derecha */
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content-banner .content {
  margin-right: 50px;
}

.content-banner .title h2 {
  font-size: 50px;
  font-weight: 800;
  line-height: 1;
}

.content-banner .title .red-lg {
  color: rgba(236, 32, 41, 1);
  font-size: 100px;
}

.content-banner .title .small {
  font-size: 50px;
}

.content-banner .slogan {
  margin-top: 30px;
}

.content-banner .slogan .primary {
  color: rgba(255, 64, 3, 1);
  font-size: 30px;
  line-height: 0.5;
}

.content-banner .slogan p {
  font-size: 20px;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .principal-section {
    align-items: center;
  }

  .content-banner {
    /* width: 100%; */
    max-width: 100%;
    height: 300px;
    /* clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); */
  }

  .content-banner .content {
    margin-right: 0;
  }

  .content-banner .title h2 {
    font-size: 35px;
  }

  .content-banner .title .red-lg {
    font-size: 60px;
  }

  .content-banner .title .small {
    font-size: 30px;
  }

  .content-banner .slogan .primary {
    font-size: 25px;
  }

  .content-banner .slogan p {
    font-size: 18px;
  }
}

@media (max-width: 850px) {
  .principal-section {
    height: 600px;
  }

  .content-banner {
    width: 100%;
    max-width: 100%;
    height: 250px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    padding: 20px;
  }

  .content-banner .content {
    margin-right: 0;
  }

  .content-banner .title h2 {
    font-size: 30px;
  }

  .content-banner .title .red-lg {
    font-size: 50px;
  }

  .content-banner .title .small {
    font-size: 25px;
  }

  .content-banner .slogan .primary {
    font-size: 20px;
  }

  .content-banner .slogan p {
    font-size: 15px;
  }

  .content-banner .slogan {
    margin-top: 20px;
  }

  .contact-container {
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
  }

  .contact-container>div {
    width: 90% !important;
    min-width: 0px !important;
  }
}

/* ***************************************************** */

/* .section-aboutwe img{
  height: 100vh;
} */

.section-aboutwe p {
  font-family: "Poppins", sans-serif;
  width: 50%;
  font-size: 16px;
  padding: 0% 3% 0% 3%;
  text-align: justify;
}

.section-services-products {
  background-color: #201E1E;
  color: white;
  padding: 2% 5% 2% 5%;
  padding-top: 2%;
  width: 100%;
  box-shadow: 4px 4px 18px 6px rgb(0 0 0 / 55%);
}

.section-services-products div {
  display: flex;
}

.section-services-products li {
  list-style: none;
  margin-top: 1%;
}

.section-services-products ul {
  padding: 0;
  width: 50%;
}

#products-2 {
  text-align: right;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .diagonal {
    background: linear-gradient(121deg, #FFFFFF 60.3%, #000000 61.47%) !important;
  }

  .principal-section {
    /* display: block; */
    background-color: #EB2028;
    background-size: cover;

  }

  .principal-section section {
    width: 100vw;
    height: 60vh;
    padding-top: 0%;
    background-color: #000000bd;
  }

  #logo-big {
    margin: 0%;
  }

  .principal-section aside {
    width: 100vw;
    height: 40vh;
    padding-top: 20vh;
    background-color: #000000bd;
    text-align: center;
    position: relative;
  }

  .section-aboutwe div {
    width: 100%;
    display: block;
    align-content: center;
  }

  .section-aboutwe div aside {
    margin: auto !important;
    width: 90%;
    height: 20vh;
    padding: 0%;
    margin: 0%;
  }

  .section-aboutwe p {
    width: 95%;
    padding-top: 5%;
    margin: auto;
  }

  .section-aboutwe h2 {
    padding-top: 10%;
    padding-bottom: 5%;
  }

  .section-services-products {
    padding-top: 5%;
    padding-bottom: 5%;
  }

  .section-services-products h2 {
    text-align: center;
  }

  .section-services-products li {
    font-size: 13px;
    margin: 1%;
  }

  .tarjeta {
    width: 90% !important;
    margin-bottom: 20px !important;
  }

  .section-services-products div {
    display: block;
  }

  .section-services-products ul {
    margin-top: 10px;
    width: 90%;
    margin-bottom: 0rem;
  }

  .btn-trabajos {
    width: 80% !important;
  }

}

*::selection {
  background: #EB2028;
  color: rgb(255, 255, 255);
}

/* ************* Contact Section ***************** */
.contact-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-top: 30px;
}

.contact-container>div {
  width: 40%;
  min-width: 30%;
  max-width: 90%;
}

.contact-container .contact-title {
  color: rgba(236, 32, 41, 1);
  font-size: 40px;
  font-weight: 400;
}

.contact-form {
  /* padding-left: 70px; */
  /* padding-right: 20px; */

}

.contact-form form {
  margin-top: 5px;
  width: 100%;
  /* max-width: 600px; */
}

.contact-form .form-group {
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form .form-group .label {
  font-size: 18px;
  font-weight: 400;
  color: rgba(0, 0, 0, 1);
  margin-bottom: 5px;
}

.contact-form .form-group .form-input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(228, 228, 228, 1);
  background-color: rgba(228, 228, 228, 1);
  border-radius: 5px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.879);
}

/* Placeholder */
/* .contact-form .form-group .form-input::placeholder {
  color: 
} */

.contact-form .form-group .text-area {
  height: 200px;
  max-height: 200px;
}

.contact-form .absolute-button {
  position: relative;
}

.contact-form .absolute-send {
  /* padding: 10px; */
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFFF;
  border: none;
  bottom: 5px;
  right: 10px;
  border-radius: 50%;
  background-color: rgba(236, 32, 41, 1);
  position: absolute;
}

.contact-form .form-group .form-input:active,
.contact-form .form-group .form-input:focus-visible {
  outline: none;
}

.contact-location .map {
  width: 100%;
  height: 390px;
}

.contact-location .contact-text {
  font-weight: 400;
  font-size: 20px;
}


/* *********************************************** */

/* down-arrow */

@keyframes animar {
  from {
    transform: translateY(-10px);
    background-color: #EB2028;
  }

  to {
    transform: translateY(5px);
  }
}

#down-arrow {
  animation-name: animar;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.container-tarjetas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 20px;
}

.tarjeta {
  width: 400px;
  background-color: white;
  margin: 1%;
  padding: 2%;
  border: 1px solid #e3e3e3;
  transition: 0.5s all ease-in-out;
}

.tarjeta:hover {
  transition: 0.3seg;
  border: 1px solid #dc3545;
}


.container-tarjetas p {
  font-size: 13px;
}

.container-tarjetas h3 {
  margin: 0;
  margin-bottom: 4%;
  color: #EB2028;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.container-tarjetas h3:hover {
  white-space: normal;
  overflow: visible;
}

.container-tarjetas h4 {
  font-size: 15px;
  text-align: center;
  margin: 2% 0% 0% 0% !important;
  color: #e43a40;
}

.btn-facebook {
  background-color: #3b5998 !important;
}

.btn-facebook:hover {
  background-color: #0e3a99 !important;
}

.btn-instagram {
  background-color: #b357bb !important;
}

.btn-instagram:hover {
  background-color: #c022ce !important;
}

.btn-whatsapp {
  color: white;
  border: 1px solid white;
  background-color: #4bcc52;
}

.btn-whatsapp:hover {
  color: white;
  background-color: #16da20;
}

.btn-whatsapp-flot {
  color: #fff;
  background-color: #2bb431;
  border: 2px solid #ffff;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
}

.btn-whatsapp-flot i {
  font-size: 40px;
}

.btn-whatsapp-flot:hover {
  color: white;
  background-color: #e43a40;
}

.logo-negro {
  background-color: white;
}

.img-tarjeta {
  width: 50% !important;
  object-fit: cover;
  height: 260px;
  min-height: 260px;
}

#btnScrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 25px;
  width: 50px;
  height: 61px;
  border: none;
  outline: none;
  background-color: #ff0000;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#btnScrollToTop:hover {
  background-color: #b60000;
}

.carousel-inner p {
  text-align: justify;
}


.tarjeta-verde {
  border: 1px solid #28a745; /* Borde verde */
  background-color: #e8f5e9; /* Fondo verde claro */
  border-radius: 10px; /* Bordes redondeados */
  padding: 20px; /* Espaciado interno */
  max-width:450px; /* Ancho máximo */
  margin: 20px auto; /* Centrarse en la página */
  text-align: center; /* Centrar texto */
  font-family: Arial, sans-serif; /* Fuente */
}

/* Estilos para la imagen */
.tarjeta-verde img {
  border-radius: 50%; /* Imagen redonda */
  width: 200px; /* Ancho de la imagen */
  height: 200px; /* Altura de la imagen */
  object-fit: cover; /* Ajuste de la imagen */
  margin-bottom: 15px; /* Margen inferior */
}


.tarjeta-verde p {
  color: #333; 
  font-size: 16px; 
  margin-bottom: 20px; 
}

.tarjeta-verde a.whatsapp {
  background-color: #25D366; 
  color: white;
  padding: 10px 20px; 
  border-radius: 25px; 
  text-decoration: none;
  font-size: 14px; 
  transition: background-color 0.3s;
}

.tarjeta-verde a.whatsapp:hover {
  background-color: #1EBE5A; 
}



.btn-trabajos {
  width: 40%;
  color: white;
  background: red;
  border: none;
  padding: 10px 15px;
  font-weight: 500;
  transition: 0.5s all;
}

.btn-trabajos:hover {
  width: 90%;
  background: rgb(216, 0, 0);
}

body::-webkit-scrollbar {
  width: 10px;
  background: rgb(255, 255, 255);
}

body::-webkit-scrollbar-thumb {
  background: black;
  /* border-radius: 5px; */
  border-right: 1px solid white;
  border-left: 1px solid white;
  transition: all 0.5s;
}

body::-webkit-scrollbar-thumb:hover {
  background: red;
}

.btn-redes i {
  transition: all 0.5s;
}

.btn-redes i:hover {
  scale: 2.5;
  color: red;
}

.navbar-back a {
  transition: all 0.5s;
}

.navbar-back a:hover {
  color: red !important;
  scale: 3;
}

.mision-vision {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/fachadas-3.jpg);
  width: 100%;
  padding: 8%;
  font-size: 13px;
  color: white;
  background-size: cover;
  background-position: center center;
  margin-bottom: 20px;
  text-align: center;
}