html{
    scroll-behavior: smooth;

}
*{
    margin: 0;
    padding: 0;
    box-sizing: content-box;
    font-family: 'Poppins', sans-serif;
}
body{
    background: #141414;
    min-height: 200vh;
}

/* Header */
header{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s;
    padding: 30px 100px;
    z-index: 100000000;
}
header .logo{
    position: relative;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.6s;
}
header.sticky{
    padding: 30px 100px;
    background: #dfdfdf;
}

/* Navbar */
.navbar ul{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.navbar ul li{
    list-style: none;
    position: relative;
}
.navbar ul li a{
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 700;
    transition: 0.5s;
}
section::before {
    content: "";
    display: block;
    height: 70px; /* Adjust this to match the height of your navbar */
    margin: -70px 0 0; /* This negative margin is the trick */
}

/* Home */
.home{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    background-image: url('image/background.jpg');
    background-size: cover;
}
.home .intro{
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    text-align: left;
    justify-content: center;
    color: #dbdbdb;
    font-size: 3.5em;
}
.home .intro .highlight{
    color: #b85f07;
}
header.sticky .logo,
header.sticky ul li a{
    color: #000;
}
hr{
    width: 90%;
    margin: 50px 0;
}

/* About */
.about{
    color: #fff;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    background-color: #141414;
    padding: 8%;
}
#about-main{
    margin-top: 8%;
    padding: 0 0 50px 0;
}
#about{
    padding: 50px 0;

}
.about h2{
    font-weight: 700;
    font-size: 2.5em;
    margin-bottom: 40px;
}
.about h3{
    font-size: 1.3em;
    margin-bottom: 10px;
}
.about p{
    font-size: 1.2em;
    margin: 0 20%;
}
.about #description{
    padding-bottom: 50px;
}
.about .education{
    padding: 50px 0;
}
.about .btn{
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    font-size: 20px;
    font-weight:  600;
    padding: 10px 20px;
    transition-duration: .4s;
    border-radius: 10px;
}
.about .btn:hover{
    background-color: #000;
    color: #fff;
}
.about i{
    font-size: 30px;
    margin-right: 10px;
}

/* Skills */
.skills{
    color: #000;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    padding: 8%;
    background-color: #dfdfdf;
}
.skills h2{
    font-weight: 700;
    font-size: 2.5em;
    margin-bottom: 40px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 150px; 
    margin: 20px;
    text-align: center;
    border-radius: 20%;
    border: 5px solid #000;
    overflow: hidden;
}
.skill-icon {
    width: 70%;
    height: 70%;
    object-fit: cover;
}

/* Projects */
.projects{
    color: #fff;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    padding: 8%;
}
.projects h2{
    font-weight: 700;
    font-size: 2.5em;
    margin-bottom: 40px;
}
.display {
    width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
}
.display .image-box {
    flex: 1;
    border-radius: 30px 0 0 30px;
}
.display .desc-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 3;
    background-color: #3b3b3b;
    padding: 0 50px;
    margin: 0;
    border-radius: 0 30px 30px 0;
}
.desc-box .button {
    display: inline-block;
    text-decoration: none;
}
.desc-box h2{
    font-weight: 700;
    font-size: 2.2em;
    margin-bottom: 40px;
}
.desc-box p{
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 40px;
}
.desc-box .button {
    padding: 10px 20px;
    background-color: #b85f07;
    color: #fff;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.2em;
    text-decoration: none;
}

/* Contact */
.contact{
    color: #000;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    padding: 8%;
    background-color: #dfdfdf;
}
.contact h2{
    font-weight: 700;
    font-size: 2.5em;
    margin-bottom: 40px;
}
.contact h3{
    font-size: 1.3em;
    justify-content: space-between;
}
.contact .row{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.contact a{
    text-decoration: none;
}
.contact i{
    font-size: 50px;
    color: #000;
}