body {
    font-family: Open Sans, sans-serif !important;
  }
  
  
  .data-engineering-section {
    background: url('images/cctv_solutions/cctv-hero.jpg') no-repeat center center;
    background-size: 100% 110%;
    height: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Add the overlay */
.data-engineering-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Slight black color */
    z-index: 1; /* Ensure the overlay is above the image */
}

.data-engineering-section > * {
    z-index: 2; /* Make sure the text/content is above the overlay */
}

.data-engineering-content h1 {
  font-size: 2.8em;
  font-weight: bold;
  background: linear-gradient(120deg, rgba(255, 88, 0, 1) 33%, rgb(206 5 5) 72%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  /* left: -16%; */
  margin-bottom: 0px !important;
  
}

.data-engineering-content p {
  color: #ffffff !important;
  font-weight: bold;
  margin-right: 20px;
  font-size: 2rem;
  overflow: hidden;
  border-right: .15em solid #ffffff; /* Cursor effect */
  white-space: nowrap;
  width: 0;
  animation: typing 4s steps(40) 0s infinite, blink 0.75s step-end infinite;
  left: -16%;
}
@keyframes typing {
  0% {
      width: 0;
  }
  100% {
      width: 100%;
  }
}

@keyframes blink {
  50% {
      border-color: transparent;
  }
}
  .main-section-heading {
    position: relative;
    top: 36%;
    font-weight: 700;
    color: white;
    font-size: 1.5rem;
    margin: 150px 0 0 20px;
  
  }
  
  .main-section-heading span {
    opacity: 0;
    font-weight: 700;
    font-size: 2.7rem;
    white-space: nowrap;
    margin-right: 10px;
  
  }
  
  
/* Updated 3D Navigation Tabs Styling */
.nav-tabs {
  border: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 10px;
  padding: 10px;
  background: transparent;
  list-style: none;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

.nav-tabs .nav-item {
  margin: 5px;
}

.nav-tabs .nav-link {
  color: #333 !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none !important;
  border-radius: 20px !important; /* Rounded edges like in the image */
  background: #fff !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  display: block;
  min-width: 150px; /* Consistent minimum width */
  max-width: 200px; /* Maximum width to prevent overflow */
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-tabs .nav-link:hover {
  background: #f8f9fa !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.nav-tabs .nav-link.active {
  background: #007bff !important; /* Blue background for active tab */
  color: #fff !important;
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
  transform: translateY(-2px);
}

/* Blog Card Styling */
.blog-card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  background: #fff;
  color: #333;
}

.blog-card:hover {
  box-shadow: 0 8px 30px rgba(97, 129, 243, 0.966),
              -5px 8px 30px rgba(147, 130, 255, 0.966),
              -10px 8px 30px rgba(218, 175, 254, 0.966);
  transform: translateY(-10px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s ease-in-out;
}

.blog-card .card-title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 0px !important;
  text-align: center;
  color: #333;
}

.blog-card .card-text {
  font-size: 14px;
  padding: 0 15px 15px;
  text-align: center;
  color: #555;
}

/* Optional Read More Styling */
.read-more {
  color: #f27121;
  font-weight: bold;
  text-align: center;
}

/* Captcha Container */
.captcha-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

/* Input Checkbox and Label (if used elsewhere) */
.input-checkbox {
  width: 10% !important;
}

.input-label {
  text-align: left;
}

/* Responsive Adjustments */
@media (max-width: 575.98px) {
  html,
  body {
      overflow-x: hidden !important;
      margin: 0 !important;
      padding: 0 !important;
      width: 100% !important;
  }

  .data-engineering-section {
      height: 400px;
  }

  .data-engineering-content h1 {
      font-size: 1.8em;
  }

  .data-engineering-content p {
      font-size: 1rem;
      margin-right: 10px;
  }

  .blog-card img {
      height: 150px;
  }

  .blog-card .card-title {
      font-size: 16px;
  }

  .blog-card .card-text {
      font-size: 12px;
  }

  .nav-tabs .nav-link {
      font-size: 0.7rem;
      padding: 8px 15px;
      min-width: 100px;
      max-width: 130px;
      height: 40px;
  }

  .col-md-3 {
      width: 100%;
      padding-left: 10px;
      padding-right: 10px;
  }

  .main-section-heading {
      font-size: 1.2rem;
      margin: 100px 0 0 15px;
  }

  .main-section-heading span {
      font-size: 1.2rem;
  }
}

@media (min-width: 576px) and (max-width: 768.98px) {
  .data-engineering-section {
      height: 450px;
  }

  .data-engineering-content h1 {
      font-size: 2.2em;
  }

  .data-engineering-content p {
      font-size: 1.5rem;
  }

  .blog-card img {
      height: 170px;
  }

  .blog-card .card-title {
      font-size: 17px;
  }

  .blog-card .card-text {
      font-size: 13px;
  }

  .nav-tabs .nav-link {
      font-size: 0.8rem;
      padding: 8px 15px;
      min-width: 120px;
      max-width: 170px;
      height: 45px;
  }

  .col-md-3 {
      width: 50%;
      margin-bottom: 30px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .data-engineering-section {
      height: 500px;
  }

  .data-engineering-content h1 {
      font-size: 2.5em;
  }

  .data-engineering-content p {
      font-size: 1.8rem;
  }

  .blog-card img {
      height: 200px;
  }

  .blog-card .card-title {
      font-size: 18px;
  }

  .blog-card .card-text {
      font-size: 14px;
  }

  .nav-tabs .nav-link {
      font-size: 0.85rem;
      padding: 10px 18px;
      min-width: 140px;
      max-width: 190px;
      height: 50px;
  }

  .col-md-3 {
      width: 33.33%;
      margin-bottom: 30px;
  }
}

@media (min-width: 992px) {
  .blog-card:hover {
      transform: translateY(-10px);
  }

  .nav-tabs .nav-link {
      font-size: 0.9rem;
      padding: 10px 20px;
      min-width: 150px;
      max-width: 200px;
      height: 50px;
  }
}