*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
   /* background: linear-gradient(blue,rgb(203, 80, 100)); */
}
:root {
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
}
html{
  scroll-behavior: smooth;
}
body {
  width: 100%;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  /* background-color:rgb(62, 62, 60); */
  color: white;
  overflow-x: hidden;
     background: linear-gradient(rgb(99, 99, 233),#d4e9e5,rgb(63, 148, 176));
    
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

section {
  animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* header {
  background: #000;
  color: white;
  padding: 10px 20px;
  
} */

.logo {
  font-size: 24px;
  font-weight: bold;
}
 nav {
      /* background-color: #333;
      color: white; */
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      /* background: linear-gradient(rgb(74, 74, 197)); */

    }

    .logo {
      font-size: 1.5rem;
      font-weight: bold;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 2rem;
    }

    .nav-links li a {
      color: white;
      text-decoration: none;
      font-size: 1.1rem;
    }
     .nav-links li a:hover{
      font-weight:490;
      color: #000;
    }
    .menu-icon {
      display: none;
      font-size: 1.8rem;
      cursor: pointer;
    }

  
/*-------------home--------------------------------------*/
#home{
    /* background-color: #0000; */
     
     width: 100%;
    height: 80vh;
    /* background: linear-gradient(rgb(74, 74, 197),#c1559bb0,rgb(218, 236, 197)); */
   margin-top: -1px;
}
.box{
  padding: 2px;
}
.container2{
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
}
.hero{
  padding: 2px;
  margin: 5px;
  flex-basis: 60%;
}

.hero h1{
 font-size: 35px;
 color: aliceblue;
 padding-left: 20px;
 margin-left: 0;

 
}

h1 span{
  font-size: 50px;
    color: yellow;
}

.hero .role1{
font-size: 35px;
font-family:'Times New Roman', Times, serif;
color: aliceblue;
margin-left: 0px;
padding-left: 20px;
font-weight: 450;

}
.hero .role2{
  font-size: 18px;
  font-weight: 500;
  margin-top: 20px;
  padding-left: 20px;
}
/* .role2{
  color: aliceblue;
  font-size: 25px;
padding-left:30px ;
} */
.image img{
  max-width: 500px;
  width: 100%;
  height: auto;
  margin: auto;
  
  border: solid 1px white;
  box-shadow:2px 3px 3px whitesmoke;
  border-radius: 20px;
  flex-basis: 30%;
}
/*------------------about-----------------*/
#about {
  padding:  10px;
  /* background-color: rgb(60, 5, 5); */
  /* color: aliceblue; */
  min-height: 70vh;
  height: auto;
  width: 100%;
  margin-top: 0px;
  /* background: linear-gradient(rgb(218, 236, 197),#cae7e2,rgb(200, 221, 233)); */

  color: #000;
}

.container{
  display: flex;
  align-items:center;
  justify-content: center;
  flex-wrap: wrap; /* Optional for responsiveness */
  margin-top: 35px;
}

.col1 {
  flex-basis: 30%;
  position: relative;
}

.col1 img {
  width: 100%;        /* Adjust width as needed */
  max-width: 300px;   /* Medium size */
  height: auto;
  margin-top:  40px; 
  border-radius:20px 20px 20px 20px; /* Optional styling */
  
}

.col2 {
  flex-basis: 60%;
  
}
p{
  font-size: 20px;
}
.tab-titles {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.tab-links {
  font-weight: bold;
}

/*------------------skills--------*/


#skills {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}
#skills h2{
  text-align: center;
  color: black;
}
/* Two-column layout */
.skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px 40px; 
}

/* Each skill box */
.skill {
  background: #b3b3b3;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 400;
  color: #112e42;
}

/* Progress bar container */
.bar {
  background: #ddd;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 6px;
}

/* Filled part of the bar */
.fill {
  background: #4caf50;
  height: 100%;
  color: black;
  text-align: right;
  padding-right: 6px;
  line-height: 20px;
  border-radius: 10px 0 0 10px;
  font-size: 14px;
}

/*-----------------projetcs---------------*/


#projects{
  height: 50vh;
  width: auto;
  /* background-color: yellow; */
}
.bigbox h2{
  text-align: center;
  color: #000;

}
.project-grid{
  display: flex;
  gap: 10%;
  
}
.project-card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 20px;
  /* flex-basis: 40%; */
  width: 500px;
  
  box-shadow: 0 10px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.animate1{
  margin-left: 135px;
}

.animate2{
  margin-right: 30px;
}
.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}

