*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f4f6f9;
    color:#0f172a;
    overflow-x:hidden;
}

img{
    max-width:100%;
}

.section-padding{
    padding:100px 0;
}

.bg-light-custom{
    background:#edf2f7;
}

/* NAVBAR */

.navbar{
    background:#00B8FF;
    padding:14px 0;
    backdrop-filter:blur(10px);
}
.navbar-video-bg {
    width: 100%;
    height: 800px;        /* Set your desired custom height here */
    object-fit: cover;    /* Prevents stretching by preserving aspect ratio */
    object-position: center;
}

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

.nav-link{
    color:white !important;
    font-weight:600;
    margin-left:18px;
    transition:.3s ease;
}

.nav-link:hover{
    opacity:.8;
}

/* HERO */

.hero img{
    height:88vh;
    object-fit:cover;
}

/* SECTIONS */

.section-header{
    max-width:900px;
    margin:0 auto 70px;
    text-align:center;
}

.section-header h2{
    font-size:3rem;
    font-weight:800;
    margin-bottom:20px;
}

.section-header p{
    color:#64748b;
    line-height:2;
    margin-bottom:20px;
}

/* CARDS */

.info-card,
.service-card,
.team-card,
.feature-card{
    background:white;
    border-radius:30px;
    padding:40px;
    height:100%;
    box-shadow:0 15px 35px rgba(0,0,0,.06);
    transition:.35s ease;
}

.info-card {
    color: white;
}

.info-card:hover,
.service-card:hover,
.team-card:hover,
.feature-card:hover{
    transform:translateY(-8px);
}

.info-card h3,
.service-card h3{
    font-weight:700;
    margin-bottom:20px;
}

.info-card ul,
.service-card ul{
    padding-left:18px;
    line-height:2;
}

/* ICONS */

.service-card i,
.team-card i,
.feature-card i{
    font-size:3rem;
    color:#2563eb;
    margin-bottom:25px;
}

/* SECTORES */

.sectores-section{
    padding:90px 0;
    position:relative;
}

.titulo{
    text-align:center;
    font-size:3rem;
    font-weight:300;
    color:#0f172a;
    margin-bottom:20px;
}

.descripcion{
    max-width:750px;
    margin:auto;
    text-align:center;
    color:#475569;
    font-size:1.1rem;
    line-height:1.8;
    margin-bottom:70px;
}

/* CONTENEDOR BURBUJAS */

.bubble-wrapper{
    position:relative;
    width:100%;
    max-width:900px;
    height:700px;
    margin:auto;
}

