*{
    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 a {
    color: var(--color3); 
    text-decoration: none;
    font-weight: bold;
}
.texto a:hover {
    color: #72db02;
    text-decoration: none;
}
.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; 
        padding: 0;
    }
    .titulos {
        margin: 40px 10px; 
        font-size: 20px; 
    }
    .texto-sub{
        margin: 60px 50px; 
        padding: 0;
    }
}

/*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;
    }
}

/*team cards*/
.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    max-width: 1300px;
    margin: 0 150px;
}
.card {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    max-width: 600px;
} 
.card-image {
    flex: 0 0 30%; /* 30% of the width */
    margin-right: 20px;
}
.card-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.card-info {
    flex: 0 0 70%; /* 70% of the width */
}
.card-info h3 {
    margin: 0;
    font-size: 1.5em;
    color: var(--color3);
    padding: 0 10px;
}
.card-info .role {
    font-size: 1.2em;
    font-weight: 600;
    margin: 10px 0;
    color: #333;
}
.card-info p {
    margin: 5px 0;
    color: #666;
    font-size: 1em;
}
.social-icon {
    margin-top: 15px;
}
.social-icon img {
    width: 24px;
    height: 24px;
}
.icon-box {
    display: inline-flex;
    justify-content: center; 
    align-items: center;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-right: 16px;
    vertical-align: middle;
    width: 30px;
    height: 30px;
}
.icon-box i {
    color: var(--color4);
    font-size: 16px;
}
.correos{
    color: #1F3C78;
    text-decoration: none;
}
.correos:hover{
    color: var(--color3);
}
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
        margin: 0 20px; 
    }

    .card {
        max-width: 100%; 
        padding: 30px; 
    }
}

/*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; /* Further decrease padding for smaller screens */
    }
    .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 */
    }
}