@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root{
  --theme-color: #cb263e;
  --theme-red: #cb263e;
  --secondary-color: #005b67;
  --theme-blue: #0866ff;
  --theme-orange: #ef8129;
}
.font-goth{
  font-family: 'Goth', sans-serif !important;
}
.font-emoji{
  font-family: 'Emoji', sans-serif !important;
}
.font-gracia{
  font-family: 'Gracia', sans-serif !important;
}

#mainNav{
  background: #ffffff47;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
#telefono{
  background: #549283;
}
.font-color{
  color: var(--theme-color) !important;
}
.blue-font{
  color: var(--theme-blue) !important;
}
.btn-theme{
  font-family: 'Gotham', sans-serif;
  background-color: var(--theme-color);  
  border-radius: 70px;
  font-weight: 900;
  transition: background-color 0.3s ease-in-out;
}
.btn-white{
  font-family: 'Gotham', sans-serif;
  background-color: #ffffff;
  color: var(--theme-color);
  border-radius: 70px;
  font-weight: 900;
  transition: background-color 0.4s ease-in-out, color 0.3s ease-in-out;
}
.btn-white:hover{
  background-color: var(--secondary-color);
  color: #ffffff;
}
.btn-theme-second{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 15px;
  background: linear-gradient(145deg, #0f0f0f, #1c1c1c);
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  z-index: 1;
}
.btn-theme-blue {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 15px;
    background: linear-gradient(145deg, #0fbbf9, #0866ff);
    border-radius: 100px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    z-index: 1;
}
.btn-theme-dark-blue {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 15px;
    background: linear-gradient(145deg, #03073e, #0866ff);
    border-radius: 100px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    z-index: 1;
}
.btn-theme-second:hover, .btn-theme-blue:hover, .btn-theme-dark-blue:hover{
  background-color: var(--secondary-color);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(38, 47, 47, 0.2);
}

.btn-theme-second:hover .icon-next {
  transform: translateX(6px);
}
.icon-next {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease-in-out;
  color: #00ffff;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.btn-theme:hover{
  background-color: var(--secondary-color);
}

#menu {
    position: absolute;
    padding-top: 15px;
    background: var(--theme-color);
    width: 100%;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    height: calc(100dvh + 64px);
}

#menu.active {
  background: var(--theme-color);
  color: #fff;
  opacity: 1;
  transform: scaleY(1);
  pointer-events: auto;
}
#menu.active a{
  color: #fff;
  letter-spacing: 1px;
  font-family: 'Gotham', sans-serif;
  padding: 5px;
  font-weight: 900;
}
.bg-red{
  background-color: var(--theme-red);
}
.bg-orange{
  background-color: var(--theme-orange);
}
#sideNav a {
  display: block;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  padding-left: 8px;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}
#sideNav a.active {
  font-weight: 800;
  color: white;
  border-left-color: white;
  font-family: 'Garet-Heavy', sans-serif;
  padding-left: 6px;
}
#front-page{
  background: url('../img/bg-1.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
#section-mv{
  background: url('../img/bg-2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#section-1{
  background: url('../img/bg-1.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
}
#section-2{
  background: url('../img/bg-2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center left;
}
#contacto{
  background: url('../img/bg-contacto.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#que-hacemos{
  background: url('../img/section-1.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#clientes{
  background: url('../img/section-2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
[class^="box-description"] {
  position: relative;
  overflow: hidden;
}
[class^="box-description"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform: scale(1);
  transition: transform 1.5s ease;
  z-index: 0;
}
[class^="box-description"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(34, 197, 94, 0.35);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}
[class^="box-description"]:hover::after {
  transform: scale(1.12);
}
[class^="box-description"]:hover::before {
  opacity: 1;
}
[class^="box-description"] * {
  position: relative;
  z-index: 2;
}
.box-description::after {
  background-image: url('../img/desc-1.jpg');
}
.box-description-2::after {
  background-image: url('../img/desc-2.jpg');
}
.box-description-3::after {
  background-image: url('../img/desc-3.jpg');
}
.box-description-4::after {
  background-image: url('../img/desc-4.jpg');
}
.box-description-5::after {
  background-image: url('../img/desc-5.jpg');
}
#electrolineras{
  background: #76c842;
  border-radius: 50px;
}
.bg-footer{
  background: linear-gradient(to bottom, #333333 0%, #000000 100%);
}
.golden{
  color: #c99f00;
}
.title{
  font-family: 'Gotham', sans-serif;
  text-shadow: 0 0 8px black;
  opacity: 0;
}
.text-shadow-decoration{
  font-family: 'Gotham', sans-serif;
  font-weight: 900;
  color: white;
  text-shadow: 0 0 10px #3b3b3b8a;
}
.red-shadow-decoration{
  font-family: 'Gotham', sans-serif;
  font-weight: 900;
  text-shadow: 0 0 10px #0000008a;
}
.text-red{
  color: var(--theme-red);
}
.ff-z1{
  font-family: 'Gotham', sans-serif;
}
.ff-z2{
  font-family: 'Gotham', sans-serif;
}
.subtitle{
  color: #000;
  letter-spacing: 1px;
  font-family: 'Gotham', sans-serif;
}
.section{
  background-color: #f5f5f5;
}
.front-animated {
  position: relative;
  z-index: 0;
}
.sub-card{
  width: 90%;
  margin-left: 5%;
  border-top: 2px solid #000;
  border: 2px solid transparent;
  border-image: linear-gradient(to bottom, transparent, #c64726) 1;
}
.sub-card-blue {
    width: 90%;
    margin-left: 5%;
    border-top: 2px solid #000;
    border: 2px solid transparent;
    border-image: linear-gradient(to bottom, transparent, var(--theme-blue)) 1;
    box-shadow: 0px 0px 5px #00000038;
}
.title-decoration{
  font-family: 'Calligraffitti', cursive;
  font-weight: 700;
  font-size: 6rem;
  letter-spacing: 0.02em;
  color: #c64726;
  text-shadow: 5px 5px 0px #FFB650, 10px 10px 0px #FFD662, 15px 15px 0px #FF80BF, 20px 20px 0px #EF5097, 25px 25px 0px #6868AC, 30px 30px 0px #90B1E0;  
}
.title-border::after{
  content: "";
  display: block;
  width: 50%;
  height: 2px;
  background: #c64726;
  margin-top: 2px;
  margin-bottom: 4px;    
}
.title-border-blue::after{
  content: "";
  display: block;
  width: 50%;
  height: 2px; 
  background: var(--theme-blue);
  margin-top: 2px;
  margin-bottom: 4px;    
}
.border-decoration::after{
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #c64726;
  margin-top: 2px;
  margin-bottom: 4px;  
}
.color-semidark{
  color: #232325;
}
.img-card{
  box-shadow: 0px 0px 5px 1px #00000091;
}
.swiper {
  width: 100%;
}
.swiper-pagination-bullet-active {
    background: #ffffff !important;
}

#contact-form{
  min-height: 400px;
  background-color: #ffffffe0;
  border-radius: 10px 0px 0px 65px;
  box-shadow: 3px 0px 9px 0px #00000061;
}
#contact-card{
  min-height: 400px;
  background-color: #f1f1f1;
  border-radius: 0px 15px 15px 0px;
  box-shadow: 3px 0px 9px 0px #00000061;
}
#contact-form input, #contact-form textarea{
  background-color: #d5d5d582;
}

footer a:hover{
  color: var(--theme-color);
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

#whatsapp {
  animation: pulse 2s infinite;
}