/* heading */
.services-section {
  position: relative;
  width: 100%;
  color: black;
  padding: 200px 20px;
  text-align: center;
  overflow: hidden;
}
@media (max-width: 768px) {
  .services-section {
    padding: 120px 15px;
  }

  .services-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 80px 10px;
  }

  .services-content h2 {
    font-size: 30px;
  }
}

/* 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;
  z-index: 1;
}

/* Heading */
.services-content h2 {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 40px;
  color: white;
}

/* Button Group */
.button-group {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  /* margin-top: 40px; */
  /* padding-top: 40px; */
}
@media (max-width: 768px) {
  .button-group {
    gap: 25px;
    flex-direction: column;
    align-items: center;
  }
}
/* Buttons */
.btn-orange,
.btn-white {
  background-color: white;
  color: black;
  font-weight: bold;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  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);
}

/* Quote Section */
/* .quote-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #2196f3;
  font-size: 23px;
  font-weight: 500;
  margin-top: 30px;
  flex-wrap: wrap;
  text-align: center;
}

.quote-decor {
  font-size: 30px;
  color: #000;
} */
/* Quote Section CSS */

.quote-section {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2196f3;
  font-size: clamp(16px, 2.5vw, 23px);
  font-weight: 500;
  margin-top: 30px;
  text-align: center;
  padding: 0 10px;
  white-space: normal;
  /* allows text wrapping */
  flex-wrap: nowrap;
  /* ensures left/right bars stay inline */
}
@media (max-width: 768px) {
  .quote-section {
    flex-wrap: wrap;
    gap: 8px;
  }
}
.quote-decor {
  font-size: clamp(20px, 3vw, 30px);
  color: #000;
  padding: 0 5px;
}

.quote-text {
  flex: 1;
  word-break: break-word;
}



/* card section responsive CSS */
/* ==========================
   Tech Card Section Styling
========================== */
.tech-card-section {
  display: flex;
  justify-content: center;
  padding: 50px 20px;
  background-color: #eaf3fa;
  flex-wrap: wrap;
}

/* ==========================
   Card Grid Layout
========================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  justify-content: center;
  max-width: 1000px;
  width: 100%;
  padding: 0 15px;
}

/* ==========================
   Individual Card Styling
========================== */
.card {
  width: 100%;
  max-width: 280px;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #132248;
  color: white;
  box-shadow: 0 8px 25px rgba(25, 118, 210, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRightToLeft 0.8s forwards;
}

/* Hover Effect */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(25, 118, 210, 0.55);
}

/* ==========================
   Image Container
========================== */
.card-img-container {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
}

.card-img-container img:hover {
  filter: brightness(85%);
  transform: scale(1.05);
}

/* ==========================
   Card Content
========================== */
.card-content {
  padding: 10px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.card-content h3 {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  margin-top: 5px;
  color: white;
}

/* ==========================
   Card Button
========================== */
.card-btn {
  margin-top: auto;
  padding: 6px 14px;
  background-color: white;
  color: #132248;
  font-weight: 700;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
}

.card-btn:hover {
  background-color: #f46706;
  color: white;
}

/* ==========================
   Animation
========================== */
@keyframes slideInRightToLeft {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================
   Responsive Breakpoints
========================== */

/* Tablets and Medium Screens */
@media screen and (max-width: 1024px) {
  .tech-card-section {
    padding: 40px 15px;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .card {
    height: 220px;
  }

  .card-img-container {
    height: 130px;
  }
}

/* Small Devices: Mobiles */
@media screen and (max-width: 767px) {
  .tech-card-section {
    padding: 30px 10px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .card {
    height: 200px;
  }

  .card-img-container {
    height: 120px;
  }

  .card-content h3 {
    font-size: 15px;
  }

  .card-btn {
    font-size: 12px;
    padding: 5px 10px;
  }
}

/* Extra Small: Below 480px */
@media screen and (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card {
    max-width: 250px;
    height: 180px;
  }

  .card-img-container {
    height: 100px;
  }

  .card-content h3 {
    font-size: 14px;
  }

  .card-btn {
    font-size: 12px;
    padding: 4px 8px;
  }
}

/* industries experties */

.industry-expertise-inline {
  /* background-color: #eef7ff; */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 20px 20px 10px;
  flex-wrap: wrap;
}

.dots-group {
  display: flex;
  gap: 12px;
}

.dots-group span {
  background-color: #1ea4f3;
  border-radius: 50%;
  display: inline-block;
}

/* Dot sizes for fading effect */
.dots-group span:nth-child(1),
.dots-group span:nth-child(5) {
  width: 14px;
  height: 14px;
}

.dots-group span:nth-child(2),
.dots-group span:nth-child(4) {
  width: 16px;
  height: 16px;
}

.dots-group span:nth-child(3) {
  width: 18px;
  height: 18px;
}

.title-text {
  font-size: 42px;
  font-weight: 500;
  color: #000;
  padding: 0 10px;
  text-align: center;
  white-space: normal;
}

.title-text .highlight {
  color: #1ea4f3;
  font-weight: 700;
  font-style: italic;
  font-size: inherit;
}
@media screen and (max-width: 320px) {
  .title-text {
    font-size: 24px;
  }
}

.tagline {
  text-align: center;
  /* font-style: italic; */
  font-size: 20px;
  margin-top: 5px;
  margin-bottom: 30px;
  color: #111;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

.dots-group span {
  background-color: #1ea4f3;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}

/* Add delay for sequential pulsing */
.dots-group span:nth-child(1) {
  width: 6px;
  height: 6px;
  animation-delay: 0s;
}

.dots-group span:nth-child(2) {
  width: 8px;
  height: 8px;
  animation-delay: 0.2s;
}

.dots-group span:nth-child(3) {
  width: 10px;
  height: 10px;
  animation-delay: 0.4s;
}

.dots-group span:nth-child(4) {
  width: 8px;
  height: 8px;
  animation-delay: 0.6s;
}

.dots-group span:nth-child(5) {
  width: 6px;
  height: 6px;
  animation-delay: 0.8s;
}


.Our-Industries-Experties {
  /* padding: 50px 20px; */
  text-align: center;
  /* background-color: #f9f9f9; optional for better contrast */
}

.Our-Industries-Experties-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.Our-Industries-Experties-box {
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Our-Industries-Experties-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.Our-Industries-Experties-icon {
    position: relative;
    left: 40%;
  width: 50px;
  height: auto;
  margin-bottom: 15px;
}

.Our-Industries-Experties-box h3 {
  font-size: 20px;
    font-family: 'Orbitron', sans-serif;
  margin-bottom: 12px;
  font-weight: 700;
  color: #111;
}

.Our-Industries-Experties-box p {
    font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .Our-Industries-Experties-box h3 {
    font-size: 18px;
  }

  .Our-Industries-Experties-box p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .Our-Industries-Experties {
    padding: 30px 10px;
  }

  .Our-Industries-Experties-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .Our-Industries-Experties-icon {
    width: 40px;
  }

  .Our-Industiries-Experties-box h3 {
    font-size: 17px;
  }

  .Our-Industries-Experties-box p {
    font-size: 13.5px;
  }
}


