*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

p, span, div {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.feather-16 {
    width: 35px;
    height: 35px;
    color: black;
}



.navbar-nav {
    display: flex;
    gap: 30px;
  }
  .navbar-nav a {
    background-color: white;
    padding: 0.65em;
    border-radius: 50%;
    height: 56px;  
    width: 56px;   
    box-sizing: border-box;
    flex-shrink: 0;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  }

  .navbar-nav a::before {
    content: attr(page-section);
    position: absolute;
    padding: 0.5em 0.75em;
    border-radius: 30px;
    background-color: rgb(46, 57, 255);
    color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    transform: translatey(30px) rotate(25deg);
    opacity: 0;
    pointer-events: none;
  }

  .navbar-nav a:hover {
    background-color: rgb(46, 57, 255);
  }

  .navbar-nav a:hover svg {
    stroke: white;
  }

  .navbar-nav a::after {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid rgb(46, 57, 255);
    opacity: 0;
    transform: translatey(0px) rotate(25deg);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
  }

  .navbar-nav a:hover::before {
    opacity: 1;
    transform: translatey(64px) rotate(0); 
    transition: 200ms cubic-bezier(.42, 0, .44, 1.68);
  }

  .navbar-nav a:hover::after {
    opacity: 1;
    transform: translatey(41px) rotate(0);
    transition: 200ms cubic-bezier(.42, 0, .44, 1.68);
  }

  .navbar-nav a svg {
    height: 38px;
  }
  
  .navbar {
    padding-top: 8px;
    padding-bottom: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  }

@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin: 1rem auto;
        width: 100%;
    }
   
    .navbar-nav .nav-item {
        width: 70%;
        margin-left: 20px;
    }
   
    .navbar-nav a {
        display: flex;
        align-items: center;
        border-radius: 50px;
        width: 100%;
        height: auto;
        padding: 0.75rem 1rem;
        position: relative;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav a::before {
        display: none;
    }
    
    .navbar-nav a::after {
        content: attr(page-section);
        position: static;
        background-color: transparent;
        color: #333;
        transform: none;
        opacity: 1;
        box-shadow: none;
        margin-left: 15px;
        padding: 0;
        display: block; 
        border: none; 
        height: auto;
        width: auto;
    }
   
    .navbar-nav a:hover {
        background-color: rgb(46, 57, 255);
    }
   
    .navbar-nav a:hover::after {
        color: white;
        transform: none;
    }
}



#home{
  background-image: linear-gradient(rgb(235, 245, 251) , rgb(245, 245, 245));
}

#home h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  white-space: nowrap;
}

#home p {
  font-size: 1.2rem;
  color: #555;
}

body {
  overflow-x: hidden; /* Avoid horizontal scroll issues */
}

@media (max-width: 991px) {
  #home h1{
      white-space: normal;
  }
  #home{
      padding-top: 100px;
      padding-bottom: 40px;
  }
}



.wrapper .button {
  display: inline-block;
  height: 70px;         /* Increased from 60px */
  width: 70px;          /* Increased from 60px */
  text-decoration: none;
  margin: 0 8px;        /* Increased from 5px for more spacing */
  overflow: hidden;
  background: #fff;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-out;  /* Increased duration for smoother transition */
}

.wrapper .button:hover {
  width: 240px;         /* Increased from 200px */
}

.wrapper .button .icon {
  display: inline-block;
  height: 70px;         /* Increased from 60px */
  width: 70px;          /* Increased from 60px */
  color: #000;
  text-align: center;
  border-radius: 50px;
  box-sizing: border-box;
  line-height: 70px;    /* Increased from 60px */
  transition: all 0.4s ease-out;  /* Increased duration for smoother transition */
}

.wrapper .button:nth-child(1):hover .icon {
  background: #4267B2;
}

.wrapper .button:nth-child(2):hover .icon {
  background: #333;
}

.wrapper .button .icon i {
  font-size: 30px;      
  line-height: 70px;    
  transition: all 0.4s ease-out;
}

.wrapper .button:hover .icon i {
  color: #fff;
}

.wrapper .button span {
  font-size: 22px;      
  font-weight: 500;
  line-height: 70px;    
  margin-left: 12px;    
  transition: all 0.4s ease-out;  
}

.wrapper .button:nth-child(1) span {
  color: #4267B2;
}

.wrapper .button:nth-child(2) span {
  color: #333;
}



#about{
    background-image: linear-gradient(rgb(235, 245, 251) , rgb(245, 245, 245));
}

#about .skill-item {
    transition: transform 0.3s ease;
    border-radius: 8px;
}
  
#about .skill-item:hover {
  transform: translateY(-5px);
  background-color: rgba(46, 57, 255, 0.05);
}

#about .card {
  transition: transform 0.3s ease;
  border-radius: 12px;
}

#about .card:hover {
  transform: translateY(-5px);
}

#about i[data-feather] {
  stroke: #2E39FF;
  stroke-width: 2px;
}

#about .progress {
  height: 10px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  #about .lead {
    font-size: 1rem;
  }
}

#contacts{
  background-image: linear-gradient(rgb(245, 247, 248) , rgb(249, 241, 249));
}
