/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* on mobile devices below 600px
 */
@media screen and (max-width: 600px) {
    :root {
        --header-height : 100px;
        --header-height-min   : 80px;
    }
}

/* 1. Header
/*----------------------------------------------*/
.site-header {
    position: fixed;
    width: 100%;
    z-index: 10;
    transition: background 0.3s ease-out;
}
.navbar-toggler svg.navbar-icon {
    width: 50px;
    height: 50px;
}
.navbar-nav .nav-item a.nav-link {
    color: var(--accent-color);
}
.navbar-nav .nav-item a.nav-link.active, 
.navbar-nav .nav-item a.nav-link:focus, 
.navbar-nav .nav-item a.nav-link:hover {
    color: var(--primary-color);
}

/*------------ Offcanvas -------------- */
#header-nav .navbar-toggler:focus {
    box-shadow: none;
}
#header-nav .offcanvas.show {
    z-index: 9999;
    background-color: var(--light-blue-color);
}
#header-nav .offcanvas-end {
    width: 500px;
}
.offcanvas.show .nav-item a.nav-link {
    font-size: 2em;
}
.offcanvas.show .offcanvas-body .navbar-nav {
    align-items: unset!important;
    padding-left: 20px;
}

/*------------ Top User Icons -----------*/
.site-header .user-items svg {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

@media only screen and (max-width: 991px) {
  #navbar .user-items {
    display: none;
  }
}


/* 2. Billboard
/*----------------------------------------------*/
/*------------Swiper Arrow -----------*/
#billboard .swiper-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}
.swiper-icon.swiper-arrow svg {
    fill: var(--light-gray-color);
}
.swiper-icon.swiper-arrow:hover svg,
.swiper-icon.swiper-arrow:focus svg {
    fill: var(--primary-color);
}
#billboard .swiper-arrow.swiper-arrow-prev {
    left: 0;
}
#billboard .swiper-arrow.swiper-arrow-next {
    right: 0;
}

@media only screen and (max-width: 767px) {
  #billboard .banner-content {
      margin-top: 210px;
  }
  #billboard .image-holder {
      margin-top: -390px;
      opacity: 0.3;
  }
  #billboard .swiper-arrow {
      top: 400px;
  }
}

/* 3. Icon Box - Company Services
/*----------------------------------------------*/
.icon-box .icon-box-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--primary-color);
}

@media only screen and (max-width: 991px) {
  #company-services .icon-box {
    flex-wrap: wrap;
  }
}



.container-contacto {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

h2 {
  text-align: center;
  font-size: 2rem;
  color: #004080;
  margin-bottom: 10px;
}

p.intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #555;
  margin-top: 100px;
}

/* Formulario */
.contact-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
  color: #004080;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #004080;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background-color: #004080;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #0066cc;
}

/* Información de contacto */
.info-contacto {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  text-align: center;
}

.info-contacto div {
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  flex: 1 1 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.info-contacto div h4 {
  color: #004080;
  margin-bottom: 10px;
}

/* Mapa */
.mapa {
  margin-top: 50px;
  text-align: center;
}

.mapa iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 15px;
}



/* Responsivo */
@media (max-width: 768px) {
  .info-contacto {
    flex-direction: column;
  }

  p .intro{
    margin-top: 100px;
  }
}

/**ICONO WHASTAPP***/

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  bottom: 25px;
  right: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  animation: floatW 3s ease-in-out infinite;
  transition: transform .2s;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* animación opcional */
@keyframes floatW {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
