@import url(https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap);

:root {
    --brand: #1D7d4D;
    --dark: #1D7d4D;
    --body: #1D7d4D;
    --border: rgba(0,0,0,0.08);
    --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
    overflow-x: hidden;
    
}

body {
    font-family: "Barlow", sans-serif;
    color: var(--body);
    line-height: 1.7;
    font-size: 19px;
}

h1,h2,h3,h4,h5,h6,
.display-1,.display-2,.display-3,.display-4 {
    font-weight: 650;
    color: var(--dark);
}

.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

img {
    width: 100%;
}

a {
    color: var(--dark);
    transition: all 0.7s ease;
    font-weight: 500;
}

a:hover {
    color: var(--brand);
}

section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.text-brand {
    color: var(--brand) !important;
}


.hero-slider .owl-prev{
    background-color: rgba(6, 54, 15, 0.3) !important;
    width: 40px  !important;
    height: 40px !important;
    display: block;
    display: grid;
    place-items: center;
    color: #fff !important;
    border-style: solid; /* Estilo del borde */
    border-width: 5px 5px 0 0; /* Ancho del borde para crear la forma de flecha */
    line-height: 0;
    position: absolute;
    top: 50%;
    font-weight: 400 !important;
    font-size: 12px !important;
    transition: all .4s ease;
    margin-top: -30px !important;
    transform: rotate(-140deg); /* Rota la flecha */
}
.hero-slider .owl-next{
    background-color: rgba(6, 54, 15, 0.3) !important;
    width: 40px !important;
    height: 40px !important;
    display: block;
    display: grid;
    place-items: center;
    color: #fff !important;
    border-style: solid; /* Estilo del borde */
    border-width: 5px 5px 0 0; /* Ancho del borde para crear la forma de flecha */
    line-height: 0;
    position: absolute;
    top: 50%;
    font-weight: 600 !important;
    font-size: 12px !important;
    transition: all .4s ease;
    margin-top: -30px !important;
    transform: rotate(-320deg); /* Rota la flecha */
}



/* Estilo de la flecha */


.bolded { font-weight: bold; }
.owl-prev {
    left: 0;
}
.owl-next {
    right: 0;
}

.hero-slider .owl-prev:hover,
.hero-slider .owl-next:hover {
    background-color: var(--brand) !important; 
}

.owl-dot.active span{
    background-color: var(--brand) !important;
}


 /* slide */
 .slide {
     min-height: 90vh;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
}

.slide1 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(img/hoscar.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider3 {
    position: relative;
    width: 100%;
    height: 400px; /* Ajusta la altura segÃºn sea necesario */
    overflow: hidden;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Ancho mÃ¡ximo del contenedor */
    margin: 0 auto;
  }
  .modal1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100;
  }
  .modal-title {
    text-align: center;
    color: white; /* Assuming you want white color */
  }
  .modal1-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-color: white;
    padding: 20px;
  }
  
  .modal1-content video {
    width: 95%;
    height: 95%;
  }
  .modal2 {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100;
    text-align: center; /* Centra el contenido del modal */
  }
  
  .modal2-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc; /* Agrega un borde al recuadro */
  }
  
  .modal2-content video {
    width: 95%;
    height: 95%;
  }
  
  .btn-cerrar-modal2 {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 20px;
    background-color: #ccc;
    border: none;
    cursor: pointer;
  }
  
  .modal22 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100;
    text-align: center; /* Centra el contenido del modal */
  }
  
  .modal22-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc; /* Agrega un borde al recuadro */
  }
  
  .modal22-content video {
    width: 95%;
    height: 95%;
  }
  
  .btn-cerrar-modal22 {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 20px;
    background-color: #ccc;
    border: none;
    cursor: pointer;
  }
  #video {
    width: 100%;
  }
  
  .controls {
    position: absolute;
    width: 280px;
    height: 80px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
  }
  
  .controls button {
    margin-right: 10px;
  }
  

.slide2 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/secosaA.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.slide3 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/poli.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.slide4 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/proyecto13.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.slide5 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/hoscar2.jpeg);  
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.slide .display-3 {
    text-transform: uppercase;
    color: #fff;
}

/* navbar */
.top-nav {
    background-color: var(--brand);
    color: #fff;
    padding-top: 3px;
    padding-bottom: 5px;
}

.top-nav p {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 8px;
}

.top-nav span,
.top-nav i {
    vertical-align: middle;
}

.navbar {
    box-shadow: var(--shadow);
    margin-right: -8px;
    font-size: 16.5px;
}

.social-icons a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: #fff;
    color: var(--brand);
}
.conditions-section{
    margin: -30px 0;
}
.conditions-section a{
   color: #fff;
   margin: 0 -30px;
}

.navbar .navbar-nav .nav-link {
    color: var(--dark);
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--brand);
}

.navbar .navbar-nav .nav-link.active {
    color: var(--brand);
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
}

.navbar-brand .dot {
    color: var(--brand);
}

