html {
    scroll-behavior: smooth;
}
  
body {
    font-family: Poppins;
    width: 100%;
    margin: 0; 
}
  
/* ---- NAVBAR STYLES ---- */
  
header {
    position: sticky;
    top: 0;
    background-color: #EFF6FF;
    z-index: 3;
}
  
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
    padding: 0 7rem;
    font-size: 18px;
    font-weight: 500;
}
  
.navbar .logo-container {
    display: flex;
}
  

.navbar .logo-container img {
    width: 150px;
}
  
.change-language {
    display: flex;
    align-items: center;
    display: flex;
    align-items: center;
    padding: 0 0 0 20px;
    cursor: pointer;
    font-weight: 400;
    color: #1a3c75;
}
  
.change-language img {
    width: 40px;
    margin-left: 8px;
}
  
.menu {
    display: flex;
}
  
.navbar .menu a {
    text-decoration: none;
    color: #0C264A;
    padding: 40px 20px;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.7s;
    font-weight: 400;
}
  
.navbar .menu a:hover,
a:focus {
    background-image: linear-gradient(to right, #0B2A54, rgb(71, 147, 255)); 
    background-size: 100% 3px;
    background-repeat: no-repeat;
    background-position: bottom; 
    font-weight: 500;
    border-radius: 5px;
}

.navbar-mobile,
.mobile-right {
    display: none;
}

/* ---- HOME STYLES ---- */

.mobile-image {
    display: none;
}

#home {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
}

.content {
    position: relative;
    z-index: 2; 
    color: white;
    font-family: 'Poppins', sans-serif;
    max-width: 800px;
    padding: 0 20px; 
}

.content h1 {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.content p {
    font-size: 20px;
    width: 77%;
    margin: auto;
}


.scroll-down {
    margin-top: 2rem;
}

.scroll-down img {
    margin-top: 110px;
    width: 30px;
    height: auto; 
}



/* ---- ABOUT STYLES ---- */

#about-us {
    padding: 150px 0px 0px 0px;
}

.about-us-title {
    font-size: 23px;
    text-align: center;
    color: #113669;
    margin-bottom: 80px;
}

.about-us-title h2 {
    margin-bottom: 10px;
}

.underline {
    width: 120px;
    height: 5px; 
    background-image: linear-gradient(to right, #0B2A54, rgb(54, 123, 221)); 
    margin: 0 auto; 
    border-radius: 10px; 
}

.about-us-container {
    display: flex;
}

.about-us-image  {
    width: fit-content;
}

.about-us-image img {
    width: 100%;
    border-radius: 0px 10px 10px 0px;
}

.about-us-description {
    margin: 26px 148px 0px 117px;
}

.about-us-description p {
    font-size: 18px;
    color: #113669;
    padding-bottom: 20px;
}

.about-content strong {
    color: #1e4fa5;
}

.experience-flex {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    color: #1e4fa5;
}

.experience {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #021941, #3667c9);
    width: 50px; 
    height: 50px;
    border-radius: 5px;
    margin: 0px 20px 20px 0px;
}

.experience h5 {
    color: white; 
    font-size: 2rem;
    font-weight: 600;
}

.experience p {
    margin: 0; 
}

.features-container {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, #082248, #1B5BB2); 
    padding: 45px 110px;
    gap: 4rem;
    margin: 130px 0px 0px 0px;
}

.feature {
    flex: 1;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 60px; 
    height: auto;
}

.feature p {
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    font-weight: 200;
}

.feature strong {
    color: #ffffff;
}

/* ---- SERVICES STYLES ---- */


#services {
    padding: 160px 110px 0px 110px;
}
  
.service-title {
    margin: 0px 50px 32px 50px;
    display: flex;
}
  
