* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-image:url('Background/download.jpg') ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 90px;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background-color: rgba(20, 16, 16, 0.877);
}

.Logo {
    font-family: "Science Gothic", sans-serif; 
  width: 50%;
    display: block;
    font-size: 25px;
    font-weight: 400px;
    color: #bfc7d5 ;
    padding-top: 20px;
   
    text-decoration: none;
}


.navlist {
    
    list-style: none;
    display: flex;
    gap: 50px;
}

.navlist a {
    color:#bfc7d5;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.55s ease;
}

.navlist a:hover {
    border-bottom: 2px solid white;
}
.Project_Image{
    display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 images per row */
  gap: 20px;

  
  
}
.Project_Image img:hover{
transform:scale(1.1);
}
.Project_Image img{
width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease;
}
.Recent_Title {
  display: flex;
  justify-content: center;
}

.Recent_Title h1 {
  font-size: 45px;
  padding: 20px 40px;      /* space inside the box */
  margin-top: 180px;
  text-align: center;
  color: white;
  font-family: "Montserrat", sans-serif;

  background-color: rgba(20, 16, 16, 0.877); /* grey filler */
  
  border-radius: 12px;       /* optional rounded edges */

 
  display: inline-block; /* keeps border tight to text */
}

.Project_Tab{
    
height: 100%;
width: 100%;
min-height: 100vh;
position: relative;
display: grid;
grid-template-columns: repeat(2, 1fr);
padding-right: 5%;

gap: 2rem;
  transform: translateY(80px); /* start 50px below */
  animation: slideUp 1s ease-out forwards;

}


section{
    padding-left: 5%;
    padding-top: 10%;
}

    .Project_Tab h1 {
  justify-self: center;   /* horizontal center */
  align-self: start;      /* top */
  margin-top: 40px;       /* optional spacing */
  color: white;
  font-family: "Montserrat", sans-serif;
    }
.Project_Text{
    color:white;
    
}
.Project_Tab h1{
font-family: "Montserrat", sans-serif;
color:white;
}
.Project_Tab h3{
font-family: "Montserrat", sans-serif;
color:white;
padding-bottom: 20px;
}
.Project_List{
font-family: "Montserrat", sans-serif;
color:white;
}
/* LIGHTBOX BACKGROUND */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:black;
  
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* IMAGE */
#lightbox-img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 5px;
}

/* CLOSE BUTTON */
#lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* ARROWS */
#lightbox .prev,
#lightbox .next {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

#lightbox .prev {
    left: 40px;
}

#lightbox .next {
    right: 40px;
}

#lightbox .prev:hover,
#lightbox .next:hover,
#lightbox .close:hover {
    color: #ccc;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0); /* final position */
  }
}
.scroll_down {
position:fixed;
    bottom:6%;
    right:3%;
    transform: translateX(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 1000;
    animation: bounce 2s infinite;
    text-decoration: none;
}
.scroll_down i{
display:block ;
  padding: 12px;
  font-size: 25px;
  color: white;
  background-color: rgba(20, 16, 16, 0.877);
  border-radius: 30px;
  transition: all .50s ease;
}
@media (max-width: 900px) {
  .header {
    flex-direction: column;
    align-items: center;
    padding: 10px 5%;
    height: auto;
    background: black;
  }

  .Logo {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 15px;
  }

  .navlist {
    flex-direction: row;
    gap: 20px;
    padding-bottom: 10px;
  }
  .navlist a{
    font-size: 15px;
  }

  section {
    padding-top: 140px;
  }

  .Project_Tab {
    display: flex;
    flex-direction: column;
    gap: 30px;

    position: static;
    height: auto;
    width: 100%;

    transform: none !important;
    animation: none !important;
    opacity: 1 !important;

    min-height: auto;
    margin-bottom: 100px;
  }

  .Project_Image {
    grid-template-columns: repeat(2, 1fr);
  }
}

.More_Projects {
  clear: both;
  margin-top: 100px;
  margin-bottom: 100px;
}



.More_Projects{
  display: flex;
  justify-content: center;  
}
.More_Projects a{
    display: block;
  text-align: center;
  text-decoration: none;
  color:white;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 40px;
  margin-top: 60px;
  font-size: 45px;
  transition: all .50s ease;
}
.More_Projects a:hover{
  transform: translateY(-5px) scale(1.08);
}


