.navbar {
    padding: 22px 0;
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding: 8px 18px;
}

.btn-contacto {
    border: 1px solid #007bff;
    color: #007bff !important;
    padding: 8px 22px !important;
    font-weight: 500;
}

/* HERO */
.hero-container {
    display: flex;
    height: 540px;
    width: 100%;
    position: relative;
}

.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;

  object-fit: cover;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 15s infinite;
}

.slide:nth-child(1) {
  animation-delay: 0s;
}
.slide:nth-child(2) {
  animation-delay: 5s;
}
.slide:nth-child(3) {
  animation-delay: 10s;
}

@keyframes fade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  30% { opacity: 1; }
  35% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-left {
    width: 50%;
    padding: 80px 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-blend-mode: multiply;
    position: relative;
    z-index: 2;
    background-color: #093677ba;
}

.hero-left h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.hero-left p {
    font-size: 18px;
    margin-top: 20px;
}

.hero-btn {
    margin-top: 28px;
}

.hero-btn .btn-primary {
    padding: 12px 26px;
    font-size: 16px;
    font-weight: 600;
}

.hero-btn .btn-outline-light {
    padding: 12px 26px;
    font-size: 16px;
    font-weight: 600;
    border-width: 2px;
    margin-left: 15px;
}

.hero-right {
    position: relative;
    z-index: 2;
    width: 50%;
    background-color: #093677ba;
}

/* SECTION TABS */
.services-section {
    padding: 60px 0;
    text-align: center;
}

.services-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0a2b51;
    margin-bottom: 35px;
}

.service-btn {
    margin: 6px 10px;
    font-weight: 600;
    border-radius: 4px;
    padding: 14px 26px;
}

.btn-darkblue {
    background-color: #003a77;
    color: #fff;
}

.hero-left h1 {
    font-size: 3em;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 1em;
    color: #ddd;
    margin-bottom: 40px;
}

.nav-bar-margin{
    margin-right: 15px;
}

@media (max-width: 646px){
    .home-buttons-contact{
        width: 100%;
        margin-bottom: 15px;
        margin-left: 0px !important;
    }

    .hero-container{
        height: auto !important;
    }
}

@media (max-width: 1024px){
    .hero-left{
        width: 100%;
    }
}

@media (max-width: 768px){
    .hero-container{
        display: block !important;
    }
}