.underline2 {
    width: 120px;
    height: 5px; 
    background-image: linear-gradient(to right, #0B2A54, rgb(54, 123, 221)); 
    border-radius: 10px; 
}

.service-title h2 {
    font-size: 32px;
    color: #1a3c75; 
    margin: 10px 0px 9px 0px;
}
  
.service-title p {
    font-size: 18px;
    color: #1a3c75;
    margin-left: 171px;

}
  
.service-flex {
    display: flex;
}

.service-description {
    display: flex;
}


.service-general-accounting {
    background: linear-gradient(135deg, #082248, #1B5BB2); 
    border-radius: 31px;
    padding: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.white-text {
    color: #fff;
}
  
.service-number span {
    font-size: 77px;
    font-weight: 600;
}
  
.service-description h3 {
    font-size: 24px;
    margin-left: 9px;
    width: 72%;
}
  
.service-description p {
    font-size: 17px;
    margin: 27px 97px 10px 54px;
}
  
.service-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}
  
.service-item {
    padding: 47px;
    border-radius: 10px;
}

.background-white {
    background-color: #f1f5fb;
}

.background-blue {
    background-color: #1a3c75
}

  
.service-item h4 {
    font-size: 19px;
    margin-bottom: -7px;
}
  
.service-item p {
    font-size: 17px;
}

.icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.icon-background-blue {
    background: linear-gradient(135deg, #082248, #1B5BB2); 
}

.icon-background-white {
    background-color: #f1f5fb;;
}

.icon-container img {
    width: 31px; 
    height: auto;
}

.icon-container p {
    font-size: 20px;
    font-weight: 900;
}

.blue-text {
    color: #1a3c75;
}

.service-planning {
    padding: 80px 0px;
}

.service-4 {
    padding: 80px 0px;
}

.margin-services-title {
    margin-bottom: 25px;
}

.service-3-title {
    margin-top: 57px;
}

.service-details-4 {
    display: flex;
    gap: 50px;
}

#br {
    margin-top: 10px;
}


/* ---- CONTACT STYLES ---- */

#contact {
    background: linear-gradient(90deg, #082248, #1B5BB2); 
    color: white;
    padding: 100px 110px;
}

.contact-flex {
    display: flex;
    color: white;
}

.contact-description {
    width: 54%;
    margin-right: 103px;
}

.contact-description h2{
    font-size: 35px;
}

.contact-description p {
    font-size: 18px;
    font-weight: 300;
}

.inputs-container {
    display: flex;
    justify-content: space-between;
}
  
.inline {
    width: 45%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #fff; 
    border-radius: 1px;
    background-color: transparent;
    margin-bottom: 33px;
    font-size: 17px; 
    color: white; 
}

input, textarea {
    font-family: Poppins;
}

#message-input-es, #message-input-en {
    font-size: 17px; 
}
  
#email-input-en, #email-input-es {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #fff; 
    border-radius: 1px;
    background-color: transparent;
    margin-bottom: 33px;
    font-size: 17px; 
    color: white;
}

textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #fff; 
    background-color: transparent;
    color: white; 
}
  
.justify-center {
    margin-top: 40px;
}
  
.boton {
    background-color: #f1f5fb; 
    color: #1a3c75;
    padding: 10px 50px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
}

form {
    width: 47%;
}


input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 1);
}

input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 1);
}

input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 1);
}

#message-input-en::placeholder {
    color: rgba(255, 255, 255, 1);
}

#message-input-es::placeholder {
    color: rgba(255, 255, 255, 1);
}

.inline:hover, #email-input-en:hover, #email-input-es:hover, textarea:hover {
    border-bottom: 1px solid white;
}


input[type="email"], textarea {
    background-color: transparent; 
    color: white;
}

.inline:focus, #email-input-en:focus, #email-input-es:focus, textarea:focus {
    outline: none;
    background-color: transparent; 
    border-bottom: 1px solid white; 
}

input:-webkit-autofill {
    background-color: transparent;
    color: white; 
    -webkit-box-shadow: 0 0 0 1000px transparent inset;
    -webkit-text-fill-color: white; 
    transition: background-color 5000s ease-in-out 0s; 
}


/* ---- FOOTER STYLES ---- */


