* {
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
  font-size: 16px;
}

a {
  text-decoration: none;
}
li {
  list-style: none;
}
img,
video,
iframe {
  height: 100%;
  object-fit: cover;
  background-repeat: no-repeat;
}
/* *********************************************************Mobile********************************************************************************* */

/*body */
body {
  background-color: #161513;
}
p{
  font-size: 18px;
}
.logo_img {
  height: 55px;
}
.fa-solid {
  height: 55px;
}
.logoname {
  color: white; /* Text color */
  font-size: 2rem; /* Text size */
  text-align: center; /* Center the text */
  transition: color 0.3s, transform 0.3s; /* Smooth transition for hover */
}

.logoname:hover {
  color: #ff6600; /* Change text color on hover */
  transform: scale(1.1); /* Slightly enlarge the text */
}

.nav-item .nav-link:hover {
  border-bottom: 3px solid #5FA7EE;
 
  border-bottom-right-radius: 30px;
}

.contact_btn {
  background-color: #5FA7EE;
  border-radius: 50% 0% 50% 0%;
}
 .contact_btn:hover {
    border-bottom: 5px solid #FFBD39;
    border-bottom-right-radius: 30px;
  }
    
   /* hero section  */
   .hero_sec_h{
    height: auto;
  }
  .subheading {
    font-weight: 700;
    color: #0b0b0b;
    font-size: 13px;
    display: inline-block;
    letter-spacing: 1px;
    margin-bottom: 5px;
    position: relative;
    z-index: 0;
    display: inline-block;
    background: #fff;
    border-radius: 4px;
    padding: 4px 9px;
}
.username{
      font-size: 50px;
    font-weight: 600;
   
}

#element{
  color:#FFBD39;
}

.hero_img{
  height: 300px;
}

/* About section  */

.sec_hed{
  font-size: 50px;
  
}
.about_img{
  height: 300px;
}
.sec_hed {
  display: inline-block; 
  position: relative;
  padding-bottom: 2px; 
  transition: all 0.3s ease-in-out; 
}

.sec_hed::after {
  content: ''; 
  display: block; 
  width: 0; 
  height: 3px; 
  background-color: #5FA7EE;
  position: absolute; 
  bottom: 0; 
  left: 0; 
  transition: width 0.3s ease-in-out; 
 

}

.sec_hed:hover::after {
  width: 100%;
}

/* button code */
.btn-group .btn {
  border: 0px solid white;
  border-radius: 10px;
  color: white;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
  font-weight: bold;
}

.btn-group .btn.active {
  background-color: #5FA7EE; /* Blue color */
  border-color: #5FA7EE;
  color: white;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-group .btn:hover {
  background-color: #5FA7EE; /* Blue color */
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
/* About section  */
.about_sec_h{
  height: auto;
}

/* skill section 
 */
 .skill_hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px; 
}

.skill_hover:hover {
  transform: scale(1.08); 
  box-shadow: 0px 8px 20px rgba(45, 44, 44, 0.512); 
}

.skill_hover img {
  transition: transform 0.3s ease; 
  
}

.skill_hover:hover img {
  transform: scale(1.1);
}

.skill_hover h5 {
  transition: color 0.3s ease; 
}

/* Education section */

.education {
  width: 600px;
  margin: auto;
}

.e_box {
  border-top: 3px dashed #FFBD39;
  border-color: #FFBD39;
  margin: 0;
  padding: 20px;
 
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(126, 122, 122, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
 
}

.e_box:nth-child(even) {
  border-left: 2px dashed #FFBD39;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  margin-right: 30px; 
  padding-right: 0;
}

.e_box:nth-child(odd) {
  border-right: 2px dashed #FFBD39;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  margin-left: 30px; 
  padding-left: 0;
}

.e_box:first-child {
  border-top: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.e_box:last-child {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

/* Hover Effects */
.e_box:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2); 
  border-color: #FF5733;  
}
/************************************************************************** Project Section */
.btn-group .btn {
  margin-right: 5px;
  border-radius: 8px;
  font-weight: bold;
  padding: 8px 0;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease-in-out;
}

.btn .btn-custom{
  width: 50px !important;
}

.btn-group .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-active {
  background-color: #5FA7EE !important;
  color: white !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-inactive {

  color: #edeff2;
  box-shadow: none;
  font-weight: bold;
}

.btn-inactive:hover {
  background-color: #5FA7EE;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* project section project card */

        /* Unique Card Container */
        .custom-card {
          background-color: #222;
          border-radius: 8px;
          overflow: hidden;
          position: relative;
          transition: transform 0.3s ease, box-shadow 0.3s ease;
          color: #fff;
      }

      /* Card Hover Effect */
      .custom-card:hover {
          transform: translateY(-10px) scale(1.05);
          box-shadow: 0 15px 30px rgba(95, 92, 92, 0.5);
      }

      /* Image Styling */
      .card-img-container img {
          width: 100%;
          height: 220px;
          object-fit: cover;
          transition: transform 0.4s ease;
      }

      .custom-card:hover .card-img-container img {
          transform: scale(1.1);
      }

      /* Card Text */
      .card-title, .card-description {
          padding: 10 px;
          margin: 0;
          color:white;
          transition: color 0.3s ease;
        
         
      }
      .card-title{
        margin-top: 10px;
      }

      .custom-card:hover .card-title, 
      .custom-card:hover .card-description {
          color: #fff;
      }

      /* Button Styling */
      .card-action-btn {
          display: inline-block;
          margin: 15px;
          padding: 10px 20px;
          background: #5FA7EE;
          color: white;
          font-size: 14px;
          border: none;
          border-radius: 3px;
          text-decoration: none;
          font-weight: bolder;
          text-align: center;
          cursor: pointer;
          transition: background-color 0.3s ease, transform 0.3s ease;
          position: relative;
          z-index: 1;
      }

      .card-action-btn:hover {
          background-color: #5FA7EE;
          transform: translateY(-3px);
      }

      /* Overlay Effect */
      .card-overlay {
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background: rgba(0, 0, 0, 0.7);
          opacity: 0;
          transition: opacity 0.4s ease;
      }

      .custom-card:hover .card-overlay {
          opacity: 1;
      }

      .overlay-content {
          position: absolute;
          bottom: 15px;
          left: 15px;
          right: 15px;
          text-align: center;
      }

      /* Contact form  */

     .con_left{
      font-size: 35px;
      font-weight: bolder;
      color: #FFBD39;
     }
     .con_left_h5 {
      font-size: 1.10rem;
  }

     .cont-input{
      background-color: #32323C;
      border-radius: 10px;
      width: 100%;
     }

     .cont_btn {
      background-color: #5FA7EE;
      color: white;
      padding: 20px;
      border-radius: 10px;
      width: auto;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
    }
  
    .cont_btn:hover {
      background-color: #4A90D9; /* Darker blue on hover */
      color: #fff; /* Ensure text stays white */
      transform: scale(1.05); /* Slightly enlarges the button */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow effect */
    }



/* *********************************************************Tablet********************************************************************************* */
@media (min-width: 768px){


   /* hero section  */
   .hero_sec_h{
    height: auto;
  }

  .hero_img{
    height: 400px;
  }


  /* About section  */
  .about_sec_h{
    height: auto;
  }
  .about_img{
    height: 450px;
  }
}
/* *********************************************************DESKTOP********************************************************************************* */
@media (min-width: 992px) {
  /*body */
  body {
    background-color: #161513;

    /* hero section  */
    .hero_sec_h{
      height: 70vh;
    }

    /* About section  */
    .about_sec_h{
      height: 90vh;
    }
  }
}
