@font-face {
    font-family: 'TommySoft';
    src: url('./font/TommySoft/Tommy Soft Light.otf') format('opentype');
    font-weight: 300; /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'TommySoft';
    src: url('./font/TommySoft/Tommy Soft Bold.otf') format('opentype');
    font-weight: 700; /* Bold */
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'TommySoft', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Navbar */
header {
    background-color: #1a3664;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #cc9041;
    border-radius: 2px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
}

.logo img {
    height: 100px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #cc9041;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

/* Mobile nav sidebar */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 250px;
    background-color: #1a3664;
    display: flex;
    flex-direction: column;
    padding: 60px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 999;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background 0.2s ease;
}

.mobile-nav a:hover {
    background-color: #cc9041;
}

.mobile-nav.active {
    right: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #cc9041;
    font-size: 2rem;
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 20px;
}

/* Navbar responsive */
@media (max-width: 840px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: 70px;
    }
}

/* Background section */
.background {
    background: url('./images/bg.jpg') no-repeat center center/cover;
    color: white;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sections */
.about {
    background-color: white;
    padding: 60px 40px;
    text-align: center;
}

.about h2 {
    color: #1a3664;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about p {
    color: #333;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    text-align: justify;
}

.about-button {
    text-align: right;
    max-width: 800px;
    margin: 0 auto;
}

.btn {
    background-color: #1a3664;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 300;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #16325c;
}

.clientes {
    padding: 40px 20px;
    background-color: #f0f3f8;
    text-align: center;
}

.clientes h2 {
    color: #1a3664;
    font-size: 2rem;
    margin-bottom: 30px;
}

.cliente-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.cliente {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    width: 160px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.cliente img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.cliente p {
    font-size: 14px;
    color: #1a3664;
    line-height: 1.2;
}

.encuentranos {
    padding: 40px 80px;
    background-color: #fff;
    text-align: center;
}

.encuentranos h2 {
    color: #1a3664;
    font-size: 2rem;
    margin-bottom: 30px;
}

.encuentranos-map p{
    color: #1a3664;
    font-size: 1rem;
    margin-bottom: 20px;
}

.encuentranos-map img {
    width: 60%;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

@media (max-width: 430px) {
    .encuentranos h2 {
        font-size: 1.5rem;
    }
    .encuentranos-map img {
        width: 100%;
        border: none;
        border-radius: 15px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
}

@media (max-width: 690px) {
    .encuentranos {
        padding: 40px 30px;
    }
    .encuentranos-map img {
        width: 100%;
        border: none;
        border-radius: 15px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
}

/* grid responsive */
@media (max-width: 395px) {
    .cliente {
        width: 80%;
    }
}

.bold{
    font-weight: 700;
}

/* Footer */

.footer-top {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #cc9041;
    padding: 30px 60px;
    gap: 80px;
}

.footer-logo img {
    height: 150px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 1px solid #1a3664;
    padding-left: 25px;
}

.footer-links a {
    color: #1a3664;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.footer-bottom {
    background-color: #1a3664;
    text-align: center;
    padding: 12px;
}

.footer-bottom p {
    color: white;
    font-size: 13px;
    margin: 0;
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .footer-links {
        border-left: none;
        padding-left: 0;
        gap: 10px;
    }
}