
body.dark-mode  {
    background: url(pic/black_bg.jpg) ;
    color: #f1f1f1;
}


body.dark-mode .info h3{
    color: white;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 24px;
}   

body.dark-mode .main {
    background: url(pic/black_bg.jpg);
    color: white;
}

body.dark-mode .main_projects {
    background: black;
    color: white;
}


body.dark-mode #about{
    background: black;
    color: white;
}
body.dark-mode.tab-link::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: white; /*black*/
    transition:  0.5s ease
}

body.dark-mode #contact{
    background: url(pic/1.jpg);
}

body.dark-mode .contact-left p span{
    color: blue;
    font-size: 16px;
    margin-bottom: 10px;
}



body.dark-mode a{
    color: white;
}

body.dark-mode .tab-link {
    color: blue;
}

body.dark-mode .about-col-1 p{
    color: white;
    font-size: 16px;
    margin-top: 25px;
    margin-left: 55px;
}

body.dark-mode .navbar .logo,
body.dark-mode .image img {
    border-color: #FFD700;
    box-shadow: 0 0 20px #FFD700, 0 0 40px #FFA500;
}



*{
    margin: 0;
    padding: 0;
}


.main{
    width: 100%;
    background: url(pic/BG2.jpg);
    background-position: center;
    background-size: cover;
    height: 100vh;
    position: relative;
    font-family: sans-serif;
}

.navbar{
    width: 100%;
    display: flex;
    padding: 15px 0;
    align-items: center;
    margin-bottom: 45px;
    justify-content: space-between;
    border: 6px solid white;
    border-width: 7px;
    height: 100px;
    box-sizing: border-box;
    background: grey;
} 

.navbar .logo{
    width: 120px;
    height: 60px;
    cursor: pointer;
    margin-top: 0%;
    margin-left: 68px;
    border: 4px solid white; /* Gold border */
    border-radius: 50%;         /* Optional: makes the border round */
    box-shadow: 0 0 20px #ff0000, 0 0 40px black; /* Glow effect */
}


ul{
    margin-top: -4%;
}

ul li{
    list-style: none;
    display: inline-block;
    padding: 10px 16px;
}

ul li a{
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin-top: -35px;
}

ul li a:hover{
    color: red;
    transition: 0.3s;
}

.info{
    margin-left: 7%;
    margin-top: 6%;
}

.info h1{
    color: red;
    font-size: 65px;
    margin: 7px;
    padding-bottom: -66%;
    
}


.info h3{
    color: white;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 24px;
    
   
}   

.info h3 span{
    color:blue;
}

.info h1 span{
    color: blue
}


.image {
    display: flex;
    align-items: flex-start;
    margin-right: 10%;
    margin-top: 3%;
    gap: 32px; /* space between image and text */
    
}

.image img{
    width: 300px;
    height: 400px;
    border: 500%;
    margin-top: -450px;
    object-fit: cover;
    border: 4px solid black;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    background:#ff0000;
    margin-left:  auto;
    margin-bottom: 70;
    display: flex;
    align-items:flex-start;
}

.image:hover img{
    left: -55%;
}

.icons a{
    text-decoration:none;
    color: blue;
}

.icons ion-icon{
    margin-right: -90px;
    color: blue;
    font-size: 30px;
    transition: 0.4s ease;
    margin-left: 100px;
}

.icons ion-icon:hover{
    color: black;

}


.footer{
    text-align: center;
    padding: 10px 0;
    background-color: #f1f1f1;
    color: #333;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 14px;
}


<!--Projects Section-->
.main_projects{
    margin: 0;
    padding: 0;
    background: black;
}


.projects-section {
  text-align: center;
  padding: 60px 20px;
 background-color: black;
}

.projects-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: red;
  padding-left: 10px;
}

#filterInput {
  padding: 10px;
  width: 250px;
  margin-bottom: 30px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-left: 0.1px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px; /* row-gap column-gap */
    margin-top: 30px;
      color: white;
}

.project-card {
  background: #2c2c2c;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h3 {
  margin: 0 0 10px;
}

.project-card h3 a {
  text-decoration: none;
  color: #333;
}

.project-card p {
  font-size: 0.9em;
  color: #666;
}

.language-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  background: red;  /* Orange background #ff6600;*/
  font-size: 0.8em;
  font-weight: bold;
}











<!--About Me Section-->
.main_about{
    margin: 0;
    padding: 0;
}

#about{
    padding: 80px 0;
    background: url(pic/New.bg_2.jpg);
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
}

