/* General Styles */
:root {
    --primary-color: #00478d;
    --secondary-color: #ffcc00;
    --text-color: #333;
    --white-color: #fff;
    --light-gray: #f7f7f7;
    --dark-gray: #0372f0;
    --lighter-gray: #d3d3d3;
    --light-bg: rgba(255, 255, 255, 0.1);
}

body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.navbar {
    background-color: var(--primary-color);
}

.navbar .nav-link {
    color: var(--white-color) !important;
    font-weight: bold;
}

.navbar .nav-link:hover {
    color: #008CFF !important;
}

@media (max-width: 768px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        text-align: center;
    }

    .navbar-nav .nav-item {
        padding: 10px;
    }
}

.btn-acceso, .btn-descargar {
    background-color: var(--secondary-color);
    color: #003366;
    border: none;
    padding: 1rem 1.5rem; /* Ajustado para ser relativo */
    font-size: 1rem; /* Ajustado para ser relativo */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-acceso:hover, .btn-descargar:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Hero Section */
.hero {
    background-color: #003366;
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
}

.hero h1, .hero h2 {
    font-size: 2.5rem; /* Ajustado para ser relativo */
    font-weight: 600;
}

.hero span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.1rem; /* Ajustado para ser relativo */
    margin-bottom: 2rem; /* Ajustado para ser relativo */
}

/* Sección de Servicios */
.services {
    background-color: var(--white-color);
    padding: 60px 0;
}

.service-item {
    text-align: center;
    padding: 1.5rem; /* Ajustado para ser relativo */
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin: 10px;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    font-size: 3rem; /* Ajustado para ser relativo */
    margin-bottom: 1rem; /* Ajustado para ser relativo */
    color: var(--secondary-color);
}

/* Carrusel de Servicios */
#servicesCarousel .carousel-item {
    position: relative;
    overflow: hidden;
}

#servicesCarousel .carousel-item img {
    transition: transform 0.5s ease;
}

#servicesCarousel .carousel-item .row {
    opacity: 0;
    transition: opacity 0.6s ease;
}

#servicesCarousel .carousel-item.active .row {
    opacity: 1;
}

#servicesCarousel .carousel-control-prev-icon,
#servicesCarousel .carousel-control-next-icon {
    background-color: #007bff;
    border-radius: 50%;
}

#servicesCarousel .service-item {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 1.5rem; /* Ajustado para ser relativo */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#servicesCarousel .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#servicesCarousel .service-item i {
    transition: transform 0.3s ease;
}

#servicesCarousel .service-item:hover i {
    transform: scale(1.2);
}

#servicesCarousel .service-item h3 {
    color: var(--white-color);
    margin-top: 1rem; /* Ajustado para ser relativo */
}

#servicesCarousel .service-item p {
    color: #e0e0e0;
}

/* Sección Nosotros */
.about {
    padding: 60px 0; /* Ajustado para ser relativo */
    background: linear-gradient(to right, var(--dark-gray), #292929);
    text-align: center;
    color: var(--white-color);
}

/* Títulos y Leyenda */
.section-title {
    font-size: 2rem; /* Ajustado para ser relativo */
    font-weight: bold;
    color: var(--white-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title span {
    color: #ff9800;
}

.section-legend {
    font-size: 1.2rem; /* Ajustado para ser relativo */
    font-weight: 300;
    color: var(--lighter-gray);
    margin-bottom: 1rem; /* Ajustado para ser relativo */
}

.section-subtitle {
    font-size: 1rem; /* Ajustado para ser relativo */
    color: #c7c7c7;
    margin-bottom: 2rem; /* Ajustado para ser relativo */
}

/* Cuadros de información */
.about-box, .solutions-box {
    padding: 1.5rem; /* Ajustado para ser relativo */
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
    text-align: justify;
}

.about-box {
    background: #f5f3f3;
    box-shadow: 0px 6px 20px rgba(255, 152, 0, 0.2);
}

.about-box i {
    font-size: 3rem; /* Ajustado para ser relativo */
/*    color: #ff9800; */
      color:#00A5B0;
    margin-bottom: 1rem; /* Ajustado para ser relativo */
}

.about-box h3 {
    font-size: 1.2rem; /* Ajustado para ser relativo */
    font-weight: bold;
    color: var(--white-color);
    margin-bottom: 0.8rem; /* Ajustado para ser relativo */
}

.about-box p {
    font-size: 0.9rem; /* Ajustado para ser relativo */
    color: var(--lighter-gray);
}

.about-box:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 30px rgba(255, 152, 0, 0.3);
}

.solutions-box {
    background: linear-gradient(135deg, #0077b6, #0096c7);
    color: white;
    text-align: center;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
}

.highlight {
    color: #ffc107;
    font-weight: bold;
}

/* Sección Contacto */
.contact {
    background: linear-gradient(to right, #003366, var(--primary-color));
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
}

.contact .section-title {
    font-size: 2.5rem; /* Ajustado para ser relativo */
    font-weight: bold;
    color: var(--white-color);
    text-transform: uppercase;
}

.contact .section-title span {
    color: var(--secondary-color);
}

.contact .section-legend {
    font-size: 1.2rem; /* Ajustado para ser relativo */
    font-weight: 300;
    color: var(--lighter-gray);
    margin-bottom: 2rem; /* Ajustado para ser relativo */
}

/* Información de Contacto */
.contact-info {
    text-align: center;
}

.contact-box {
    background: var(--light-bg);
    padding: 1.5rem; /* Ajustado para ser relativo */
    border-radius: 10px;
    margin-bottom: 1.5rem; /* Ajustado para ser relativo */
    transition: transform 0.3s ease-in-out;
}

.contact-box i {
    font-size: 2.5rem; /* Ajustado para ser relativo */
    color: var(--secondary-color);
    margin-bottom: 0.8rem; /* Ajustado para ser relativo */
}

.contact-box h3 {
    font-size: 1.2rem; /* Ajustado para ser relativo */
    font-weight: bold;
    margin-bottom: 0.5rem; /* Ajustado para ser relativo */
}

.contact-box p {
    font-size: 1rem; /* Ajustado para ser relativo */
}

.contact-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

/* Formulario */
.contact-form {
    background: var(--white-color);
    padding: 2rem; /* Ajustado para ser relativo */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.contact-form .form-control {
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 1rem; /* Ajustado para ser relativo */
    font-size: 1rem; /* Ajustado para ser relativo */
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

.contact-form .btn-primary {
    background-color: var(--secondary-color);
    color: #003366;
    border: none;
    padding: 1rem 1.5rem; /* Ajustado para ser relativo */
    font-size: 1rem; /* Ajustado para ser relativo */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
}

.contact-form .btn-primary:hover {
    background-color: #003366;
    color: var(--white-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }
}
/* Oculta las listas de subciudades por defecto */
.subregion-list {
    display: none;
    padding-left: 20px;
}

/* Estilo para el botón de expansión */
.toggle-region {
    cursor: pointer;
    font-size: 1.2rem;
    color: #007bff;
    font-weight: bold;
}

.toggle-region:hover {
    color: #0056b3;
}

/* Mejor espaciado entre elementos */
.list-group-item {
    font-size: 1.1rem;
}

/* Iconos de las ciudades */
.fa-map-marker-alt {
    margin-right: 8px;
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 2rem;
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}