*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fa;
    color:#333;
}

/* Navigation */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
    background:white;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    position:sticky;
    top:0;
}

.logo{
    font-size:24px;
    font-weight:700;
    color:#0077ff;
}

nav ul{
    list-style:none;
    display:flex;
    gap:20px;
}

nav ul li a{
    text-decoration:none;
    color:#333;
    font-weight:500;
}

nav ul li a:hover{
    color:#0077ff;
}

/* Hero */

.hero{
    height:90vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    background:linear-gradient(
        135deg,
        #0077ff,
        #00c6ff
    );
    color:white;
    padding:20px;
}

.hero-content h1{
    font-size:55px;
}

.hero-content h2{
    margin-top:10px;
    font-size:28px;
    font-weight:400;
}

.hero-content p{
    margin-top:20px;
    font-size:18px;
}

.btn{
    display:inline-block;
    margin-top:25px;
    padding:12px 25px;
    background:white;
    color:#0077ff;
    text-decoration:none;
    border-radius:8px;
    font-weight:600;
}

.btn:hover{
    transform:translateY(-2px);
}

/* Sections */

section{
    padding:80px 10%;
}

section h2{
    text-align:center;
    margin-bottom:30px;
    font-size:36px;
}

#about p{
    max-width:800px;
    margin:auto;
    text-align:center;
    line-height:1.8;
}

/* Projects */

.project-container{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.card{
    width:320px;
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    text-align:center;
}

.card i{
    font-size:40px;
    color:#0077ff;
    margin-bottom:15px;
}

.card h3{
    margin-bottom:10px;
}

/* Contact */

.contact-info{
    text-align:center;
}

.contact-info p{
    margin:15px 0;
    font-size:18px;
}

.contact-info i{
    color:#0077ff;
    margin-right:10px;
}

/* Footer */

footer{
    background:#222;
    color:white;
    text-align:center;
    padding:25px;
}

/* Mobile */

@media(max-width:768px){

nav{
    flex-direction:column;
    gap:10px;
}

.hero-content h1{
    font-size:36px;
}

.hero-content h2{
    font-size:22px;
}

.project-container{
    flex-direction:column;
    align-items:center;
}

.card{
    width:100%;
    max-width:350px;
}

}