*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:#020617;
    color:white;
    overflow-x:hidden;
}

/* NAVBAR */

nav{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:rgba(2,6,23,0.95);
    position:sticky;
    top:0;
    z-index:1000;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#38bdf8;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:25px;
    transition:0.3s;
}

nav a:hover{
    color:#38bdf8;
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:120px 8%;
    background:
    linear-gradient(rgba(2,6,23,0.45),rgba(2,6,23,0.55)),
    url('https://images.openai.com/static-rsc-4/sftYgT0uMOBW-XUYPSNHjOuZJv9qZkneN4q-Y8SxQt9uViu6Wm9mZHjwyH8jl5VVx4nIXMem166fF6hR9smDHpJmyEUxfY3g0xftj5x3DlCtV_pDoCUs73Lorp1-TumXWkvKJLSpjgKQZXeRCNm4-pqXxnL82vyWp9p2akhLv1tT3s6E6QhmJi5x3e1O6BQo?purpose=fullsize');
    background-size:cover;
    background-position:center;
    
}



.hero-content{
    max-width:900px;
    animation:aparecer 2s ease;
}

.hero h1{
    font-size:65px;
    margin-bottom:20px;
}

.hero h1 span{
    color:whrite;
}

.hero p{
    font-size:20px;
    line-height:1.8;
    color:#cbd5e1;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    padding:15px 35px;
    background:#0ea5e9;
    color:white;
    text-decoration:none;
    border-radius:10px;
    transition:0.3s;
    font-weight:600;
}

.btn:hover{
    background:#0284c7;
    transform:translateY(-5px);
}

/* ANIMACION */

@keyframes aparecer{

0%{
opacity:0;
transform:translateY(40px);
}

100%{
opacity:1;
transform:translateY(0);
}

}

/* SERVICIOS */

.servicios{
    padding:100px 8%;
}

.titulo{
    text-align:center;
    margin-bottom:70px;
}

.titulo h2{
    font-size:45px;
    margin-bottom:15px;
}

.titulo p{
    color:#94a3b8;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

/* CARD */

.card{
    background:#111827;
    border-radius:20px;
    overflow:hidden;
    transition:0.4s;
    border:1px solid rgba(255,255,255,0.06);
    box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

.card:hover{
    transform:translateY(-12px);
    box-shadow:0 15px 35px rgba(14,165,233,0.3);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:0.5s;
}

.card:hover img{
    transform:scale(1.08);
}

.card-content{
    padding:30px;
}

.card-content h3{
    font-size:26px;
    margin-bottom:15px;
    color:#38bdf8;
}

.card-content p{
    line-height:1.8;
    color:#cbd5e1;
}

/* INFO */

.info{
    padding:100px 8%;
    background:#0f172a;
}

.info-container{
    display:flex;
    align-items:center;
    gap:60px;
    flex-wrap:wrap;
}

.info-img{
    flex:1;
}

.info-img img{
    width:100%;
    border-radius:20px;
    animation:flotar 4s ease-in-out infinite;
}

@keyframes flotar{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-15px);
}

100%{
transform:translateY(0px);
}

}

.info-text{
    flex:1;
}

.info-text h2{
    font-size:45px;
    margin-bottom:25px;
}

.info-text p{
    line-height:1.9;
    color:#cbd5e1;
    margin-bottom:20px;
}

/* FOOTER */

footer{
    background:#020617;
    text-align:center;
    padding:25px;
    color:#94a3b8;
    border-top:1px solid rgba(255,255,255,0.05);
}

/* RESPONSIVE */

@media(max-width:900px){

.hero h1{
    font-size:45px;
}

.info-container{
    flex-direction:column;
}

}

@media(max-width:600px){

nav{
    flex-direction:column;
}

nav div{
    margin-top:15px;
}

.hero h1{
    font-size:36px;
}

.hero p{
    font-size:17px;
}

.titulo h2,
.info-text h2{
    font-size:34px;
}



}