.footer-contact {
    background: linear-gradient(90deg, #082248, #1B5BB2); 
    padding: 40px 110px;
    display: flex;
    justify-content: space-between; 
}

.info-footer {
    display: flex;
    color: white;
}

.info-footer img {
    margin-right: 20px;
    width: 30px;
}

.footer-separator {
    width: 100%;      
    height: 1px;         
    background-color: white;    
}

.white-logo {
    width: 50px;
}


@media (max-width: 1400px) {

    .contact-description p {
        font-size: 16px;
    }

    .contact-description h2 {
        font-size: 33px;
    }

    .contact-description {
        margin-right: 66px;
    }

    form {
        width: 41%;
    }

}

@media (max-width: 1300px) {
    .about-us-description {
        margin: -4px 148px 0px 117px;
    }

    .service-details-4 {
        gap: 30px;
    }


    .about-us-description {
        margin: -10px 110px 0px 117px;
    }

}

@media (max-width: 1200px) {
    #about-us {
        margin: 0px 0px;
    }
    
    .navbar .logo-container img {
        width: 125px;
    }

    .navbar .menu a {
        font-size: 17px;
    }

    .change-language {
        font-size: 17px;
    }
     
    .about-us-title h2 {
        font-size: 27px;
    }

    .about-us-description {
        margin: -14px 110px 0px 117px;
    }
    
    .about-us-description p {
        font-size: 17px;
    }

    .about-us-image img {
        width: 110%;
    }

    .content h1 {
        font-size: 35px;
    }

    .content p {
        font-size: 17px;
    }

    .feature p {
        font-size: 16px;
    }

    .feature-icon {
        width: 50px;
    }

    .features-container {
        gap: 2.8rem;
    }

    .service-title p {
        font-size: 15px;
        margin-left: 100px;
    }

    .service-general-accounting {
        padding: 50px;
    }

    .service-description p {
        font-size: 15px;
        margin: 27px 30px 10px 85px;
    }

    .service-description h3 {
        font-size: 23px;
    }
    
    .service-item {
        padding: 33px;
        border-radius: 10px;
    }

    .service-item p {
        font-size: 15px;
    }

    .service-item h4 {
        font-size: 16px;
    }

    .icon-container {
        width: 60px;
        height: 60px;
    }

    .icon-container img {
        width: 29px;
    }

    .contact-description h2 {
        font-size: 28px;
    }

    .contact-description p {
        font-size: 15px;
    }
}

@media (max-width: 880px) {

    .navbar {
        height: 5rem;
        margin-top: 5px;
        padding: 20px 45px;
    }
    
    .navbar .logo-container img {
        width: 120px;
        padding: 0;
    }
    
    .navbar .logo-container p {
        font-size: 0.8rem;
        margin-bottom: 10px;
        font-weight: 500px;
    }
    
    .navbar .menu {
        position: absolute;
        display: flex;
        display: none;
    }
    
      .navbar-mobile {
        height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding-left: 1rem;
        box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
        -webkit-box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
        -moz-box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
    }
    
    .navbar-mobile {
        display: none;
    }
    
    .navbar-mobile a {
        text-decoration: none;
        color: #1b1454;
    }
    
    #burger-menu,
    #close-menu {
        display: block;
        color: #1b1454;
        cursor: pointer;
        font-size: 30px;
    }
    
    #close-menu {
        display: none;
    }
    
    .mobile-right {
        display: flex;
        align-items: center;
    }
    
    #change-language-mobile {
        background-color: #EFF6FF;
        margin-left: 1rem;
        border-radius: 50%;
        padding: 5px;
        width: 2.4rem;
        height: 2.4rem;
        position: relative;
    }
    
    .mobile-right svg {
        width: 33px;
        color: inherit;
        color: #1b1454;
        position: absolute;
        top: 9px;
        left: 6px;
        cursor: pointer;
    }

    #home {
        height: 90vh;
    }

    .content {
        padding: 0 101px;
    }

    #about-us {
        margin: 0px 0px;
    }

    .about-us-image img {
        width: 146%;
        height: 50%;
    }

    .about-us-description p {
        padding-bottom: 10px;
    }

    .about-us-description {
        margin: -40px 60px 0px 160px;
    }

    .features-container {
        margin: -100px 0px 0px 0px;
    }

    #contact {
       background: linear-gradient(90deg, #082248, #1B5BB2);
       color: white;
       padding: 100px 73px;
    }

    #about-us {
        padding: 125px 0px 0px 0px;
    }

    .features-container {
        padding: 45px 40px;
    }

    .feature p {
        font-size: 15px;
    }

    #services {
        padding: 130px 40px 0px 40px;
    }

    .service-description p {
        font-size: 14.5px;
        margin: 23px -1px 10px 85px;
    }

    .service-number span {
        font-size: 66px;
    }

    .service-description h3 {
        font-size: 20px;
    }

    .service-3-title {
        margin-top: 50px;
    }

    .footer-contact {
       padding: 40px 73px;
    }
}