.bubble{
    position:absolute;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    font-weight:600;
    line-height:1.3;
    transition:.35s ease;
    cursor:default;
    user-select:none;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.bubble:hover{
    transform:scale(1.08);
    z-index:10;
}

.bubble-main{
    position:absolute;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    font-weight:600;
    line-height:1.3;
    transition:.5s ease;
    cursor:default;
    user-select:none;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.bubble-main:hover{
    margin-top: -1mm;
    z-index:10;
}

/* BURBUJA CENTRAL */

.main-bubble{
    width:240px;
    height:240px;
    background:linear-gradient(135deg,#0f172a,#1e3a8a);
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    font-size:2rem;
    padding:30px;
}

/* BURBUJAS SECUNDARIAS */

.bubble-small{
    background:linear-gradient(135deg,#2563eb,#38bdf8);
    width:145px;
    height:145px;
    font-size:1rem;
    padding:20px;
}

.bubble-purple{
    background:linear-gradient(135deg,#7c3aed,#c084fc);
}

.bubble-orange{
    background:linear-gradient(135deg,#ea580c,#fb923c);
}

/* POSICIONES */

.b1{ top:20px; left:370px; }

.b2{ top:90px; left:160px; }

.b3{ top:110px; right:150px; }

.b4{ top:260px; left:40px; }

.b5{ top:260px; right:30px; }

.b6{ bottom:160px; left:120px; }

.b7{ bottom:150px; right:120px; }

.b8{ bottom:20px; left:260px; }

.b9{ bottom:10px; right:250px; }

/* RESPONSIVE */

@media(max-width:991px){

    .bubble-wrapper{
    height:auto;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    }

    .bubble-main{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    }

    .bubble{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    }

    .main-bubble{
    width:220px;
    height:220px;
    order:-1;
    }

}

.valor-section{
    position:relative;
    padding:100px 0;
    overflow:hidden;
}

/* DECORACIÓN */

.valor-section::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:linear-gradient(135deg,#2563eb15,#0f172a05);
    border-radius:50%;
    top:-250px;
    right:-200px;
}

.valor-section::after{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    background:linear-gradient(135deg,#2563eb10,#0f172a05);
    border-radius:50%;
    bottom:-180px;
    left:-120px;
}

.section-title{
    text-align:center;
    font-size:3.2rem;
    font-weight:700;
    color:#0f172a;
    margin-bottom:20px;
    letter-spacing:2px;
}

.section-subtitle{
    max-width:850px;
    margin:auto;
    text-align:center;
    color:#64748b;
    line-height:1.9;
    font-size:1.1rem;
    margin-bottom:80px;
}

/* GRID */

.valor-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    position:relative;
    z-index:2;
}

/* CARDS */

.valor-card{
    position:relative;
    background:white;
    border-radius:28px;
    padding:35px 25px;
    min-height:230px;
    overflow:hidden;
    transition:.4s ease;
    border:1px solid rgba(0,0,0,.05);
    box-shadow:0 10px 35px rgba(0,0,0,.05);
}

.valor-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(37,99,235,.12);
}

/* NÚMERO FONDO */

.valor-number{
    position:absolute;
    top:-10px;
    right:15px;
    font-size:5rem;
    font-weight:800;
    color:rgba(37,99,235,.08);
    line-height:1;
}

/* ICONO */

.valor-icon{
    width:70px;
    height:70px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.8rem;
    margin-bottom:25px;
    background:linear-gradient(135deg,#2563eb,#38bdf8);
    color:white;
    box-shadow:0 10px 25px rgba(37,99,235,.25);
}

.valor-card h4{
    font-size:1.15rem;
    font-weight:700;
    color:#0f172a;
    margin-bottom:15px;
}

.valor-card p{
    color:#64748b;
    line-height:1.8;
    margin:0;
    font-size:.96rem;
}

/* CARD GRANDE SEGURIDAD */

.seguridad-box{
    margin-top:90px;
    background:linear-gradient(135deg,#0f172a,#1e3a8a);
    border-radius:35px;
    padding:60px;
    color:white;
    position:relative;
    overflow:hidden;
    box-shadow:0 25px 60px rgba(15,23,42,.25);
}

.seguridad-box::before{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    background:rgba(255,255,255,.05);
    border-radius:50%;
    top:-100px;
    right:-100px;
}

.seguridad-box h3{
    font-size:2.5rem;
    font-weight:700;
    margin-bottom:25px;
    position:relative;
    z-index:2;
}

.seguridad-box p{
    font-size:1.05rem;
    line-height:2;
    color:rgba(255,255,255,.88);
    position:relative;
    z-index:2;
    max-width:900px;
}

.seguridad-icon{
    position:absolute;
    right:60px;
    bottom:40px;
    font-size:8rem;
    color:rgba(255,255,255,.08);
}

/* RESPONSIVE */

@media(max-width:1200px){

    .valor-grid{
    grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .section-title{
    font-size:2.4rem;
    }

    .valor-grid{
    grid-template-columns:1fr;
    }

    .seguridad-box{
    padding:40px 30px;
    }

    .seguridad-box h3{
    font-size:2rem;
    }

    .seguridad-icon{
    display:none;
    }

}

.equipo-section{
    padding:100px 0;
    position:relative;
    overflow:hidden;
}

/* DECORACIONES */

.equipo-section::before{
    content:"";
    position:absolute;
    width:700px;
    height:700px;
    background:radial-gradient(circle,#2563eb10 0%, transparent 70%);
    top:-300px;
    right:-250px;
}

.equipo-section::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:radial-gradient(circle,#0f172a08 0%, transparent 70%);
    bottom:-250px;
    left:-200px;
}

.section-title{
    text-align:center;
    font-size:3.2rem;
    font-weight:800;
    color:#0f172a;
    margin-bottom:25px;
    letter-spacing:1px;
}

.section-description{
    max-width:850px;
    margin:auto;
    text-align:center;
    color:#64748b;
    line-height:2;
    font-size:1.08rem;
    margin-bottom:90px;
}

/* CONTENEDOR */

.team-layout{
    position:relative;
    max-width:1100px;
    margin:auto;
    min-height:750px;
}

/* HEXÁGONOS */

.hex-card{
    position:absolute;
    width:180px;
    height:200px;
    clip-path:polygon(
    25% 6%,
    75% 6%,
    100% 50%,
    75% 94%,
    25% 94%,
    0% 50%
    );
    background:linear-gradient(135deg,#0f172a,#1e3a8a);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:20px;
    color:white;
    transition:.4s ease;
    box-shadow:0 20px 40px rgba(15,23,42,.15);
    overflow:hidden;
}

.hex-card::before{
    content:"";
    position:absolute;
    width:250px;
    height:250px;
    background:rgba(255,255,255,.05);
    border-radius:50%;
    top:-120px;
    right:-100px;
}

.hex-card:hover{
    transform:translateY(-6px) scale(1.05);
    box-shadow:0 30px 60px rgba(37,99,235,.25);
}

.hex-card i{
    font-size:2.2rem;
    margin-bottom:18px;
    position:relative;
    z-index:2;
}

.hex-card h4{
    font-size:1rem;
    font-weight:600;
    line-height:1.5;
    position:relative;
    z-index:2;
    margin:0;
}

/* COLORES */

.blue{
    background:linear-gradient(135deg,#2563eb,#38bdf8);
}

.dark{
    background:linear-gradient(135deg,#0f172a,#334155);
}

.orange{
    background:linear-gradient(135deg,#ea580c,#fb923c);
}

.purple{
    background:linear-gradient(135deg,#7c3aed,#c084fc);
}

/* POSICIONES */

.c1{ top:0; left:220px; }

.c2{ top:0; right:220px; }

.c3{ top:170px; left:110px; }

.c4{ top:170px; right:110px; }

.c5{ top:340px; left:0; }

.c6{ top:340px; left:50%; transform:translateX(-50%); }

.c7{ top:340px; right:0; }

.c8{ bottom:0; left:50%; transform:translateX(-50%); }

/* RESPONSIVE */

@media(max-width:1200px){

    .team-layout{
    min-height:auto;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
    }

    .hex-card{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    }

}

@media(max-width:768px){

    .section-title{
    font-size:2.4rem;
    }

    .hex-card{
    width:160px;
    height:180px;
    }

}

/* CLIENTES BANNER */

.clientes-banner{
    background:url('./assets/ClientesBanner.jpg') center/cover fixed;
    height:450px;
    width:100%;
}

/* MAP */

.map-section iframe{
    width:100%;
    height:450px;
    border:0;
}

/* CONTACTO */

.contacto{
    background:#dfe0e4;
}

.contact-box{
    background:#595959;
    color:white;
    padding:50px;
    border-radius:30px;
    height:100%;
}

.contact-box h4{
    margin-top:20px;
    font-weight:700;
}

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

.form-control{
    border-radius:16px;
    padding:14px;
}

.btn-primary-custom{
    background:#2563eb;
    border:none;
    color:white;
    padding:14px 35px;
    border-radius:16px;
    font-weight:600;
}

/* FOOTER */

.footer{
    background:#0f172a;
    color:white;
    text-align:center;
    padding:50px 0;
}

.footer img{
    max-height:70px;
    margin-bottom:20px;
}

/* RESPONSIVE */

@media(max-width:991px){

    .section-padding{
        padding:70px 0;
    }

    .section-header h2{
        font-size:2.3rem;
    }

    .hero img{
        height:65vh;
    }

    .navbar-nav{
        padding-top:20px;
    }

    .nav-link{
        margin-left:0;
        padding:12px 0;
    }

}

@media(max-width:768px){

    .info-card,
    .service-card,
    .team-card,
    .feature-card,
    .contact-box,
    .contact-form{
        padding:30px;
    }

    .clientes-banner{
        background-attachment:scroll;
        height:300px;
    }

    .hero img{
        height:50vh;
    }

}

/* EXPERIENCIA */

.experiencia-section{
    position:relative;
    padding:120px 0;
    overflow:hidden;
    background: white;
}

.experiencia-overlay{
    position:absolute;
    inset:0;
    background:rgba(255,255,255,.82);
    backdrop-filter:blur(2px);
}

.experiencia-section::before{
    content:"";
    position:absolute;
    width:700px;
    height:700px;
    background:linear-gradient(135deg,rgba(37,99,235,.06),transparent);
    top:-250px;
    left:-250px;
    transform:rotate(20deg);
}

.experiencia-section::after{
    content:"02";
    position:absolute;
    right:60px;
    bottom:20px;
    font-size:9rem;
    font-weight:800;
    color:rgba(15,23,42,.06);
    z-index:1;
}

.experiencia-title{
    font-size:3rem;
    font-weight:800;
    margin-bottom:20px;
    position:relative;
    display:inline-block;
}

.experiencia-title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-10px;
    width:100%;
    height:3px;
    background:#0f172a;
}

.experiencia-text{
    font-size:1.5rem;
    line-height:1.7;
    color:#1e293b;
    max-width:950px;
    margin:auto;
    font-weight:300;
}

/* CERTIFICACIONES */

.certificaciones-box{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:25px;
    background:linear-gradient(135deg,#0f172a,#1e3a8a);
    border-radius:30px;
    padding:35px;
    box-shadow:0 20px 50px rgba(15,23,42,.18);
    flex-wrap:wrap;
}

.cert-item{
    display:flex;
    align-items:center;
    gap:15px;
    color:white;
    font-size:1.1rem;
    font-weight:600;
}

.cert-item i{
    font-size:2rem;
    color:#38bdf8;
}

.divider{
    width:1px;
    height:40px;
    background:rgba(255,255,255,.2);
}

/* STATS */

.exp-card{
    background:rgba(255,255,255,.75);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.4);
    border-radius:30px;
    padding:45px 25px;
    text-align:center;
    height:100%;
    transition:.35s ease;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.exp-card:hover{
    transform:translateY(-10px);
    background:white;
}

.exp-card h3{
    font-size:3rem;
    font-weight:800;
    color:#2563eb;
    margin-bottom:10px;
}

.exp-card p{
    margin:0;
    color:#334155;
    font-weight:500;
}

/* FOOTER */

.experiencia-footer{
    margin-top:20px;
}

.experiencia-footer p{
    font-size:2rem;
    line-height:1.6;
    color:#0f172a;
    font-weight:300;
}

/* RESPONSIVE */

@media(max-width:991px){

    .experiencia-title{
        font-size:3rem;
    }

    .experiencia-text{
        font-size:1.2rem;
    }

    .experiencia-footer p{
        font-size:1.5rem;
    }

}

@media(max-width:768px){

    .experiencia-section{
        padding:90px 0;
    }

    .experiencia-title{
        font-size:2.4rem;
    }

    .experiencia-text{
        font-size:1.05rem;
    }

    .certificaciones-box{
        padding:25px;
        gap:18px;
    }

    .divider{
        display:none;
    }

    .exp-card h3{
        font-size:2.3rem;
    }

    .experiencia-footer p{
        font-size:1.2rem;
    }

    .experiencia-section::after{
        font-size:5rem;
        right:20px;
    }

}

/* ===== MEJORAS RESPONSIVE ===== */

.container{
    width:100%;
}

.section-header{
    padding:0 15px;
}

.section-header p{
    font-size:1.05rem;
}

.service-card ul,
.info-card ul{
    margin-bottom:0;
}

.certificaciones-box{
    width:100%;
}

.cert-item{
    text-align:center;
}

.team-card,
.feature-card,
.info-card,
.service-card{
    overflow:hidden;
}

.contact-box p{
    word-break:break-word;
}

iframe{
    display:block;
}

@media (max-width:1200px){

    .hero img{
        height:70vh;
    }

    .section-header h2{
        font-size:2.7rem;
    }

}

@media (max-width:991px){

    .navbar{
        padding:10px 0;
    }

    .navbar-collapse{
        background:#659997;
        padding:20px;
        border-radius:20px;
        margin-top:15px;
    }

    .section-header{
        margin-bottom:50px;
    }

    .contact-box{
        margin-bottom:20px;
    }

    .exp-card{
        padding:35px 20px;
    }

    .certificaciones-box{
        flex-direction:column;
    }

    .divider{
        width:70%;
        height:1px;
    }

}

@media (max-width:768px){

    .section-padding{
        padding:60px 0;
    }

    .section-header h2{
        font-size:2rem;
    }

    .section-header p{
        font-size:.98rem;
        line-height:1.8;
    }

    .hero img{
        height:45vh;
    }

    .navbar-brand img{
        max-height:48px;
    }

    .service-card,
    .info-card,
    .team-card,
    .feature-card,
    .contact-form,
    .contact-box{
        padding:25px;
        border-radius:22px;
    }

    .sector-grid{
        grid-template-columns:1fr;
    }

    .sector-item{
        padding:30px 20px;
    }

    .clientes-banner{
        height:250px;
        background-position:center;
    }

    .experiencia-title{
        font-size:2rem;
    }

    .experiencia-text{
        font-size:1rem;
    }

    .exp-card h3{
        font-size:2rem;
    }

    .experiencia-footer p{
        font-size:1.05rem;
    }

    .contact-form{
        margin-top:10px;
    }

}

@media (max-width:576px){

    .hero img{
        height:38vh;
    }

    .section-header h2{
        font-size:1.8rem;
    }

    .cert-item{
        flex-direction:column;
    }

    .cert-item span{
        font-size:.95rem;
    }

    .exp-card{
        padding:28px 18px;
    }

    .map-section iframe{
        height:320px;
    }

}
