.pagination-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination-controls .dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #007bff;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.pagination-controls .dot.active {
  background-color: rgba(9, 60, 121, 1);
}

.team-filters {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.team-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  margin-bottom: 0px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.team-filters li.active {
  background: linear-gradient(
    90deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(11, 77, 78, 1) 53%,
    rgba(9, 60, 121, 1) 95%
  );
  color: #fff;
}
body {
  font-family: "Poppins", sans-serif;
}

.hero-img img {
  position: relative;
  max-width: 80%;
  /* Set image to 80% of its original size */
  height: auto;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px;
  transition: transform 0.5s ease-in-out;
  margin-left: 30px;
  /* Move the image slightly to the right */
}

.hero-img img:hover {
  transform: scale(1.05);
}
.about-img img {
  position: relative;
  max-width: 80%;
  /* Set image to 80% of its original size */
  height: auto;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px;
  transition: transform 0.5s ease-in-out;
  margin-left: 30px;
  /* Move the image slightly to the right */
}

.about-img img:hover {
  transform: scale(1.05);
}

#skills {
  position: relative;
  z-index: 1;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.sitename {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.sitename img {
  height: 100px;        /* adjust size as needed (40–60px works best) */
  width: 100px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.3)); /* subtle glow for white logo */
}

/* Optional: if your header background is light and you want visibility */
header {
  background-color: #000; /* or any brand color */
}

/* Bubble animation */
.bubble {
  position: absolute;
  bottom: -150px;
  /* Start below the section */
  left: 50%;
  width: 30px;
  height: 30px;
  background-color: #007bff;
  /* Change to your preferred color */
  border-radius: 50%;
  opacity: 0.5;
  animation: rise 10s infinite;
}

/* Randomize the bubbles' sizes and starting positions */
.bubble:nth-child(1) {
  left: 20%;
  animation-duration: 8s;
  animation-delay: 0s;
  width: 25px;
  height: 25px;
}

.bubble:nth-child(2) {
  left: 40%;
  animation-duration: 6s;
  animation-delay: 2s;
  width: 35px;
  height: 35px;
}

.bubble:nth-child(3) {
  left: 60%;
  animation-duration: 7s;
  animation-delay: 1s;
  width: 20px;
  height: 20px;
}

.bubble:nth-child(4) {
  left: 80%;
  animation-duration: 9s;
  animation-delay: 3s;
  width: 30px;
  height: 30px;
}

.bubble:nth-child(5) {
  left: 30%;
  animation-duration: 10s;
  animation-delay: 4s;
  width: 40px;
  height: 40px;
}

/* Keyframes for bubble animation */
@keyframes rise {
  0% {
    transform: translateY(0);
    opacity: 0.5;
  }

  100% {
    transform: translateY(-100vh);
    /* Move the bubble up */
    opacity: 0;
    /* Fade out */
  }
}
/* --- Placement Carousel Styles --- */

.testimonial-card {
  background: linear-gradient(180deg, #fff9e6 0%, #fff7d9 100%);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  position: relative;
  overflow: visible;
  min-height: 160px;
}
/* layout inside card */
.testimonial-card .card-inner {
  display: flex;
  gap: 18px;
  align-items: center;      /* ensures vertical centering */
  justify-content: center;  /* ensures horizontal centering */
}


/* image wrapper */
.img-wrap {
  position: relative;
  width: 130px;
  height: 150px;
  flex-shrink: 0;
  background: #fff9e6;
  border-radius: 0 0 80px 80px / 0 0 60px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto; /* ensures perfect centering horizontally */
}

/* Yellow curved background behind photo */
.img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fade3e;
  clip-path: path("M0,40 Q65,0 130,40 L130,150 L0,150 Z");
  z-index: 1;
}

/* Image placed inside curve */
.img-wrap img {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* text area */
.testimonial-content {
  flex: 1;
  text-align: left;
  z-index: 4;
}

.testimonial-content { flex: 1; text-align: left; z-index: 4; }
.testimonial-text {
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
  font-size: 0.98rem;
}
.testimonial-name {
  color: #3274f1;
  font-weight: 700;
  margin: 0 0 6px 0;
}
.testimonial-details {
  color: #f65858;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}

/* The card's golden diagonal strokes (decorative) - a pseudo element on the card */
.testimonial-card .decor {
  position: absolute;
  right: -18px;
  bottom: -6px;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg,#ffd34d 0%, #ffcf36 100%);
  border-radius: 30px;
  transform: rotate(25deg);
  opacity: 0.28;
  z-index: 0;
}
/* Fix for placement stories carousel controls */
#placementStoriesCarousel {
  position: relative;
  overflow: visible !important;
}

#placementStoriesCarousel .carousel-control-prev,
#placementStoriesCarousel .carousel-control-next {
  width: 30px;
  height: 30px;
  background: #033495;
  border: 2px solid hsl(209, 85%, 71%);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  top: 50%;
  transform: translateY(-50%);
  opacity: 1 !important;
  z-index: 10;
}

/* Move the arrows outward from the cards */
#placementStoriesCarousel .carousel-control-prev {
  left: -60px;  /* adjust this if needed */
}

#placementStoriesCarousel .carousel-control-next {
  right: -60px; /* adjust this if needed */
}

/* Optional hover style */
#placementStoriesCarousel .carousel-control-prev:hover,
#placementStoriesCarousel .carousel-control-next:hover {
  background: #459ad6;
}



/* Hover */
.testimonial-card:hover { 
  transform: translateY(-6px); 
  transition: .25s ease; }

/* Responsive: stack on small widths */
@media (max-width: 767px) {
  .testimonial-card .card-inner { flex-direction: column; align-items: center; text-align: center; }
  .testimonial-content { text-align: center; }
  .img-wrap { margin-bottom: 12px; }
}
