/* Importing Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Defining Custome Variables */
:root {
    /* Colors */
    --primary-color: #3b141c;
    --secondary-color: #6caf2c;
    --dark-color: #252525;
    --white-color: #fff;
    --light-gray-color: #f2f2f2;

    /* Site Max-Width */
    --site-max-width: 1300px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white-color);
}

/* Setting for the whole website */
a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.section_container {
    margin: 0 auto;
    max-width: var(--site-max-width);
}

.section_title {
    text-align: center;
    padding: 60px 0 100px;
    font-size: 32px;
    font-family: "Righteous", sans-serif;
    text-transform: uppercase;
}

.section_title::after {
    content: '';
    width: 80px;
    background: var(--secondary-color);
    height: 5px;
    display: block;
    margin: 7px auto 0;
    border-radius: 8px;
}

/* Styling for the header section */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    background: transparent;
}

nav {
    display: flex;
    padding: 15px 0 15px 20px;
    justify-content: space-between;
    align-items: center;
    margin: 2% auto 0;
    max-width: var(--site-max-width);
}

nav .nav_logo a {
    display: flex;
    gap: 15px;
    align-items: center;
}

nav .nav_logo a img {
    max-width: 150px;
}

nav .nav_logo h2 {
    color: var(--white-color);
    font-weight: 600;
    font-size: 32px;
}

nav ul {
    display: flex;
    gap: 10px;
}

nav ul li{
    display: inline-block;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    display: block;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 500;
    color: var(--white-color);
    border-radius: 30px;
}

nav ul li a::after {
    content: ""; 
    position: absolute; 
    left: 0; 
    bottom: -1%; 
    width: 0; 
    height: 2px; 
    background-color: transparent; 
    transition: width 0.7s ease, left 1s ease; 
}
  
nav ul li a:hover::after {
    background-color: #fff;
    width: 100%;
    left: 0;
}

nav label {
    font-size: 32px;
    color: var(--white-color);
    cursor: pointer;
}

label .menu_btn,
label .close_btn {
    display: none;
}

#click {
    display: none;
}

header.white {
    background: #fff;
    color: #6caf2c;
    padding-bottom: 0.5%; 
}

header.white ul{
    background: #fff;
    color: #6caf2c;
}
  
header.white ul li a {
    color: #6caf2c; 
  
}
  
header.white ul li a::after {
    content: ""; 
    position: absolute; 
    left: 0; 
    bottom: -1%; 
    width: 0; 
    height: 2px; 
    background-color: transparent; 
    transition: width 0.7s ease, left 1s ease; 
    color: #6caf2c; 
}
  
header.white ul li a:hover::after {
    background-color: #6caf2c;
    color: #6caf2c; 
    width: 100%;
    left: 0;
}

header.white .top-menu::after{
    background-color: #6caf2c;
}

header.white .usa-language-container .usa-language__link{
    color: #6caf2c;
}

header.white .usa-language-container .usa-language__link:hover{
    color: #fff;
}


header.white label .menu_btn,
label .close_btn {
    color: #000;
}

.top-menu {
    background-color: transparent; 
    color: white;
    height: 30px;
    margin: 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
  }
  
  .top-menu::after {
    content: "";
    display: block;
    position: absolute;
    top: 50px;
    left: 5%;
    width: 90%; 
    height: 2px;
    border-radius: 10vh;
    background-color: #fff; 
  }
  .top-menu p {
    margin: 0;
    font-size: 18px;
  }

.usa-language-container {
    position: relative;
    float: right;
    margin: 7px 170px 0 0;
    font-size: 10px;
  }
  
  .usa-language-container a p{
    position: relative;
    margin-left: -1rem;
    font-size: 12px;
    color: #000;
  }
  
  .usa-language__primary-item {
    position: relative;
  }
  
  .usa-language__link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    cursor: pointer;
    background-color: transparent;
    color: #fff;
  }
  
  .usa-language__link:hover {
    border-color: #6caf2c;
    background-color: #6caf2c;
  }
  
  .usa-language__link.active {
    background-color: #007bff;
    color: #000;
    border-color: #007bff;
  }
  
  .usa-language__submenu {
    position: absolute;
    width: 240px;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
    border-top: none;
    z-index: 1;
    display: none;
  }
  
  .usa-language__submenu-item {
    padding: 0 0rem;
    width: 235px;
  }
  
  .usa-language__primary-item:hover .usa-language__submenu,
  .usa-language__primary-item.active .usa-language__submenu {
    display: block;
  }  

/* Hero Section */

.hero_section {
    min-height: 80vh;
    background: url("imagenes/20220407_102122.jpg") no-repeat 50% 50%;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
}

.hero_container {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: center;
    text-align: center;
    padding-top: 150px;
    min-height: calc(100vh - 85px);
    justify-content: space-between;
}

