html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
    font-family: 'Segoe UI',sans-serif;
}

.navbar-sekai {
    background: linear-gradient( 90deg, #071529, #101d38, #1a2745 );
    border-bottom: 1px solid rgba(255,255,255,.08);
    height: 70px;
}

.navbar-brand {
    color: white !important;
    font-size: 2rem;
    font-weight: 800;
}

.nav-link {
    color: rgba(255,255,255,.85) !important;
    padding: 12px 18px !important;
    border-radius: 12px;
    transition: .3s;
}

    .nav-link:hover {
        background: rgba(59,130,246,.15);
        color: white !important;
    }

.btn-reports {
    background: rgba(255,255,255,.06);
    color: white !important;
    border: 1px solid rgba(255,255,255,.08);
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

    /* HOVER */

    .btn-reports:hover {
        background: linear-gradient( 135deg, #4f8cff, #2d6df6 );
        color: white !important;
        border-color: rgba(79,140,255,.40);
        transform: translateY(-2px);
        box-shadow: 0 0 20px rgba(79,140,255,.40), 0 10px 25px rgba(79,140,255,.30);
        text-decoration: none;
    }

.hero {
    position: relative;
    min-height: 85vh;
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient( 135deg, #071529, #102345, #1c457d );
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-panel {
    color: white;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin: 25px 0;
}

.hero-tag {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    background: rgba(13,202,240,.20);
    border: 1px solid rgba(13,202,240,.35);
    color: white;
    font-weight: 700;
}

.hero-dashboard-card {
    background: linear-gradient( 135deg, #3b82f6, #2563eb );
    color: white;
    border-radius: 25px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 20px 40px rgba(37,99,235,.30);
}

.dashboard-icon {
    font-size: 3rem;
}

.hero-mini-dashboard {
    margin-top: 25px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 30px;
}

.mini-kpi {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    .mini-kpi strong {
        color: #0dcaf0;
    }


/* SUBTITULO */
.hero p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgba(255,255,255,.85);
    max-width: 850px;
    margin-bottom: 35px;
}

/* BOTONES */

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: #0dcaf0;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

    .hero-btn-primary:hover {
        background: #0bb8da;
        color: white;
        transform: translateY(-2px);
    }

.hero-btn-secondary {
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

    .hero-btn-secondary:hover {
        background: rgba(255,255,255,.15);
        color: white;
    }

/* KPI CARDS */

.hero-stats {
    margin-top: 60px;
}

.hero-stat {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: .3s;
}

    .hero-stat:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,.12);
    }

    .hero-stat h3 {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 5px;
    }

    .hero-stat span {
        color: rgba(255,255,255,.75);
        font-size: .95rem;
    }

/* RESPONSIVE */

@media (max-width: 992px) {

    .hero {
        text-align: center;
    }

        .hero h1 {
            font-size: 3.2rem;
        }

        .hero p {
            font-size: 1.1rem;
        }
}

@media (max-width: 576px) {

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stat {
        margin-bottom: 15px;
    }
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    text-align: center;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s;
}

    .service-card:hover {
        transform: translateY(-10px);
    }

.timeline {
    border-left: 4px solid #0dcaf0;
    padding-left: 30px;
}

.timeline-item {
    margin-bottom: 40px;
}

.location-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.footer-sekai {
    background: #0f172a;
    color: white;
    padding: 60px 0;
}

.timeline-section {
    background: #f8fafc;
}

.section-badge {
    display: inline-block;
    background: #0dcaf0;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0B2545;
    margin-top: 20px;
}

.timeline-modern {
    position: relative;
    margin-top: 60px;
}

    .timeline-modern::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #0dcaf0;
        transform: translateX(-50%);
    }

.timeline-event {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

    .timeline-event:nth-child(odd) {
        justify-content: flex-start;
    }

    .timeline-event:nth-child(even) {
        justify-content: flex-end;
    }

.timeline-year {
    width: 120px;
    height: 120px;
    background: #0B2545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0,0,0,.20);
}

.timeline-card {
    width: 42%;
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin: 0 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: .3s;
}

    .timeline-card:hover {
        transform: translateY(-6px);
    }

    .timeline-card h5 {
        color: #0B2545;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .timeline-card p {
        margin: 0;
        color: #6c757d;
    }

@media(max-width:992px) {

    .timeline-modern::before {
        left: 35px;
    }

    .timeline-event {
        justify-content: flex-start !important;
        padding-left: 80px;
    }

    .timeline-year {
        position: absolute;
        left: 0;
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }

    .timeline-card {
        width: 100%;
        margin: 0;
    }
}
/* =============================================
   SECCIONES GENERALES
============================================= */

.section-badge {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(13,202,240,.15);
    color: #0dcaf0;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0B2545;
    margin-bottom: 15px;
}

/* =============================================
   KPI SECTION
============================================= */

.stats-section {
    background: #f8fafc;
    padding: 80px 0;
}

.hero-stat {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

    .hero-stat:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,0,0,.12);
    }

.stat-icon {
    font-size: 3rem;
    color: #0dcaf0;
    margin-bottom: 15px;
}

.hero-stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0B2545;
    margin-bottom: 5px;
}

.hero-stat span {
    font-size: .95rem;
    color: #6c757d;
}

/* =============================================
   SERVICE CARDS
============================================= */

.service-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0,0,0,.12);
    }

    .service-card i {
        color: #0dcaf0;
        margin-bottom: 20px;
    }

    .service-card h4 {
        color: #0B2545;
        font-weight: 700;
        margin-bottom: 15px;
    }

/* =============================================
   TIMELINE
============================================= */

.timeline-section {
    background: white;
}

.timeline-modern {
    position: relative;
    padding-top: 40px;
}

    .timeline-modern::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 4px;
        background: #0dcaf0;
        transform: translateX(-50%);
    }

