/* heading */
.services-section {
  position: relative;
  width: 100%;
  background-color: #1e1d2d;
  color: black;
  padding: 200px 20px;
  text-align: center;
  overflow: hidden;
}

/* Background video styles */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Covers upper part only */
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  /* Optional: adjust visibility */
  pointer-events: none;
  /* Makes sure clicks go to buttons */
}

/* Content container */
.services-content {
  position: relative;
  color: white;
  z-index: 1;
}

/* Heading */
.services-content h2 {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 40px;
}

/* Button Group */
.button-group {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  /* margin-top: 40px; */
  /* padding-top: 40px; */
}

/* Buttons */
.btn-orange,
.btn-white {
  background-color: white;
  color: black;
  font-weight: bold;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-orange:hover,
.btn-white:hover {
  background-color: #f46706;
  /* light gray */
  color: rgb(255, 255, 255);
}

/* Animated Dots */
.animated-dots {
  margin-top: 17px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  /* Allows wrapping on very small screens */
}

.dot {
  width: 15px;
  height: 15px;
  background-color: #4db5f4;
  border-radius: 50%;
  opacity: 0.5;
  animation: bounce 1.4s infinite ease-in-out both;
}

/* Animation delays for sequence */
.dot1 {
  animation-delay: 0s;
}

.dot2 {
  animation-delay: 0.2s;
}

.dot3 {
  animation-delay: 0.4s;
}

.dot4 {
  animation-delay: 0.6s;
}

.dot5 {
  animation-delay: 0.8s;
}

.dot6 {
  animation-delay: 1s;
}

.dot7 {
  animation-delay: 0.8s;
}

.dot8 {
  animation-delay: 0.6s;
}

.dot9 {
  animation-delay: 0.4s;
}

.dot10 {
  animation-delay: 0.2s;
}

.dot11 {
  animation-delay: 0s;
}

/* Bounce Animation */
@keyframes bounce {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

/* ✅ Responsive Adjustments */

/* Medium Screens */
@media (max-width: 768px) {
  .animated-dots {
    gap: 25px;
  }

  .dot {
    width: 12px;
    height: 12px;
  }
}

/* Small Screens */
@media (max-width: 480px) {
  .animated-dots {
    gap: 15px;
    margin-top: 30px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

/* Show projects */

.projects-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  /* border: 1px solid #209EEB; */

}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 20px;
  background-color: white;
  color: black;
  border: none;
  box-shadow: 0 4px 25px #209EEB;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px 8px 0 0;
  position: relative;
  z-index: 1;
  text-decoration: none;
  font-weight: bold;
}

.tab:hover {
  background-color: #121c44;
  color: white;
  transform: translateY(-10px);
}

.tab.active {
  background-color: #1F1F2F;
  color: white;
  transform: translateY(-5px);
  z-index: 2;
  border-bottom: 3px solid white;
}
.tab1{
  padding: 10px 20px;
  background-color: #1B2654;
  color: white;
  border: none;
  box-shadow: 0 4px 25px #209EEB;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px 8px 0 0;
  position: relative;
  z-index: 1;
  text-decoration: none;
  font-weight: bold;
}

.tab1:hover {
  background-color: #121c44;
  color: white;
  transform: translateY(-10px);
}
.tab1.active {
  background-color: #1F1F2F;
  color: white;
  transform: translateY(-5px);
  z-index: 2;
  border-bottom: 3px solid white;
}



/* Common Styles */
.tab-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  padding: 20px;
  border-radius: 10px;
  background-color: #eaf3fa;
  box-shadow: 0 4px 70px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

/* Alternate Background Color for Variation */
#all {
  background-color: #1B2654;
  color: white;
}

#ongoing {
  background-color: #1B2654;
  color: white;
}

/* Image Styling */
.tab-content img {
  width: 45%;
  max-width: 400px;
  border-radius: 10px;
  object-fit: cover;
}

/* Project Info Styling */
.project-info {
  flex: 1;
  min-width: 250px;
}

.project-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.project-info span {
  font-size: 16px;
  font-weight: normal;
}

.project-info p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.btn-white {
  padding: 8px 16px;
  border: none;
  background-color: white;
  color: #111;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-white:hover {
  background-color: #f46706;
  color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
  .tab-content {
    flex-direction: column;
    text-align: center;
  }

  .tab-content img {
    width: 100%;
    max-width: 100%;
  }

  .project-info {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .project-info h3 {
    font-size: 18px;
  }

  .project-info p {
    font-size: 14px;
  }

  .btn-white {
    font-size: 14px;
    padding: 6px 12px;
  }
}



/* dots */
.industry-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px 0 20px;
  background-color: #f2f9ff;
  /* match your section background */
}

.industry-dot {
  width: 15px;
  height: 15px;
  background-color: #1ea7fd;
  border-radius: 50%;
  animation: industryPulse 1.5s infinite ease-in-out;
  opacity: 0.8;
}

/* Unique keyframes to avoid overlap */
@keyframes industryPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

/* Staggered delays */
.industry-dot.dot1 {
  animation-delay: 0s;
}

.industry-dot.dot2 {
  animation-delay: 0.1s;
}

.industry-dot.dot3 {
  animation-delay: 0.2s;
}

.industry-dot.dot4 {
  animation-delay: 0.3s;
}

.industry-dot.dot5 {
  animation-delay: 0.4s;
}

.industry-dot.dot6 {
  animation-delay: 0.5s;
}

.industry-dot.dot7 {
  animation-delay: 0.6s;
}

.industry-dot.dot8 {
  animation-delay: 0.7s;
}

.industry-dot.dot9 {
  animation-delay: 0.8s;
}

.industry-dot.dot10 {
  animation-delay: 0.9s;
}

.industry-dot.dot11 {
  animation-delay: 1s;
}