*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family:"Montserrat";
    font-size:medium;
    background-color: #f9f9f9;
    --color1: #FFF ;
    --color2: #181818 ;
    --color3: #77B434;
    --color4:#1F3C78;
}
.titulos {
        font-weight: 700 ;
        margin: 40px 80px; /* Add spacing around the paragraph edges */
        font-size: 2vw; /* Increase font size */
        text-align: center; /* Justify the text to the left */
        color: var(--color4); /* Change font color */
        white-space: normal; /* Allow text to wrap */
        position: relative;
}
.texto{
    margin: 60px 150px; /* Add spacing around the paragraph edges */
    margin-bottom: 10px;
    font-size: 17px; /* Increase font size */
    text-align: justify; /* Justify the text to the left */
    font-weight: 400; /* Adjust font weight */
    color: #666; /* Change font color */
    line-height: 30px;
}
.texto-sub{
    font-weight: 500 ;
    margin: 60px 150px; /* Add spacing around the paragraph edges */
    margin-bottom: 10px;
    font-size: 20px; /* Increase font size */
    text-align: center;
    color: #232323; /* Change font color */
    line-height: 30px;
}
@media screen and (max-width: 1200px) {
    .texto {
        padding: 0 100px; /* Decrease padding for medium screens */
    }
}
@media screen and (max-width: 900px) {
    .texto {
        padding: 0 100px; /* Further decrease padding for smaller screens */
    }
    .titulos {
        font-size: 20px; /* Increase font size */
    }
}
@media screen and (max-width: 600px) {
    .texto {
        margin: 60px 100px; /* Minimal margin for very small screens */
        padding: 0; /* Remove padding */
    }
    .titulos {
        margin: 40px 10px; /* Minimal margin for very small screens */
        font-size: 20px; /* Increase font size */
    }
    .texto-sub{
        margin: 40px 30px; /* Minimal margin for very small screens */
        font-size: 17px;
    }
}

/*navigation bar*/
.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: relative;
    background-color: var(--color1);
    padding: 0 20px;
    z-index: 999;
}
.main_logo img {width: 300px;}
/* Hide the small logo by default */
#logo_small {
    display: none;
}
@media (max-width: 1024px) {
    .nav-bar{
        justify-content: flex-start;
    }
    #logo_small {
        display: block;
        margin-right: auto;
    }
    #logo_big {
        display: none;
    }
}

/*menu */
.menu {display: flex;}
.menu li {padding-left: 30px;}
.menu li a {
    display: inline-block;
    text-decoration: none;
    color: var(--color2);
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
    text-transform: uppercase;
    font-size: 0.8rem;
}
.menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color3);
    transition: 0.15s ease-in-out;
}
.menu li a:hover { color: var(--color3); /* Change text color on hover */}
.menu li a:hover:after {width: 100%;}
.open-menu, .close-menu {
    position: absolute;
    color: var(--color3);
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}
.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
.close-menu {
    top: 20px;
    right: 20px;
 }
#check {display: none;}
@media (max-width: 610px) {
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1000;
        background-color: var(--color1);
        transition: all 0.2s ease-in-out;
    }
    .menu li {
        margin-top: 40px;
    }
    .menu li a {
        padding: 10px;
    }
    .open-menu,
    .close-menu {
        display: block;
    }
    #check:checked ~ .menu {
        right: 0;
    }
    #logo_small {
        display: block;
        width: 300px;
    }

    #logo_big {
        display: none;
    }
}
@media (min-width: 611px) and (max-width: 1024px) {
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1000;
        background-color: var(--color1);
        transition: all 0.2s ease-in-out;
    }
    .menu li {
        margin-top: 30px;
    }
    .menu li a {
        padding: 10px;
    }
    .open-menu,
    .close-menu {
        display: block;
    }
    #check:checked ~ .menu {
        right: 0;
    }
    #logo_small {
        display: block;
        width: 500px;
    }

    #logo_big {
        display: none;
    }
}
@media (min-width: 1025px) and (max-width: 1440px) {
    .menu {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: auto;
        height: auto;
        position: relative;
        top: 0;
        right: 0;
        background-color: transparent;
    }
    .menu li {
        margin-top: 0;
    }
    .menu li a {
        padding: 10px 20px;
    }
    .open-menu,
    .close-menu {
        display: none;
    }
    #logo_small {
        display: none;
    }

    #logo_big {
        display: block;
    }
}
@media (min-width: 1441px) {
    .menu {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: auto;
        height: auto;
        position: relative;
        top: 0;
        right: 0;
        background-color: transparent;
    }
    .menu li {
        margin-top: 0;
    }
    .menu li a {
        padding: 10px 20px;
    }
    .open-menu,
    .close-menu {
        display: none;
    }
    #logo_small {
        display: none;
    }

    #logo_big {
        display: block;
    }
}

