        
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
 
 :root{
    --bg-color: #0F172A ;
    --text-color: #E2F0FB ;
    --main-color: #38BDF8 ;
    --header-bg: rgba(15, 23, 42, 0.50);
    --gradient-start: #38BDF8 ;
    --gradient-end: #BAE6FD ;
    --sections-bg: #1E293B ;
}  


html {
    font-size: 60%;
    overflow-x: hidden;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}
.header{
    position: fixed;
    width:100%;
    top: 0;
    left:0;
    padding: 4rem 15%;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
#menu-icon{
    align-items: center;
    font-size: 3.5rem;
    color: var(--main-color);
    display:none;
}
.logo{
    margin-right: 0rem;
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.logo:hover{
    transform: scale(1.1);
}
span{
    background: linear-gradient(
        270deg,
        var(--gradient-end) 10%,
        var(--gradient-start) 100%
    );
    background-clip: text;
    color: transparent;
}
.navbar a{
    margin: 4rem;
    font-size: 1.9rem;
    color: var(--text-color);
    font-weight: 700;
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
}
.navbar a:hover{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
.gradient-btn{
    margin-left: 6rem;
    font-size: 1.8rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    background: linear-gradient(
        270deg,
        var(--gradient-end) 10%,
        var(--gradient-start) 100%
        );
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    color: white;
    border: none;
    text-wrap: nowrap;
}
.gradient-btn:hover{
    transform:scale(1.05);
}

section{
    min-height: 100vh;
    padding: 10rem 15%;
}
.home{
    display:flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}
.home-content{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}
.home-content h1{
    font-size: 8rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}
.home-content h3{
    margin: 1rem 0;
    font-size: 4rem;
}
.home-content p{
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.8;
}
.home-img img{
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px grey;
    transition: 0.4s ease-in-out;
}
.home-img img:hover{
    box-shadow: 0 0 25px grey,
                0 0 50px grey,
                0 0 100px grey;
}
.social-icons a{
    display: inline-flex;
    color: var(--text-color);
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    margin: 3rem 0.5rem;
    transition: 0.3s ease-in-out;
}
.social-icons a:hover{
    color: var(--text-color);
    background-color: var(--main-color);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}
.btn-group{
    display: flex;
    gap: 1.5rem;
}
.btn{
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--main-color);
    box-shadow: 0 0 8px var(--main-color);
    border-radius: 3rem;
    font-size: 1.8rem;
    color: black;
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3 ease-in-out;
    justify-content: center; /* horizontal */
    align-items: center;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 16px var(--main-color),
                0 0 25px var(--main-color);
}

.btn-group a:nth-of-type(2){
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover{
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black; 
}

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background-color: var(--sections-bg);
}
.about-img img{
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px grey;
    transition: 0.4s ease-in-out;
}
.about-img img:hover{
    box-shadow: 0 0 25px grey,
                0 0 50px grey,
                0 0 100px grey;
}
.about-content h2{
    font-size: 7rem;
    text-align: left;
}
.about-content p{
    font-size: 2rem;
}
.about-content.btn{
    margin: 3rem 0;
}
::-webkit-scrollbar{
    width: 5px;
    height: 3px;
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
    border-radius: 3rem;
}
::-webkit-scrollbar-track{
    background-color: var(--bg-color);
}
.thesis{
    background-color: var(--sections-bg);
    align-items: center;
    display:flex;
    justify-content: center;
    gap: 15rem;
}
.thesis-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.thesis h2{
    font-size: 7rem;
    text-align: center;
}
.thesis h3{
    font-size: 4rem;
    text-align: center;
}
.thesis p{
    font-size: 2rem;
    text-align: center;
    margin: 0 auto;
}
.thesis .btn{
    display: inline-block;
    padding: 1rem 3rem;
    margin: 3rem 0;
    align-self: center;
}
.projects{
    background-color: var(--sections-bg);
    align-items: center;
}
.projects h2{
    font-size: 7rem;
    text-align: center;
}
.projects-box{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    place-items: center;
    align-items: center;
    gap: 3rem;
    row-gap: 5rem;
    grid-auto-rows: 1fr;
}
.project-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-color);
    border: 2px solid var(--main-color);
    border-radius: 3rem;
    gap: 2rem;
    padding: 5rem 2rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 5px var(--main-color);
    transition: 0.3s ease;
}
.project-card:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
    transform: scale(1.02);
}
.project-card img{
    max-width: 300px;
    border-radius: 2rem;
    object-fit: cover;
}
.project-card h3{
    font-size: 3rem;
}
.project-card p{
    font-size: 1.6rem;
}

.skills {
    width: 100%;
    gap: 10rem;
    background-color: var(--sections-bg);
}
.skills h2{
    font-size: 7rem;
    text-align: center;
    
}
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.skills-badge {
    padding: 10px 22px;
    border: 1px solid var(--main-color);
    border-radius: 8px;
    color: var(--text-color);
    background: transparent;
    font-size: 2rem;
    gap: 2rem ;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.35);
    transition: 0.25s ease;
}
 .skills-badge:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.7);
}

.footer{
    background-color: var(--sections-bg);
    padding: 50px 0;
}
.footer .social-icons{
    text-align: center;
}
.footer ul{
    text-align: center;
    font-size: 1.8rem;
}
.footer ul li{
    display: inline-block;
    margin-left: 20px;
}
.footer ul li a{
    color: var(--text-color);
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}
.footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
}
.footer .copyright{
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
}

@media(max-width:1285px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3rem;
        background: var(--header-bg);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }
    .navbar a{
        align-content: center;
        display: block;
        font-size: 2rem;
        margin: 3rem;
        color: var(--text-color);
    }
    .navbar.active{
        display: block;
    }
    .gradient-btn{
        display:inline-block;
        
    }
    .home{
        flex-direction: column-reverse;
        margin: 5rem 0;
        gap: 5rem;
    }
    .home-content{
        align-items: center;
        text-align: center;
    }
    .home-img img{
        width: 56vw;
    }
    .about{
        flex-direction: column-reverse;
        text-align: center;
    }
    .about h2{
        text-align: center;
        margin: 2rem 0;
    }
    .about img{
        width: 52vw;
    }
    .project-card{
        align-items: center;
        width: 80%;
    }
}


@media(max-width: 768px){
    section{
        padding: 10rem 5%;
    }
    .header{
        padding: 2rem 5%;
    }
    .projects-box{
        grid-template-columns: 1fr;
    }
    .project-card{
        width: 100%;
        max-width: 80%;
    }
}
@media(max-width: 450px){
  .navbar.active{
    align-items: center;
  }
  .gradient-btn{
    margin-left: 3rem;
  }
}

@media(max-width: 400) {
   .gradient-btn{
    margin-left: 0rem;
   }
}