html {
  scroll-behavior: smooth;
  scroll-padding-top: 52px;
}
/* git add .
git commit -m "Initial commit"
git branch -M main         # ব্রাঞ্চের নাম পরিবর্তন (ঐচ্ছিক)
git push -u origin main */

body{
    
    background: #111828;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


header{
   
    padding: 20px;
    padding-top: 50px;
    text-align: center;
    
}
header h1{
    font-size: 45px;
   color: rgb(255, 255, 255);
   text-align: center;
}
header img{
    border-radius: 50%;
}
header p{
  font-size: 30px;
  text-decoration: none;
  text-decoration: none;
   margin-top: -10px;
}
header a{
  text-decoration: none;
  margin-right: 5px;
}

.navbar {
    display: flex;
  overflow: hidden;
  background-color: #192130;
  position: fixed;
  top: 0;
  width: 100%;
  justify-content: center;
}
    



.navbar a {
 
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 14px;
  text-decoration: none;
  font-size: 17px;
  display: flex;
  margin-right: 5%;
  margin-right: 5px;
}

.navbar a:hover {
  background: #ddd;
  color: black;
}
/* Menu icon */
.navbar .icon {
      display: none; 
      font-size: 22px;
      color: white;
      cursor: pointer;
      margin-left: auto;
    }



#menu-toggle {
  display: none;
}

/* Mobile view */
@media screen and (max-width: 700px) {
      .navbar a {
        display: none;
      }
      .navbar .icon {
        display: block;
        padding-right: 20px;
        
      }
   

  /* Show menu links when checkbox checked */
  #menu-toggle:checked ~ a {
    display: block;
    width: 100%;
    
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.button-div {
    display: inline-block;
    background-color: rgb(80, 226, 178);
    padding: 10px 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.button-div a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 16px;
    display: block;
}

.button-div:hover {
    background-color: rgb(71, 175, 141);
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}


h2{
    font-size: 30px;
}

#education p{
    font-size: 18px;
}
.bio{
    text-align: justify;
}
section{
    
    background:#192130;
    padding: 20px;
    margin-right: 18%;
    margin-top: 25px;
    margin-left: 18%;
    margin-bottom: 18px;
    text-align: left;
}
    @media screen and (max-width: 800px) {
    section {
        margin: 0;
    }
}

section i{
    color: rgb(18, 173, 4);
}
.skill {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  
 
}
.sk{
    display: flex;
    flex-wrap: wrap;
    background-color: #111828;
    padding:20px;
    border-radius: 6px;
    flex: 25%;
    
 

}
.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.left, 
.right {
  flex: 1;
  min-width: 300px;
}
.bsc{
  background-color: #111828 ;
  border-radius: 5%;
  padding: 10px;
  font-size: 18px;
  margin-bottom: 20px;
  
}
.bsc p{
text-align: justify;
}

.hsc{
   background-color: #111828 ;
  border-radius: 5%;
  padding: 10px;
  font-size: 18px;
  margin-bottom: 10px;
}

.experience{
   background-color: #111828 ;
  border-radius: 5%;
  padding: 10px;
  font-size: 18px;
  margin-bottom: 10px;
  
}


.bytecapsule {
    background-color: #111828;
    border-radius: 10px;
    padding: 10px;
    width: 300px; /* Fixed width for box */
    align-items: center;
    text-align: center;
    
    
}
   



#project {
  padding: 50px 20px;
  background: #192130;
}

#project h2 {
 
  font-size: 32px;
  margin-bottom: 40px;
  color: #ffffff;
}


.allproject {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  
}

.myproject {
  background: #111828;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out;
}




.myproject img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 10px;
}


.myproject h4 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffffff;
}


.myproject button,
.myproject .button {
  margin: 5px 5px;
  padding: 8px 18px;
  border: none;
  border-radius: 20px;
  background: #4CAF50;
  color: white;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.myproject button:hover,
.myproject .button:hover {
  background: #388E3C;
}

/* 🔹 Paragraph */
.myproject p {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 15px;
  color: #ffffff;
  text-align: justify;
}


@media (max-width: 700px) {
  #project h2 {
    font-size: 25px;
  }
  .myproject h4 {
    font-size: 19px;
  }
}

#bornolota img{
padding-top: 20px;
}

@media (max-width: 480px) {
  #project {
    padding: 30px 10px;
  }
  .myproject {
    padding: 15px;
  }
  .myproject p {
    font-size: 14px;
  }
}





#contact a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}
footer{
    text-align: center;
        margin-top: 50px;

}

.i{
    color: beige;
}

#email{
    font-size: 20px;

}
#mail a{
    font-size: 32px;
    margin-right: 15px;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background-color: #007bff;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.contact-form button:hover {
  background-color: #0056b3;
}


.error { 
  color: red; font-size: 14px; }
  
  
  
  
  .btn {
  margin: 5px 5px;
  padding: 8px 18px;
  border: none;
  border-radius: 20px;
  background: #4CAF50;
  color: white;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
}
.btn:hover {
  background-color: #45a049;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  text-align: center;
  padding-top: 60px;
}



.modal:target {
  display: block;
}


.modal img {
  max-width: 80%;
  border-radius: 10px;
  animation: zoom 0.6s;
}


.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  text-decoration: none;
  font-weight: bold;
}

  
  