/* Consolidated styles for portfolio.html, index.html, and contact.html */

/* Full-screen sections */
.portfolio-item-section,
.testimonials {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Hero video styling */
.hero {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}



/* Submit button styling */
.submit-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #0984e3;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.submit-btn:hover {
  background-color: #0871c2;
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn a {
  color: #ffffff;
  text-decoration: none;
}

.submit-btn.cta {
  margin-top: 30px;
  padding: 14px 32px;
  font-size: 1.1rem;
}

/* Portfolio item section styling 
.portfolio-item-section {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(248, 249, 250, 0.9)), url('./images/minions.jpg') center/cover;
  padding: 60px 20px;
} */

.portfolio-item-container {
  max-width: 800px;
  width: 90%;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 1;
}

.portfolio-item-container h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 10px;
}

.portfolio-item-container p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #636e72;
  margin-bottom: 20px;
}

.impact {
  font-weight: 700;
  color: #0984e3;
  margin-bottom: 20px;
}

.skill-badges {
  margin-bottom: 20px;
}

.skill-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #ffffff;
  background-color: #74b9ff;
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 5px;
  display: inline-block;
}

.portfolio-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0984e3;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}

.portfolio-link:hover {
  color: #0871c2;
  text-decoration: underline;
}

/* Carousel styling 
.portfolio-carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  height: 300px;
  border-radius: 12px;
  background: #f8f9fa;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  will-change: transform, opacity;
}

.carousel-slide.active {
  left: 0;
  opacity: 1;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 2;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: #0984e3;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.indicator {
  width: 10px;
  height: 10px;
  background: #dfe6e9;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background: #0984e3;
}

*/

/* Testimonials */
.testimonials {
  background-color: #ffffff;
  padding: 60px 20px;
}


/* Testimonials 
.testimonials-container {
  max-width: 600px;
  width: 90%;
  text-align: center;
} */

.testimonials h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 20px;
}

.testimonials blockquote {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #636e72;
  font-style: italic;
  margin: 0 auto;
  max-width: 600px;
}

.testimonials cite {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #2d3436;
  font-weight: 700;
  display: block;
  margin-top: 10px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Carousel Styles 2.0 */
.portfolio-carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  height: 300px;
  border-radius: 12px;
  background: #f8f9fa;
}

.carousel-slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease, opacity 0.5s ease;
  will-change: transform, opacity;
  visibility: hidden;
}

.carousel-slide.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.5s ease;
  z-index: 2;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: #0984e3;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.indicator {
  width: 10px;
  height: 10px;
  background: #dfe6e9;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.5s ease;
}

.indicator.active {
  background: #0984e3;
}