@charset "utf-8";
/* CSS Document */

.tech-stack-section {
padding: 80px 0;
background-color: #0b0b0b; /* Match body bg */
position: relative;
overflow: hidden;
  }

  .text-orange { color: #f16622; }
  .font-playfair { font-family: 'Playfair Display', serif; }
  .section-title { color: white; margin-bottom: 10px; }

  /* SLIDER CONTAINER */
  .slider-container {
position: relative;
width: 100%;
overflow: hidden;
padding: 20px 0;
/* Cool glow behind the slider */
background: radial-gradient(circle at 50% 50%, rgba(241, 102, 34, 0.05) 0%, rgba(0,0,0,0) 70%);
  }

  /* FADE OVERLAYS (The Premium Touch) */
  .fade-overlay {
position: absolute;
top: 0;
bottom: 0;
width: 150px;
z-index: 2;
pointer-events: none;
  }
  .left-fade {
left: 0;
background: linear-gradient(to right, #0b0b0b, transparent);
  }
  .right-fade {
right: 0;
background: linear-gradient(to left, #0b0b0b, transparent);
  }

  /* THE SLIDER TRACK */
  .slider {
display: flex;
width: 100%;
margin-bottom: 20px;
overflow: hidden;
  }

  .slide-track {
display: flex;
gap: 20px; /* Space between badges */
/* Infinite Animation */
animation: scroll var(--duration) linear infinite;
animation-direction: var(--direction);
width: max-content; /* Ensure width fits content */
  }

  /* HOVER PAUSE - Allows user to read */
  .slider:hover .slide-track {
animation-play-state: paused;
  }

.top-strip
{
--duration: 30s; 
--direction: normal;
}

.bottom-strip {
--duration: 35s; 
--direction: reverse;
}

/* THE TECH BADGES */
.tech-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: #626363;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}



/* Badge Hover Effect */
.tech-badge:hover {
border-color: #f16622;
color: #f16622;
background: rgba(241, 102, 34, 0.1);
box-shadow: 0 0 15px rgba(241, 102, 34, 0.2);
  }

.badge-dot {
  height: 6px;
  width: 6px;
  background-color: #f16622;
  border-radius: 50%;
  margin: 0 10px;
  display: inline-block;
}

  /* ANIMATION KEYFRAMES */
  @keyframes scroll {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); } /* Move half way (since content is duplicated) */
  }

@keyframes flashBadge {
  0%, 80%, 100% {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    color: #626363;
  }
  85%, 95% {
    border-color: #f16622;
    background: rgba(241, 102, 34, 0.1);
    box-shadow: 0 0 15px rgba(241, 102, 34, 0.2);
    color: #f16622;
  }
}

@keyframes flashLogo {
  0%, 80%, 100% {
    filter: grayscale(100%) brightness(2);
    opacity: 0.7;
  }
  85%, 95% {
    filter: grayscale(0%) brightness(1.1);
    opacity: 1;
  }
}


.tech-badge {
  animation: flashBadge 6s infinite ease-in-out;
}


.tech-badge img {
  width: 80px;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;
  animation: flashLogo 6s infinite ease-in-out;
}



.tech-badge:nth-child(1),
.tech-badge:nth-child(1) img { animation-duration: 5s; animation-delay: 0.2s; }

.tech-badge:nth-child(2),
.tech-badge:nth-child(2) img { animation-duration: 7s; animation-delay: 1.1s; }

.tech-badge:nth-child(3),
.tech-badge:nth-child(3) img { animation-duration: 6s; animation-delay: 0.7s; }

.tech-badge:nth-child(4),
.tech-badge:nth-child(4) img { animation-duration: 8s; animation-delay: 1.9s; }

.tech-badge:nth-child(5),
.tech-badge:nth-child(5) img { animation-duration: 5.5s; animation-delay: 0.4s; }

.tech-badge:nth-child(6),
.tech-badge:nth-child(6) img { animation-duration: 7.5s; animation-delay: 2.3s; }

.tech-badge:nth-child(7),
.tech-badge:nth-child(7) img { animation-duration: 6.2s; animation-delay: 1.4s; }

.tech-badge:nth-child(8),
.tech-badge:nth-child(8) img { animation-duration: 8.3s; animation-delay: 0.9s; }

.tech-badge:nth-child(9),
.tech-badge:nth-child(9) img { animation-duration: 5.8s; animation-delay: 2.7s; }

.tech-badge:nth-child(10),
.tech-badge:nth-child(10) img { animation-duration: 7.1s; animation-delay: 1.6s; }


/*.tech-badge:hover img {
  filter: grayscale(0%) brightness(1.1) drop-shadow(0 0 6px rgba(255,255,255,0.4));
  opacity: 1;
  transform: scale(1.05);
  animation: none; 
}*/



  
/*Porfolio Section*/

  .portfolio-section {
padding: 50px 0;
background-color: #0b0b0b;
  }

  /* Item Container */
  .portfolio-item {
position: relative;
overflow: hidden;
border-radius: 8px;
cursor: pointer;
border: 1px solid #222;
  }

  /* The Image */
  .portfolio-item img {
width: 100%;
height: auto;
display: block;
transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  /* The Overlay (Hidden by default) */
  .portfolio-overlay {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(11, 11, 11, 0.85); /* Dark see-through */
backdrop-filter: blur(4px); /* Blur effect */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
opacity: 0;
transition: opacity 0.3s ease;
text-align: center;
  }

  /* Hover Effects */
  .portfolio-item:hover img {
transform: scale(1.1); /* Zoom in */
  }
  .portfolio-item:hover .portfolio-overlay {
opacity: 1;
  }
  .portfolio-item:hover {
border-color: #f16622; /* Orange Border on hover */
  }

  /* Text Styling inside Card */
  .project-num {
font-family: 'Playfair Display', serif;
color: #f16622;
font-size: 1.5rem;
font-style: italic;
margin-bottom: 10px;
transform: translateY(20px);
transition: transform 0.4s ease;
  }
  
  .project-text {
color: white;
font-size: 0.95rem;
font-family: 'Open Sans', sans-serif;
transform: translateY(20px);
transition: transform 0.4s ease 0.1s; /* Slight delay */
  }

  /* Animate text sliding up on hover */
  .portfolio-item:hover .project-num,
  .portfolio-item:hover .project-text {
transform: translateY(0);
  }

  /* MODAL STYLING */
  .dark-modal {
background-color: #1a1a1a;
border: 1px solid #333;
color: white;
  }
  .bg-orange { background-color: #f16622 !important; }

#modalTitle {
    margin-top: 12px;
}

.carousel-indicators [data-bs-target] {
background-color: var(--text-muted);
width: 40px;
height: 4px;
border-radius: 2px;
margin-bottom: 0.3rem;
}

.carousel-indicators .active {
background-color: var(--brand-orange);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 6px;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.nav-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Container to clip the sliding image */
#modalImage {
  position: relative;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
#modalImage {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}


/* Slide left (next) */
.slide-left-enter {
  transform: translateX(100%);
  opacity: 0;
}
.slide-left-enter-active {
  transform: translateX(0);
  opacity: 1;
}

.slide-left-exit {
  transform: translateX(0);
  opacity: 1;
}
.slide-left-exit-active {
  transform: translateX(-100%);
  opacity: 0;
}

/* Slide right (previous) */
.slide-right-enter {
  transform: translateX(-100%);
  opacity: 0;
}
.slide-right-enter-active {
  transform: translateX(0);
  opacity: 1;
}

.slide-right-exit {
  transform: translateX(0);
  opacity: 1;
}
.slide-right-exit-active {
  transform: translateX(100%);
  opacity: 0;
}
/* Base transition */
#modalImage {
  position: relative;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

/* --- NEXT (slide left + fade) --- */
.hybrid-left-exit {
  transform: translateX(0);
  opacity: 1;
}
.hybrid-left-exit-active {
  transform: translateX(-60px);
  opacity: 0;
}

.hybrid-left-enter {
  transform: translateX(60px);
  opacity: 0;
}
.hybrid-left-enter-active {
  transform: translateX(0);
  opacity: 1;
}

/* --- PREV (slide right + fade) --- */
.hybrid-right-exit {
  transform: translateX(0);
  opacity: 1;
}
.hybrid-right-exit-active {
  transform: translateX(60px);
  opacity: 0;
}

.hybrid-right-enter {
  transform: translateX(-60px);
  opacity: 0;
}
.hybrid-right-enter-active {
  transform: translateX(0);
  opacity: 1;
}

.modal-image-wrapper {
  position: relative;
  display: inline-block;
}

/* Shimmer placeholder */
.shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    #2a2a2a 0%,
    #3a3a3a 40%,
    #2a2a2a 80%
  );
  background-size: 200% 100%;
  animation: shimmerMove 1.4s infinite;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

@keyframes shimmerMove {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* EXIT */
.hybrid-left-exit,
.hybrid-right-exit {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.hybrid-left-exit-active {
  opacity: 0;
  transform: translateX(-40px) scale(0.98);
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1),
              opacity 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hybrid-right-exit-active {
  opacity: 0;
  transform: translateX(40px) scale(0.98);
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1),
              opacity 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ENTER */
.hybrid-left-enter,
.hybrid-right-enter {
  opacity: 0;
  transform: translateX(40px) scale(1.02);
}

.hybrid-left-enter-active,
.hybrid-right-enter-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition: transform 330ms cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hybrid-left-exit-active,
.hybrid-right-exit-active {
  filter: blur(2px);
}


