*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f4f4f4;
    color:#222;
}

/*--------------------------------------- HEADER ------------------------------------------*/

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;

    background:#020066;

    display:flex;
    align-items:center;

    padding:20px 60px;

    box-shadow:0 2px 10px rgba(0,0,0,0.2);
}

.logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo img{
    height:80px;
    width:auto;
}

.menu-toggle{
    display:none;
    font-size:30px;
    color:white;
    cursor:pointer;
}

.navbar{
    margin-left:auto;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:10px;
    transition:0.3s;
    

    font-family: 'Segoe UI', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav a:hover{
    color:#90caf9;
}

/*------------------------------------- HERO ---------------------------------------------*/

.hero{
    height:100vh;

    background:url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?q=80&w=1400&auto=format&fit=crop');

    background-size:cover;
    background-position:center;

    position:relative;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:linear-gradient(
        rgba(0,0,0,0.7),
        rgba(13,71,161,0.5)
    );
}

.hero-content{
    position:relative;
    color:white;
    max-width:700px;
    padding:20px;
}

.hero-content h2{
    font-size:55px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:20px;
    margin-bottom:30px;
    line-height:1.6;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
}

.btn{
    background:#1565c0;
    color:white;
    padding:14px 28px;
    border-radius:8px;
    text-decoration:none;
    transition:0.3s;
}

.btn:hover{
    background:#0d47a1;
}

.btn-secondary{
    background:#25d366;
}

.btn-secondary:hover{
    background:#1ea851;
}

/*------------------------------------- SECCIONES CON CARRUSEL Y VIDEOS -------------------------------------*/

.nosotros{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:100px 10%;
    background:#fff;
}

.puntoventa{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:100px 10%;
    background:#fff;
}

.redes{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:100px 10%;
    background:#fff;
}

.cctv{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:100px 10%;
    background:#fff;
}

.capacitacion{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:100px 10%;
    background:#fff;
}

.soporte{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:100px 10%;
    background:#fff;
}

.contacto{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:100px 10%;
    background:#fff;
}

.media-section{
    width:50%;
}

.about-text{
    width:50%;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.about-text h2{
    font-size:45px;
    margin-bottom:20px;
}

.about-text p{
    margin-bottom:20px;
    line-height:1.8;
    font-size:22px;
}

/*---------- CARRUSEL -----------*/

.carousel{
    position:relative;
    width:100%;
    margin-bottom:25px;
}

.slide{
    display:none;
}

.slide.active{
    display:block;
}

.slide img{
    width:100%;
    height:400px;
    object-fit:cover;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

/*----------- BOTONES -----------*/

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);

    border:none;

    width:45px;
    height:45px;

    border-radius:50%;

    background:rgba(0,0,0,.6);

    color:white;

    cursor:pointer;

    font-size:20px;
}

.prev{
    left:15px;
}

.next{
    right:15px;
}

.prev:hover,
.next:hover{
    background:#1565c0;
}

/*----------- VIDEO -----------*/

.video-container{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-container iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.video-container video{
    width:100%;
    max-height:400px;
    object-fit:cover;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

/*------------------------------------ DIRECCION ---------------------------------------*/
.ubicacion{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 90%;
    max-width: 1200px;
    margin: 70px auto;
    flex-wrap: wrap;
}

.info-direccion{
    flex: 1;
    min-width: 280px;
}

.info-direccion h2{
    font-size: 30px;
}

.mapa{
    flex: 1;
    min-width: 320px;
    border-radius: 12px;
    overflow: hidden;
}

.mapa iframe{
    width: 100%;
    height: 350px;
    border: none;
}

/*--------------------------------------- SERVICES ---------------------------------------*/

.services{
    padding:100px 10%;
}

.section-title{
    text-align:center;
    font-size:45px;
    margin-bottom:60px;
}

.cards{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
    justify-content:center;
}

.card{
    width:350px;
    background:white;
    border-radius:15px;
    overflow:hidden;

    box-shadow:0 5px 15px rgba(0,0,0,0.1);

    transition:0.3s;
}

.card:hover{
    transform:translateY(-10px);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card-content{
    padding:25px;
}

.card-content h3{
    margin-bottom:15px;
    font-size:28px;
}

.card-content p{
    line-height:1.7;
    margin-bottom:20px;
}

.card-btn{
    display:inline-block;
    padding:12px 20px;
    background:#1565c0;
    color:white;
    text-decoration:none;
    border-radius:8px;
    transition:0.3s;
}

.card-btn:hover{
    background:#0d47a1;
}

/*------------------------------------------- FOOTER ---------------------------------------*/

footer{
    background:#071a35;
    color:white;
    padding:60px 10% 20px;
}

.footer-container{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:30px;
}

.footer-box{
    width:300px;
}

.footer-box h3{
    margin-bottom:20px;
    font-size:25px;
}

.footer-box p{
    margin-bottom:12px;
    line-height:1.6;
}

.footer-box a{
    display:block;
    color:#90caf9;
    text-decoration:none;
    margin-bottom:10px;
}

.footer-bottom{
    text-align:center;
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,0.2);
}

/*-------------------------------------- WHATSAPP ---------------------------------------*/

.whatsapp{
    position:fixed;

    right:20px;
    bottom:20px;

    width:60px;
    height:60px;

    background:#25d366;
    color:white;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:35px;

    text-decoration:none;

    box-shadow:0 5px 15px rgba(0,0,0,0.3);

    z-index:999;
}