*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#1d7ddd;
    color:#8d6e07;
}


header{
    background:#663600;
    position:fixed;
    width:100%;
    top:0;
    z-index:1000;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
}

.logo{
    color:white;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:25px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    transition:.3s;
}

nav ul li a:hover{
    color:#66ccff;
}


.hero{
    height:100vh;
    background:linear-gradient(rgba(240, 242, 245, 0.7),rgba(0,51,102,.7)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=80");
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:20px;
}

.hero h1{
    font-size:35px;
}

.hero h2{
    font-size:50px;
    margin:10px 0;
}

.hero p{
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

.hero button{
    margin-top:20px;
    padding:12px 25px;
    border:none;
    border-radius:5px;
    background:#00bfff;
    color:white;
    cursor:pointer;
    transition:.3s;
}

.hero button:hover{
    background:#0099cc;
}


section{
    padding:100px 60px;
}

section h2{
    text-align:center;
    color:#003366;
    margin-bottom:30px;
}


.about-box{
    max-width:800px;
    margin:auto;
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.about-box p{
    margin:12px 0;
}


.project-container{
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
}

.card{
    width:300px;
    background:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    color:#003366;
    margin-bottom:15px;
}


.contact-box{
    max-width:700px;
    margin:auto;
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.contact-box p{
    margin:15px 0;
}

.contact-box a{
    color:#003366;
    text-decoration:none;
}

.back-btn{
    display:inline-block;
    margin-top:20px;
    background:#003366;
    color:white;
    text-decoration:none;
    padding:12px 25px;
    border-radius:5px;
}

.back-btn:hover{
    background:#0055aa;
}


#topBtn{
    position:fixed;
    right:20px;
    bottom:20px;
    display:none;
    padding:12px 15px;
    border:none;
    border-radius:50%;
    background:#003366;
    color:white;
    cursor:pointer;
}


footer{
    background:#003366;
    color:white;
    text-align:center;
    padding:20px;
}



@media(max-width:768px){

nav{
    flex-direction:column;
}

nav ul{
    margin-top:15px;
}

.hero h2{
    font-size:35px;
}

.project-container{
    flex-direction:column;
    align-items:center;
}

section{
    padding:80px 20px;
}

}
