body {
    font-family: 'Montserrat', sans-serif;
}

.navbar {
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    transition: all 0.3s ease-in-out;
}

.navbar-brand img {
    height: 50px;
}

.offcanvas {
    width: 250px;
}

.offcanvas-header {
    background-color: #f8f9fa;
    padding: 15px;
}

.hero-section {
    background: url('../img/header-bg.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    position: relative;
    padding-top: 120px; /* Ajusta margen superior para compensar el navbar */
}

.btn-contact {
    background-color: #4870ae;
    color: white;
    padding: 15px 25px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-contact:hover {
    background-color: #375a99;
}

.section-spacing {
    margin-top: 80px;
    margin-bottom: 80px;
}

.service-box {
    margin-bottom: 40px;
    text-align: left;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
}

.service-box h4 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-box h4 i {
    margin-right: 10px;
    color: #007bff;
    font-size: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: "•";
    color: #007bff;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 5px;
}

#servicios h2 {
    margin-bottom: 50px;
    font-weight: 700;
}

.about-section {
    position: relative;
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-section .row {
    position: relative;
    overflow: hidden;
}

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

.about-text {
    background-color: #2a5faf;
    color: white;
    padding: 50px;
    position: relative;
    border-radius: 10px;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
    border-right: 40px solid #2a5faf;
}

.about-text h2 {
    margin-bottom: 20px;
    font-weight: 700;
}

#clientes {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 80px;
}

#clientesCarousel {
    max-width: 900px;
    margin: 0 auto;
}

#clientesCarousel img {
    max-height: 150px;
    object-fit: contain;
}

/* 🔹 Solucionar desbordamiento en móvil */
@media (max-width: 991px) {
    .offcanvas {
        width: 100% !important;
        max-width: 100% !important;
    }

    .offcanvas-body {
        text-align: center;
    }

    .offcanvas-body .nav-item {
        padding: 10px 0;
    }

    .navbar-toggler {
        border: none;
        background: none;
    }

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }
}


@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-section {
        height: 60vh;
    }
}
