.profile-img {
    width: 100%;
    max-width: 700px;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
    background-color: #eaeaea;
  }
  .social-icons i {
    font-size: 20px;
    margin: 0 8px;
    color: #0d6efd;
    transition: 0.3s;
  }
  .social-icons i:hover {
    color: #0a58ca;
  }
  .skill-badge {
    background-color: #e0f0ff;
    border: 1px solid #0d6efd;
    border-radius: 20px;
    padding: 6px 14px;
    margin: 5px;
    display: inline-block;
    color: #0d6efd;
    font-weight: 500;
  }

  /* contribution section */
  .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
  }
  
  .section-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }
  
  .image-box {
    flex: 1 1 45%;
    max-width: 500px;
  }
  
  .responsive-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .text-box {
    flex: 1 1 45%;
    max-width: 500px;
  }
  
  .box-heading {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .box-paragraph {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
  }
  /* contribution section */
  
  
  /* video box */

  .youtube-container {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  }
  
  .youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  

  .video-flex-container {
    display: flex;
    flex-wrap: nowrap;         /* Prevent wrapping to next line */
    gap: 20px;                  /* Space between video boxes */
    padding: 10px;
  }

  .video-box {
    flex: 0 0 auto;             /* Prevent video box from shrinking */
    min-width: 300px;          /* Set a reasonable width */
    max-width: 400px;
    position: relative;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  }
  .video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: opacity 0.3s ease;
  }
  
  .custom-video {
    width: 100%;
    display: block;
  }
  
  .play-button-container {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
  }
  
  .play-button-container label {
    background-color: #3b29cc;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    pointer-events: auto;
    transition: opacity 0.2s;
  }
  
  .play_pause_icon {
    width: 60px;
    height: 60px;
    background: white;
    transition: all 0.3s ease-in-out;
  }
  
  .play {
    clip-path: polygon(
      20% 0,
      20% 100%,
      90% 50%,
      90% 50%,
      90% 50%,
      90% 50%,
      90% 50%,
      90% 50%,
      90% 50%
    );
    translate: 6% 0;
  }
  
  .video-info {
    padding: 10px;
    background-color: #f8f9fa;
  }
  
  .label-title {
    font-weight: bold;
    font-size: 1.1rem;
  }
  
  .description-text {
    font-size: 0.95rem;
    color: #555;
  }
  

  /* video box */

  /* Scroll video effect */
  #video-slider::-webkit-scrollbar {
    display: none;
  }

  #video-slider {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
  }

  .slider-btn{
    background-color: white; 
    color: black; 
    border-radius: 200px;
    
  }

  model-viewer{
    height:350px;
    background-color: white;
    width: 100%;
  }

  html {
    scroll-behavior: smooth;
  }

  #home, #projects, #contributions, #research, #about {
    scroll-margin-top: 80px; /* Adjust to your navbar height */
  }

  .navbar-nav .nav-link {
    font-size: 1.1rem; /* Increase size for all */
    padding: 0.75rem 1.25rem;
  }
  
  .home-link {
    font-weight: 700; /* Make Home bold */
    font-size: 1.4rem; /* Slightly bigger */
    color:white;
  } 
  .flex-break {
    flex-basis: 100%;
    height: 0;
  }

  .highlight {
    color: white; /* Bootstrap Primary Blue */
    font-weight: bold;
    background-color: rgba(13, 110, 253, 0.1); /* light blue background */
    padding: 2px 4px;
    border-radius: 4px;
  }

  .highlight-dark {
    color: black; /* Bootstrap Primary Blue */
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 4px;
  }

  
  ul {
    padding-left: 20px;
  }

  .intro-heading {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
    color: white;
  }

  .wave {
    display: inline-block;
    animation: wave-animation 2.5s infinite;
    transform-origin: 70% 70%;
  }

  @keyframes wave-animation {
    0% { transform: rotate(0.0deg); }
    10% { transform: rotate(14.0deg); }
    20% { transform: rotate(-8.0deg); }
    30% { transform: rotate(14.0deg); }
    40% { transform: rotate(-4.0deg); }
    50% { transform: rotate(10.0deg); }
    60% { transform: rotate(0.0deg); }
    100% { transform: rotate(0.0deg); }
  }

  #video-slider > .col-md-6 {
    flex: 0 0 auto;
    width: 50%; /* Show 2 cards per row on desktop */
  }
  
  @media (max-width: 768px) {
    #video-slider > .col-md-6 {
      width: 100%; /* Show only 1 card at a time on mobile */
    }
  }

  .about-description{
    padding-left: 100px;
    padding-right: 100px;
  }

  @media (max-width: 768px) {
    .about-description {
      padding-left: 10px;
      padding-right: 10px;
    }
  }