/* ============ ESTILOS GENERALES ============ */
body {
    font-family: 'Poppins', sans-serif;
    padding-top: 80px;
}

/* ============ NAVBAR ============ */
.navbar {
    background-color: #000000;
    padding: 10px 0;
}

.navbar-brand img {
    height: 90px;
    width: auto;
}

.navbar-brand span {
    color: white;
    font-size: 1.5rem;
}

.navbar-brand span .logo-d {
    color: #ff0000;
    font-weight: 800;
}

.nav-link {
    color: white !important;
    padding: 10px 15px !important;
}

.nav-link:hover {
    color: #ff0000 !important;
}

.phone-btn {
    background-color: #8fc021;
    border-radius: 25px;
    padding: 8px 20px !important;
    margin-left: 10px;
    color: white !important;
    font-weight: 600;
}

.phone-btn:hover {
    background-color: #6b9c12;
    color: white !important;
}

/* ============ HERO ============ */
.hero {
    background-color: #0c619f;
    padding: 60px 0;
    color: white;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-content h3 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 5px;
    color: white;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ============ BOTONES ============ */
.btn-green {
    background-color: #8fc021;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-green:hover {
    background-color: #6b9c12;
    color: white;
}

/* ============ SECCIONES ============ */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
    color: #0c619f;
}

/* ============ TARJETAS ============ */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px 10px 0 0;
}

.card-body {
    padding: 25px;
}

.card-title {
    color: #0c619f;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-body p,
.card-body li,
.text-muted {
    color: #000000 !important;
    font-weight: 500;
}

.text-bold {
    font-weight: 500;
    color: #000000;
}

.text-bold strong {
    font-weight: 700;
    color: #000000;
}

/* ============ ICONOS ============ */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.bg-green {
    background-color: #ff0000;
}

.bg-blue {
    background-color: #0c619f;
}

.bg-teal {
    background-color: #8fc021;
}

/* Iconos SVG */
.icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

.icon-svg-lg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

.icon-svg-xl {
    width: 48px;
    height: 48px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* Color de iconos en estadísticas */
.stat-box svg,
.stat-box .icon-svg-xl {
    color: #8fc021;
}

/* Color de iconos de checks */
.icon-check svg,
.icon-check .icon-svg {
    color: #ff0000;
}

/* ============ ESTADÍSTICAS ============ */
.stats-section {
    background-color: #0c619f;
    padding: 60px 0;
    color: white;
}

.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-box i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #8fc021;
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.stat-box p {
    color: white;
}

/* ============ FOOTER ============ */
.footer {
    background-color: #000000;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.facebook {
    background-color: #1877f2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.social-icon.tiktok {
    background-color: #000000;
    border: 2px solid white;
}

/* ============ LISTAS ============ */
.list-group-item {
    border-left: 4px solid #8fc021;
    margin-bottom: 5px;
    border-radius: 5px !important;
    color: #000000;
    font-weight: 500;
}

/* ============ CONTACTO ============ */
.contact-section {
    background-color: #f8f9fa;
}

.contact-info-box {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.contact-info-item:last-of-type {
    border-bottom: none;
}

.contact-info-item h5 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 800;
    color: #0c619f;
}

.contact-info-item p {
    margin: 0;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-message {
    margin-top: 15px;
    font-style: italic;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 400;
}

.contact-form-box {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-label {
    color: #0c619f;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s;
    color: #000000;
    font-weight: 500;
}

.form-control:focus {
    border-color: #8fc021;
    box-shadow: 0 0 0 3px rgba(143, 192, 33, 0.2);
}

.map-container {
    height: 100%;
    min-height: 350px;
    max-height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    max-height: 500px;
    border: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    body {
        padding-top: 65px;
    }

    .navbar {
        padding: 5px 0;
    }

    .navbar .container {
        display: flex;
        justify-content: flex-start;
        gap: 10px;
    }

    .navbar-brand {
        order: 1;
        margin-right: 0;
        display: flex;
        align-items: center;
    }

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

    .navbar-brand span {
        font-size: 1.1rem;
    }

    .navbar-toggler {
        order: 2;
        margin-left: 5px;
        border: none;
        padding: 8px 10px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #000000;
        padding: 20px;
        z-index: 1000;
        text-align: left;
    }

    .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
        padding-left: 20px;
    }

    .nav-item {
        width: 100%;
        text-align: left;
    }

    .nav-link {
        padding: 12px 15px !important;
        display: block;
        text-align: left;
        font-size: 1.1rem;
        width: 100%;
    }

    .phone-btn {
        margin: 10px 0 !important;
        text-align: left;
        display: inline-block;
        font-size: 0.9rem;
        padding: 8px 15px !important;
    }

    .hero {
        padding: 30px 0;
        min-height: auto;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content h3 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-image {
        margin-top: 20px;
    }

    .hero-image img {
        max-width: 90%;
        margin: 0 auto;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .card-img-top {
        height: 180px;
    }

    .card-body {
        padding: 15px;
    }

    .stat-box i {
        font-size: 2rem;
    }

    .stat-box h3 {
        font-size: 1.8rem;
    }

    .map-container {
        min-height: 300px;
        margin-bottom: 30px;
    }

    .map-container iframe {
        min-height: 300px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-info-box {
        padding: 20px;
    }

    .contact-form-box {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .card-img-top {
        height: 150px;
    }

    .stat-box h3 {
        font-size: 1.5rem;
    }

    .btn-green {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Solución para el scroll con navbar fija */
html {
    scroll-padding-top: 80px; 
}