.hero_container .text_section h2{
    font-size: 100px;
    color: var(--secondary-color);
    text-align: center;
}

.hero_container .text_section h3 {
    font-size: 55px;
    font-weight: 600;
    color: var(--white-color);
}

.hero_container .text_section p {
    font-size: 20px;
    font-weight: 400;
    color: var(--white-color);
    margin: 24px 0 40px;
    max-width: 70%;
}

.swipe {
    position: relative;
    background-color: #F1F7F7;
    width: 200px;
    height: 60px;
    color: #000;
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-top: 0.5px solid rgba(0, 0, 0, 0.35);
    border-left: 0.5px solid rgba(0, 0, 0, 0.35);
    padding-left: 40px;
    margin: 0 0 0 0;
    cursor: pointer;
    transition: 0.35s ease;
}
  
.swipe:hover {
    padding-left: 0;
    padding-right: 40px;
    color: #324B4C;
}
  
.swipecontainer {
    position: absolute;
    left: 5px;
    width: 50px;
    height: 50px;
    background: #6caf2c;
    border-radius: 50%;
    transition: 0.35s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f1f4f7;
}
  
.swipecontainer svg{
    padding: 0 3% 8% 0;
}
  
.swipe:hover .swipecontainer {
    left: calc(100% - 55px);
    color: #f1f4f7;
}

.hero_container .image_section {
    max-width: 45%;
}

.hero_container .image_section img {
    width: 100%;
}

/* About Us Section */
.about_us {
    padding: 60px 20px 120px;
    background: var(--light-gray-color);
}

.about_container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.about_container .text_section {
    max-width: 100%;
}

.about_container .text_section p {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 30px;
    text-align: justify;
}

.about_container .image_section {
    max-width: 45%;
}

.about_container .image_section img {
    width: 100%;
}

/* Services Section */
.services {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 60px 20px 120px;
    width: 100%;
}