.btn {
    padding: 8px 26px;
}

.btn-brand {
    border-color: var(--brand);
    background-color: var(--brand);
    color: #fff;
}

.btn-brand:hover {
    background-color: #043b12b9;
    border-color: #3a8a0cb9;
    color: #fff;
}

.intro {margin-bottom: 36px;
text-align: center;}

.intro p {
    max-width: 500px;
}
.intro h6{
    color: var(--brand);
    font-weight: 400;
    text-transform: uppercase;
}

.intro h1 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.info-box {
    align-items: center;
    display: flex;
}

.info-box img {
    width: 150px;
}


#milestone {
    background: linear-gradient(rgba(23, 151, 19, 0.85), rgba(23, 151, 19, 0.85)), url(../img/carab-nino.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#milestone h1,
#milestone p {
    color: #fff;
}
#coberturas {
    background: linear-gradient(rgba(23, 151, 19, 0.85), rgba(23, 151, 19, 0.85)), url(../img/carab-nino.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#coberturas h1,
#coberturas p {
    color: #fff;
}


#blog2 {
    background: linear-gradient(rgba(23, 151, 19, 0.85), rgba(23, 151, 19, 0.85)), url(../img/secosa.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.service {
    padding: 32px;
    background-color: #fff;
    box-shadow: var(--shadow);
}

.service h5 {
    margin-top: 24px;
    margin-bottom: 14px;
}

.service img {
    width: 90px;
}


.project {
    position:relative;
    overflow: hidden;
    z-index: 2;
}

.project h6 {
    font-weight: 400;
}

.project h6::before {
    content: "";
    height: 2px;
    width: 30px;
    display: inline-block;
    background: var(--brand);
    vertical-align: middle;
    margin-right: 10px;
}


.project .overlay {
    width: 100%;
    height: 220px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(255, 76, 41, 0) 0%, var(--dark) 100%);
}

.project .content {
    position: absolute;
    left: 10%;
    bottom: 10%
}

.project h2,
.project h6 {
    color: #fff;
}

.team-member {
    text-align: center;
}

.team-member .image{
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.team-member .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: -10%;
    background-color: #1D7d4D;
    opacity: 0;
    transition: all 0.5s ease;
}

.team-member h5 {
    margin-top: 16px;
    margin-bottom: 4px;
}

.team-member .social-icons {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-member .social-icons a {
    width: 40px;
    height: 40px;
}

.team-member:hover .social-icons {
    top: 50%;
    opacity: 1;
}

.team-member:hover .overlay {
    top: 0%;
    opacity: 1;
}

#reviews {

    background: linear-gradient(-90deg, rgba(8, 32, 50, 0.8), rgba(8, 32, 50, 0.8)), url(../img/carab-nino.png), #087434;;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.review {
    text-align: center;
    z-index: 2;
    position: relative;
    margin: 15px;
    max-width: 768px;
    margin: auto;
}

/*
.review .bxs-quote-alt-left {
    font-size: 80px;
    position: absolute;
    opacity: 0.1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}
*/

.review img {
    width: 120px !important;
    height: 120px;
    border-radius: 100px;
    margin: auto;
}

.review h5 {
    margin-top: 16px;
    margin-bottom: 4px;
    color: #fff;
}

.review h3 {
    margin-top: 26px;
    margin-bottom: 26px;
    font-size: 22px;
    color: #fff;
    font-weight: 400;
    line-height: 1.7;
}

.review small {
    color: var(--brand);
}

.review .stars {
    color: var(--brand);
}

.blog-post {
    position: relative;
    background-color: #fff;
    box-shadow:#1D7d4D;
}

.blog-post .content {
    padding: 32px;
}

.blog-post a {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #1D7d4D;
    padding: 2px 12px;
    border-radius: 100px;
    
    color: #fff;
}

.blog-post h5 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.blog-post small {
    text-transform: uppercase;
    color:#1D7d4D;
    text-decoration: underline;}

footer {
    background-color:#1D7d4D;;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 100%;
}
img.sticky {
    position: absolute;
    top: 0;
}

footer .footer-top {
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    padding-top: 20px;
}

footer .navbar-brand {
    color: #fff;
}

footer p {
    color: #ffffff;
}

footer .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-left: 4px;
    margin-right: 4px;
}

.loader {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: red;
    z-index: 99999;
    position: fixed;
    left: 0;
    right: 0;
}


input.form-control {
    border-color: transparent;
    height: 44px;
}

.form-control {
    background-color: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.04);;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--brand);
}

/********** Template CSS **********/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

img.animated.pulse {
    animation-duration: 5s;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: var(--bs-white);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/*** Blog ***/
.blog-item {
    transition: .1s;
}

.blog-item:hover {
    border-width: 0 !important;
    box-shadow: 0 0 35px rgba(144, 188, 121, .25);
}

.blog-item:hover a.btn {
    color: var(--bs-white);
    background: var(--bs-primary);
}




