/* Resetting the size */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #d6dbe3;
  color: black;
  line-height: 1.6;
}
body, html, header {
  overflow: visible; 
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: rgb(8, 33, 21);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.navbar img{
    border-radius: 15px;
}
 .brand-name{
   margin-left: 50px;   
}
.centre{
    display: flex;
   margin-right: 100px;
   font-size: 17px;
   font-weight: 650;   
}
.centre li{
margin: 10px;
padding: 5px;    
}
.contact{
    display: flex;
    margin-right: 50px;
    font-size: 17px;
   font-weight: 650;
}
.contact li{
    margin: 10px;
padding: 2.5px; 
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo {
  height: 40px;
  width: 75px;
  margin-left: 25px;
}
.brand-name {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}
.desktop-nav {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}
.desktop-nav li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.desktop-nav li a:hover {
  color: #58a6ff;
}

/* Hamburger & Overlay */
.hamburger,
.close-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 0;
  width: 100%;
  background-color: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(8px);
  overflow: hidden;
  z-index: 1000;
  transition: height 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-overlay.show {
  height: 100vh;
}

.nav-overlay .nav-links {
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-overlay .nav-links li a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}

.section {
  padding: 4rem 2rem;
  max-width: 1500px;
  margin: auto;
  background: bl;
  margin-top: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(19, 0, 0, 0.888);
  
}
#home {
  margin-top: 100px; 
  
}
.home-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.home-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.home-content .text {
  flex: 1;
  min-width: 250px;
 
}


.home-content .image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 250px;
}

.home-content .image img {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-right: 70px;
 
}


#contact {
  margin-bottom: 30px; 
}



.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skills span {
  background: #aebbc4;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

/* Footer */
.footer {
  background-color: #070708;
  color: white;
  padding: 2rem 1rem 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
}

.footer-section h3 {
  margin-bottom: 0.8rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #f7f5f5;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: #58a6ff;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #333;
}



/* Scroll button */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  font-size: 18px;
  border: none;
  border-radius: 50%;
  background-color: #0366d6;
  color: white;
  cursor: pointer;
  display: none;
}

/* Responsive */

@media (min-width: 1024px){

.navbar ul li{
   padding: 1px;
}


  .home-content .image img {
    height: 250px;
    width: 250px;
  }
  #home{
    height:40vh;
  }
  #home .image{
    margin-top: -135px;
    margin-right: 50px;
    
  }
  #home .resume{
    margin-top: -80px;
    
  }
  #home .resume .btn{
    font-size: 20px;
    background-color: rgb(214, 180, 154);
    border-style:inset;
    border-radius: 5px;
    padding: 7px;
  }
  #education .table table{
   height: 15vw;
   border-radius: 5px;
   
  }
  #education .table table thead{
   text-align: center;
   justify-content: center;
   font-weight: 600;
   
  }
  /* skills */
  #skills h2{
      font-size: 1.8rem;
      
    }
    #skills .lang h1{
       
      margin-left: 50px;
      margin-top: 10px;
        
    }
  #skills .lang{
     
    margin-left: 50px;
    margin-top: 10px;
      
  }
  #skills .dev{
    
    margin-left: 40px;
    margin-top: 10px;
      
  }
  #skills .dev h1{
     
    margin-left: 60px;
    margin-top: 10px;
      
  }
  #skills .tools{
     
    margin-left: 40px;
    margin-top: 10px;
      
  }
  #skills .tools h1{
     
    margin-left: 250px;
    margin-top: 10px;
      
  }
  /* COURSES */
  #Courses .course{
    margin-top: 20px;
    list-style: none;
    margin-left: 100px;
  }
  #Courses .Courses{
    margin-left: 150px;
  
    /* line-height: 10px; */
  }
  #Courses .certificate{
    text-align: center;
     margin-top: -100px;
      margin-left: 100px;
    
  }
  #Courses .certifications {
 margin-left: 300px;
 
 
  }
  #Courses .certifications ul {
 list-style:none;
 
 
  }
#Courses .certifications ul li a {
text-decoration: none;

 
 
  }
#Courses .certifications .first{
 margin-left: 100px;
 list-style: none;
 
 
  }
  /* projects */
  #projects .project ul{
    margin-left: 50px;
    list-style:decimal;
    font-weight: 600;
    
  }
  #projects .project ul li{
   padding: 10px;
   list-style:square;
  }
  #projects .project ul li .content{
   margin-left: 20px;
   margin-top: 10px;
   font-weight: 400;
   
  }
  #projects .project ul li a{
   
   text-decoration: none;
   color: rgb(21, 40, 134);
  }

  /* other profiles */
  #contact ul {
display: flex;
padding: 10px;
font-size: 1.6rem;


  }
  #contact ul  li{
display: flex;
margin: 20px;

padding: 10px;
  }
  #contact ul  li a{

text-decoration: none;
color: #02080e;
font-weight: 600;

  }
  #contact .linkedin{
  height: 50px;
  width: 50px;
  padding: 5px;
  margin-top: -2px;
}
  #contact .github{
  height: 50px;
  width: 50px;
  padding: 5px;
  margin-top: -2px;


}
  #contact .gfg{
  height: 50px;
  width: 50px;
  padding: 5px;
  margin-top: -2px;


}
  #contact .leetcode{
  height: 50px;
  width: 50px;
  padding: 5px;
  margin-top: -2px;


}
  #contact .hackerrank{
  height: 50px;
  width: 50px;
  padding: 5px;
  margin-top: -2px;


}
  
  * footer extra */