.services .service_container {
    display: flex;
    justify-content: space-between;
    gap: 120px;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.services .section_subtitle{
  font-size: 25px;
  text-align: left;
  margin: 20px 0 0 200px;
}

.section_container .services_items img {
    width: 25%;
    border-radius: 50%;
}

.section_container .services_items {
    width: 100%;
}

.services_items .services_text h3 {
    margin: -23% 0 20% 30%;
    font-weight: 600;
    font-size: 30px;
}

.services_items .services_text h4 {
    margin: -20.5% 0 20% 30%;
    font-weight: 500;
    font-size: 20px;
}

.services_items .services_text .headingp{
    margin: -17% 0 15% 30%;
    font-size: 17px;
    text-align: left;
}

.services_items .services_text p {
    text-align: justify;
    font-size: 17px;
}

.services_items .services_text a {
  font-size: 17px;
  text-align: left;
}

.link {
  padding: 0;
  margin: 5% 0 10% 0;
  border: none;
  background: none;
  cursor: pointer;
}
.link {
  --black-color: #000;
  --hovered-color: #c84747;
  position: relative;
  display: flex;
  font-weight: 600;
  font-size: 20px;
  gap: 0.5rem;
  align-items: left;
  text-decoration: none;
}
.link::after {
  position: absolute;
  content: "";
  width: 0;
  left: 0;
  height: 2px;
}
.link p::before {
  position: absolute;
  content: "Ver perfil";
  width: 0%;
  inset: 0;
  color: #6caf2c;
  overflow: hidden;
}
.link p {
  margin: 0;
  text-decoration: none;
  position: relative;
  font-size: 20px;
  color: var(--black-color);
  font-weight: 400;
}
.link:hover::after {
  width: 100%;
}
.link:hover p::before {
  width: 100%;
}
.link:hover svg {
  color: #6caf2c;
}
.link svg {
  color: var(--black-color);
  transition: 0.2s;
  position: relative;
  width: 25px;
}

/* Why Us Section */
.why_us {
    background: var(--light-gray-color);
    padding: 60px 20px 120px;
}

.why_us .why_container {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    align-items: center;
    flex-wrap: wrap;
}

.why_container .why_items img {
    width: 30%;
    margin-bottom: 10px;
}

.why_container .why_items {
    width: calc(100% / 3 - 80px);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.why_items .why_us_text {
    text-align: center;
}

.why_items .why_us_text h3 {
    margin: 20px 0;
    font-size: 22px;
}

.why_items .why_us_text p {
    font-size: 17px;
}

/* Gallery Section */
.gallery {
    background: var(--white-color);
    padding: 60px 20px 100px;
}

.gallery .gallery_container {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.gallery_container .gallery_items {
    width: 400px;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.gallery .gallery_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.gallery_container .gallery_items:hover img {
    transform: scale(1.3);
}

/* Contact Section */
.contact {
    background: var(--light-gray-color);
    padding: 60px 20px 100px;
}

.contact_container {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.contact_container .contact_form {
    max-width: 65%;
    width: 100%;
}

.contact_container .contact_form .field {
    margin: 20px 0;
}

.contact_container .contact_form .field label {
    display: block;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact_container .contact_form .field input {
    width: 100%;
    height: 50px;
    padding: 0 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contact_container .contact_form textarea {
    width: 100%;
    height: 200px;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
}

.contact_container .contact_form .button {
    padding: 8px 28px;
    border: 2px solid transparent;
    outline: none;
    cursor: pointer;
    border-radius: 50px;
    background: var(--secondary-color);
    color: var(--white-color);
    font-size: 17px;
    font-weight: 600;
    transition: all 0.4s ease;
}

.contact_container .contact_form .button:hover {
    color: var(--secondary-color);
    background: transparent;
    border-color: var(--secondary-color);
}

.contact_text .contact_items {
    display: flex;
    gap: 20px;
    margin: 80px 0;
}

.contact_text .contact_items i {
    font-size: 32px;
    margin-top: 5px;
}

/* Footer Section */
footer {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 60px 20px;
}

.footer_section {
    display: flex;
    justify-content: space-between;
}

.footer_section h3 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer_section .footer_logo a {
    display: flex;
    gap: 15px;
    align-items: center;
    color: var(--white-color);
}

.footer_section .footer_logo a img {
    max-width: 250px;
    margin: 100px 130px 0 -130px;
}

.footer_section .footer_logo a h2 {
    font-weight: 600;
}

.footer_section .useful_links ul li {
    margin: 20px 0;
}

.footer_section .useful_links ul li a {
    color: var(--white-color);
    font-size: 17px;
}

.footer_section .useful_links ul li a:hover {
    text-decoration: underline;
}

.footer_section .contact_us ul li {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer_section .contact_us ul li i {
    font-size: 25px;
}

.footer_section .contact_us ul li span {
    font-size: 17px;
}

.footer_section .follow_us i {
    font-size: 26px;
    margin-right: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.footer_section .follow_us #icon1:hover {
    color: #4267B2;
}

.footer_section .follow_us #icon2:hover {
    color: #000;
}

.footer_section .follow_us #icon3:hover {
    color: #E1306C;
}

.footer_section .follow_us #icon4:hover {
    color: #0077B5;
}

.footer_section .follow_us #icon5:hover {
    color: #FF0000;
}

.footer_section hr{
    width: 200vh;
    height: 1px;
    border: none;
    background-color: #fff;
    margin: 520px 0 0 -104vh;
}

/* Responsive Media Query code for max-width: 1024px */

@media screen and (max-width: 1024px) {
    nav {
        padding: 15px 20px;
    }

    label .menu_btn {
        display: block;
    }

    nav ul {
        display: block;
        background: var(--white-color);
        position: absolute;
        top: 75px;
        left: -100%;
        overflow-y: auto;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: all 0.15s ease;
    }

    #click:checked~ul {
        left: 0;
    }

    #click:checked~label .close_btn {
        display: block;
    }

    #click:checked~label .menu_btn {
        display: none;
    }

    nav ul li {
        display: block;
        padding: 8px 12px;
        width: 48%;
        margin: 24px auto;
    }

    nav ul li a {
        color: var(--dark-color);
    }

    .hero_container {
        flex-direction: column-reverse;
        align-items: center;
        padding-bottom: 32px;
        background: url("imagenes/20220407_102122.jpg") no-repeat 30% 50%;
        background-size: cover;
        background-attachment: fixed;
    }

    .hero_container .image_section {
        max-width: 100%;
        text-align: center;
        background: url("imagenes/20220407_102122.jpg") no-repeat 5% 50%;
        background-size: cover;
        background-attachment: fixed;
    }

    .hero_container .image_section img {
        max-width: 90%;
        align-items: center;
        background: url("imagenes/20220407_102122.jpg") no-repeat 5% 50%;
        background-size: cover;
        background-attachment: fixed;
    }

    .hero_container .text_section {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero_container .text_section h2{
      width: 100%;
      font-size: 80px;
      text-align: center;
      margin: 0 0 50% 0;
  }

    .hero_container .text_section p {
        max-width: 100%;
    }

    .about_container {
        flex-direction: column;
    }

    .about_container .text_section {
        max-width: 100%;
    }

    .services{
        margin: 0vh 0 0 0;
    }

    .services .section_subtitle{
      text-align: center;
      margin: 0 0 20px 0;
    }

    .services .services_items p{
      padding: 0 30px 0 30px;
    }

    .services .section_title {
        padding: 0px 20px;
        font-size: 30px;
        margin-top: -10px; 
    }

    .section_container .services_items img {
        max-width: 80%;
        margin-left: 30px;
    }

    .services .services_items h3{
      padding: 0px 20px;
      font-size: 30px;
      margin-top: -150px; 
    }

    .services .services_items h4{
        padding: 0px 20px;
        font-size: 15px;
    }
  
    .services .services_items .headingp{
        padding: 0 30px 0 30px;
        text-align: justify;
        margin: -50px 0 20px 0;
    }

    .why_us .why_container {
        gap: 50px;
    }

    .why_container .why_items {
        width: calc(100% / 2 - 50px);
    }

    .gallery .gallery_container {
        justify-content: center;
    }

    .gallery_container .gallery_items {
        width: calc(100% / 2 - 50px);
    }

    .contact_container {
        flex-direction: column-reverse;
    }

    .contact_text .contact_items {
        margin: 25px 0;
    }

    .contact_container .contact_form {
        max-width: 100%;
    }

    .footer_section {
        flex-direction: column;
        margin: -100px 0 0 0;
        gap: 24px;
    }

    .footer_section .footer_logo{
      margin: 0 0 0 130px;
    }

    .footer_section .useful_links {
        text-align: start;
    }
}

/* Responsive Media Query code for max-width: 576px */
@media screen and (max-width: 576px) {
    .section_title {
        padding: 100px 0 50px 0;
    }

    header.white{
        display: none;
    }

    nav .nav_logo a img,
    .footer_section .footer_logo a img {
        max-width: 150px;
    }

    nav .nav_logo h2 {
        font-size: 30px;
    }

    .top-menu {
        display: block;
        text-align: right;
        margin-right: 20px;
    }

    .top-menu::after {
        display: none;
    }

    .usa-language-container {
        display: flex;
        justify-content: flex-end;
        margin: 100px 0 0 0;
        color: #000;
    }

    .usa-language__primary-item {
        list-style: none;
    }

    .usa-language__link {
        border: none;
        background: none;
        font-size: 16px;
        color: #000;
        cursor: pointer;
    }

    .usa-language__submenu {
        position: absolute;
        right: 20px;
        background-color: #fff;
        border: 1px solid #ccc;
        padding: 10px;
        list-style: none;
    }

    .usa-language__submenu-item a {
        display: block;
        padding: 5px 10px;
        color: #000;
        text-decoration: none;
    }

    .usa-language__submenu-item a:hover {
        background-color: #f1f1f1;
    }

    .hero_container {
        justify-content: space-evenly;
    }

    .hero_container .text_section h2 {
        font-size: 30px;
        padding: 0 0 10px 0;
    }

    .hero_container .text_section h3 {
        font-size: 26px;
    }

    .hero_container .image_section img {
        max-width: 80%;
    }

    .hero_container .text_section p {
        font-size: 17px;
    }

    .about_us .text_section p{
        padding: 0 20px;
    }

    .about_container .image_section {
        max-width: 70%;
    }

    .button {
        padding: 10px 20px !important;
        font-size: 15px !important;
    }

    .section_container .services_items,
    .why_container .why_items {
        width: 100%;
        text-align: center;
    }

    .gallery_container .gallery_items {
        flex-direction: column;
        width: 100%;
    }
/*img1011ximg13ximg18ximg21ximg22ximg24x*/
    .gallery_container .gallery_items:nth-child(1){
        display: none;
    }

    .gallery_container .gallery_items:nth-child(3){
        display: none;
    }

    .gallery_container .gallery_items:nth-child(6){
        display: none;
    }

    .gallery_container .gallery_items:nth-child(7){
        display: none;
    }

    .gallery_container .gallery_items:nth-child(10){
        display: none;
    }

    .gallery_container .gallery_items:nth-child(11){
        display: none;
    }

    .gallery_container .gallery_items:nth-child(13){
        display: none;
    }

    .gallery_container .gallery_items:nth-child(18){
        display: none;
    }

    .gallery_container .gallery_items:nth-child(21){
        display: none;
    }

    .gallery_container .gallery_items:nth-child(22){
        display: none;
    }

    .gallery_container .gallery_items:nth-child(24){
        display: none;
    }

    .services .service_container,
    .why_us .why_container {
        gap: 70px;
    }

    .services .section_title{
        padding: 50px 0 50px 0;
    }

    .services .services_items .services_text h3{
        font-size: 23px;
        margin: -120px -10px 100px 150px;
        text-align: left;
    }

    .services .services_items .services_text h4{
        font-size: 15px;
        margin: -100px -10px 100px 150px;
        text-align: left;
    }

    .section_container .services_items img {
        max-width: 100%;
        width: 120px;
        height: 120px;
        margin: 0 210px 0 0;
    }

    .footer_section .footer_logo {
        margin: -10px 0 0 130px;
    }
}

