/* ================= GLOBAL ================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding-top: 90px !important;
    color: #333;
    line-height: 1.8;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}


/* ================= SECCIONES VISIBLES ================= */
section {
    opacity: 1 !important;
    transform: none !important;
}

/* ================= HERO ================= */
section.bg-primary.text-white.text-center.py-5 {
    background: linear-gradient(135deg, #043b71, #0066cc) !important;
    padding: 100px 0 !important;
}

section.bg-primary h1 {
    letter-spacing: 1px;
}

section.bg-primary .btn-light {
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

section.bg-primary .btn-light:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
}

/* ================= HERO NOSOTROS ================= */
.hero-nosotros {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
}

.hero-nosotros img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-nosotros::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4,59,113,0.85), rgba(4,59,113,0.4));
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    opacity: 0.95;
}

/* ================= SOBRE NOSOTROS ================= */
.sobre-nosotros {
    padding: 80px 0;
    background: #ffffff;
}

.sobre-nosotros h2 {
    font-size: 2.4rem;
    color: #043b71;
    margin-bottom: 50px;
    position: relative;
}

.sobre-nosotros h2::after {
    content: "";
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg,#043b71,#0d6efd);
    display: block;
    margin: 12px auto 0;
    border-radius: 5px;
}

.sobre-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #043b71;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all .3s ease;
}

.sobre-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(4,59,113,0.2);
}

.sobre-card p {
    margin: 0;
    color: #555;
    line-height: 1.9;
}

/* ================= VALORES ================= */
section.valores-nosotros .card,
.valor-card-nosotros {
    border-radius: 15px;
    transition: all 0.3s ease;
}

section.valores-nosotros .card {
    border: none;
    background-color: #043b71;
    color: white;
}

section.valores-nosotros .card h4 {
    color: white;
}

section.valores-nosotros .card p {
    color: #f0f0f0;
}

section.valores-nosotros .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.valor-card-nosotros {
    background: linear-gradient(135deg,#043b71,#0d6efd);
    color: white;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(4,59,113,0.25);
    border-radius: 18px;
    transition: all .3s ease;
    height: 100%;
}

.valor-card-nosotros:hover {
    transform: translateY(-12px);
}

.valor-card-nosotros i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.valor-card-nosotros h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.valor-card-nosotros p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ================= IDENTIDAD / ACCORDION ================= */
.identidad-section,
#accordionIdentidad {
    padding: 80px 0;
}

.identidad-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.identidad-section h2 {
    font-size: 2.4rem;
    color: #043b71;
    margin-bottom: 50px;
    position: relative;
}

.identidad-section h2::after {
    content: "";
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg,#043b71,#0d6efd);
    display: block;
    margin: 12px auto 0;
    border-radius: 5px;
}

.identidad-section .accordion-item {
    border: none;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.identidad-section .accordion-button {
    font-weight: 600;
    font-size: 1.2rem;
    background: white;
    color: #043b71;
    padding: 25px;
    transition: all .3s ease;
}

.identidad-section .accordion-button:not(.collapsed) {
    background: #043b71;
    color: white;
}

.identidad-section .accordion-button:hover {
    background: #032a50;
    color: white;
}

.identidad-section .accordion-body {
    background: white;
    padding: 30px;
    font-size: 1.05rem;
    color: #555;
}

/* ================= ESTADÍSTICAS ================= */
section.bg-dark {
    background: linear-gradient(135deg, #000000, #1c1c1c) !important;
}

section.bg-dark h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00bfff;
}

section.bg-dark p {
    font-size: 1rem;
    letter-spacing: 0.5px;
}



/* ================= ANIMACIÓN SUAVE ================= */
.hero-content,
.sobre-card,
.valor-card-nosotros {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= FOOTER ================= */
.footer {
    background-color: #043b71;
    margin-top: 50px;
}

.footer p {
    margin: 5px 0;
    font-size: 0.95rem;
    line-height: 1.4rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    body { padding-top: 70px; }
    .navbar-brand { font-size: 1.2rem; }
    section.bg-primary.text-white.text-center.py-5 { padding: 70px 0 !important; }
    section.bg-primary h1 { font-size: 2rem; }
    .hero-nosotros { height: 320px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .sobre-nosotros h2,
    .identidad-section h2,
    section.bg-dark h2 { font-size: 1.8rem; }
    .navbar .nav-link { padding: 6px 12px !important; }
}

.dashboard {
    margin-top: 20px;
    padding-top: 20px;
}

.bg-custom {
    background-color: #043b71 !important;
}

.bg-primary {
background-color: #043b71 !important;
}

