@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#eef8ff;
    color:#222;
}

nav{
    position:fixed;
    width:100%;
    top:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
    background:#0ea5e9;
    z-index:1000;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.logo{
    color:white;
    font-size:28px;
    font-weight:700;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:20px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:500;
}

.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:50px;
    padding:120px 10%;
    background:linear-gradient(135deg,#38bdf8,#0ea5e9);
    color:white;
}

.hero-text{
    flex:1;
}

.hero-text h1{
    font-size:60px;
}

.hero-text span{
    color:#fff9c4;
}

.hero-text h2{
    margin:15px 0;
}

.hero-text p{
    max-width:600px;
    line-height:1.8;
}

.hero-img img{
    width:320px;
    border-radius:50%;
    border:8px solid white;
    box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.btn{
    display:inline-block;
    margin-top:20px;
    padding:12px 30px;
    background:white;
    color:#0ea5e9;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
}

.section{
    padding:100px 10%;
}

.title{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
    color:#0284c7;
}

.about-card{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.info,.quote{
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.info p{
    margin:12px 0;
}

.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:50px 10%;
}

.stat-box{
    background:white;
    text-align:center;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.stat-box h2{
    color:#0ea5e9;
    font-size:50px;
}

.timeline{
    border-left:5px solid #0ea5e9;
    padding-left:30px;
}

.timeline-item{
    background:white;
    margin-bottom:30px;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    text-align:center;
    padding:30px;
    border-radius:20px;
    transition:.3s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.card:hover{
    transform:translateY(-10px);
}

.card i{
    font-size:50px;
    color:#0ea5e9;
    margin-bottom:15px;
}

.skills{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    justify-content:center;
}

.skill{
    background:#0ea5e9;
    color:white;
    padding:12px 25px;
    border-radius:30px;
}

.contact-box{
    max-width:600px;
    margin:auto;
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.contact-box p{
    margin:15px 0;
}

footer{
    text-align:center;
    background:#0284c7;
    color:white;
    padding:20px;
}

.reveal{
    opacity:0;
    transform:translateY(50px);
    transition:1s;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

@media(max-width:768px){

    .hero{
        flex-direction:column;
        text-align:center;
    }

    .hero-text h1{
        font-size:42px;
    }

    .about-card{
        grid-template-columns:1fr;
    }

    .stats{
        grid-template-columns:1fr;
    }

    nav ul{
        display:none;
    }
}