/* Fuente base y ajustes generales */
body {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #111;
    color: #fff;
}

/* Video de fondo */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4);
}

/* Hero / Encabezado */
header {
    background-color: rgba(0, 0, 0, 0.65);
    padding: 6rem 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #00ffc8;
}

header p {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #eee;
}

@media (min-width: 768px) {
    header h1 {
        font-size: 4rem;
    }
}

/* Botón WhatsApp */
.btn-success {
    background-color: #00ffc8;
    border: none;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 255, 200, 0.4);
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #00dab0;
    box-shadow: 0 6px 18px rgba(0, 255, 200, 0.6);
}

/* Secciones generales */
section {
    padding: 4rem 1rem;
}

section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #00ffc8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Servicios / Portafolio */
.card {
    background-color: #1c1c1c;
    border-radius: 16px;
    border: none;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 255, 200, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 255, 200, 0.2);
}

.card h5 {
    color: #00ffc8;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
    color: #ccc;
}

/* Iconos */
.fas, .fab {
    color: #00ffc8;
    transition: transform 0.3s ease;
}

.fas:hover, .fab:hover {
    transform: scale(1.2);
}

/* Sección Nosotros */
#nosotros {
    background-color: #000;
}

#nosotros p {
    max-width: 600px;
    margin: auto;
    color: #ddd;
}

/* Contacto */
#contacto {
    background-color: #1a1a1a;
}

#contacto .btn-dark {
    background-color: #00ffc8;
    color: #000;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#contacto .btn-dark:hover {
    background-color: #00cc9f;
    color: #000;
}

/* Footer */
footer {
    background-color: #000;
    font-size: 0.9rem;
    color: #999;
}

/* Responsive mejorado */
@media (max-width: 576px) {
    header h1 {
        font-size: 2.2rem;
    }
    section h2 {
        font-size: 1.5rem;
    }
    .card h5 {
        font-size: 1.1rem;
    }
    .card p {
        font-size: 0.9rem;
    }
}
/* Sección Gobierno */
#gobierno {
    background-color: #000;
    padding: 5rem 1rem;
    color: #fff;
}

#gobierno h2 {
    color: #00ffc8;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#gobierno p {
    color: #ccc;
}

#gobierno .fas {
    color: #00ffc8;
    transition: transform 0.3s ease;
}

#gobierno .fas:hover {
    transform: scale(1.2) rotate(5deg);
}

#gobierno ul {
    list-style: none;
    padding-left: 0;
}

#gobierno ul li {
    background-color: #111;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-left: 5px solid #00ffc8;
    border-radius: 8px;
    color: #eee;
    font-size: 0.95rem;
    transition: background-color 0.3s;
}

#gobierno ul li:hover {
    background-color: #1a1a1a;
}
.icon-svg {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.icon-svg:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 5px #00ffc8);
}
  .modal-content {
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 200, 0.2);
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
}

.modal-body ul li {
    background-color: #1c1c1c;
    border-left: 4px solid #00ffc8;
    padding: 0.8rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    color: #ccc;
}
.cookie-banner {
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
}

.cookie-banner button {
    font-weight: bold;
}
/* Ajuste para que el header no quede tapado por la navbar fija */
section {
    scroll-margin-top: 80px;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
}

.navbar .nav-link {
    color: #ccc;
    transition: color 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #00ffc8;
}

.navbar-brand {
    font-weight: bold;
    color: #00ffc8;
}
