:root {
    --font-p: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    --font-s: "banhscrift", "Arial Narrow", Arial, sans-serif;
    --color-1: #8db3d9;
    --color-2: #003e8c;
    --color-3: #080a0d;
    --color-4: #fff;
}

html * {
    box-sizing: border-box;
    margin: 0;
    text-decoration: none;
    color: #080a0d;
    font-size: 18px;
}

h1,
h2,
h3 {
    font-family: var(--font-p);
}

p,
a {
    font-family: var(--font-s);
}

header {
    background-color: #003e8c;
    padding: 1.3rem;
}

.logo-q {
    display: none;
}

.nav-bar {
    width: 100%;
    height: 50px;
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px;
}

.nav-bar .jmg:hover {
    background-color: #ef2222d6;
    color: #080a0d;
}

.logo {
    display: flex;
    align-items: center;
    grid-area: 1 / 1 / 2 / 2;
}

.logo img {
    max-width: 45px;
    height: auto;
    display: block;
    border: solid 1px transparent;
    border-radius: 100%;
}

.nav-links {

    padding-top: 1rem;
    padding-bottom: 1rem;
    list-style: none;
    gap: 20px;
    grid-area: 1 / 2 / 2 / 9;
    display: flex;
    justify-content: space-around;
    align-items: center;
}


.nav-links a {
    font-family: var(--font-p);
    font-weight: 400;
    font-style: normal;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    color: #003e8c;
    font-size: 18px;
    border: #ffffff;
    border-radius: 10px;
    padding: 10px 20px;
    transition: 0.5s;
    cursor: pointer;
}

.nav-links a:hover {
    background-color: #8db3d9;
    color: #080a0d;
}

.abrir-menu,
.cerrar-menu {
    display: none;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    animation: bounce 3s infinite;
    transition: transform 0.3s ease;
  }

.whatsapp-button img {
    width: 30px;
    height: 30px;
}

.tooltip {
    position: absolute;
    top: -30px;
    right: 0;
    background-color: #25D366;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    transform: translateY(0);
    animation: fadeIn 1s ease forwards;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

footer {
    background-color: #003e8c;
    /* Match header color */
    color: #fff;
    padding: 20px;
    text-align: center;
    font-family: var(--font-s);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 20px;
}

.social-icons a:hover {
    color: #8db3d9;
}

.about-us {
    padding: 40px 20px;
    background-color: #f4f4f4;
    /* Light gray background */
}

.titulo-about-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#about-us-text {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
    /* Dark gray text */
    font-size: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



.about-us h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-2);
    /* Use the main color from your variables */
    font-size: 2.5rem;
}

.about-us p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
    /* Dark gray text */
    font-size: 1rem;
}

.about-us-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.about-us-text {
    flex: 1;
    min-width: 300px;
}

.about-us-image {
    flex: 1;
    min-width: 300px;
}

.about-us-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

.about-us-text h3 {
    margin-bottom: 10px;
    color: var(--color-2);
    /* Use the main color */
    font-size: 1.8rem;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {

    .about-us-image .img-desk {
        display: none;
    }

    .about-us-image .img2 {
        margin-bottom: 2rem;
    }

    .about-us-content {
        flex-direction: column;
        /* Stack text and image vertically */
    }

    .about-us h2 {
        font-size: 2rem;
        /* Reduce main heading size */
    }

    .about-us-text h3 {
        font-size: 1.5rem;
        /* Reduce subheading size */
    }
}


@media (max-width: 768px) {

    header {
        padding: .5rem;
    }

    .abrir-menu,
    .cerrar-menu {
        display: block;
        border: 0;
        font-size: 1.3rem;
        background-color: transparent;
        cursor: pointer;
    }

    .nav-bar {
        display: flex;
        width: 100%;
        align-items: end;
        justify-content: space-between;
        background-color: #8db3d9;

    }

    .abrir-menu {
        width: 40px;
        margin-bottom: .5rem;
        background-color: #8db3d9;
        border: transparent solid;
        border-radius: 10px;
    }

    .wrap_nav-ul {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: end;
        padding: 1rem 0 1rem 1rem;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: #8db3d9;
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.5);
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        transform: translateX(.1%);
    }

    .wrap_nav-ul.active {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);

    }

    .logo {
        display: none;
    }

    .logo-q {
        display: flex;
        align-items: start;
        width: 100%;
    }

    .logo-q img {
        max-width: 100px;
        height: 3rem;
    }

    .nav-links {
        padding: 2rem;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 2rem;
        position: relative;
        z-index: 10;
    }

    .nav-links a {
        background-color: transparent;
        padding: 5px 0 5px 0;
    }

    .nav-links a:hover {
        background-color: transparent;
        padding: 5px 0 5px 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}