/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

html,
body {
  scroll-behavior: auto !important;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 1px;
  background-color: rgba(195, 195, 195, 0.2); /* #c3c3c3 @ 20% */
}

.navbar-brand {
  color: white !important;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
}

.navbar-toggler {
  /* border-color: rgba(255, 255, 255, 0.3) !important; */
  padding: 8px 12px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(62, 134, 148, 0.3);
}

.navbar-toggler-icon {
  background-image: none;
  width: 25px;
  height: 2px;
  background-color: white;
  display: block;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  width: 25px;
  height: 2px;
  background-color: white;
  display: block;
  position: absolute;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  top: -8px;
}
.navbar-toggler-icon::after {
  top: 8px;
}

.navbar-collapse {
  transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  padding: 8px 18px !important;
  transition: all 0.3s ease;
}

@media (max-width: 1200px) {
  .navbar-nav .nav-link {
    padding: 8px 12px !important;
  }
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #00d4ff !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-get-started {
  width: 174px;
  height: 54px;
  border-radius: 5px;
  background: #00d4ff;
  color: #ffffff;
  border: none;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 18px;
  text-transform: capitalize;
  transition: all 0.3s ease;
}

.btn-get-started:hover,
.btn-consultation:hover,
.btn-demo:hover {
  background: #00b8e6;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-consultation:hover,
.btn-demo:hover {
  color: white;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-consultation,
.btn-demo {
  background: #00d4ff;
  color: white;
  padding: 16px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  font-family: "Rubik", sans-serif;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .btn-consultation,
  .btn-demo {
    padding: 16px 24px;
  }
}

.btn-arrow img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hero-buttons a:hover .btn-arrow img {
  transform: translateX(4px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  background: #fff;
}

/* Image wrapper */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

/* Actual hero image */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1700px) {
  .hero-img {
    object-fit: fill;
    margin: auto;
  }
.hero-section {
height:80vh;
}
}

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    to right,
    rgba(2, 25, 39, 0.95) 0%,
    rgba(2, 25, 39, 0.85) 25%,
    rgba(2, 25, 39, 0.6) 50%,
    rgba(2, 25, 39, 0.3) 70%,
    rgba(2, 25, 39, 0.1) 85%,
    transparent 100%
  ); */
}

/* Keep content above image */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 150px 0 100px;
}