.footer a {
  text-decoration: none; 
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 40px; 
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}
.footer-links ul{
margin-left: -20px;


}
.footer-links ul li{
padding: 2px;
font-weight: 500;
color: #f8f6f6;

}
.footer-links ul li a{
padding: 2px;
font-weight: 600;
color: #e2dcdc;
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif

}
   
 .footer-section .second li{
margin-left: 13px;

 }
 .footer-section .second li a{
color: rgb(239, 235, 235);
font-weight: 600;

 }
 .footer-section .third li{
margin-left: 15px;

 }
 .footer-section .third li a{
color: rgb(230, 223, 223);
font-weight: 600;


 }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
    
  }


/* logo shii */
.navbar .nav-left img{
   margin-left: -5px;
   height: 40px;
   width: 40px;
}

  #home {
     margin-top: 100px; 
  }
  .home-content .text h1 {
 
  margin-left:35px ;

}
  .home-content .text p {
 
  margin-left:2px ;

}
#home .home-content .text2 {
 
  margin-left:50px ;
}
#home .home-content .image img {
 
  margin-right: 65px;
}
.resume{
   
    margin-left: 42px;
    margin-top: 8px;
    border-radius: 5px;
    
    
}
.resume .btn{
   
   font-size: 1.5rem;
   border-radius: 3px;
   color: white;
   background-color: #080606;  
   font-size: 1.8rem;
}
#about{
  text-align: justify;
}

 /* education */
  #education{
    margin-left: -20px;
    
  }
  #education .table table{
    width: 50%;

    font-size: 0.92rem;
    text-align: center;


  }
  #education .table table thead{
    font-weight: 600;

  }
  /* skills */
  #skills .lang h1{
    margin-left: 10px;

  }
  #skills .lang span{
    margin-left: 15px;
    display: inline-block;
    margin: 10px;
  }
  #skills .dev h1{
    margin-left: 10px;
  }
  #skills .tools h1{
    margin-left: 10px;
  }
  #skills .tools span{
     margin-left: 15px;
    display: inline-block;
    margin: 5px;
    text-align: justify;
  }

/* courses */
#Courses .project {
margin-top: 30px;

}
#Courses .Courses ol{
margin-top: 10px;
font-weight: 400;
}
#Courses .certificate h3{
margin-top: 30px;
}
#Courses .certifications{
margin-top: 30px;
}
#Courses .certifications ul{
list-style: decimal;
font-weight: 400;

}
#Courses .certifications a{
text-decoration: none;
color: ;

}


#projects .project ul{
   list-style-type:none;
   margin-top: 10px;
   font-size: 0.8rem;
  
}
#projects .project ul li{
 
}
#projects .project ul li h1{
  
   font-size: 1.4rem;
   
}
#projects .project ul li a{
  
   text-decoration: none;
   color: #1c4e88;
   font-weight: 600; 
}

#internship h2{
  font-size: 1.4rem;
}

#internship p{
  text-align: justify;
  font-weight: 400;
  margin-top: 15px;
  font-size: 1rem;
}
#internship h3{
  
  margin-top: 15px;
}

/* profiles */
#contact ul{
  
  margin-top: 20px;
  list-style: decimal;
  
  display: flex;
}
#contact ul li   {
 padding: 5px;


}
/* other profiles */
#contact .hackerrank {

   margin-left: 13px;
  
}
#contact .gfg {

   margin-left: -9px;
  
}
#contact ul li a{
  
  text-decoration: none;
   
}
#projects .project ul li p{
  
  margin: 10px;
  text-align: justify;
  font-size: 0.8rem;
  font-weight: 550;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
   
}


  .hamburger {
    display: block;
  }

  .nav-overlay .nav-links {
    
  }

#contact ul {
  list-style: none;
  
}
#contact ul li a {
 margin-top: -10px;

}
 #contact .linkedin{
  height: 50px;
  width: 50px;
  padding: 5px;
  
  
}
 #contact ul li a{
  
margin-top: -20px;

  
}
  #contact .github{
  height: 50px;
  width: 50px;
  padding: 5px;
  margin-top: -2px;


}
  #contact .gfg{
  height: 50px;
  width: 50px;
  padding: 5px;
  margin-top: -2px;


}
  #contact .leetcode{
  height: 50px;
  width: 50px;
  padding: 5px;
  margin-top: -2px;


}
  #contact .hackerrank{
  height: 50px;
  width: 50px;
  padding: 5px;
  margin-top: -2px;


}
/* footer */
/* .footer-content{
  display: block;
  align-items: center;
  text-align: center;
} */
 .footer-section ul{
  margin-left: 10px;
 }

 /* hamburger */
 #navOverlay{
text-align: justify;
align-items: center;

 }
 #navOverlay ul{

  margin-left: 100px;
  margin-top: -100px;
  padding: 100px;
 }
 #navOverlay ul li{

  padding: 10px;
 }
 #navOverlay .contact li{

  margin-right: 2px;
  margin: 50px;
  font-size: 1.8rem;
  font-weight: 900;
  margin-top: 50px;
 }

 
}