@media (max-width: 580px) {
  
    .navbar {
      height: 5rem;
      margin-top: 5px;
      padding: 20px;
    }
  
    .navbar .logo-container img {
      width: 120px;
      padding: 0;
    }
  
    .navbar .logo-container p {
      font-size: 0.8rem;
      margin-bottom: 10px;
      font-weight: 500px;
    }
  
    .navbar .menu {
      position: absolute;
      display: flex;
      display: none;
    }
  
    .navbar-mobile {
      height: 150px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      padding-left: 1rem;
      box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
      -webkit-box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
      -moz-box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
    }
  
    .navbar-mobile {
      display: none;
    }
  
    .navbar-mobile a {
      text-decoration: none;
      color: #1b1454;
    }
  
    #burger-menu,
    #close-menu {
      display: block;
      color: #1b1454;
      cursor: pointer;
      font-size: 30px;
    }
  
    #close-menu {
      display: none;
    }
  
    .mobile-right {
      display: flex;
      align-items: center;
    }
  
    #change-language-mobile {
      background-color: #EFF6FF;
      margin-left: 1rem;
      border-radius: 50%;
      padding: 5px;
      width: 2.4rem;
      height: 2.4rem;
      position: relative;
    }
  
    .mobile-right svg {
      width: 33px;
      color: inherit;
      color: #1b1454;
      position: absolute;
      top: 9px;
      left: 6px;
      cursor: pointer;
    }

    .desktop-image {
        display: none;
    }

    .mobile-image {
        display: block;
        width: 100%;
        height: auto;
    }

    .content {
        padding: 0 35px;
    }

    .content h1 {
        font-size: 25px;
        text-align: left;
        margin-top: -220px;
    }

    .content p {
        font-size: 15px;
        text-align: left;
        margin: inherit;
        width: 87%;
        line-height: 28px;
    }

    .about-us-container {
        flex-direction: column-reverse; 
    }

    .features-container {
        display: block;
    }
    
    #about-us {
        margin: -250px 0px 0px 0px;
        padding-top: 100px;
    }

    .image-container img {
        height: 69%;
    }

    .about-us-description p {
        font-size: 15px;
    }

    .about-us-description {
        margin: -42px 33px 0px 33px;
    }

    .experience {
        align-items: center;
        justify-content: center;
    }

    .about-us-image img {
        width: 90%;
        margin-top: 26px;
        margin-left: 20px;
        margin-bottom: 177px;
        border-radius: 10px;
    }

    .features-container {
        padding: 56px 43px;
    }


    .feature {
        margin-bottom: 45px;
    }

    .feature p {
        font-size: 15px;
    }

    #services {
        padding: 100px 20px;
    }
    
    .service-description h3 {
        font-size: 19px;
    }

    .service-title {
        display: block;
        margin: 0px 34px 32px 22px;
    }

    .service-title p {
        margin-left: 0;
        margin-top: 28px;
    }

    .service-description {
        display: block;
    }

    .service-description p {
        margin: 26px 0px 20px -62px;
    }

    .service-details {
        display: block;
    }

    .service-number span {
        font-size: 50px;
    }

    .service-2-desription{
        font-size: 24px;
        margin-top: 4px;
        width: 100%;
    }

    .margin-services-title {
        margin: 0px 20px 25px 20px;
    }

    .service-3-title {
        font-size: 24px;
        margin-top: 31px;
        width: 100%;
    }

    .service-details-4 {
        display: block;
    }


    .service-general-accounting {
        padding: 30px;
    }  

    .background-blue {
       padding: 33px;
    }


    .background-white {
       padding: 20px;
    }

    .service-item {
        margin-bottom: 30px;
    }

    #contact {
        padding: 63px 40px;
    }

    .contact-flex {
        display: block;
    }

    .contact-description {
        width: 100%;
    }

    form {
        width: 100%;
        margin-top: 55px;
    }

    .footer-contact {
        padding: 40px 20px;
        justify-content: center;

    }

    .white-logo {
        display: none;
    }

}