@media (max-width: 768px) {
  .hero-media {
    display: none;
  }

  .hero-section {
    background: #021927;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 150px 0 100px;
}

@media (min-width: 1400px) {
  .hero-content {
    padding: 150px 50px 100px;
  }
}

.hero-content h1 {
  color: white;
  font-size: 48px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 20px;
  font-weight: 500;
  font-family: "Rubik", sans-serif;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ============================================
   CLIENT SECTION
   ============================================ */
.client-section {
  width: 100%;
  padding: 40px 0;
  text-align: center;
  background: #ffffff;
}

.client-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 35px;
  line-height: 0.9;
  color: #052027;
  margin: 30px 0;
}

@media (max-width: 480px) {
  .client-title {
    font-size: 26px;
  }
}

.client-slider {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.client-track {
  display: flex;
  gap: 20px;
  animation: scroll 10s linear infinite;
}

.client {
  min-width: 180px;
  height: 100px;
  background: #f6f6f6;
  border-radius: 10px;
  border-color: #d2d2d2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.client img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   INSPECTION SECTION
   ============================================ */
.inspection-section {
  max-width: 1185px;
  margin: 40px auto;
  display: flex;
  gap: 30px;
  align-items: stretch;
  padding-bottom:40px;

}

.left-image-container {
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.left-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right-content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding-right: 20px;
}

.content-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 35px;
  line-height: 47.01px;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.content-description {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #666;
  margin-bottom: 20px;
}

.content-description p {
  margin-bottom: 15px;
}

.content-button {
  width: 278.23px;
  height: 52px;
  border-radius: 6px;
  padding: 14px 28px;
  gap: 8px;
  background: #04b7e4;
  color: white;
  border: none;
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.content-button:hover {
  background: #04b7e4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

@media (max-width: 1200px) {
  .inspection-section {
    flex-direction: column;
    padding-inline: 48px;
  }
}

@media (max-width: 480px) {
  .inspection-section {
    padding-inline: 24px;
  }
  .content-title {
    font-size: 26px;
    line-height: 36px;
  }
}

/* ============================================
   CARDS SECTION
   ============================================ */

.ai-vision-wrapper {
  background-color: #f6f6f6; /* or your preferred color */
  padding: 50px 0; /* spacing around the block */
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 35px;
  font-weight: 700;
  color: #052027;
  margin-bottom: 50px;
}

.container-fluid .cards-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  overflow-x: hidden;
  flex-wrap: nowrap;
}

.container-fluid .cards-container .card-item {
  flex: 1;
  height: 577px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #000;
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.container-fluid .cards-container .card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Expanded card takes 2x width */
.container-fluid .cards-container .card-item.expand {
  flex: 2;
}

/* Shrink others slightly */
.container-fluid .cards-container .card-item.shrink {
  flex: 0.8;
}

/* Image Styling */
.container-fluid .cards-container .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: filter 0.4s ease;
}

.container-fluid .cards-container .card-item.active .card-image {
  filter: blur(8px);
}

/* Text Overlay */
.container-fluid .cards-container .card-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.85) 50%,
    rgba(0, 0, 0, 0.4) 90%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  opacity: 0.9;
}

/* Text Content */
.container-fluid .cards-container .card-content {
  position: relative;
  z-index: 2;
  color: white;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-title-custom {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
  color: #fff;
  padding: 8px 12px;
  margin-bottom: 0;
}

.card-description {
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 24px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.card-content {
  background: transparent !important;
  padding: 0;
  margin: 0;
}

.card-text-content {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  transition: background 0.3s ease;
}

.card-item.expand .card-text-content {
  background: rgba(0, 0, 0, 0.92);
  padding: 16px 0;
  width: 100%;
  border-radius: 16px;
}

.card-text-content * {
  padding-left: 20px;
  padding-right: 20px;
  display: block;
}

.card-description {
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.card-item.expand .card-description {
  opacity: 1;
  max-height: 500px;
}

/* Show description only in expanded card */
.card-item.expand .card-description {
  opacity: 1;
  max-height: 400px;
}

@media (max-width: 968px) {
  .container-fluid .cards-container {
    flex-direction: column;
  }

  .container-fluid .cards-container .card-item,
  .card-item.expand,
  .card-item.shrink {
    flex: 1 1 100%;
    width: 100%;
    height: auto;
  }

  .card-item.expand .card-text-content {
    background: #000;
    padding: 22px 15px;
  }
  .card-image {
    height: 260px;
  }

  .card-text-content * {
    padding: 16px 16px 0 16px;
  }
}

/* ============================================
   VISION AI SECTION
   ============================================ */

.vision-scroll-container {
  /* max-height: 640px; */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;

  /* Hide scrollbar across all browsers */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.vision-scroll-container::-webkit-scrollbar {
  width: 0px; /* Chrome, Safari */
  background: transparent;
}

/* Add this to make scrolling smooth */
.vision-scroll-container {
  scroll-behavior: smooth;
}

/* Optional: visual fade at bottom to indicate scroll */
.vision-scroll-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 10px;
  height: 30px;
  pointer-events: none;
}

.vision-section {
  max-width: 1187px;
  margin: 70px auto;
  padding: 20px;
  background-color: #ffffff;
}

@media (max-width: 1024px) {
  .vision-section {
    margin: 40px auto;
  }
}

.vision-section h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 35px;
  color: #052027;
  margin-bottom: 40px;
  text-align: left;
}

.vision-scroll-container {
  /* max-height: 640px; */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
}

.vision-scroll-container::-webkit-scrollbar {
  width: 8px;
}

.vision-scroll-container::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  border-radius: 10px;
}

.vision-grid {
  display: grid;
  gap: 20px;
  justify-items: center;
}

@media (max-width: 480px) {
  .vision-section {
    margin: 40px 0;
  }
}

/* Large Screens - 3 per row */
@media (min-width: 1025px) {
  .vision-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium Devices - 2 per row */
@media (min-width: 768px) and (max-width: 1024px) {
  .vision-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small Devices - 1 per row */
@media (max-width: 767px) {
  .vision-grid {
    grid-template-columns: 1fr;
  }
}

.vision-card {
  width: 100%;
  max-width: 385px;
  min-height: 254px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .vision-card {
    padding: 20px;
  }
}

.vision-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.vision-card h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 6px;
  color: #002b45;
}

.vision-card p {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #444;
  margin: 0;
}

.vision-card:hover {
  background-color: #01191f !important;
  border-color: #01191f;
  transform: translateY(-3px);
  color: #ffffff !important;
}

.vision-card:hover h5,
.vision-card:hover p {
  color: #ffffff !important;
}

.vision-card:hover img {
  filter: brightness(0) invert(1);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.main-section2 {
  width: 100%;
  height: 750px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  background-color: #f5f5f5;
}

.content-wrapper2 {
  max-width:1536px;
  margin: auto;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 34px;
  padding-left: 78px;
  /* padding: 0 78px; */
}

.left-content {
  width: 710px;
  height: auto;
  z-index: 2;
}

.right-video {
  width: 714px;
  height: 750px;
  position: relative;
  overflow: hidden;
}

.right-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.left-content h2 {
  font-size: 35px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

.left-content h3 {
  font-size: 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #052027;
  margin-bottom: 1.5rem;
}

.description {
  font-size: 18px;
  font-family: "Rubik", sans-serif;
  font-weight: 400px;
  color: #373a3b;
  line-height: 24px;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  font-size: 18px;
  font-family: "Rubik", sans-serif;
  font-weight: 400px;
  padding: 0;
  margin-bottom: 2rem;
  line-height: 24px;
}

.feature-list li {
  font-size: 1.125rem;
  color: #2c2c2c;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  position: relative;
list-style:disc;
}

/*.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: black;
  font-size: 1.5rem;
  line-height: 1.125rem;
}8/

.explore-text {
  font-size: 1.0625rem;
  color: #373a3b;
  font-size: 18px;
  font-family: "Rubik", sans-serif;
  font-weight: 400px;
  line-height: 24px;
  margin-bottom: 2rem;
}
/* 

/* testimonial section */

.client-heading {
  font-size: 35px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

/* Wrapper for 2 testimonials */
.testimonial-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 25px;
  max-width: 1200px;
  margin: 40px auto;
}

/* Each testimonial card */
.testimonial-box {
  padding: 30px;
  text-align: center;
}

/* Responsive Quote Text */
.quote {
  font-size: 20px;
  color: #373a3b;
  font-family: "Rubik", sans-serif;
  font-weight: 400px;
  line-height: 1.6;
  min-height: 180px;
}

@media (width: 820px) {
  .quote {
    min-height: 210px;
  }
}

@media (max-width: 600px) {
  .quote {
    min-height: 120px;
  }
}
.quotation {
  font-size: 40px;
  color: #04b7e4;
  margin-right: 8px;
}

/* Client Image */
.client-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 15px 0;
  object-fit: cover;
}

/* Client Info */
.client-info h3 {
  font-size: 24px;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

@media (max-width: 800px) {
  .client-info h3 {
    font-size: 20px;
  }
}

.client-info p {
  margin: 4px 0;
  color: #666;
  font-family: "Rubik", sans-serif;
  font-size: 20px;
}
@media (max-width: 800px) {
  .client-info p {
    font-size: 12px;
  }
}

/* Star Rating */
.rating {
  margin-top: 6px;
  font-size: 18px;
  color: #ffbb00;
}

@media (max-width: 800px) {
  .rating {
    font-size: 12px;
  }
}

.ratings {
  color: #f4c200;
}

/* ===================== */
/* RESPONSIVE BREAKPOINTS */
/* ===================== */

/* Mobile devices */
@media (max-width: 768px) {
  .testimonial-wrapper {
    gap: 20px;
  }

  .testimonial-box {
    flex: 1 1 100%;
  }

  .quotation {
    font-size: 30px;
  }

  .quote {
    font-size: 15px;
  }
}

/* Small mobile screens */
@media (max-width: 480px) {
  .client-heading {
    font-size: 28px;
  }

  .testimonial-box {
    padding: 20px;
  }

  .client-img {
    width: 60px;
    height: 60px;
  }

  .rating {
    font-size: 16px;
  }
}

/* ============================================
   WORKFLOW SECTION
   ============================================ */
/* ============================================
   WORKFLOW SECTION
============================================ */
.workflow-section .workflow-title {
  font-size: 35px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-align: center;
  padding: 20px 0;
  background: #fff;
  color: #000;
}

@media (max-width: 600px) {
  .workflow-section .workflow-title {
    font-size: 28px;
  }
}

.workflow-section .workflow-grid {
  display: flex;
  border-top: 1px solid #1a3a4f;
  border-bottom: 1px solid #1a3a4f;
}

.workflow-section .workflow-card {
  flex: 1;
  background: #01191f;
  padding: 50px 0px 50px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  min-height: 380px;
  border-right: 1px solid #1a3a4f;
  box-sizing: border-box;
}

.workflow-section .workflow-card:last-child {
  border-right: none;
}

/* ICON */
.workflow-section .workflow-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow-section .workflow-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* TITLE WITH FULL-WIDTH LINES */
.workflow-section .workflow-card-title {
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
  position: relative;
  padding: 20px 0;
  width: 100%;
  height: 92px;
}

.workflow-section .workflow-card-title::before,
.workflow-section .workflow-card-title::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #2a3f4b;
}

.workflow-section .workflow-card-title::before {
  top: 0;
}

.workflow-section .workflow-card-title::after {
  bottom: 0;
}

/* TEXT */
.workflow-section .workflow-card-text {
  font-size: 14px;
  font-family: "Rubik", sans-serif;
  line-height: 1.6;
  color: #a0adb8;
  margin: 0;
}

@media (max-width: 992px) {
  .workflow-card-title {
    height: 70px !important;
  }
}

@media (max-width: 480px) {
  .workflow-title {
    font-size: 26px !important;
  }
  .workflow-card-title {
    height: 70px !important;
  }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 992px) {
  .workflow-section .workflow-grid {
    flex-direction: column;
  }

  .workflow-section .workflow-card {
    border-right: none;
    border-bottom: 1px solid #1a3a4f;
    padding: 36px;
    min-height: 250px;
  }

  .workflow-section .workflow-card:last-child {
    border-bottom: none;
  }

  .workflow-section .workflow-card-title::before,
  .workflow-section .workflow-card-title::after {
    width: 100%;
    left: 0;
    transform: none;
  }
}

/* ============================================
   INDUSTRY SECTION
============================================ */

.industry-section {
  background: #fff;
  padding: 60px 0 0;
}

/* Title */
.industry-title {
  font-size: 35px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  text-align: center;
  color: #000;
  margin-bottom: 40px;
}
@media (max-width: 480px) {
  .industry-title {
    font-size: 26px;
  }
}

/* Tabs Wrapper */
.industry-tabs {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Tabs Container */
.tabs-container {
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
  background-color: #f0f0f0;
  padding: 20px 0 35px;
  position: relative;
  scrollbar-width: thin;
}

/* Full-width horizontal divider (between icon & text) */
.tabs-container::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #dcdcdc;
  z-index: 1;
}

/* Scrollbar */
.tabs-container::-webkit-scrollbar {
  height: 5px;
}
.tabs-container::-webkit-scrollbar-thumb {
  background: #00bcd4;
  border-radius: 4px;
}

/* Tab Items */
.tab-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 5px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

/* TAB ICON (SVG as Image File) */
.tab-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(0%) saturate(0%);
  transition: 0.3s ease;
}

/* Hover / Active Icon turns Blue */
.tab-item:hover img,
.tab-item.active img {
  filter: brightness(0%) saturate(100%) invert(50%) sepia(100%)
    hue-rotate(170deg) saturate(200%) brightness(1.1);
}

/* Title */
.tab-title {
  font-family: Poppins;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-top: 22px;
  line-height: 1.3;
}

.tab-item.active .tab-title {
  color: #000;
}

/* ACTIVE underline */
.tab-item.active::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: #00bcd4;
  border-radius: 4px;
}

/* ===============================
   TAB CONTENT
================================ */
.tab-content {
  display: none;
  /* padding: 60px 15px; */
  animation: fadeIn 0.4s ease;
}
.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   TWO-COLUMN CONTENT + DIVIDER
================================ */
.content-wrapper {
  display: flex;
  align-items: stretch; /* ensures children fill equal height */
  padding: 0 10px;
  min-height: 500px; /* optional: base height */
}

.content-left {
  flex: 1;
  border-right: 2px solid #dddddd;
  display: flex;
  align-items: stretch;
}

.content-box {
  padding: 50px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  height: 100%;
}

.content-right {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: 50px;
}

.content-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .content-wrapper {
    flex-direction: column;
    padding-top: 20px;
  }
  .content-box {
    padding: 20px 0;
    height: auto;
  }

  .content-left {
    border-right: none;
  }

  .content-right {
    padding: 0;
    width: 100%;
    height: auto;
  }

  .content-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* REMOVE this divider */
/*  */

/* Content Title */
.content-left h3 {
  font-size: 2rem;
  font-weight: 700;
  font-family: Poppins;
  /* margin-bottom: 20px; */
}

/* Bullet List */
.content-list {
  font-size: 18px;
  line-height: 24px;
  font-family: Rubik;
  font-weight: 500;
  padding: 0;
  color: #373a3b;
  list-style: none;
}
.content-list li {
  font-family: Rubik;
  padding: 10px 0 10px 5px;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
list-style:disc;
}
/*.content-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0f0f0f;
  font-size: 20px;
}*/

/* Navigation Buttons */
.navigation-arrows {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  border-radius: 6px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

/* Content Image */
.content-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
/* For screens < 768px ? left aligned scroll tabs */
/* ============================================
   MOBILE FIX — CONTENT STACK + REMOVE DIVIDER
============================================ */
@media (max-width: 992px) {
  /* Stack content */

  /* REMOVE VERTICAL DIVIDER */
  .content-wrapper::after {
    display: none !important;
  }

  /* Center text */
  .content-left h3 {
    font-size: 26px;
  }

  /* Center bullet list */
  .content-list {
    text-align: left;
    max-width: 300px;
  }

  .navigation-arrows {
    justify-content: center !important;
  }

  /* Image responsive */
  .content-image {
    height: auto !important;
    max-width: 100%;
    border-radius: 10px;
  }
}

/* ============================================
   SUCCESS STORIES SECTION
   ============================================ */
.success-stories-section {
  width: 100%;
  padding: 60px 0 60px;
  background-color: #f5f5f5;
}

.container-fluid {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .section-header {
    padding-inline: 24px;
  }
}

.section-header .section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 35px;
  line-height: 47px;
  color: #000000;
  margin-bottom: 20px;
}

.section-description {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #666666;
  max-width: 1053px;
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;
  padding: 0 60px;
  max-width: 1200px;
  margin: auto;
}

.slider-container {
  overflow: hidden;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 16px;
}

.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-item {
  width: 100%;
  flex-shrink: 0;
}

.slide-content {
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

@media (max-width: 1024px) {
  .slide-content {
    flex-direction: column;
  }
}

.slide-text {
  flex: 1;
  max-width: 576px;
  padding-inline: 40px;
}

@media (max-width: 1024px) {
  .slide-text {
    max-width: 100%;
    padding-block: 40px;
  }
}

.slide-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 35px;
  line-height: 47px;
  color: #000000;
  margin-bottom: 35px;
}

.slide-description p {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #333333;
  margin-bottom: 20px;
}

.slide-description strong {
  font-weight: 600;
  color: #000000;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 24px;
  background-color: transparent;
}

.slider-nav.prev {
  left: 0px;
}

.slider-nav.next {
  right: 0px;
}

.connect-button-wrapper {
  text-align: center;
  margin-top: 40px;
}

.connect-btn {
  background: #00bcd4;
  color: white;
  border: none;
  padding: 16px 50px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.connect-btn:hover {
  background: #00a8bd;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 188, 212, 0.35);
}

.arrow-icon {
  font-size: 20px;
  font-weight: bold;
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.footer-section {
  background: #0a1628;
  padding: 50px 0;
  margin-top: 0;
}

.footer-content {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-info {
  text-align: right;
}

.footer-info p {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: white;
  margin: 0 0 8px 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00bcd4;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

@media (min-width: 1920px) {
  .container-fluid .cards-container {
    max-width: 1800px;
    margin: 0 auto;
  }
}

@media (min-width: 1440px) and (max-width: 1919px) {
  .container-fluid .cards-container .card-item {
    width: 500px;
    height: 520px;
  }

  .container-fluid .cards-container .card-item.shrink {
    width: 220px;
  }

  .container-fluid .cards-container .card-item.expand {
    width: 650px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .container-fluid .cards-container .card-item {
    width: 380px;
    height: 480px;
  }

  .container-fluid .cards-container .card-item.shrink {
    width: 180px;
  }

  .container-fluid .cards-container .card-item.expand {
    width: 550px;
  }
}

@media (max-width: 1200px) {
  .hero-background {
    width: 100%;
  }

  .main-section2 {
    height: auto;
    min-height: 750px;
  }

  .content-wrapper2 {
    flex-direction: column;
    padding: 2rem;
  }

  .left-content,
  .right-video {
    width: 100%;
  }

  .right-video {
    height: 500px;
  }

  .left-content h1 {
    font-size: 2.5rem;
  }

  .left-content h2 {
    font-size: 1.5rem;
  }

  .slide-image {
    height: 100%;
    width: 100%;
    flex: 1;
  }
}

@media (max-width: 480px) {
  .slide-text {
    padding-block: 24px;
  }
}

@media (max-width: 991px) {
  .navbar {
    background: rgba(2, 25, 39, 0.98);
    padding: 15px 0;
  }

  .navbar-collapse {
    background: rgba(2, 25, 39, 0.98);
    margin-top: 15px;
    padding: 20px;
    border-radius: 12px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-background {
    width: 100%;
  }

  .industry-section .industry-content,
  .success-section .case-study-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .industry-section .industry-tabs {
    overflow-x: scroll;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .container-fluid .cards-container .card-item {
    width: 100% !important;
    height: 380px;
  }

  .testimonials-section .section-title {
    font-size: 32px;
  }

  .workflow-section .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-section .workflow-card {
    padding: 30px;
    border-right: none;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-background {
    width: 100%;
  }

  .vision-section h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .content-button {
    width: 100%;
    max-width: 280px;
  }

  .slider-wrapper {
    padding: 0 40px;
  }

  .slider-nav {
    font-size: 40px;
  }

  .section-header .section-title {
    font-size: 26px;
  }

  .section-description {
    font-size: 15px;
  }

  .slide-title {
    font-size: 24px;
    line-height: 34px;
  }

  .slide-description p {
    font-size: 15px;
  }

  .slide-image {
    height: 100%;
  }

  .connect-btn {
    padding: 14px 40px;
    font-size: 16px;
  }

  .footer-content {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .container-fluid .cards-container .card-item {
    height: 340px;
  }

  .container-fluid .section-title {
    font-size: 1.7rem;
    margin-bottom: 30px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .section-header .section-title {
    font-size: 22px;
    line-height: 32px;
  }

  .slide-title {
    font-size: 20px;
    line-height: 30px;
  }

  .slider-wrapper {
    padding: 0 32px;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .slider-nav.prev {
    left: 0;
  }

  .slider-nav.next {
    right: 0;
  }

  .connect-btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 8px;
  }

  .logo-text h2 {
    font-size: 26px;
  }
  .workflow-section .workflow-card {
    min-height: 300px;
  }
}

/* AI Inspection Section Styles */
.ai-inspection-section {
  background-color: #f6f6f6;
  padding-bottom: 0px;
}

.ai-container-fluid {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0;
}

.ai-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.ai-col-left {
  width: 41.666667%;
  padding: 0;
}

.ai-col-right {
  width: 58.333333%;
  padding: 0;
}

/* Left Content */
.ai-left-content {
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 700px;
  border-right: 1px solid #c3c3c3;
}

.ai-section-title {
  font-size: 32px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  color: #000;
  margin-bottom: 30px;
  line-height: 1.2;
}

.ai-demo-btn {
  background-color: #00d4ff;
  font-family: Rubik;
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.ai-demo-btn:hover {
  background: #00b8e6;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.ai-arrow {
  font-size: 1.2rem;
}

/* Use Cases List */
.ai-use-cases-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
  background-color: transparent;
  margin-top: 40px;
}

.ai-use-case-item {
  display: flex;
  align-items: center;
  background-color: transparent;
  border-bottom: 1px solid #d0d0d0;
  padding: 0;
  position: relative;
}

.ai-use-case-item:last-child {
  border-bottom: none;
  /* border-left: 1px solid #d0d0d0;*/
}

/* Vertical Divider (after number) */
.ai-vertical-divider {
  width: 0.1px;
  background-color: #d0d0d0;
  flex-shrink: 0;
  align-self: stretch;
}

/* Number Box */
.ai-number-box {
  background-color: #d1d1d1;
  color: #2c2c2c;
  font-size: 1.1rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  margin: 15px 15px;
}

/* Content */
.ai-content {
  flex: 1;
  padding: 10px 10px;
  position: relative;
  border-left: 1px solid #c3c3c3;
}

.ai-use-case-title {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 30px;
  color: #1a1a1a;
  margin: 0 0 5px 0;
}

.ai-use-case-description {
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #6b6b6b;
  margin: 0;
}

/* Responsive Design */

/* Large Desktop Screens (1920px and above) */
@media (min-width: 1920px) {
  .ai-container-fluid {
    max-width: 1920px;
  }

  .ai-section-title {
    font-size: 36px;
  }

  .ai-use-case-title {
    font-size: 20px;
  }

  .ai-use-case-description {
    font-size: 18px;
  }
}

/* Desktop (1200px to 1536px) */
@media (max-width: 1536px) and (min-width: 1200px) {
  .ai-container-fluid {
    max-width: 100%;
    padding: 0 20px;
  }

  .ai-left-content {
    padding: 40px 50px;
  }
}

/* Laptop and Small Desktop (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .ai-container-fluid {
    max-width: 100%;
    padding: 0 15px;
  }

  .ai-col-left {
    width: 40%;
  }

  .ai-col-right {
    width: 60%;
  }

  .ai-left-content {
    padding: 35px 40px;
    min-height: 810px;
  }

  .ai-section-title {
    font-size: 28px;
  }

  .ai-use-case-title {
    font-size: 17px;
  }

  .ai-use-case-description {
    font-size: 15px;
    line-height: 22px;
  }

  .ai-number-box {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    margin: 12px 12px;
  }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
  .ai-col-left,
  .ai-col-right {
    width: 100%;
  }

  .ai-left-content {
    padding: 40px;
    text-align: center;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #c3c3c3;
  }

  .ai-section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .ai-demo-btn {
    margin: 0 auto;
  }

  .ai-use-cases-list {
    margin-top: 0;
  }

  .ai-left-divider,
  .ai-right-divider {
    display: none;
  }

  .ai-content {
    padding: 15px 20px;
  }

  .ai-use-case-title {
    font-size: 17px;
    line-height: 26px;
  }

  .ai-use-case-description {
    font-size: 15px;
    line-height: 22px;
  }

  .ai-number-box {
    width: 40px;
    height: 40px;
    margin: 15px;
  }
}

/* Mobile Landscape and Small Tablet (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .ai-inspection-section {
    padding-bottom: 20px;
  }

  .ai-left-content {
    padding: 30px 20px;
  }

  .ai-section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .ai-demo-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .ai-use-case-item {
    padding: 0;
  }

  .ai-number-box {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    margin: 12px;
  }

  .ai-use-case-title {
    font-size: 16px;
    line-height: 24px;
  }

  .ai-use-case-description {
    font-size: 14px;
    line-height: 20px;
  }

  .ai-content {
    padding: 12px 15px;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .ai-inspection-section {
    padding-bottom: 20px;
  }

  .ai-container-fluid {
    padding: 0;
  }

  .ai-left-content {
    padding: 25px 15px;
    text-align: center;
  }

  .ai-section-title {
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .ai-demo-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .ai-use-cases-list {
    margin-top: 0;
  }

  .ai-use-case-item {
    flex-direction: row;
    align-items: center;
    padding: 0;
  }

  .ai-number-box {
    width: 35px;
    height: 35px;
    font-size: 0.95rem;
    margin: 12px 10px;
  }

  .ai-content {
    padding: 12px 10px;
    border-left: 1px solid #c3c3c3;
  }

  .ai-use-case-title {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 5px;
  }

  .ai-use-case-description {
    font-size: 13px;
    line-height: 19px;
  }

  .ai-left-divider,
  .ai-right-divider,
  .ai-vertical-divider {
    display: none;
  }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
  .ai-section-title {
    font-size: 20px;
  }

  .ai-demo-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .ai-number-box {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    margin: 10px 8px;
  }

  .ai-content {
    padding: 10px 8px;
  }

  .ai-use-case-title {
    font-size: 14px;
    line-height: 20px;
  }

  .ai-use-case-description {
    font-size: 12px;
    line-height: 18px;
  }
}

/* Very Small Mobile (up to 320px) */
@media (max-width: 320px) {
  .ai-section-title {
    font-size: 18px;
  }

  .ai-number-box {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    margin: 8px 6px;
  }

  .ai-content {
    padding: 8px 6px;
  }

  .ai-use-case-title {
    font-size: 13px;
    line-height: 19px;
  }

  .ai-use-case-description {
    font-size: 11px;
    line-height: 17px;
  }
}

/* ============================================
   ENHANCED POPUP FORM STYLES
   ============================================ */

/* Popup Modal Styles */
.popup-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
  align-items: center;
  justify-content: center;
}

.popup-modal.active {
  display: flex;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.popup-content {
  position: relative;
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 450px;
  margin: auto;
  padding: 0;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.popup-close i {
  font-size: 14px;
  color: #333;
}

.popup-form-wrapper {
  padding: 28px 30px 28px;
}

.popup-form-wrapper h2 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #1a1a1a;
  margin-bottom: 6px;
  text-align: center;
  line-height: 1.3;
}

.popup-description {
  text-align: center;
  color: #666;
  font-size: 13px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.popup-form-wrapper .form-group {
  margin-bottom: 16px;
}

.popup-form-wrapper label {
  display: block;
  margin-bottom: 6px;
  color: #2c3e50;
  font-weight: 500;
  font-size: 13px;
}

.popup-form-wrapper .form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #ffffff;
  font-family: inherit;
  color: #1a1a1a;
}

.popup-form-wrapper .form-control::placeholder {
  color: #9ca3af;
}

.popup-form-wrapper .form-control:focus {
  outline: none;
  border-color: #04b7e4;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.popup-form-wrapper .form-control.error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.popup-form-wrapper .form-control.error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.popup-form-wrapper textarea.form-control {
  resize: vertical;
  min-height: 75px;
  font-family: inherit;
}

.popup-form-wrapper .error-message {
  color: #ef4444;
  font-size: 12px;
  margin-top: 5px;
  display: none;
  font-weight: 500;
}

.popup-form-wrapper .error-message.show {
  display: block;
}

.popup-form-wrapper .submit-btn {
  width: 100%;
  padding: 13px 24px;
  background: #04b7e4;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.popup-form-wrapper .submit-btn:hover {
  background: #04b7e4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 80, 223, 0.3);
}

.popup-form-wrapper .submit-btn:active {
  transform: translateY(0);
}

.popup-form-wrapper .submit-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  transform: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ============================================
   MOBILE & TABLET RESPONSIVE STYLES ONLY
   ============================================ */

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .popup-content {
    width: 90%;
    max-width: 420px;
  }

  .popup-form-wrapper {
    padding: 26px 26px 26px;
  }

  .popup-form-wrapper h2 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .popup-description {
    font-size: 12.5px;
    margin-bottom: 20px;
  }

  .popup-form-wrapper .form-group {
    margin-bottom: 14px;
  }

  .popup-form-wrapper label {
    font-size: 12.5px;
    margin-bottom: 5px;
  }

  .popup-form-wrapper .form-control {
    padding: 10px 13px;
    font-size: 13.5px;
  }

  .popup-form-wrapper textarea.form-control {
    min-height: 65px;
  }

  .popup-form-wrapper .submit-btn {
    padding: 12px 22px;
    font-size: 14.5px;
    margin-top: 14px;
  }

  .popup-close {
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
  }

  .popup-close i {
    font-size: 13px;
  }
}

/* Mobile (600px and below) */
@media (max-width: 600px) {
  .popup-modal {
    padding: 15px 0;
  }

  .popup-content {
    width: 92%;
    max-width: 100%;
    border-radius: 14px;
  }

  .popup-form-wrapper {
    padding: 24px 22px 24px;
  }

  .popup-form-wrapper h2 {
    font-size: 19px;
    margin-bottom: 4px;
  }

  .popup-description {
    font-size: 12px;
    margin-bottom: 18px;
    line-height: 1.4;
  }

  .popup-close {
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
  }

  .popup-close i {
    font-size: 12px;
  }

  .popup-form-wrapper .form-group {
    margin-bottom: 13px;
  }

  .popup-form-wrapper label {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .popup-form-wrapper .form-control {
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 7px;
  }

  .popup-form-wrapper textarea.form-control {
    min-height: 60px;
  }

  .popup-form-wrapper .submit-btn {
    padding: 11px 20px;
    font-size: 14px;
    margin-top: 12px;
  }

  .popup-form-wrapper .error-message {
    font-size: 11px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .popup-modal {
    padding: 12px 0;
  }

  .popup-content {
    width: 94%;
    border-radius: 12px;
  }

  .popup-form-wrapper {
    padding: 22px 20px 22px;
  }

  .popup-form-wrapper h2 {
    font-size: 18px;
    margin-bottom: 3px;
  }

  .popup-description {
    font-size: 11.5px;
    margin-bottom: 16px;
  }

  .popup-close {
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
  }

  .popup-form-wrapper .form-group {
    margin-bottom: 12px;
  }

  .popup-form-wrapper label {
    font-size: 11.5px;
  }

  .popup-form-wrapper .form-control {
    padding: 9px 11px;
    font-size: 13px;
  }

  .popup-form-wrapper textarea.form-control {
    min-height: 55px;
  }

  .popup-form-wrapper .submit-btn {
    padding: 10px 18px;
    font-size: 13.5px;
    gap: 6px;
  }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
  .popup-modal {
    padding: 10px 0;
  }

  .popup-content {
    width: 95%;
    border-radius: 10px;
  }

  .popup-form-wrapper {
    padding: 20px 18px 20px;
  }

  .popup-form-wrapper h2 {
    font-size: 17px;
    margin-bottom: 3px;
  }

  .popup-description {
    font-size: 11px;
    margin-bottom: 14px;
  }

  .popup-close {
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
  }

  .popup-close i {
    font-size: 11px;
  }

  .popup-form-wrapper .form-group {
    margin-bottom: 11px;
  }

  .popup-form-wrapper label {
    font-size: 11px;
  }

  .popup-form-wrapper .form-control {
    padding: 8px 10px;
    font-size: 12.5px;
  }

  .popup-form-wrapper textarea.form-control {
    min-height: 50px;
  }

  .popup-form-wrapper .submit-btn {
    padding: 9px 16px;
    font-size: 13px;
    margin-top: 10px;
  }

  .popup-form-wrapper .error-message {
    font-size: 10.5px;
  }
}

/* Landscape Mode for Mobile Devices */
@media (max-height: 600px) and (orientation: landscape) {
  .popup-modal {
    padding: 10px 0;
    overflow-y: auto;
  }

  .popup-content {
    margin: 10px auto;
    max-width: 500px;
  }

  .popup-form-wrapper {
    padding: 18px 24px 18px;
  }

  .popup-form-wrapper h2 {
    font-size: 17px;
    margin-bottom: 3px;
  }

  .popup-description {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .popup-form-wrapper .form-group {
    margin-bottom: 10px;
  }

  .popup-form-wrapper label {
    margin-bottom: 4px;
  }

  .popup-form-wrapper .form-control {
    padding: 8px 11px;
  }

  .popup-form-wrapper textarea.form-control {
    min-height: 45px;
  }

  .popup-form-wrapper .submit-btn {
    padding: 9px 18px;
    font-size: 13px;
    margin-top: 10px;
  }
}

/* Mobile + Tablet Show Slider Version */
/* Hide slider on desktop */
.mobile-only {
  display: none;
}

/* Show desktop layout on large screens */
.desktop-only {
  display: block;
}
/* ------------------------- */
/* MOBILE + TABLET VERSION   */
/* ------------------------- */

/* Hide slider on desktop */
#testimonials-mobile {
  display: none;
}

/* Show only on mobile */
@media (max-width: 600px) {
  .desktop-only {
    display: none;
  }
  #testimonials-mobile {
    display: block;
  }

  /* Ensure desktop version hides */
  #testimonials-desktop {
    display: none !important;
  }

  /* Swiper Container Styling */
  .testimonial-mobile-swiper {
    width: 100%;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
  }

  /* Force swiper to act as slider */
  .testimonial-mobile-swiper .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }

  /* Slide — ONLY ONE visible fully */
  .testimonial-mobile-swiper .swiper-slide {
    width: 100% !important;
    flex-shrink: 0 !important;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  /* Testimonial Card */
  #testimonials-mobile .testimonial-box {
    width: 100%;
    padding: 22px;
    background: #ffffff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
  }

  /* Quote text */
  #testimonials-mobile .quote {
    font-size: 16px;
    line-height: 1.6;
  }

  .quotation {
    font-size: 30px;
    color: #04b7e4;
  }

  /* Client Image */
  #testimonials-mobile .client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 10px;
  }

  /* Name & Role */
  #testimonials-mobile .client-info h3 {
    font-size: 18px;
    margin: 10px 0 2px;
  }

  #testimonials-mobile .client-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
  }

  /* Review Stars */
  #testimonials-mobile .rating {
    margin-top: 6px;
    font-size: 16px;
  }

  /* Navigation arrows container */
  .testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 18px;
  }

  .custom-arrow {
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
    user-select: none;
    padding: 4px 16px;
    border-radius: 6px;
  }
}

/* Extra adjustment for small phones */
@media (max-width: 480px) {
  #testimonials-mobile .quote {
    font-size: 14px;
  }

  .custom-arrow {
    font-size: 22px;
  }
}


.middle-column-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Poppins;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  flex: 1;
  gap: 12px;
}

.footer-divider {
  width: 1px;
  height: 60px;
  background: #d6d6d6;
  margin: 0 32px;
  align-self: center;
}
@media (max-width: 992px) {
  .footer-divider {
    width: 100%;
    height: 1px;
    background: #d6d6d6;
    margin: 20px 0;
  }