.about-col-1 img{
    width: 65%;
    height: 48%;
    margin-left: 100px;
    margin-top: 10%;
}

.about-col-2{
    flex-basis: 63%;
    margin-top: 2%;
}

.sub-title{
    font-size: 40px;
    color: rgb(236, 31, 31);
    margin-top: -50px;
    font-weight: bolder;
    margin-left: -675px;
}

.tab-title{
    display: flex;
    margin: 20px 0 40px;
}


.tab-link {
    margin-right: 50px;
    font-size: 25px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: blue;
}

.tab-link::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: red; /*black*/
  transition: 0.5s ease;
}


.tab-link.active-link::after{
    width: 50%;
}

.tab-content ul li{
    list-style: none;
    margin: -13px ;
    color: white;

}

.tab-content ul li span{
    color: red;
    font-size: 14px;
    font-weight: bold;
}

.tab-content{
    display: none;
}

.tab-content.active-tab{
    display: block;
}





.about-col-1 a{
    text-decoration: none;
    color: red;
    background: black; /* Gold background */
    margin: 26px 0;
    padding: 10px 18px;
    border-radius: 10px;
    display: inline-block;
    font-weight: bold;
    transition: 0.3s;
    margin-left: 150px;
    margin-top: 35px;
    font-size: 15px;
}

.about-col-1 p{
    color: white;
    font-size: 16px;
    margin-top: 25px;
    margin-left: 80px;
}


.about-col-2  p{
    color: white;
    font-size: 16px;
    margin-top: 25px;
    margin-left: 1px;
}






.about-col-1 a:hover {
    background: red;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 10px red;
}



.about-col-1 a {
    transition: all 0.3s ease-in-out;
}



.footer{
    text-align: center;
    padding: 10px 0;
    background-color: #f1f1f1;
    color: #333;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 14px;
}

--CONTACT SECTION--
.main_contact{
    margin: 0;
    padding: 0;
}

#contact{
    padding: 80px 0;
    background: url(pic/New.bg_2.jpg);
}
    
.contact-left h1{
    color: red;
    font-size: 40px;
    font-weight: bolder;
    margin-bottom: 20px;
    margin-right: 50%;
  
}


.contact-left{
    flex-basis: 35%;
    margin-left: 5%;
}

.contact-right{
    flex-basis: 60%;
    margin-left: -1%;
    margin-top: 4%;
}

.contact-left p{
    color: white;
    font-size: 16px;
    margin-bottom: 10px;
}



body.dark-mode .contact-left p span {
  
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
    background: #222;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: blue;
}

.contact-left p span {
    color: #FFD700;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
}

.contact-left p i{
    color: red;
    margin-right: 10px;
}

.btn.btn2{
    display: inline-block;
    background: blue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 25px;
}



.btn.btn2:hover{
    background: darkblue;
}

form input, form textarea {
    border: 1px solid black;
    border-radius: 6px;
    padding: 10px;
    width: 90%;
    margin-top: 20px;
}

form input:focus, form textarea:focus {
    border-color: blue;
    outline: none;
}

form .btn.btn2{
    display: inline-block;
    background: blue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

form .btn.btn2:hover{
    background: darkblue;
}


.contact-col-2{
    margin-left: 50px;
}

.footer{
    text-align: center;
    padding: 10px 0;
    background-color: #f1f1f1;
    color: #333;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 14px;
}


<!--Skills section-->
.main_skills{
    margin: 0;
    padding: 0;
    background: black;
    height: 100%;
    width: 100%;
}

.main_skills h1{
    color: red;
    font-size: 40px;
    font-weight: bolder;
    text-align: center;
    padding-top: 20px;
    margin-bottom: 20px;
}

body{
    background: black;
    
}

h1{
    text-align: center;
}

h3{
   margin: 5px;
   margin-bottom: -15px;
}



.skill{
    width: 500px;
    margin: 60px auto;
    color: thistle;
    padding: 20px;
    box-shadow: blue 0px 0px 40px;
}

.skill li{
    margin: 20px 0;
    padding: 10px;
}


.bar{
    height: 20px;
    width: 100%;
    background: #353b48;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    border: 1px solid blue;
    box-shadow: 0 0 10px red;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
}

.bar span{
    height: 100%;
    display: block;
    background: red;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}




h4{
    margin-bottom: -15;
    color: white;
    margin-left: 460px;
}

.bar span::after{
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    animation: animate 2s linear infinite;
}