/* ======================= */
/* ======= GENERAL ======= */
/* ======================= */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* ======================= */
/* ======= NAVBAR ======== */
/* ======================= */
.navbar {
    background-color: #002E5B;
    padding: 15px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
    height: 80px;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px;
    font-size: 0.9rem; /* Reducido el tamaño del texto del menú */
}

.navbar-nav .nav-link:hover {
    color: #008000 !important;
}

.navbar .btn-primary {
    font-size: 0.9rem;
    padding: 8px 15px;
}

/* ======================= */
/* ======== HERO ========= */
/* ======================= */
.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 46, 91, 0.4); /* Ajustada la opacidad */
}

.hero h1, .hero p {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 10px;
}

/* Botón Habilitado */
.hero .btn-primary {
    background-color: #008000;
    border-color: #008000;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-block;
}

.hero .btn-primary:hover {
    background-color: #006400;
}

/* ======================= */
/* ====== BENEFICIOS ===== */
/* ======================= */
.benefits-list {
    padding: 0;
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px; /* Espaciado uniforme entre ícono y texto */
    font-size: 16px;
    margin-bottom: 10px;
}

.benefits-list li i {
    font-size: 20px; /* Tamaño uniforme de los íconos */
    color: #008000; /* Color verde para resaltar los íconos */
    width: 25px; /* Ancho fijo para asegurar alineación */
    text-align: center;
}

/* ======================= */
/* ======== SERVICIOS ==== */
/* ======================= */
.services {
    position: relative;
    z-index: 2;
    padding-top: 100px; /* Asegurar que los boxes no se solapen */
    margin-top: -20px; /* Ajuste menor para una mejor separación */
}

.service-card {
    background: white;
    padding: 20px;
    margin-bottom: 50px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.service-card h3 {
    margin-top: 15px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #002E5B;
}

.service-card p {
    font-size: 1rem;
    color: #666;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsividad */
@media (max-width: 768px) {
    .hero {
        height: 300px; /* Aumentar la altura en móviles */
        padding: 20px;
    }

    .services {
        margin-top: 0;
        padding-top: 60px; /* Ajustar espacio */
    }

    .service-card img {
        height: 140px; /* Reducir tamaño de imágenes en móviles */
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }
}


/* ======================= */
/* ====== SECCIÓN ESTADÍSTICAS ====== */
/* ======================= */
.stats-section {
    padding: 100px 0;
    background: #002E5B;
    color: white;
    text-align: center;
}

.stats-section h3 {
    font-size: 2rem;
    font-weight: bold;
}

.stats-section p {
    font-size: 1.2rem;
}

/* ======================= */
/* ======= FORMULARIO DE CONTACTO ======= */
/* ======================= */
.contact-form {
    padding: 100px 0;
    background: #F8F9FA;
}

.contact-form .container {
    max-width: 900px;
}

.contact-form .card {
    width: 100%;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.input-group-text {
    background-color: #008000;
    color: white;
    border: none;
}

.btn-primary {
    background-color: #008000;
    border-color: #008000;
    font-size: 1.2rem;
    padding: 12px 24px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #006400;
}

/* ======================= */
/* ======= FOOTER ======== */
/* ======================= */
.footer {
    background-color: #002E5B;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #008000;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    color: white;
    font-size: 2rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #008000;
}

/* ======================= */
/* ====== RESPONSIVE ===== */
/* ======================= */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        font-size: 0.8rem; /* Ajustado para pantallas pequeñas */
    }

    .hero {
        height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero .btn-primary {
        font-size: 1rem;
        padding: 8px 15px;
    }

    .stats-section h3 {
        font-size: 1.5rem;
    }

    .footer .row {
        flex-direction: column;
        text-align: center;
    }
}
/* ======================= */
/* ====== CARRUSEL ======= */
/* ======================= */
.carousel-inner img {
    width: 100%;
    height: auto;
    max-height: 500px; /* Máxima altura en pantallas grandes */
    object-fit: cover;
}

/* Tamaño del carrusel en móviles */
@media (max-width: 768px) {
    .carousel-inner img {
        max-height: 300px; /* Reducir altura del carrusel en móviles */
    }

    .carousel-control-prev, .carousel-control-next {
        width: 10%; /* Reducir tamaño de botones */
    }
}

/* Ajustar visibilidad de los botones en móviles */
@media (max-width: 480px) {
    .carousel-control-prev, .carousel-control-next {
        width: 12%; /* Aumentar ligeramente botones en pantallas muy pequeñas */
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
}