/*formularios*/
     .container {
        display: flex;
        padding: 0 150px;
        gap: 20px;
    }
    .formularios {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 60%; /* Make this occupy 60% */
        order: 1; /* Initially, this should be second */
    }
    .formulario-group {
        display: flex;
        flex-direction: column;
    }
    a.pdf {
        display: inline-block;
        width: 100%; 
        height: 120%;
        align-items: center;
        padding: 15px 20px;
        font-size: 15px;
        font-weight:400;
        color: var(--color1);
        background-color: var(--color4);
        text-align: center;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        margin-bottom: 15px;
    }
    a.pdf:hover{
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);    
        background-color: #3360b9;
    }
    .images {
        width: 40%; 
        display: flex;
        flex-direction: column;
        padding: 0 40px;
        order: 2;
    }
    .images img {
        width: auto;
        height: 800px;
    }
@media (max-width: 1024px) {
    .container {
        padding: 0 80px;
        flex-direction: column; 
    }
    .formularios {
        width: 100%;
    }
    .images {
        display: none;
    }
}
@media (max-width: 600px) {
    .container {
        padding: 0 30px;
    }
    .formularios {
        width: 100%;
        order: 1; 
    }
    .images {
        display: none;
    }
    a.pdf {
        width: 100%; 
        padding: 15px 30px; 
        box-sizing: border-box;
    }
} 

/*footer*/
footer{
    bottom: 0px;
    width: 100%;
    background: #eeeeee;
  }
.img-footer{
    width: 250px;
    padding: 0 40px;
    margin: 0 auto;
    display: block;
    align-items: center;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}
  .main-content{
    display: flex;
    padding: 20px 200px;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
  }
  .main-content .left-box{
    flex-basis: 30%; /* Smaller width for the left box */
    padding: 10px 20px;
}
.main-content .right-box{
    flex-basis: 70%; /* Larger width for the right box */
    padding: 10px 20px;
}
  .box h2{
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color:var(--color4);
  }
  .box .content{
    margin: 20px 0 0 0;
    position: relative;
  }
  .box .content:before{
    position: absolute;
    content: '';
    top: -10px;
    height: 2px;
    width: 100%;
    background: #eee;
  }
  .box .content:after{
    position: absolute;
    content: '';
    height: 2px;
    width: 18%;
    background: #eee;
    top: -10px;
  }
  .center .content a {
    text-decoration: none;
    color: inherit;
  }
  .center .content .fas{
    font-size: 0.8rem;
    background: #e2e2e2;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
  }
  .center .content .fas:hover{
    background: var(--color4);
    color: var(--color1);
  }
  .center .content .fab{
    font-size: 0.8rem;
    background: #e2e2e2;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
    font-size: 22px;
  }
  .center .content .fab:hover{
    background: var(--color3);
    color: var(--color1);
  }
  .center .content .text{
    font-size: 0.8rem;
    font-weight: 400;
    padding-left: 10px;
    color: #666;
  }
  .center .content .phone{
    margin: 10px 0;
  }
  .center .content .wpp{
    margin: 10px 0;
  }
@media screen and (max-width: 1200px) {
    .main-content {
        padding: 20px 100px; /* Decrease padding for medium screens */
    }
}
@media screen and (max-width: 900px) {
    footer {
        position: relative;
        bottom: 0px;
    }
    .main-content {
        flex-wrap: wrap;
        flex-direction: column;
        padding: 20px 50px; 
    }
    .main-content .left-box, .main-content .right-box {
        flex-basis: 100%; 
        padding: 10px 0; 
    }
    .main-content .box {
        margin: 5px 0;
    }
}
@media screen and (max-width: 600px) {
    .main-content {
        padding: 20px 20px; /* Minimal padding for very small screens */
    }
}