.timeline-event {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-year {
    width: 110px;
    height: 110px;
    min-width: 110px;
    border-radius: 50%;
    background: #0B2545;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.timeline-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    margin-left: 25px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

    .timeline-card h5 {
        color: #0B2545;
        font-weight: 700;
    }

/* =============================================
   CERTIFICATIONS
============================================= */

.certification-panel {
    background: linear-gradient( 135deg, #0B2545, #13315C );
    color: white;
    border-radius: 25px;
    padding: 50px;
    text-align: center;
}

.cert-icon {
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin-bottom: 25px;
}

.cert-badges {
    margin-top: 20px;
}

    .cert-badges .badge {
        margin: 5px;
        font-size: .9rem;
        padding: 12px 18px;
    }

/* =============================================
   DASHBOARD
============================================= */

.operations-dashboard {
    background: #f8fafc;
}

.dashboard-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

    .dashboard-card:hover {
        transform: translateY(-6px);
    }

    .dashboard-card i {
        font-size: 2.5rem;
        color: #0dcaf0;
        margin-bottom: 15px;
    }

    .dashboard-card h3 {
        font-size: 2.5rem;
        font-weight: 800;
        color: #0B2545;
    }

    .dashboard-card span {
        color: #6c757d;
    }

/* =========================================
   LOCATIONS
========================================= */

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 30px;
}

.location-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .3s;
    height: 100%;
}

    .location-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px rgba(0,0,0,.15);
    }

.location-icon {
    height: 180px;
    background: linear-gradient( 135deg, #0B2545, #0dcaf0 );
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.location-card h4 {
    color: #0B2545;
    font-weight: 700;
    margin-bottom: 15px;
}

.location-card p {
    color: #6c757d;
    margin: 0;
}

/* Tablet */

@media (max-width:1200px) {

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */

@media (max-width:768px) {

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .location-icon {
        height: 140px;
        font-size: 3rem;
    }
}


/* =============================================
   FOOTER
============================================= */
.footer-sekai {
    background: #0B2545;
    color: white;
    padding: 80px 0;
}

    .footer-sekai h4,
    .footer-sekai h5 {
        color: white;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .footer-sekai p {
        color: rgba(255,255,255,.8);
    }

    .footer-sekai hr {
        border-color: rgba(255,255,255,.15);
    }

/* =============================================
   RESPONSIVE
============================================= */

@media (max-width: 992px) {

    .section-title {
        font-size: 2.2rem;
    }

    .timeline-modern::before {
        left: 55px;
    }

    .timeline-event {
        flex-direction: row;
    }

    .timeline-year {
        width: 80px;
        height: 80px;
        min-width: 80px;
        font-size: 1rem;
    }

    .timeline-card {
        margin-left: 15px;
    }
}

@media (max-width: 576px) {

    .hero-stat,
    .service-card,
    .dashboard-card,
    .location-card {
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}