.project-card p {
  margin: 5px 0;
  font-size: 15px;
  color: #555;
}

.project-card a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  margin-right: 10px;
}

.project-card a:hover {
  text-decoration: underline;
  color: #0056b3;
}

/*----------------contact---------------------*/




#contact{
   background-color: #333;
    padding: 60px;
   
}
.contact-left h1{
  /* text-align:left; */
  padding-left: 0px;
}
.row{
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.sub-title{
  text-align:start;
  padding: 30px;
  margin: 5px;
}
.contact-left{
    flex-basis: 35%;
    padding: 20px;
    
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin:auto;
    font-size: 15px;
    
}
.contact-left p i{
    color: #ff004f;
    font-size: 15px;
    margin-right: 15px;
}
.social-icons{
    margin-top: 20px;
    color: #ffae00;
}
.social-icons a{
    text-decoration: none;
    font-size: 25px;
    margin-right: 15px;
    color: #b92cf0;
    display: inline-block;
    transition: transform 0-5s;
}
.social-icons a:hover{
    color: hsl(0, 6%, 93%);
    transform: translatey(-5px);
}
a button{
    display: inline-block;
    background:#fff;
    color:#262626;
    font-size: 15px;
    border-radius: 6px;
    padding: 3px 3px;
   margin-top: 20px;
   
}


.contact-right{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 10px;
    margin: 15px 0px;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;

}
form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    border-radius: 6px;
    cursor: pointer;
    background:#ff004f;
}
/*-----------------footer-------------------*/
footer {
  text-align: center;
  background:white;
  color:black;
  height: 35px;
  width:100%;
  margin-bottom: -68px;
  padding-left: 0%;
  padding-right: 0px;
}







@media (max-width: 768px) {
  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
  }
  /* ----------------------home----------------- */
  #home{
    height: fit-content;
  }
  .container2 {
    flex-direction: column;
    align-items: center;
    text-align: center;

  }
  
  .image img {
    width: 80%;
    
  }
  .hero h1, .role1, .role2 {
    margin-left: 0;
    padding: 0;
    font-size: 24px;
    text-align: center;
  }
  
  /*------------------about--------------------*/
  #about{
    height: fit-content;
    width: fit-content;
  }
  .col1 img{
   height: 250px;
   width: auto;
   margin-left: auto;
  }
   .about-content {
    flex-direction: column; 
  }

  .col1, .col2 {
    width: 100%;
  }

  .col2 {
    padding: 0 px;  /* small side padding if needed */
  }
  .col2 p{
    font-size: 18px;
  }
  /*-----------------projects----------------*/

 #projects{
    height: fit-content;
    width: fit-content;
  }
 
  #projects h2{
    text-align: center;
  }
  .project-card{
    height: 35%;
    width: 75%;
    padding: auto;
    margin: 10px;
  }
  .bigbox{
    width: 100vw;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .project-grid{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

  }
  /*---------skills---*/
  #skills{
    height: fit-content;
    width: fit-content;
  }
  #skills h2{
    text-align: center;
    margin-bottom: 9px;
    
  }
  .bar {
  height: 14px;
  width: 90%;
  }
  .fill {
  font-size: 12px;
  }
  /*-----------contact----*/
  #contact{
    background-color: #333;
    height: fit-content;
    width: fit-content;
  }
  .contact-all{
    margin-top: -70px;
  }
  .contact-left h1{
    text-align: center;
    font-size: 23px;
  }
  .contact-left p {
    font-size: 12px;
  }
  .contact-left p i {
    font-size: 12px;
    padding: 3px;
  }
  .contact-left i{
    font-size: 22px;
  }
  form .btn2{
    padding: 12px 35px;
    font-size: 13px;
    border-radius: 10px;
   
   }
  
   .row{
    display:block;
   }
   .footer{
    font-size: 16px;
    align-items: center;
    padding: 5px;
   }
}
 
 @media (max-width: 768px) {
      .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: -100%;
        width: 200px;
        background-color: #333;
        transition: right 0.3s ease;
        padding: 1rem;
      }

      .nav-links.show {
        right: 0;
      }

      .menu-icon {
        display: block;
      }

      .nav-links li {
        margin-bottom: 1rem;
      }

      .nav-links li:last-child {
        margin-bottom: 0;
      }
      .social-icons a:hover{
    color: hsl(87, 74%, 50%);
    transform: translatey(-5px);
}
    }
  

@media (max-width: 340px){
.col2 p{
  padding: 0;
}
}