body {
  font-family: "Poppins", sans-serif;
}

/* Hero section background */

.hero-section-light-g {
  background: radial-gradient(
    circle at top center,
    #d7e4f5 0%,
    #f3f7fb 50%,
    #ffffff 100%
  );
  background-blend-mode: lighten;
  padding-top: 80px !important;
}

/* Inner pages (About, etc.): same gradient without full-viewport hero flex layout */
.hero-section-light-g.hero-section-light-g--page {
  min-height: unset !important;
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
}

@media (min-width: 992px) {
  .hero-section-light-g.hero-section-light-g--page {
    padding-bottom: 2.5rem !important;
  }
}

/* About / marketing copy on white: stronger contrast than .text-muted */
.about-readable {
  color: var(--si-gray-800);
}

html.dark-mode .about-readable {
  color: var(--si-body-color);
}

.about-stat-caption {
  color: var(--si-gray-700);
  font-size: 0.875rem;
}

.hero-section-dark-g {
  background: radial-gradient(
    ellipse at top center,
    rgba(9, 55, 125, 0.6) 0%,
    /* soft rich blue center */ rgba(5, 35, 90, 0.85) 25%,
    /* deep navy */ rgba(2, 20, 50, 0.95) 55%,
    /* very dark navy */ #0b0f19 85% /* pure black edges */
  );
  background-color: #000; /* fallback color */
  background-blend-mode: normal;
}

/* Badge (Top Text) */
.badge-custom {
  background: #f1f5f9;
  color: #111827;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.9rem;
  display: inline-block;
}

/* Heading (H1) */
.hero-title {
  font-size: 3.5rem; /* Adjust as needed */
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

/* Subtitle Paragraph */
.hero-subtitle {
  font-size: 1rem;
  color: #4b5563;
  max-width: 600px;
}

.hero-section-light-g,
.hero-section-dark-g {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px !important;
}

.home-hero-sec-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media (min-width: 992px) {
  .hero-section-light-g,
  .hero-section-dark-g {
    min-height: unset;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
}
@media (min-width: 992px) {
  #hero-sec-light-dark {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
/* Buttons */
/*.btn-custom {
  background-color: #0b5ed7;
  color: #fff;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-custom:hover {
  background-color: #fff !important;
}*/

/* Divider */
.divider {
  width: 1px;
  height: 40px;
  background: #e5e7eb;
}

/* Stats Number */
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #0b5ed7;
}

/* Stats Label */
.stat-label {
  font-size: 0.95rem;
  color: #9ca3af;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
  max-width: 600px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 15px !important;
  max-width: 600px;
  line-height: 1.6;
  color: #0047ab;
}

.stats-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  padding: 30px 50px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  /*  margin-top: 12rem !important;
  margin-bottom: 12rem !important;*/
}
.has-special-padding {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding-top: 200px !important;
}

.stats-heading {
  font-size: 14px;
  color: #d0d0d0;
  text-align: center;
  margin-bottom: 20px;
}

.stats-box {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #0045ad;
}

.ethics-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ethics-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.ethics-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
}

.ethics-swiper {
  padding: 10px;
}

.enesco-slide {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-right: 30px;
  width: 38%;
}

/* Swiper pagination dots (like second image) */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
}

.ethics-section {
  position: relative;
  background: url("/client/assets/img/unesco/UNESCOBanner.png") no-repeat
    center/cover;
  border-radius: 20px;
  padding: 75px;
  overflow: hidden;
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

/*.ethics-section:after{
      content: '';
    background: url(/client/assets/img/unesco/unescoB.png) no-repeat center / cover;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-size: auto;
    width: 46%;
    height: 100%;
    background-position: right;
    z-index: 2;
}*/

.ethics-section:after {
  content: "";
  background: url(/client/assets/img/unesco/unescoB.png) no-repeat center /
    cover;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-size: auto;
  width: 46%;
  height: 100%;
  background-position: right;
  z-index: 1; /* ← was 2, just drop to 1 */
  pointer-events: none; /* ← add this one line */
}

/*
.ethics-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  z-index: 3;
}*/

.ethics-section > .row {
  position: relative;
  z-index: 2;
}

.ethics-section .col-lg-7 {
  padding-right: 20px;
}

/* Swiper fix for safe width */
.ethics-section .swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ethics-swipper-div {
  height: 400px;
  margin-top: 35px;
}

/* Desktop (992px and above) */
@media (min-width: 992px) {
  .ethics-section-row {
    display: flex !important;
  }
  .ethics-section-info {
    width: 35%;
    margin-top: 40px;
  }
  .swipper-ethics-div {
    width: 70%;
  }

  .case-study-row {
    display: flex;
  }

  .col-case-study1 {
    width: 40%;
    padding-right: 38px;
  }

  .col-case-study2 {
    width: 60%;
  }
}

.mobile-break {
  display: none;
}

@media (max-width: 991px) {
  .ethics-section {
    padding: 30px 15px;
    overflow: hidden;
  }
  .ethics-section:after {
    display: none;
  }
  .ethics-section-row {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .ethics-section-info {
    width: 100% !important;
    margin-top: 0 !important;
  }

  .swipper-ethics-div {
    width: 100% !important;
    padding-left: 0 !important;
    overflow: hidden;
  }
  /*.ethics-swipper-div {
    height: auto !important;
    min-height: 350px;
    margin-top: 0;
  }*/
  /* .enesco-slide {
    width: 100% !important;   
    margin-right: 0 !important;
  }*/
  .ethics-swipper-div {
    height: auto !important;
    margin-top: 0 !important;
    padding-bottom: 40px;
    overflow: visible !important;
  }

  .swiper-slide.enesco-slide .ethics-card,
  .swiper-slide-duplicate.enesco-slide .ethics-card {
    width: 100% !important;
    /*min-height: 130px !important; */ /* equal baseline height */
    height: auto !important;
    height: auto !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .ethics-card p {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  /* Fix 2: Equal height cards — stretch both cards in the column */
  .swiper-slide.enesco-slide {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    margin-right: 0 !important;
    gap: 12px !important;
    padding: 0 4px !important;
    align-items: stretch !important;
    overflow: visible !important;
  }
}
.ethics-section-info {
  position: relative;
  z-index: 3;
}

.ethics-section-content {
  font-size: 15px;
  font-family: "poppins";
}

.swiper-pagination {
  bottom: 10px;
}

.learn-more-btn {
  background: #fff !important;
  color: #003785 !important;
  border-radius: 21px !important;
}

.service-offer-card {
  width: 416px;
  margin-right: 24px;
  border-radius: 20px;
  padding: 30px;
  background: #f2f7ff;
  height: 525px;
}

/* Extra card styling to match design */
.case-card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 405px;
  height: 415px !important;
}

#casestudies.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.case-card:hover {
  transform: translateY(-5px);
}

.case-card img {
  border-radius: 50%; /* Make logo/icon rounded if needed */
}

.view-case-study-btn {
  text-decoration: none;
  font-weight: 500 !important;
  margin-bottom: 15px;
}

.btn-light {
  background: #fff;
  color: #0d6efd;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

.btn-light:hover {
  background: #f8f9fa;
  color: #0b5ed7;
}

.swiper-pagination-bullet {
  background: #0d6efd;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.6;
}

#casestudies {
  border-radius: 20px;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.case-study-content {
  padding-left: 54px;
  z-index: 5;
  margin-right: -12px;
}

.swiper-slide-case {
  /*  width: 448px !important;*/
}
/*.gradient-wrapper {
background: linear-gradient(
to bottom,
rgba(255, 255, 255, 0) 0%,     
rgba(0, 51, 153, 0.03) 50%,     
rgba(0, 51, 153, 0.1) 70%,    
rgba(0, 51, 153, 0.3) 85%,    
rgba(0, 51, 153, 0.5) 100%     
);
padding: 60px 0; 
}*/

.gradiant-wrapper-light-g {
  /*  background: linear-gradient(
    to top, 
    #d7e4f5 0%,        
    #f3f7fb 50%,       
    #ffffff 100%       
  );*/
  padding: 60px 0;
}

.after-gradient {
  position: relative;
}

.after-gradient::after {
  content: "";
  width: 100%;
  height: 700px;
  position: absolute;
  margin-top: -400px;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    to top,
    /* fade from bottom center upwards */ #d7e4f5 0%,
    /* light blue at bottom center */ #f3f7fb 50%,
    /* very soft near top */ #ffffff 100% /* pure white at the top */
  );
  z-index: -1;
}
.dark-mode .after-gradient::after {
  /*   background: radial-gradient(
    circle at bottom center, 
    rgba(9, 55, 125, 0.6) 0%,     
    rgba(5, 35, 90, 0.85) 35%,    
    rgba(2, 20, 50, 0.95) 60%,    
    rgba(0, 0, 0, 1) 85%          
  );*/
  background: linear-gradient(0deg, rgba(9, 55, 125, 0.6) 0%, transparent);
}

.gradient-wrapper.gradiant-wrapper1 {
  /*  background: radial-gradient(
    circle at bottom center, 
    rgba(9, 55, 125, 0.6) 0%,     
    rgba(5, 35, 90, 0.85) 35%,    
    rgba(2, 20, 50, 0.95) 60%,    
    rgba(0, 0, 0, 1) 85%          
  );
  background-color: #000; */
  background-blend-mode: normal;
  padding: 60px 0;
}

.case-study-swiper {
  height: 470px;
}

@media (max-width: 767.98px) {
  .testimonials-bg {
    margin-bottom: 20px;
  }

  /* Extra card styling to match design */
  .case-card {
    width: 95%;
  }

  .enesco-slide {
    width: 70% !important;
  }

  .resp-num {
    margin-top: -45px;
  }

  .ethics-section {
    padding: 30px;
  }

  .case-study-content {
    padding-left: 0px;
  }
}

/*.service-card-btn1{
  margin-top: 45px;
}

.service-card-btn3{
  margin-top: 15px;
}*/

.future-ai-badge {
  background: #071936;
  color: #cbcdd0;
  box-shadow: 0 4px 8px #121212;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.9rem;
  display: inline-block;
}

.dark-hero-title {
  color: #fff;
}

.dark-hero-subtitle {
  color: #cfc4c4;
}

.dark-number-wrapper {
  /*background: #0F0b19;
  box-shadow: 0px 0px 6px 2px #27344e;*/
  background: #0b0f19;
  box-shadow: 0px 0px 20px 4px #232933;
}

.dd-service-card1 {
  background: #0e2038 !important;
}

.dark-case-card1 {
  background: #000 !important;
}

.all-service-label {
  font-size: 2.2rem;
  font-weight: 600 !important;
  margin-bottom: 3.5rem !important;
  color: var(--si-breadcrumb-color) !important;
}

.service-home {
  color: #d4cccc !important;
}

.service-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.service-list-card {
  min-height: 380px;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-list-card:hover {
  transform: translateY(-5px);
}

.service-list-card-light {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.service-list-card-dark {
  box-shadow: 0 4px 12px rgba(42, 54, 71, 0.3) !important;
}

.view-all-services-btn {
  background: #003785;
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 500;
}

.view-all-services-btn:hover {
  color: #fff;
  background-color: #003c91;
  border-color: #003c91;
}

/* Custom Bootstrap Gutter Overrides */
.services-wrapper {
  --si-gutter-x: 4rem;
  --si-gutter-y: 4.5rem;
}

.service-short-desc {
  margin-bottom: 4.5rem !important;
}

.service-div-card {
  margin-bottom: 58px;
  padding: 3.5rem !important;
}

.our-work-ethics-sec {
  margin-top: 8rem !important;
  /*  margin-bottom: 30rem !important;*/
  padding-top: 3rem !important;
  padding-bottom: 8rem !important;
}

.tech-scroll-indicator {
  cursor: pointer;
}

.work-ethic-section-light {
  background: linear-gradient(
    to top,
    rgba(162, 188, 225, 0.15) 0%,
    rgba(255, 255, 255, 0.95) 100%
  );
  padding: 80px 0;
}

.work-ethic-section-dark {
  background: linear-gradient(to top, #021024 0%, #010b17 50%, #0b0f19 100%);
  padding: 80px 0;
  color: #ffffff;
}

.section-subtitle {
  font-size: 14px;
  color: #617085;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.dark-mode .section-subtitle {
  color: #25518d;
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.ethic-card-light {
  /*  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(162, 188, 225, 0.15) 100%);*/
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(162, 188, 225, 0.3) 100%
  );
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 30px;
  transition: transform 0.3s ease;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 100px;
}

/*
.ethic-card-dark {
  background: radial-gradient(circle at bottom right, #0b1d35 0%, #0a0f1c 40%, #000000 100%);
  box-shadow:
    12px 0 24px rgba(92, 124, 166, 0.25),
    0 0 24px rgba(92, 124, 166, 0.15),
    0 6px 12px rgba(92, 124, 166, 0.12),
    0 -6px 12px rgba(92, 124, 166, 0.08);
  border-radius: 20px;
  padding: 30px;
  transition: transform 0.3s ease;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 100px;
  color: #ffffff;
}
*/
.ethic-card-dark {
  background: radial-gradient(
    circle at bottom right,
    #0b1a3c 0%,
    #02142a 60%,
    #010d1a 100%
  );
  box-shadow: 0 0 12px rgba(80, 120, 180, 0.3),
    /* very soft outer glow */ inset 0 0 8px rgba(80, 120, 180, 0.1);
  border-radius: 20px;
  padding: 30px;
  transition: transform 0.3s ease;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 100px;
  color: #ffffff;
}

.ethic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(11, 26, 60, 0.6); /* Stronger hover glow in blue */
}

.ethic-card {
  background: linear-gradient(160deg, #ffffff 0%, #f3f7ff 100%);
  border-radius: 20px;
  padding: 26px 22px;
  min-height: 343px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 8px 26px rgba(22, 38, 66, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-ethic-card-badge {
  color: #617085;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  padding: 4px 10px;
  border-radius: 13px;
  background: #eef4fe;
  margin-bottom: 16px;
  white-space: nowrap;
}

.work-ethic-card-badge-light {
  background: #eef4fe;
}

.work-ethic-card-badge-dark {
  background: #2a2f39;
  color: #96a3b3;
}

.ethic-card-text-light {
  color: #1e1e1e;
  font-size: 21px;
  font-weight: 500;
  text-align: left;
}

.ethic-card-text-dark {
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  text-align: left;
}

.ethic-card-text {
  color: #1f2a3a;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  margin-bottom: 0;
  text-align: left;
}

.service-card-light-g {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    /* Pure white start */ rgba(255, 255, 255, 1) 55%,
    /* Keep pure white until 50% */ rgba(255, 255, 255, 0.9) 65%,
    /* Slight fade starts */ rgba(255, 255, 255, 0.6) 75%,
    /* Gradual fade */ rgba(255, 255, 255, 0.3) 90%,
    /* Almost transparent */ transparent 100% /* Fully clear at bottom */
  );
  margin-top: -2px;
}

.service-card-dark-g {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    /* Pure black start */ rgba(0, 0, 0, 1) 55%,
    /* Keep pure black until 55% */ rgba(0, 0, 0, 0.9) 65%,
    /* Slight fade starts */ rgba(0, 0, 0, 0.6) 75%,
    /* Gradual fade */ rgba(0, 0, 0, 0.3) 90%,
    /* Almost transparent */ transparent 100% /* Fully clear at bottom */
  );
  margin-top: -2px;
}
.service-card-light-dark {
  top: 2px; /* local fix */
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 55%,
    rgba(255, 255, 255, 0.9) 65%,
    rgba(255, 255, 255, 0.6) 75%,
    rgba(255, 255, 255, 0.3) 90%,
    transparent 100%
  );
  margin-top: -2px;
}

.custom-transparent-btn {
  background-color: transparent;
  color: #fff; /* white text */
  border: 2px solid #fff; /* white border */
  transition: background-color 0.3s, color 0.3s;
}

.custom-transparent-btn:hover {
  background-color: #fff;
  color: #000; /* black text on hover */
}

.card-faq .faq-card-body,
.card-faq .faq-card-footer {
  z-index: 2; /* Make sure content stays above overlay */
  position: relative;
}

/* Custom circle arrow on right */
.faq-accordion-toggle-button::after {
  /*    background-color: #fff !important;*/
  background-color: transparent !important;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.2) !important;
  color: #000 !important;
}

.faq-accordion-toggle-button:not(.collapsed)::after {
  background-color: var(--si-accordion-btn-icon-box-active-bg) !important;
}

/*.faq-accordion-toggle-button:not(.collapsed)::after {
    background-image: none !important;
    transform: var(--si-accordion-btn-icon-transform);
}*/

.faq-card {
  border: none !important;
}

.faq-section {
  /*  position: relative;*/
  z-index: 1;
  /*  margin-top: 7rem !important;
  margin-bottom: 30rem !important;*/
}

.faq-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px; /*
    background: linear-gradient(to top, #F8FAFD 0%, rgba(255, 255, 255, 0) 100%);*/
  pointer-events: none;
  z-index: 2;
}

.service-detail-knowledgeB-light {
  /*  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(162, 188, 225, 0.15) 100%);*/
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(162, 188, 225, 0.3) 100%
  );
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-detail-knowledgeB-dark {
  background: linear-gradient(145deg, #000 0%, #001e4a 100%);
  box-shadow: 0 4px 20px #243957;
}

.service-detail-knowledgeB {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(162, 188, 225, 0.3) 100%
  ) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

html.dark-mode .service-detail-knowledgeB {
  background: linear-gradient(145deg, #000 0%, #001e4a 100%) !important;
  box-shadow: 0 4px 20px #243957;
}

/*

.methodology-card {
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    height: 80%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    color: #fff;
    transition: transform 0.4s ease;
}*/
.service-details-intro-sec {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
}

.methodology-card {
  backdrop-filter: blur(12px); /* Frosted blur effect */
  border: 1px solid rgba(255, 255, 255, 0.15); /* Soft white border */
  border-radius: 16px;
  padding: 20px;
  height: 85%;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); /* subtle dark shadow */
  background: rgba(102, 126, 170, 0.2);
}

.swiper-slide {
  display: flex;
  height: auto;
}

.swiper-wrapper {
  align-items: stretch;
}

.methodology-step {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 15px;
  color: #fff;
  font-size: 12px;
  border-radius: 20px;
  background: #667eaa;
  width: 80px;
}

.methodology-card h5 {
  color: #fff;
  font-size: 24px;
  margin-top: 38%;
}

.methodology-card p {
  color: #ddd;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 30px;
}

.metho-swipper-wrapper {
  margin-top: 30px;
}

.methodology-swiper-slide {
  width: 380px !important;
  margin-right: 60px !important;
}

.methodology-slide-wrapper {
  padding: 0px 40px 40px 40px;
}

/* Make only active (center) card taller */
.swiper-slide-active .methodology-card {
  transform: scale(1.05); /* slightly bigger */
  height: 400px; /* taller height for active card */
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.swiper-pagination-methodology .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}

.swiper-pagination-methodology {
  bottom: 0.25rem !important;
}

.swiper-pagination-methodology .swiper-pagination-bullet-active {
  opacity: 1;
  width: 20px;
  border-radius: 10px;
}

h3.text-white {
  position: relative;
  z-index: 10;
}

.stats-box-service {
  display: flex;
  justify-content: center;
  gap: 30px; /* space between items */
}

.service-details-benefits {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 12rem;
  padding-top: 8rem;
}

.service-brand-corousel {
  padding-top: 11rem !important;
  /*  padding-bottom: 3rem !important;*/
}

.faq-section-light {
  background: linear-gradient(to top, #d7e4f5 0%, #f3f7fb 0% 0%, #ffffff 50%);
}

.faq-section-dark {
  background: linear-gradient(to top, #021024 0%, #010b17 50%, #0b0f19 100%);
}

.faq-section-dark .faq-card {
  background: transparent !important;
  border: none;
  box-shadow: none;
}

.faq-section-dark .accordion-item {
  background: transparent !important;
  border-bottom: 1px solid #444; /* thin gray line after each item */
  margin-bottom: 0; /* remove gap between items */
  border-radius: 0;
}

/*.faq-section-dark .faq-accordion-button::after {
    background-color: #000 !important;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2) !important;
    color: #000 !important;
}*/

.faq-section-dark .faq-accordion-item {
  padding: 0 0.25rem 1rem;
  border-bottom: 1px solid #2f3449 !important;
}

.faq-section-light .faq-accordion-item {
  padding: 0 0.25rem 1rem;
  border-bottom: 1.5px solid #eef6ff !important;
}

.accordion-button:not(.collapsed)::after {
  color: #000 !important;
}

/*.faq-card {
    background: linear-gradient(to top, #021024 0%, #010b17 50%, #000000 100%) !important;
    border: none;
    box-shadow: none;
}
*/
.stats-box-service {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

@media (max-width: 767px) {
  .faq-section .col-md-5,
  .faq-section .col-md-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .faq-section {
    margin-bottom: 45rem !important;
  }
  /* .service-list-hero-section{
    height: 11% !important;
  }*/
}
.service-list-hero-section {
  height: 17%;
}
.service-cat-dark {
  color: #679ae3 !important;
}

.work-ethic-heading {
  margin-bottom: 2rem !important;
  font-size: 2.5rem !important;
}

.hero-section-dark-g::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #0b0f19 100%);
  pointer-events: none;
  z-index: 2;
}

.home-hero-sec-container {
  padding-top: 7rem !important;
  padding-bottom: 5rem !important;
  position: relative;
  z-index: 2;
}

.hero-section-light-g::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    #fff 100%
  ) !important;
  pointer-events: none;
  z-index: 1;
}

/*.home-flagship-section{
  padding-top: 12rem !important;
  padding-bottom: 12rem !important;
}*/

.service-detail-faq-card {
  min-height: 600px;
  max-height: 600px;
}

/*.stats-wrapper-section{
  margin-top: 12rem !important;
  margin-bottom: 12rem !important;
}
*/
/* Light Mode */
html:not(.dark-mode) .blog-section-fade::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    /* fully transparent at the top */ rgba(255, 255, 255, 0.6) 60%,
    /* start blending */ #ffffff 100% /* solid white at the bottom */
  );
  pointer-events: none;
  z-index: 2;
}

/* Dark Mode */
/*html.dark-mode .blog-section-fade::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom,
    rgba(0,3,8,0) 0%,         
    rgba(0,3,8,0.6) 60%,     
    #000308 100%             
  );
  pointer-events: none;
  z-index: 2;
}*/

html.dark-mode .blog-auth-name {
  color: #5c87c3;
}

/*.single-scroller{
  scroll-snap-align: start;
}

.scroller{
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
.navbar-sticky{
  position: sticky;
  top: 0;
  z-index: 99;
  background: white;
  box-shadow: 0 0 10px #ccc;
}*/

.navbar-sticky {
  position: sticky;
  top: 0;
  height: 80px;
  background: white;
  /*
   * Must sit above in-page `z-10` layers (e.g. Technical Pulse cards use
   * `relative z-10` for content over watermark icons). With z-index 10 here the
   * navbar tied those cards; equal z-index + DOM order (header first, page
   * content after) meant scrolled content painted over the sticky header.
   * Bootstrap’s navbar / sticky-top convention is ~1030.
   */
  z-index: 1030;
}
.dark-mode .navbar-sticky {
  background: black;
}

.scroller {
  height: calc(100vh);
  overflow-y: scroll;
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}

.single-scroller {
  min-height: calc(100vh);
  scroll-snap-align: start;
  padding-top: 80px !important;
}
.scroll-header {
  scroll-snap-align: start;
  height: 80px;
}
.has-my-own-height {
  height: calc(100vh - 80px) !important;
}

.service-offer-card .pt-4 {
  min-height: 230px;
}

/*service list*/

.tech-hero-section {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Typography */
.tech-breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.tech-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 8px;
}

.tech-breadcrumb-current {
  color: #fff;
  font-weight: 400;
  font-size: 14px;
}

.tech-hero-title {
  font-size: 3.4375rem;
  font-weight: 600 !important;
  color: #fff !important;
}

.tech-title-accent {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #00b7ff, #0099cc);
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(0, 183, 255, 0.6);
  animation: accentGlow 2s ease-in-out infinite;
}

.tech-hero-description {
  color: #e0e6ed;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 520px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-family: poppins;
}

.tech-scroll-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 14px;
  margin-top: 2rem;
  font-weight: 500;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}
.services_hero_left_sec {
  width: 85%;
  margin-left: 26px;
}

@media (max-width: 576px) {
  .tech-hero-title {
    font-size: 2rem;
  }
}

.service-detail-hero-left {
  width: 85%;
  margin-left: 20px;
}

.service-detail-title {
  font-size: 3.3rem;
  font-weight: 500 !important;
}

.right-card h2 {
  font-size: 2.3rem;
  font-weight: 500;
  color: #afcbf1;
  line-height: 1.4;
}

.right-card p {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.right-card .btn-schedule {
  padding: 0.8rem 1rem;
  width: 180px;
  border-radius: 40px;
}

.equal-height-card {
  height: 580px !important; /* fixed height */
}

.case-study-btn-schedule {
  width: 150px;
  color: #fff !important;
}

.get-ready-case-study {
  padding: 2.5rem !important;
}
.get-ready-case-study-left {
  padding: 1rem !important;
}

.caseStudy-yours {
  color: #fff;
  font-weight: 500 !important;
  font-size: 30px;
}
.equal-height-card {
  min-height: 460px;
}

.get-ready-case-study-cards {
  width: 47%; /* mobile default */
}

@media (min-width: 768px) {
  .get-ready-case-study-cards {
    width: 48% !important;
  }
}

.get-ready-case-study-cards {
  width: 47% !important;
}

@media (max-width: 768px) {
  .equal-height-card img {
    max-height: 160px;
  }
}

.custom-gap-x {
  display: flex;
  gap: 2.7rem;
}
/*.get-ready-case-study-cards{
  width: 48% !important;
}*/

.btn-contact-case-study {
  padding: 0.8rem 1rem;
  width: 180px;
  border-radius: 40px;
  color: #fff !important;
}

.result-driven-info {
  color: #679ae3 !important;
  width: 42%;
  margin: 0 auto;
}

.case-s-container {
  background: linear-gradient(
    to top,
    #d7e4f5 0%,
    #f3f7fb 50%,
    #ffffff 100%
  ) !important;
  padding-bottom: 5rem !important ;
}

html.dark-mode .case-s-container {
  background: linear-gradient(
    to top,
    #021024 0%,
    #010b17 50%,
    #0b0f19 100%
  ) !important;
  padding-bottom: 5rem !important;
}
/* Enhanced background image integration */
.tech-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 20, 40, 0.3) 0%,
    rgba(0, 50, 100, 0.2) 50%,
    rgba(0, 100, 200, 0.1) 100%
  );
  z-index: 0;
}

.left-gradient-overlay-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 43%;
  height: 100%;
  pointer-events: none;
}

.tech-scroll-indicator {
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

.tech-scroll-indicator:hover {
  opacity: 0.8;
}

/*service list*/
.service-detail-hero-left {
  width: 82%;
  margin-left: 20px;
}

.service-detail-title {
  font-size: 3.3rem;
  font-weight: 500 !important;
}

.service-detail-des1 {
  color: #e0e6ed;
  margin-bottom: 60px !important;
}

/*case study details*/
.case-s-container {
  background: linear-gradient(
    to top,
    #d7e4f5 0%,
    #f3f7fb 50%,
    #ffffff 100%
  ) !important;
  padding-bottom: 5rem !important ;
  margin-top: 100px;
}

html.dark-mode .case-s-container {
  background: linear-gradient(
    to top,
    #021024 0%,
    #010b17 50%,
    #0b0f19 100%
  ) !important;
  padding-bottom: 7rem !important;
}

html.dark-mode .csd-card-body {
  background: #091a37;
  border-radius: 15px;
}

html.dark-mode .case-study-transform {
  background: linear-gradient(145deg, #000 0%, #001e4a 100%);
  box-shadow: 0 4px 20px #243957;
  padding: 40px !important;
}

.csd-card {
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: none !important;
}

.csd-card-body {
  background: #f4f7fb;
  border-radius: 15px;
}

.csd-card-title {
  font-size: 1.4rem;
}
.case-study-transform {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(162, 188, 225, 0.3) 100%
  );
  padding: 40px !important;
}

.case-study-detail-contact-now {
  margin: 30px 0px 30px 0px !important;
}

.share-case-study {
  margin-top: 50px;
}

.service-detail-hero-left {
  width: 85%;
  margin-left: 20px;
}

.service-detail-title {
  font-size: 3.3rem;
  font-weight: 500 !important;
}

.csd-tags-sec {
  margin-top: 30px;
}

.csd-tags {
  background: #d9e3f3;
  padding: 8px;
}

.csd-nav-text {
  font-size: 1rem;
  font-weight: 500;
  color: #c9ddea !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #c9ddea !important;
}
/*partners page*/
.partner-hero-subtitle {
  font-size: 13px !important;
}

html.dark-mode .partners-card-shadow {
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.12) !important;
  background: #0b0f19 !important;
}

html.dark-mode .contact-card-shadow {
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.12) !important;
  background: #0b0f19 !important;
}

.contact-hero-subtitle {
  opacity: 0.6;
  max-width: 400px !important;
  font-size: 15px !important;
}

.contact-form-label {
  font-weight: 500 !important;
}

.contact-form-div {
  max-width: 765px;
  margin: 45px 0px 45px 45px;
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
}

.dark-mode .contact-form-div {
  background: #0b0f1b !important;
}

.map-card-text {
  font-size: 15px !important;
}

.map-card-heading {
  font-size: 1.8rem;
  font-weight: 500;
}

.bg-white-contact-card {
  background: #fff !important;
}
.dark-mode .text-dark-contact span:not(.badge) {
  color: #fff !important;
  opacity: 0.7;
}
.dark-mode .bg-white-contact-card {
  background: #000 !important;
}

.dark-mode .contact-map-section {
  background: linear-gradient(to top, #021024 0%, #010b17 50%, #0b0f19 100%);
  padding: 80px 0;
  color: #ffffff;
}

.dark-mode .contact-cards-text {
  color: #2f70cc !important;
}

.faq-hero-title {
  font-size: 2.5rem !important;
}

.faq-answer-title {
  font-size: 32px !important;
}

.faq-s-container .accordion-collapse.collapse,
.faq-s-container .accordion-collapse.collapsing {
  visibility: visible !important;
}

.faq-section1 .accordion-collapse.collapse,
.faq-section1 .accordion-collapse.collapsing {
  visibility: visible !important;
}

.faq-industry-details .accordion-collapse.collapse,
.faq-industry-details .accordion-collapse.collapsing {
  visibility: visible !important;
}

.faq-cards {
  font-weight: 600 !important;
}

.faq-card-btn {
  font-weight: 500;
}

/*.faq-faq-accordian-item{
 box-shadow: inset 0 -1px 1px rgba(0, 123, 255, 0.15) !important; 
}*/

.faq-s-container {
  background: linear-gradient(
    to top,
    #d7e4f5 0%,
    #f3f7fb 50%,
    #ffffff 100%
  ) !important;
}

.faq-border-bottom {
  /*  box-shadow: inset 0 -1px 1px rgba(0, 123, 255, 0.15) !important;*/
  border-bottom: 1px solid rgba(0, 123, 255, 0.15) !important;
}

.dark-mode .contact-card {
  background-color: #0b0f19 !important;
}

.dark-mode .faq-s-container {
  background: linear-gradient(
    to top,
    #021024 0%,
    #010b17 50%,
    #0b0f19 100%
  ) !important;
}

.dark-mode .faq-page-accordians {
  background: #0b1120 !important;
}

.dark-mode .faq-hero-title {
  color: #fff !important;
}

.light-mode .faq-page-accordians1 {
  box-shadow: 0 0.275rem 1.25rem rgba(11, 15, 25, 0.05),
    0 0.25rem 0.5625rem rgba(11, 15, 25, 0.03) !important;
}

.dark-mode .faq-page-accordians1 {
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.12) !important;
}

.organize-free-trial {
  color: #679ae3;
  font-size: 1.3rem;
}

.dark-mode .career-cards {
  background: #0b0f1a !important;
}

.career-emp-type {
  padding: 10px;
  font-weight: 400 !important;
  color: #617085 !important;
}

.dark-mode .career-emp-type {
  padding: 10px;
  background-color: #353d53 !important;
}

.emp-type-divider {
  height: 30px;
  width: 1.5px !important;
  background-color: #e9e9e9 !important;
}

.dark-mode .emp-type-divider {
  height: 30px;
  width: 1.5px !important;
  background-color: #353d53 !important;
}

.careers-hero-subtitle {
  font-size: 15px !important;
}

.text-career-date {
  color: #617085 !important;
}

.careers-description {
  color: #617085 !important;
}

.blog-hero-sec-container {
  padding-top: 7rem !important;
  padding-bottom: 4rem !important;
  position: relative;
  z-index: 3;
}

.blog-hero-title {
  font-size: 2rem !important;
  max-width: 720px !important;
}

.blog-list-div {
  margin-top: 75px !important;
}

.mt-4-5rem {
  margin-top: 4.5rem !important;
}

.post-service-title {
  padding: 0.8rem;
  font-weight: 50;
  opacity: 0.7;
}

.dark-mode .post-service-title {
  padding: 0.8rem !important;
  font-weight: 50 !important;
  opacity: 0.7 !important;
  background-color: #2a2f39 !important;
  color: #fff !important;
}

.dark-mode .home-page-dark-title {
  color: #679ae3 !important;
}

/*scroll up animination*/
@keyframes bounce-up {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0; /* no vertical gap */
  line-height: 0.2; /* very tight line spacing */
}

.scroll-arrow i {
  font-size: 26px;
  color: white;
  animation: bounce-up 1.2s infinite;
  margin-top: -4px; /* optional: overlap slightly */
}
.tech-scroll-indicator .uil-angle-up:before {
  line-height: 0.5 !important;
}

.dark-mode .blog-service {
  opacity: 0.9 !important;
  background-color: #96a3b3 !important;
  color: #000 !important;
}

.dark-mode .blog-service {
  opacity: 1.1 !important;
  background-color: #96a3b3 !important;
  color: #000 !important;
}

.blog-service {
  opacity: 1.1 !important;
  background-color: #f3f6ff !important;
}

html:not(.dark-mode) .blog-list-hero-section {
  background: radial-gradient(
    circle at top center,
    #d7e4f5 0%,
    #f3f7fb 50%,
    #ffffff 100%
  );
  background-blend-mode: lighten;
  padding-top: 80px !important;
}

.dark-mode .blog-list-hero-section {
  padding-top: 80px !important;
  background: radial-gradient(
    ellipse at top center,
    rgba(9, 55, 125, 0.6) 0%,
    /* soft rich blue center */ rgba(5, 35, 90, 0.85) 25%,
    /* deep navy */ rgba(2, 20, 50, 0.95) 55%,
    /* very dark navy */ #0b0f19 85% /* pure black edges */
  );
  background-color: #000; /* fallback color */
  background-blend-mode: normal;
}

html:not(.dark-mode) .blog-list-dark-mode-bottom {
  display: block !important;
  height: 120px;
  background: linear-gradient(
    to top,
    #d7e4f5 0%,
    #f3f7fb 50%,
    #ffffff 100%
  ) !important;
  pointer-events: none;
  z-index: 3;
}

html:not(.dark-mode) .blog-list-content {
  color: #000 !important;
  opacity: 0.7;
}

.blog-list-content {
  color: #8191b0 !important;
  /*  opacity: 0.7;*/
}

.blog-list-title {
  color: #000 !important;
}

.blog-detail-title {
  font-size: 2.4rem !important;
}

.blog-d-tags {
  background: #d9e3f3;
  padding: 11px 15px 11px 15px;
}

.blog-d-contact-form-gradient {
  background: linear-gradient(
    to top,
    #d7e4f5 0%,
    #f3f7fb 50%,
    #ffffff 100%
  ) !important;
  padding-bottom: 5rem !important;
}

.dark-mode .blog-d-contact-form-gradient {
  background: linear-gradient(
    to top,
    #021024 0%,
    #010b17 50%,
    #0b0f19 100%
  ) !important;
  padding-bottom: 5rem !important;
}

.img-dark {
  display: none;
}

.dark-mode .img-light {
  display: none;
}

.dark-mode .img-dark {
  display: inline;
}

.about-hero-subtitle {
  font-size: 15px !important;
  margin-top: -15px !important;
}

.about-hero-sec-container {
  padding-bottom: 5.5rem !important;
  padding-top: 4rem !important;
}

.dark-mode #dark-about-hero-subtitle {
  color: #a2bce1 !important;
}

.about-cust-stats-dark-title {
  font-weight: 600 !important;
  font-size: 2.5rem !important;
}

.dark-mode .about-cust-stats-dark-title {
  color: #fff !important;
}

.dark-mode .about-stats-desc {
  color: #a2bce1 !important;
}

html:not(.dark-mode) .about-stats-desc {
  opacity: 0.7;
}

.about-mission-container {
  margin-top: 7rem !important;
  margin-bottom: 7rem !important;
}

.our-mission-cards {
  padding: 25px 70px 25px 70px !important;
}

@media (max-width: 991.98px) {
  .our-mission-cards {
    padding: 1.25rem 1.5rem !important;
  }
}

.our-mission-cards-text {
  margin-left: 25px;
}

.about-brand-carosal-container {
  padding-bottom: 6rem !important;
}

.ind-serve-slides {
  display: block !important;
}

.about-ind-slide-title {
  font-size: 1.2rem !important;
}

.dark-mode .about-ind-slide-title {
  color: #679ae3 !important;
}

.industry-card p {
  font-size: 1rem !important;
  color: #000 !important;
  opacity: 0.7;
}

.about-ind-serve-swiper {
  height: 265px;
}

.about-cloud-dev {
  padding-top: 14rem !important;
}

.industry-list-des {
  margin-top: 30px !important;
}

.dark-mode .service-short-desc {
  color: #98aac2 !important;
}

.ind-our-work-ethics-sec {
  padding-bottom: 55px !important;
}

.faq-hero-subtitle {
  max-width: 745px !important;
}

.dark-mode .industry-accordion-item {
  background: #0b1120 !important;
}
.industry-section-subtitle {
  text-align: center;
  color: #003087;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 5px;
}

.industry-section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 40px;
  color: #1d1d1f;
}

.dark-mode .industry-section-title {
  color: #fff;
}

.industry-accordion-button .icon {
  background-color: var(--bs-primary);
  color: #fff;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.industry-accordion-button {
  border-radius: 15px !important;
  box-shadow: 0 0 16px rgb(8 47 89 / 0%) !important;
}

.dark-mode .industry-accordion-button {
  box-shadow: 0 8px 30px rgba(12, 21, 36, 0.6) !important;
}

.industry-accordion-button::after {
  color: #000 !important;
  box-shadow: 0 0 25px rgba(162, 188, 225, 0.45) !important;
  background-color: transparent !important;
}

.industry-accordion-button:not(.collapsed)::after {
  background-color: var(--si-accordion-btn-icon-box-active-bg) !important;
}

.dark-mode .industry-accordion-button::after {
  box-shadow: 0 0 16px rgba(0, 123, 255, 0.25) !important;
}

.tech-architec-faq-row {
  margin-top: 4rem !important;
}

.beforeAfterAI {
  color: #0047ab;
  line-height: 3rem;
}

.kpiCounterHeading {
  font-size: 25px;
}

.dark-mode .kpiCounterHeading {
  color: #fff !important;
}

.defectScrapGap {
  gap: 8rem !important;
}

.escapeScrapNum {
  background: #d3f0d3;
  color: #008100 !important;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 10px 6px 10px;
}

.dark-mode .escapeScrapNum {
  background: #103221 !important;
  color: #8fed8f !important;
}
.defectScrapBg {
  background: #e5edf9;
  color: #000 !important;
  text-align: left;
  width: 130px;
}

.dark-mode .defectScrapBg {
  background: #1f2637 !important;
  color: #fff !important;
  opacity: 0.7;
}

.beforeAfterAIWidth {
  width: 110px !important;
}

.kpi-dashboard-box {
  box-shadow: 0 8px 30px rgba(217, 227, 243, 0.8);
  border-radius: 25px;
  padding: 4.5rem !important;
}

.dark-mode .kpi-dashboard-box {
  box-shadow: rgba(0, 71, 171, 0.15) 0px 4px 20px;
  background: #0b1120 !important;
}

.gauge-value {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
  color: #000;
  font-size: 15px;
  margin-top: -22px;
}

.dark-mode .gauge-value {
  color: #fff;
}

.industry-detail-des {
  color: #e0e6ed;
  margin-bottom: 60px !important;
  max-width: 570px;
  font-size: 18px;
  opacity: 0.9;
}

.dark-mode .beforeAfterAI {
  color: #679ae3 !important;
}

.industry-nav-text {
  color: #fff;
  opacity: 0.7;
  font-weight: 500;
  font-size: 16px;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 215px;
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 71, 171, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

.flip-front {
  background: #fff;
}

.dark-mode .flip-front {
  background: #0b1120;
}

.flip-back {
  background: #e5edf9;
  color: #000;
  transform: rotateY(180deg);
}

.dark-mode .flip-back {
  background: #091a37;
}
.flip-title {
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #00183a;
  text-align: left;
}

.dark-mode .flip-title {
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;
  text-align: left;
}

.flip-desc {
  margin-top: 1.5rem;
  font-size: 1rem;
  text-align: left;
  color: #000;
  opacity: 0.9;
}

.dark-mode .flip-desc {
  margin-top: 1.5rem;
  font-size: 1rem;
  text-align: left;
  color: #fff;
  opacity: 0.7;
}

.pain-point-heading {
  font-weight: 500;
  font-size: 25px;
  margin-bottom: 4rem !important;
}

.aiFixBtn {
  color: #0047ab !important;
  font-weight: 600 !important;
}

.dark-mode .aiFixBtn {
  color: #2f70cc !important;
  font-weight: 600 !important;
}

.workflow-section-container,
.ai-solution-container {
  margin-top: 7rem !important;
}

.work-section-heading {
  color: #fff;
  font-weight: 600;
}

.workflow-header {
  text-align: center;
  margin-bottom: 60px;
  color: white;
}

.workflow-section,
.ai-solution-container {
  border-radius: 20px;
}

.ai-solution-container {
  padding: 5rem 5rem 5rem 5rem;
}

.get-tech-pdf-btn {
  font-weight: 600;
  text-decoration: none;
  margin-left: 13px;
}
.dark-mode .get-tech-pdf-btn {
  color: #679ae3 !important;
}

.ai-card-section {
  background-color: #f2f7ff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.dark-mode .ai-card-section {
  background: #0b0f19;
}

.ai-card-section.d-none {
  display: none;
}

.ai-card-section.active {
  display: block;
}

.solution-badge {
  border: 1px solid #ffffff50;
  background-color: transparent;
  color: #fff;
  border-radius: 50px;
  padding: 6px 20px;
  transition: all 0.3s ease;
  opacity: 0.7;
  font-weight: 100;
}

.solution-badge:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.solution-badge.active {
  background-color: #fff;
  color: #0047ab;
  font-weight: 500;
  opacity: inherit;
}

/*workflow*/
.workflow-card-nav a.disabled {
  pointer-events: none;
  opacity: 0.5;
  text-decoration: none;
}

.workflow-card-box {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.dark-mode .workflow-card-box {
  background: #0b0f19 !important;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.workflow-step-card {
  background-color: #f1f6fd;
  border-radius: 15px;
  transition: opacity 0.3s ease-in-out;
  display: block;
  min-height: 220px; /* Set minimum height if needed */
}

.dark-mode .workflow-step-card {
  background-color: #091a37 !important;
  border-radius: 15px;
  transition: opacity 0.3s ease-in-out;
  min-height: 220px; /* Set minimum height if needed */
}

.step-content {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.workflow-card-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 14px;
}

.workflow-card-nav a {
  text-decoration: none;
  font-weight: 600;
}

.workflow-arrow {
  margin-left: 5px;
  display: inline-block;
  transform: translateY(1px);
}

.lane-icon {
  background: #0047ab;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.lane-title {
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.hidden {
  display: none;
}

.blueprint-card-section {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  margin-left: 40%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.blueprint-card-section.d-none {
  display: none;
}

.blueprint-card-section.active {
  display: block;
}

.blueprint-solution-badge {
  border: 1px solid #ffffff50;
  background-color: transparent;
  color: #fff;
  border-radius: 50px;
  padding: 6px 20px;
  transition: all 0.3s ease;
  opacity: 0.7;
  font-weight: 100;
}

.blueprint-solution-badge:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.blueprint-solution-badge.active {
  background-color: #fff;
  color: #0047ab;
  font-weight: 500;
  opacity: inherit;
}

.phase_cards_title {
  font-size: 20px;
  color: #fff;
  font-weight: 500 !important;
  margin-left: 15px;
}

.blueprint-card-text {
  font-size: 16px;
  color: #fff;
  opacity: 0.9;
}

.cardContainer {
  position: relative;
  min-height: 225px;
}

.case-study-flagship {
  border: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 71, 171, 0.3) !important;
}

.dark-mode .case-study-flagship {
  background: #0b1120;
  box-shadow: 0 6px 18px rgba(24, 32, 45, 0.4),
    /* reduced deep gray shadow */ 0 5px 14px rgba(30, 45, 60, 0.3),
    /* reduced rich dark layer */ 0 3px 10px rgba(180, 180, 180, 0.06) !important; /* reduced soft gray highlight */
}

.flagship-project-title {
  font-size: 20px;
  font-weight: 500 !important;
}

.flagship-project-content {
  margin-top: 10px;
  margin-left: 15px;
  text-align: left;
}

.flagsship-project-section {
  margin-top: 7rem !important;
}

.flagship-card-section {
  margin-left: 40%;
}

#resultsSection .flagship-card-section {
  margin-left: 15%;
}

.flagship-card-section.d-none {
  display: none;
}

.flagship-card-section.active {
  display: block;
}

.flagship-solution-badge {
  border: 1px solid #ffffff50;
  background-color: transparent;
  color: #fff;
  border-radius: 50px;
  padding: 6px 20px;
  transition: all 0.3s ease;
  opacity: 0.7;
  font-weight: 100;
}

.dark-mode .flagship-project-title {
  color: #679ae3 !important;
  font-weight: 400 !important;
  font-size: 17px !important;
}

.flagship-solution-badge:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dark-mode .revenue-boost-title {
  color: #679ae3 !important;
}

.flagship-solution-badge.active {
  background-color: #fff;
  color: #0047ab;
  font-weight: 500;
  opacity: inherit;
}

.trustBadgeSection {
  margin-top: 5rem !important;
}

.fast-lane-content {
  font-size: 20px;
  font-weight: 500;
}

.choose-badge-tag {
  display: inline-block;
  background-color: rgba(208, 225, 255, 0.5);
  color: #647a9c;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.dark-mode .choose-badge-tag {
  background: #2a2f39;
  color: #939faf;
}

.loss-badge-tag {
  display: inline-block;
  background-color: #d9e3f3 !important;
  color: #647a9c !important;
  font-weight: 500;
  font-size: 0.6rem;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  margin-bottom: 0.75rem;
}

.dark-mode .loss-badge-tag {
  background-color: #21314a !important;
  color: #fff !important;
  opacity: 0.9;
}

.choose-custom-gradient {
  background: radial-gradient(
      circle at 0% 100%,
      rgba(233, 240, 248, 0.85) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 100% 0%,
      rgba(233, 240, 248, 0.85) 0%,
      transparent 60%
    ),
    #ffffff; /* Base color */
  box-shadow: 0 8px 24px rgba(78, 124, 247, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.02);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease-in-out;
}

.dark-mode .choose-custom-gradient {
  background: radial-gradient(
      circle at 0% 100%,
      rgba(0, 71, 171, 0.15) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 100% 0%,
      rgba(0, 71, 171, 0.15) 0%,
      transparent 60%
    ),
    #0b1120;
}
.choose-custom-gradient:hover {
  transform: translateY(-4px);
}

.choose-card-content {
  font-size: 21px !important;
}

.why-choose-section {
  background: linear-gradient(
    to top,
    #d7e4f5 0%,
    #f3f7fb 50%,
    #ffffff 100%
  ) !important;
  padding-bottom: 7rem !important;
  padding-top: 6rem !important;
}

.dark-mode .why-choose-section {
  background: linear-gradient(
    to top,
    #04132b 0%,
    #04132b 60%,
    #0b0f19 100%
  ) !important;
  padding-bottom: 7rem !important;
  padding-top: 6rem !important;
}

/* Video on right half */
.industries-hero-video {
  position: absolute;
  top: 0;
  left: 6vw;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}

/* Left image background (behind text) */
.industry-hero-image-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 47vw; /* ↓ reduced from 50vw */
  height: 100vh;
  background: url("/client/assets/img/industries/hero-banner.png") no-repeat
    center/cover;

  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

/* Overlay on top of video & image (but under text) */
.industry-tech-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    to right,
    rgba(2, 8, 32, 0.8) 20%,
    rgba(2, 8, 32, 0.4) 70%,
    rgba(2, 8, 32, 0.2) 100%
  );
  z-index: 2; /* slightly above visuals */
}

/* Ensure text content is always on top */
.service-list-hero-section .position-relative.z-3 {
  z-index: 3 !important; /* override everything below */
  position: relative;
}

.gauge-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  position: relative;
}

.badge-change {
  position: absolute;
  margin-top: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.industry-details-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.prod-prev {
  color: #5077b0;
}

.prod-prev {
  vertical-align: middle;
  color: #0047ab !important;
  margin-left: 10px;
}

.dark-mode .prod-prev {
  vertical-align: middle;
  color: #5077b0 !important;
  margin-left: 10px;
}

.dark-mode .comm-prev {
  color: rgb(80, 119, 176) !important;
}

.prod-next {
  vertical-align: middle;
  color: #0047ab !important;
  margin-left: 10px;
}

.dark-mode .prod-next {
  vertical-align: middle;
  color: #5077b0 !important;
  margin-left: 10px;
}

/* Default (light mode) */
.light-arrow {
  display: inline;
}
.dark-arrow {
  display: none;
}

/* When in dark mode */
html.dark-mode .light-arrow {
  display: none;
}
html.dark-mode .dark-arrow {
  display: inline;
}

.ai-solution-container {
  box-shadow: 0 10px 20px rgba(217, 227, 243, 0.6),
    0 20px 40px rgba(217, 227, 243, 0.4);
}

.dark-mode .ai-solution-container {
  box-shadow: 0 8px 30px rgba(0, 71, 171, 0.25);
}

.roi-strategy-container {
  box-shadow: 0 10px 20px rgba(217, 227, 243, 0.6),
    0 20px 40px rgba(217, 227, 243, 0.4);
}

.dark-mode .roi-strategy-container {
  box-shadow: 0 6px 18px rgba(24, 32, 45, 0.4),
    /* reduced deep gray shadow */ 0 5px 14px rgba(30, 45, 60, 0.3),
    /* reduced rich dark layer */ 0 3px 10px rgba(180, 180, 180, 0.06) !important; /* reduced soft gray highlight */
}

.fast-lane-container {
  box-shadow: 0 10px 20px rgba(217, 227, 243, 0.6),
    0 20px 40px rgba(217, 227, 243, 0.4);
}

.dark-mode .fast-lane-container {
  box-shadow: none;
}

html.dark-mode .view-industry-cs-outline.btn-outline-primary {
  color: #fff;
  border-color: #fff;
  opacity: 0.9;
}

html.dark-mode .view-industry-cs-outline.btn-outline-primary:hover,
html.dark-mode .view-industry-cs-outline.btn-outline-primary:focus {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

/* Default (light mode) */
.light-vector {
  display: inline;
}
.dark-vector {
  display: none;
}

/* When in dark mode */
html.dark-mode .light-vector {
  display: none;
}
html.dark-mode .dark-vector {
  display: inline;
}

.flagship-card-div {
  min-width: 240px;
  flex: 1;
  border-radius: 20px;
}

.dark-mode .flagship-card-div {
  background: #0b0f19 !important;
}

.flagship-card-head {
  color: #000 !important;
}

.dark-mode .flagship-card-head {
  color: #fff !important;
}

.dark-mode .flagship-card-year {
  color: #5e99ed !important;
}

/* Light mode default */
.light-trust {
  display: inline !important;
}
.dark-trust {
  display: none !important;
}

html.dark-mode .light-trust {
  display: none !important;
}
html.dark-mode .dark-trust {
  display: inline !important;
}

.dark-mode .why-choose-us-head {
  color: #5e99ed !important;
}

.pain-point-badges {
  text-align: center;
  margin-top: -50px;
}

.pain-badge-before-after {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.flip-desc-no-auto {
  margin-top: 0px !important;
}

.non-automatic-sb {
  padding: 6px 10px !important;
}

.dark-mode .calculator-section {
  background: #000;
}

.dark-mode .calculator-title {
  color: #fff;
}

/* Left image background (behind text) */
.logistics-hero-image-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 47vw; /* ↓ reduced from 50vw */
  height: 100vh;
  background: url("/client/assets/img/industries/logistics-banner.png")
    no-repeat center/cover;

  background-size: cover;
  z-index: 1;
  pointer-events: none;
}
/*roi cal*/

.calculator-section {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.calculator-title {
  font-size: 29px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  flex: 1;
}

.form-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #4a4a4a;
  margin-bottom: 8px;
}

.calculate-btn {
  background: #1e40af;
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.calculate-btn:hover {
  background: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.results-section {
  position: relative;
  min-height: 550px;
  overflow: hidden;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.card-value {
  font-size: 24px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0;
}

.results-hidden {
  display: none;
}

@media (max-width: 1024px) {
  .roi-strategy-container {
    padding: 40px 20px;
  }

  .calculator-section {
    padding: 30px;
    margin-bottom: 30px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .calculator-section {
    padding: 25px 20px;
  }

  .calculator-title {
    font-size: 28px;
  }

  /*.result-card {
        padding: 25px 20px;
    }*/

  .card-title {
    font-size: 18px;
  }

  .card-value {
    font-size: 22px;
  }
}

/* Workflow Section Responsive */
@media (max-width: 767px) {
  .workflow-section {
    padding: 30px 15px !important; /* smaller padding on mobile */
    background-size: cover;
    background-position: center;
  }

  .workflow-section-container .row {
    gap: 20px 0; /* reduce column gap for mobile */
  }

  .workflow-section-container .col-md-6 {
    flex: 0 0 100%; /* full width on mobile */
    max-width: 100%;
  }

  .workflow-card-box {
    margin-bottom: 25px; /* spacing between cards */
  }

  .workflow-step-card {
    padding: 20px !important; /* reduce padding inside cards */
  }

  .workflow-card-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .workflow-card-nav a {
    font-size: 14px;
  }
}

/* Responsive Fix for AI Solutions Section */
@media (max-width: 767px) {
  .ai-solution-container {
    padding: 30px 15px !important; /* reduce padding */
    background-size: cover;
    background-position: center;
  }

  .ai-solution-section .row {
    flex-direction: column; /* stack left and right columns */
  }

  .ai-solution-section .col-lg-6,
  .ai-solution-section .col-lg-5,
  .ai-solution-section .offset-lg-1 {
    max-width: 100%;
    flex: 0 0 100%;
    margin-left: 0 !important;
  }

  .ai-card-section {
    padding: 20px !important;
    min-height: auto; /* allow auto height */
    margin-bottom: 25px; /* spacing between cards */
    border-radius: 12px;
  }

  .ai-card-section h4,
  .ai-card-section p,
  .ai-card-section hr,
  .ai-card-section ul {
    margin-left: 0 !important; /* remove forced left margin */
  }

  .ai-card-section ul li {
    font-size: 14px;
    line-height: 1.5;
  }

  .solution-badge {
    font-size: 13px;
    padding: 6px 12px;
  }
}

@media (max-width: 767px) {
  .blueprint-card-section {
    margin-left: 0%;
  }

  .flagship-project-content {
    margin-left: 0px;
  }
}

/* LIGHT MODE — when HTML does NOT have `.dark-mode` */

html:not(.dark-mode) .swiper-pagination-bullet {
  background: #b8c0d0 !important; /* light grey */
  opacity: 1 !important;
}

html:not(.dark-mode) .swiper-pagination-bullet-active {
  background: #0052cc !important; /* blue active bullet */
  width: 28px !important; /* long pill */
  border-radius: 10px !important;
}

/* Desktop hover */
@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
  }
}

/* Mobile dropdown inside offcanvas */
@media (max-width: 991px) {
  #navbarNav .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  #navbarNav .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

.no-services-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.no-services-card {
  width: 100%;
  height: 120px;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 600;
  color: #555;
  text-align: center;
}

:root {
  --nav-text-color: #000;
}

html.dark-mode {
  --nav-text-color: #fff;
}

.navbar-nav .nav-link,
.dropdown-item,
.offcanvas .nav-link,
.offcanvas .dropdown-item {
  color: var(--nav-text-color) !important;
  transition: color 0s;
}

/* Footer columns: links are not under .navbar-nav; keep readable theme colors. */
.footer #footer-links .nav-link {
  color: var(--si-nav-link-color);
}

/*
 * Tailwind v4 defines a `.collapse` utility (visibility) that clashes with Bootstrap's
 * `.collapse` component. From lg up these panels should stay fully visible.
 */
@media (min-width: 992px) {
  .footer #footer-links .collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
    overflow: visible !important;
  }
}

/*about us page map*/

/* Navbar always on top */
.navbar.fixed-top {
  position: fixed;
  z-index: 2000 !important;
}

.world-map-overlay {
  position: relative;
  z-index: 1;
}

/* Pins */
.world-map-overlay span[id="world-map-pin"] {
  z-index: 2 !important;
}

/* Tooltips should NOT overlap navbar */
.tooltip {
  z-index: 1 !important;
}

@media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
  .flagship-card-div {
    min-width: 200px !important;
  }
}

.pagination {
  margin-bottom: 1rem !important;
}

/* =====================================================================
   Technologies details page scoped styles
   ===================================================================== */
/*
 * Structured technology detail sections use Inter (Tailwind `font-display` /
 * Laravel Play CDN) while the global Silicon body stack is Poppins. The rail
 * is unified under `.technologies-page { font-family: Inter }`; `font-display`
 * on hero / radar / dev matches Blade explicit opt‑in blocks; pulse, FAQ, final
 * CTA, and implementation reinforce Inter so Bootstrap cannot fall back to Poppins.
 *
 * Bootstrap theme paints every `span` under `.dark-mode .bg-white` with
 * `color: var(--si-body-color)` (~#565973) so white surfaces stay readable
 * (see `theme.css` Silicon rules near `.dark-mode .bg-white span`).
 *
 * Our Laravel-style blocks pair `bg-white` with Tailwind `dark:bg-slate-900`
 * (same class tokens as Blade). Tailwind swaps the computed background under
 * `html.dark-mode`, but Bootstrap still sees the `.bg-white` token on that
 * ancestor and forces grey body spans — so diagrams and radar metric rows read
 * as “blank” (near-zero contrast vs slate panels). Release text back to Tailwind /
 * subtree inheritance ONLY for these patterned surfaces inside `.technologies-page`.
 */
html.dark-mode .technologies-page .bg-white:is(.dark\:bg-slate-900, .dark\:bg-slate-800\/30, .dark\:bg-slate-900\/50, .dark\:bg-slate-900\/80) :is(span, p) {
  /* Undo Silicon `.dark-mode .bg-white span { color: var(--si-body-color) }` only.
     `revert` restores the winning author rule from earlier (Tailwind `text-*`
     utilities on the span) instead of trapping everything on `inherit`. */
  color: revert !important;
}

/*
 * Laravel sets no default text hue on `.technologies-page` itself — only Tailwind sections.
 * Leaving this rule would force slate-900 on the whole subtree in dark mode once `dark:text-*`
 * is active, wrestling with Blade’s intended contrasts. Omit the blanket override entirely.
 */

.technologies-page {
  color-scheme: light;
  /*
   * The site-wide body font is Poppins (Silicon defaults), while the Laravel
   * technology template assumes Inter (`font-display` on hero, radar, dev). We
   * set Inter on the entire `.technologies-page` rail so pulse, glossary, FAQ,
   * implementation prose, etc. match atomicloops.com; section-level
   * `font-display` adds `!important` reinforcement where Bootstrap might win.
   */
  font-family: "Inter", sans-serif;
}

/*
 * Material Symbols Outlined ligature support.
 *
 * Google Fonts /css2 returns the `.material-symbols-outlined` class
 * definition only when the request UA advertises woff2 support, and even
 * then the response is delivered as a regular <link rel="stylesheet"> in
 * the body (React 19 only hoists a preload to <head>). On environments
 * where that class never lands before paint, every `<span class="material-
 * symbols-outlined">data_object</span>` shows the literal ligature key as
 * text — the empty-looking hero diagram, blank status metrics, "data_object"
 * vs the icon, and "error Semantic Drifting in Vectors" all stem from this.
 *
 * We define the class ourselves so the ligature feature is always enabled,
 * regardless of when (or whether) the Google Fonts stylesheet applies.
 * `font-size` is intentionally omitted so Tailwind's `text-sm`, `text-3xl`,
 * `text-[14px]` etc. continue to control glyph size as in the Laravel page.
 */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

/* Keep design tokens and utility compatibility local to technologies page. */
.technologies-page .bg-primary {
  background-color: #1241a1 !important;
}
.technologies-page .text-primary {
  color: #1241a1 !important;
}
.technologies-page .bg-background-light {
  background-color: #f6f6f8 !important;
}
.technologies-page .bg-background-dark {
  background-color: #111621 !important;
}
.technologies-page .font-display {
  font-family: "Inter", sans-serif !important;
}
.technologies-page .bg-primary\/10 {
  background-color: rgb(18 65 161 / 0.1) !important;
}
.technologies-page .text-primary\/10 {
  color: rgb(18 65 161 / 0.1) !important;
}
.technologies-page .text-primary\/20 {
  color: rgb(18 65 161 / 0.2) !important;
}
.technologies-page .border-primary\/20 {
  border-color: rgb(18 65 161 / 0.2) !important;
}
.technologies-page .shadow-primary\/20 {
  --tw-shadow-color: rgb(18 65 161 / 0.2) !important;
}

@media (min-width: 1400px) {
  .technologies-page .container-xxl,
  .technologies-page .container-xl,
  .technologies-page .container-lg,
  .technologies-page .container-md,
  .technologies-page .container-sm,
  .technologies-page .container {
    max-width: 1320px !important;
  }
}

.technologies-page
  .code-section
  :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
  color: #fff !important;
}

.technologies-page .border-primary {
  --tw-border-opacity: 1;
  border-color: rgb(18 65 161 / var(--tw-border-opacity, 1)) !important;
}

.technologies-page pre,
.technologies-page code[class*="language-"] {
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  /*
   * Laravel uses default <pre> behaviour (white-space: pre) and lets the
   * parent's `overflow-x-auto` provide horizontal scroll. An earlier override
   * forced `white-space: pre-wrap` here, which made long Python lines wrap
   * inside the dark code panel and inflated its height to thousands of px.
   */
  white-space: pre !important;
  word-break: normal !important;
}

/*
 * Implementation code panel: Laravel loads `prism-tomorrow.css` (cdn.jsdelivr) and
 * resets `pre`/`code` under `.technologies-page`. Here, Silicon `theme.min.css` plus
 * Tailwind utilities (`font-mono`, `text-sm`, `.token.*`) can still win on the same
 * element and flatten the block to the Bootstrap “code sample” look (#333 on white).
 * Lock Prism Tomorrow typography + token colours inside `.code-section` only.
 *
 * Colours mirror `public/client/assets/vendor/prismjs/themes/prism-tomorrow.css`.
 */
.technologies-page .code-section pre[class*="language-"],
.technologies-page .code-section pre[class*="language-"] code,
.technologies-page .code-section pre[class*="language-"] code[class*="language-"] {
  font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  color: #ccc !important;
  text-shadow: none !important;
  -moz-tab-size: 4 !important;
  tab-size: 4 !important;
  border-radius: 0 !important;
  padding: 2rem !important; /* Tailwind `p-8` — match Blade */
}

/* Before Prism runs, `language-*` may sit on `code` only; keep the same stack. */
.technologies-page .code-section pre:not([class*="language-"]) code[class*="language-"] {
  font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  color: #ccc !important;
}

.technologies-page .code-section .token.comment,
.technologies-page .code-section .token.block-comment,
.technologies-page .code-section .token.prolog,
.technologies-page .code-section .token.doctype,
.technologies-page .code-section .token.cdata {
  color: #999 !important;
}

.technologies-page .code-section .token.punctuation {
  color: #ccc !important;
}

.technologies-page .code-section .token.tag,
.technologies-page .code-section .token.attr-name,
.technologies-page .code-section .token.namespace,
.technologies-page .code-section .token.deleted {
  color: #e2777a !important;
}

.technologies-page .code-section .token.function-name {
  color: #6196cc !important;
}

.technologies-page .code-section .token.boolean,
.technologies-page .code-section .token.number,
.technologies-page .code-section .token.function {
  color: #f08d49 !important;
}

.technologies-page .code-section .token.property,
.technologies-page .code-section .token.class-name,
.technologies-page .code-section .token.constant,
.technologies-page .code-section .token.symbol {
  color: #f8c555 !important;
}

.technologies-page .code-section .token.selector,
.technologies-page .code-section .token.important,
.technologies-page .code-section .token.atrule,
.technologies-page .code-section .token.keyword,
.technologies-page .code-section .token.builtin {
  color: #cc99cd !important;
}

.technologies-page .code-section .token.string,
.technologies-page .code-section .token.char,
.technologies-page .code-section .token.attr-value,
.technologies-page .code-section .token.regex,
.technologies-page .code-section .token.variable {
  color: #7ec699 !important;
}

.technologies-page .code-section .token.operator,
.technologies-page .code-section .token.entity,
.technologies-page .code-section .token.url {
  color: #67cdcc !important;
}

.technologies-page .code-section .token.inserted {
  color: green !important;
}

.technologies-page .border {
  border-width: 1px !important;
}
.technologies-page .collapse {
  visibility: visible !important;
}
.technologies-page .py-5 {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}
.technologies-page .h-1 {
  height: 0.25rem !important;
}
.technologies-page .w-3 {
  width: 0.75rem !important;
}

/* Tech detail modal styles */
.tech-assessment-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  animation: techFadeIn 0.2s ease;
}

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

.tech-assessment-modal .tech-modal-content {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 750px;
  width: 90%;
  animation: techSlideIn 0.3s ease;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

@keyframes techSlideIn {
  from {
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.tech-assessment-modal .tech-modal-header {
  padding: 20px 24px;
  position: relative;
}
.tech-assessment-modal .tech-modal-header-notice {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.tech-assessment-modal .tech-modal-header-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.tech-assessment-modal .tech-modal-header-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tech-assessment-modal .tech-modal-icon {
  width: 24px;
  height: 24px;
  color: #ffffff;
  flex-shrink: 0;
}
.tech-assessment-modal .tech-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
}
.tech-assessment-modal .tech-modal-body {
  padding: 28px 24px;
  background-color: #ffffff;
  overflow-y: auto;
  flex: 1;
}
.tech-assessment-modal .tech-modal-message {
  margin: 0;
  font-size: 16px;
  color: #1f2937;
  line-height: 1.6;
  font-weight: 400;
}
.tech-assessment-modal .tech-modal-footer {
  padding: 16px 24px 20px;
  display: flex;
  justify-content: flex-end;
  background-color: #f9fafb;
  flex-shrink: 0;
  gap: 12px;
}

.tech-assessment-modal .tech-modal-close-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 11px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 90px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tech-assessment-modal .tech-modal-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.tech-assessment-modal .tech-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.tech-modal-content-form {
  max-width: 700px;
  width: 90%;
}
.tech-modal-subtitle {
  margin: 0 0 24px 0;
  color: #666;
  font-size: 14px;
  text-align: center;
}
.tech-submission-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tech-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tech-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tech-form-group label {
  font-weight: 500;
  font-size: 14px;
  color: #333;
}
.tech-required {
  color: #ef4444;
}

.tech-form-group input {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
}

.tech-form-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tech-modal-cancel-btn {
  background: #ccc;
  color: #000;
  border: 1px solid #e5e7eb;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
}

.tech-modal-cancel-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #374151;
}

.tech-modal-submit-btn {
  background: #0047ab;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
}

.tech-modal-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

@media (max-width: 640px) {
  .tech-form-row {
    grid-template-columns: 1fr;
  }
  .tech-modal-content-form {
    width: 95%;
    max-width: 100%;
  }
  .tech-assessment-modal {
    align-items: flex-start;
    padding: 10px;
  }
  .tech-assessment-modal .tech-modal-content {
    max-height: 95vh;
    margin-top: 10px;
  }
  .tech-assessment-modal .tech-modal-icon {
    width: 20px;
  }
  .tech-assessment-modal .tech-modal-title {
    font-size: 16px;
  }
  .tech-assessment-modal .tech-modal-footer {
    flex-direction: column-reverse;
  }
}

/* Tech detail loader styles */
.tech-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.tech-loader-overlay.active {
  display: flex;
}

.tech-loader-container {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 400px;
}

.tech-loader-spinner {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: techSpin 1s linear infinite;
}

@keyframes techSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.tech-loader-text {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
}
.tech-loader-subtext {
  font-size: 14px;
  color: #6b7280;
}
.tech-loader-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
}

.tech-loader-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #667eea;
  animation: techBounce 1.4s infinite ease-in-out both;
}

.tech-loader-dot:nth-child(1) {
  animation-delay: -0.32s;
}
.tech-loader-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes techBounce {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
/* case study responsive fixes */
/* Case Studies Section - Responsive Fix */

/* Ensure proper stacking context */
#casestudies {
  padding: 60px 0;
  min-height: 500px;
}

#casestudies .case-study-content {
  z-index: 2;
}

/* Desktop layout - keep as is */
@media (min-width: 992px) {
  .case-study-row {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 2rem;
    align-items: center;
  }

  .col-case-study1,
  .col-case-study2 {
    width: 100%;
  }
}

/* Tablet and Mobile - Stack vertically */
@media (max-width: 991px) {
  .case-study-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .col-case-study1,
  .col-case-study2 {
    width: 100%;
  }

  .col-case-study1 {
    text-align: center;
  }
}

/* Swiper specific fixes */
.swiper-slide-case {
  height: auto !important;
  display: flex;
  align-items: stretch;
}

.case-card {
  box-sizing: border-box;
  margin: 0 auto;
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
  #casestudies {
    padding: 40px 0;
  }

  .case-study-swiper {
    padding-bottom: 50px; /* Space for pagination */
  }

  .case-card {
    min-width: 260px !important;
    max-width: 340px !important;
  }

  .swiper-pagination {
    position: relative !important;
    margin-top: 20px !important;
  }
}

/* Ensure cards don't overlap */
.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

/* Fix for very small screens */
@media (max-width: 480px) {
  .case-card {
    min-width: 240px !important;
    padding: 1rem !important;
  }

  .case-card h5 {
    font-size: 1.1rem;
  }

  .case-card .badge {
    font-size: 0.75rem !important;
  }
}

/*start industry detail responsive*/

/* ========================================
   MOBILE BREAKPOINT (576px - 767px)
   ======================================== */
@media (max-width: 767px) {
  .service-list-hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: visible;
  }

  .service-list-hero-section .position-relative.z-3 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    overflow: visible;
  }

  .row.h-100 {
    height: auto !important;
  }

  .service-detail-hero-left {
    text-align: center;
  }

  .service-detail-hero-left h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-weight: 700;
  }

  .service-detail-hero-left p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    padding: 0 !important;
  }

  .breadcrumb {
    justify-content: center;
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .breadcrumb-item {
    margin-right: 0.3rem;
  }

  .breadcrumb-item.active {
    display: inline !important;
    opacity: 1 !important;
  }

  .col-12 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .d-flex.gap-3 {
    justify-content: center;
    gap: 0.75rem !important;
    margin-bottom: 2rem !important;
    flex-wrap: wrap;
  }

  .btn-ai-expert {
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem !important;
    display: inline-flex !important;
  }

  .btn-sm {
    font-size: 0.85rem !important;
  }

  .fs-sm {
    font-size: 0.85rem !important;
  }

  /* Show scroll indicator on mobile - VISIBLE ON LOAD */
  .tech-scroll-indicator {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .scroll-indicator-wrapper {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: auto;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    justify-content: center;
    pointer-events: auto;
  }

  .scroll-text {
    font-size: 0.75rem;
  }

  .scroll-arrow i {
    font-size: 0.9rem;
  }
}

/*  SMALL MOBILE BREAKPOINT (< 576px)*/
@media (max-width: 575px) {
  .service-list-hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: visible;
  }

  .service-list-hero-section .position-relative.z-3 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 0;
    overflow: visible;
  }

  .row.h-100 {
    height: auto !important;
  }

  .col-12 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .service-detail-hero-left {
    text-align: center;
  }

  .service-detail-hero-left h1 {
    font-size: 1.95rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  .service-detail-hero-left p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    padding: 0 !important;
  }

  .breadcrumb {
    justify-content: center;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .breadcrumb-item {
    margin-right: 0.2rem;
  }

  .breadcrumb-item.active {
    display: inline !important;
    opacity: 1 !important;
  }

  .d-flex.gap-3 {
    justify-content: center;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    flex-wrap: wrap;
  }

  .btn-ai-expert {
    font-size: 0.8rem;
    padding: 0.5rem 1rem !important;
    display: inline-flex !important;
  }

  .btn-sm {
    font-size: 0.8rem !important;
  }

  .fs-sm {
    font-size: 0.8rem !important;
  }

  /* Show scroll indicator on small mobile - VISIBLE ON LOAD */
  .tech-scroll-indicator {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    color: #fff;
    gap: 0.3rem;
  }

  .scroll-indicator-wrapper {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: auto;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    justify-content: center;
    pointer-events: auto;
  }

  .scroll-text {
    font-size: 0.7rem;
    margin-right: 0.25rem !important;
  }

  .scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.05rem;
  }

  .scroll-arrow i {
    font-size: 0.85rem;
    line-height: 0.7;
  }
}

/* EXTRA SMALL MOBILE (< 400px) */
@media (max-width: 399px) {
  .service-detail-hero-left h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .service-detail-hero-left p {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .breadcrumb {
    font-size: 0.7rem;
  }

  .btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem !important;
  }

  .scroll-text {
    font-size: 0.65rem;
  }

  .scroll-arrow i {
    font-size: 0.75rem;
  }

  .scroll-indicator-wrapper {
    bottom: 1.5rem;
  }
}

/*  (for all breakpoints)*/
.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* ========================================
   FIX FOR BUTTON VISIBILITY
   ======================================== */
@media (max-width: 991px) {
  .btn-ai-expert {
    display: inline-flex !important;
  }
}

/* ========================================
   FIX FOR BREADCRUMB VISIBILITY
   ======================================== */
@media (max-width: 991px) {
  .breadcrumb-item.active[aria-current="page"] {
    display: inline !important;
    opacity: 1 !important;
  }
}

/* ========================================
   ENSURE SCROLL INDICATOR VISIBLE ON LOAD
   ======================================== */
@media (max-width: 991px) {
  .scroll-indicator-wrapper {
    position: fixed !important;
    bottom: 2rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 100 !important;
    width: auto !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .scroll-indicator-wrapper.d-none {
    display: flex !important;
  }

  .tech-scroll-indicator {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .tech-scroll-indicator.d-none {
    display: inline-flex !important;
  }
}
/*end industry detail responsive*/

@media (max-width: 480px) {
  .workflow-card-nav #prod-prev {
    margin-top: 45px !important;
  }
}

/* Mobile fix for 360x800 and small screens */
@media (max-width: 400px) {
  .ai-solution-container {
    padding: 20px 12px;
    height: auto !important;
    min-height: auto !important;
  }

  .ai-solution-section {
    height: auto !important;
    overflow: visible !important;
  }

  .blueprint-card-section {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding: 16px;
  }

  .phase_cards_title {
    font-size: 16px;
    line-height: 1.3;
  }

  .blueprint-card-text {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .blueprint-card-section ul {
    padding-left: 18px;
  }

  #cardContainer {
    padding-right: 8px;
  }

  .blueprint-card-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px;
    overflow: visible;
  }

  .blueprint-card-section li {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

.cta-content a {
  color: #444ebf;
  text-decoration: none;
}

/* About — Exploring card (split content + image with edge fade) */
.about-explore-card {
  --about-explore-fade: #fff;
  --about-explore-content-bg: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 2rem rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.dark-mode .about-explore-card {
  --about-explore-fade: rgba(11, 15, 25, 0.98);
  --about-explore-content-bg: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.1);
}

.about-explore-card__content {
  background: var(--about-explore-content-bg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  justify-content: center;
  min-height: 100%;
}

@media (min-width: 992px) {
  .about-explore-card__content {
    padding: 2.5rem 2.75rem;
  }
}

.about-explore-card__label {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}

.about-explore-card__media {
  position: relative;
  min-height: 220px;
  height: 100%;
}

@media (min-width: 992px) {
  .about-explore-card__media {
    min-height: 100%;
    min-height: 320px;
  }
}

.about-explore-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 992px) {
  .about-explore-card__media img {
    min-height: 320px;
  }
}

.about-explore-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--about-explore-fade) 0%,
    transparent 42%
  );
}

.about-explore-card__logos img {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 992px) {
  .about-explore-card__logos img {
    height: 32px;
    max-width: 160px;
  }
}

/* About page — stats band (matches live dark metrics card) */
.about-page-stats-pullup {
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .about-page-stats-pullup {
    margin-top: -4.5rem;
  }
}

.about-page-dark-stats.stats-wrapper {
  background: #0b0f19;
  box-shadow: 0px 0px 20px 4px #232933;
  max-width: 920px;
}

.about-page-dark-stats .about-cust-stats-dark-title {
  color: #fff !important;
  font-size: 2.25rem !important;
  line-height: 1.1;
}

.about-page-dark-stats .about-stats-desc {
  color: #a2bce1 !important;
  opacity: 1 !important;
  max-width: 220px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.about-page-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.about-cloud-partner-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

@media (min-width: 992px) {
  .about-cloud-partner-logo {
    height: 48px;
    max-width: 180px;
  }
}

.about-global-map img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

.about-contact-help-card .about-contact-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* =====================================================================
   About page — synced with live atomicloops.com/about
   ===================================================================== */

/* About hero — gradient background scoped to the about page section */
#hero-sec-light-dark {
  background: radial-gradient(
    circle at top center,
    #d7e4f5 0%,
    #f3f7fb 50%,
    #ffffff 100%
  );
  background-blend-mode: lighten;
  position: relative;
}

html.dark-mode #hero-sec-light-dark {
  background: radial-gradient(
    ellipse at top center,
    rgba(9, 55, 125, 0.6) 0%,
    rgba(5, 35, 90, 0.85) 25%,
    rgba(2, 20, 50, 0.95) 55%,
    #0b0f19 85%
  );
  background-color: #000;
}

/* Soft fade-out at the bottom of the hero so it blends into the next section */
#hero-sec-light-dark::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
  pointer-events: none;
  z-index: 0;
}

html.dark-mode #hero-sec-light-dark::after {
  background: linear-gradient(to bottom, rgba(11, 15, 25, 0) 0%, #0b0f19 100%);
}

/* Make sure children render above the fade overlay */
#hero-sec-light-dark > .container {
  position: relative;
  z-index: 1;
}

/* Exploring Atomic Loops — split card text/image background */
.bg-blend-section {
  background-color: #fff;
  color: #000;
}

html.dark-mode .bg-blend-section {
  background-color: #000;
  color: #fff;
}

/* Right-side image with soft left fade + light dark overlay */
.image-blend-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-blend-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0.5rem;
}

.image-blend-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
  z-index: 2;
  pointer-events: none;
}

html.dark-mode .image-blend-wrapper::before {
  background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.image-blend-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
  border-radius: 0.5rem;
}

html.dark-mode .image-blend-wrapper::after {
  background-color: rgba(0, 0, 0, 0.4);
}

/* About stats band — light blue background card (replaces old dark band) */
.about-custom-stats-section {
  background-color: #e7edf7;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 55, 120, 0.1);
}

html.dark-mode .about-custom-stats-section {
  background-color: #0e2038;
  box-shadow: 0 0.5rem 1.5rem rgba(255, 255, 255, 0.08);
}

.row-stats-sec {
  gap: 50px;
}

.stats-col {
  width: 29% !important;
}

.stats-inner-padding {
  padding-left: 8rem !important;
  padding-right: 2rem !important;
}

/* Mission card — white in light mode, dark navy in dark mode */
.card-value {
  background-color: #0b0f19;
  border-radius: 1rem;
  color: #fff;
  border: none;
}

html:not(.dark-mode) .card-value {
  background-color: #ffffff;
  color: #000;
  box-shadow: 0 0.75rem 2rem rgba(215, 228, 245, 0.9);
}

.dark-mode .card-value {
  box-shadow: 0 0.75rem 2rem rgb(3 22 53 / 95%) !important;
}

/* Cloud Agnostic — pill-shaped partner card */
.about-cloud-dev .card.rounded-pill {
  border-radius: 50rem !important;
}

/* Stats — center on mobile to mirror live */
@media (max-width: 767px) {
  .about-custom-stats-section .row-stats-sec {
    display: flex;
    flex-direction: column;
    gap: 2.5rem !important;
    align-items: center;
  }
  .about-custom-stats-section .stats-col {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0 !important;
  }
  .about-custom-stats-section .stats-col > div {
    align-items: center !important;
    text-align: center !important;
  }
  .about-custom-stats-section .stats-inner-padding {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .about-custom-stats-section .about-cust-stats-dark-title {
    font-size: 2.5rem !important;
    font-weight: 700;
    line-height: 1.2;
  }
  .about-custom-stats-section .about-stats-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0.75rem !important;
    max-width: 280px;
  }
}

@media (max-width: 575px) {
  .about-custom-stats-section .row-stats-sec {
    gap: 2rem !important;
  }
  .about-custom-stats-section .stats-inner-padding {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .about-custom-stats-section .about-cust-stats-dark-title {
    font-size: 2.25rem !important;
  }
  .about-custom-stats-section .about-stats-desc {
    font-size: 0.9rem;
    max-width: 260px;
  }
}

/* Cloud partner pill cards: light/dark logo swap */
.about-cloud-dev .card-hover img.d-dark-mode-block {
  display: none;
}

html.dark-mode .about-cloud-dev .card-hover img.d-dark-mode-none {
  display: none !important;
}

html.dark-mode .about-cloud-dev .card-hover img.d-dark-mode-block {
  display: block !important;
}

/* =====================================================================
   World map pins + persistent country labels (matches live)
   ===================================================================== */

.world-map-overlay .map-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #007bff;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.world-map-overlay .map-pin:hover {
  transform: scale(1.4);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.6);
}

/* Persistent country labels rendered via ::after with the data-label attr */
.world-map-overlay .map-pin::after {
  content: attr(data-label);
  position: absolute;
  background-color: #0b0f19;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  z-index: 3;
}

/* Label positioning per data-pos */
.world-map-overlay .map-pin[data-pos="right"]::after {
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
}

.world-map-overlay .map-pin[data-pos="left"]::after {
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
}

.world-map-overlay .map-pin[data-pos="top"]::after {
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
}

.world-map-overlay .map-pin[data-pos="bottom"]::after {
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
}

/* Dark mode: invert label background so it stays readable on the dark map */
html.dark-mode .world-map-overlay .map-pin::after {
  background-color: #1a2233;
  color: #f3f7fb;
}

/* Desktop / default pin coordinates — in % of map width/height */
.world-map-overlay .canada-pin {
  top: 28%;
  left: 22%;
}
.world-map-overlay .usa-pin {
  top: 38%;
  left: 20%;
}
.world-map-overlay .venezuela-pin {
  top: 56%;
  left: 28%;
}

.world-map-overlay .norway-pin {
  top: 22%;
  left: 51%;
}
.world-map-overlay .sweden-pin {
  top: 25%;
  left: 54%;
}
.world-map-overlay .united-kingdom-pin {
  top: 31%;
  left: 47%;
}
.world-map-overlay .netherlands-pin {
  top: 33%;
  left: 50%;
}
.world-map-overlay .germany-pin {
  top: 36%;
  left: 52%;
}
.world-map-overlay .turkey-pin {
  top: 40%;
  left: 56%;
}

.world-map-overlay .israel-pin {
  top: 42%;
  left: 56%;
}
.world-map-overlay .saudi-arabia-pin {
  top: 47%;
  left: 60%;
}
.world-map-overlay .uae-pin {
  top: 47%;
  left: 64%;
}

.world-map-overlay .india-pin {
  top: 46%;
  left: 70%;
}
.world-map-overlay .sri-lanka-pin {
  top: 58%;
  left: 70%;
}
.world-map-overlay .thailand-pin {
  top: 51%;
  left: 74%;
}
.world-map-overlay .singapore-pin {
  top: 60%;
  left: 76%;
}
.world-map-overlay .philippines-pin {
  top: 52%;
  left: 82%;
}
.world-map-overlay .japan-pin {
  top: 35%;
  left: 86%;
}

.world-map-overlay .kenya-pin {
  top: 60%;
  left: 57%;
}
.world-map-overlay .south-africa-pin {
  top: 73%;
  left: 53%;
}

.world-map-overlay .australia-pin {
  top: 70%;
  left: 84%;
}
.world-map-overlay .new-zealand-pin {
  top: 78%;
  left: 92%;
}

/* Mobile: shrink pins and hide the labels (live behavior at narrow widths) */
@media (max-width: 991.98px) {
  .world-map-overlay .map-pin {
    width: 9px;
    height: 9px;
    border-width: 1.5px;
  }
  .world-map-overlay .map-pin::after {
    font-size: 9px;
    padding: 3px 6px;
  }
}

@media (max-width: 575.98px) {
  .world-map-overlay .map-pin::after {
    display: none;
  }
}

/* ===== Knowledge Base Listing Page (Light Mode Only) ===== */

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.image-wrapper img.image-cover {
  height: 100%;
}

html:not(.dark-mode) .image-cover {
  width: 100%;
  display: block;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

html:not(.dark-mode) .image-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50%;
  width: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
  z-index: 1;
  pointer-events: none;
}

html:not(.dark-mode) .blog-list-card {
  background-color: #fff !important;
  color: #fff !important;
}

.kb-card-link-icon {
  color: #0b0f19;
}

/* Tag filter (custom select) */

.tag-filter-wrapper {
  position: relative;
  width: 100%;
}

.tag-custom-select {
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.tag-custom-select:hover {
  border-color: #3498db;
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.1);
}

.tag-custom-select.active {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
  border-radius: 8px 8px 0 0;
}

.tag-select-trigger {
  padding: 12px 40px 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  color: #2c3e50;
  position: relative;
}

.tag-select-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #333;
  transition: transform 0.3s ease;
}

.tag-custom-select.active .tag-select-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.tag-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid #3498db;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tag-select-options.active {
  display: block;
}

.tag-select-option {
  padding: 12px 16px;
  font-size: 14px;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.tag-select-option:last-child {
  border-bottom: none;
}

.tag-select-option:hover {
  background-color: #f8f9fa;
  color: #3498db;
}

.tag-select-option.selected {
  background-color: #3498db;
  color: #ffffff;
  font-weight: 500;
}

.tag-select-option.selected:hover {
  background-color: #2980b9;
}

.tag-select-options::-webkit-scrollbar {
  width: 8px;
}

.tag-select-options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0 0 8px 0;
}

.tag-select-options::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.tag-select-options::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

@media (max-width: 768px) {
  .tag-select-trigger {
    font-size: 14px;
    padding: 10px 36px 10px 14px;
  }

  .tag-select-option {
    font-size: 13px;
    padding: 10px 14px;
  }
}

/* Knowledge base — compact pagination ellipsis */
.kb-pagination-ellipsis .kb-pagination-ellipsis-inner {
  border: none;
  background: transparent !important;
  color: #617085;
  cursor: default;
  pointer-events: none;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

nav[aria-label="Page navigation example"] .pagination {
  flex-wrap: wrap;
  row-gap: 0.35rem;
}

/* ==========================================================================
   AI Implementation & Best Practices KB layout
   ========================================================================== */

/* Wider container override (1680px) for this layout only.
   Bootstrap defaults: 1320px from 1400px+. We bump it to 1680px. */
.container.kb-ai-impl-container {
  max-width: 100%;
}

@media (min-width: 1400px) {
  .container.kb-ai-impl-container {
    max-width: 1320px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.kb-ai-impl-layout main {
  padding: 0 30px;
}

.kb-ai-impl-layout .content-wrapper {
  margin-left: 0;
  padding-bottom: 60px;
}

.kb-ai-impl-layout .banner-section {
  margin-left: 0;
  margin-bottom: 24px;
}

.kb-ai-impl-layout .banner-image {
  width: 100%;
  height: auto;
  max-height: 530px;
  object-fit: cover;
  border-radius: 0px;
}

/* Hero / typography overrides for this layout */
.kb-ai-impl-layout .hero-section h1,
.kb-ai-impl-layout .intro-section h1,
.kb-ai-impl-layout h1 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
  color: #000;
  margin-bottom: 18px;
}

.kb-ai-impl-layout .hero-section p,
.kb-ai-impl-layout .intro-text {
  color: rgba(0, 0, 0, 0.65);
  font-size: 15px;
  line-height: 1.7;
}

.kb-ai-impl-layout .section-top-margin {
  margin-top: 48px;
}

/* Quote2 insight: 50px padding top/bottom on the card */
.kb-ai-impl-layout .insight-section {
  box-sizing: border-box;
  padding-top: 50px;
  padding-bottom: 50px;
}

.kb-ai-impl-layout .cta-section .contact-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Best practices accordion */
.kb-ai-impl-layout .best-practices .accordion-item.open {
  border: 2px solid #0d6efd;
}

.kb-ai-impl-layout .best-practices .accordion-item.open .accordion-header {
  margin-bottom: 0;
  border-bottom: 1px solid #e5e7eb;
}

.kb-ai-impl-layout .best-practices .accordion-content {
  padding: 0;
}

.kb-ai-impl-layout .best-practices .accordion-content.open {
  max-height: none;
  padding: 22px;
}

.kb-ai-impl-layout .best-practices .benefits-risks-container {
  margin: 0;
}

.kb-ai-impl-layout .benefits-list ul,
.kb-ai-impl-layout .risks-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kb-ai-impl-layout .benefits-list li,
.kb-ai-impl-layout .risks-list li {
  padding-left: 16px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

.kb-ai-impl-layout .benefits-list li strong,
.kb-ai-impl-layout .risks-list li strong {
  color: #111827;
  font-weight: 600;
}

/* Assessment Back/Next row */
.kb-ai-impl-layout .buttons-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

.kb-ai-impl-layout .quiz-btn.back-button {
  background: #fff;
  color: #0047ab;
  border: 1px solid #0047ab;
  border-radius: 50px;
  padding: 6px 28px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kb-ai-impl-layout .quiz-btn.back-button:hover {
  background: #0047ab;
  color: #fff;
}

/* Video container */
.kb-ai-impl-layout .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.kb-ai-impl-layout .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ container */
.kb-ai-impl-layout .faq-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
}

.kb-ai-impl-layout .faq-container .faq-title {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin: 0 0 20px 0;
}

/* ROI use cases table wrapper */
.kb-ai-impl-layout .kb-roi-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.kb-ai-impl-layout .kb-roi-table-wrapper table {
  margin: 0;
  box-shadow: none;
}

/* Generic graph image */
.kb-ai-impl-layout .kb-graph .roi-graph-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eef2f7;
}

/* Section-2 image (additional intro image) */
.kb-ai-impl-layout .section-top-margin > img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Sidebar tweaks for this layout — sticky behaviour kept intact */
.kb-ai-impl-layout .sidebar {
  background: rgba(0, 71, 171, 0.02);
  border: 1px solid rgba(0, 71, 171, 0.1);
  box-shadow: 0 1px 4px 0 rgba(0, 71, 171, 0.2);
}

.kb-ai-impl-layout .sidebar ol li:not(.active),
.kb-ai-impl-layout .sidebar ol li:not(.active) a,
.kb-ai-impl-layout .sidebar ol li:not(.active)::before,
.kb-ai-impl-layout .sidebar ol li:not(.active)::marker {
  color: #888;
  font-weight: 400;
}

.kb-ai-impl-layout .sidebar ol li.active a {
  font-weight: 600;
  color: #000;
}

.kb-ai-impl-layout .sidebar ol li.active::before,
.kb-ai-impl-layout .sidebar ol li.active::marker {
  color: #000;
  font-weight: 600;
}

@media (max-width: 991px) {
  .kb-ai-impl-layout main {
    padding: 0 12px;
  }
}

@media (max-width: 575px) {
  .kb-ai-impl-layout .hero-section h1,
  .kb-ai-impl-layout h1 {
    font-size: 22px;
  }
  .kb-ai-impl-layout .faq-container {
    padding: 14px;
  }
}

/* ==========================================================================
   Sticky-header offset for sidebar TOC anchor jumps.
   The site navbar is `position: sticky; height: 80px;` so we offset every
   linkable section by ~100px to keep the heading visible after the jump.
   ========================================================================== */
.kb-ai-impl-layout #intro,
.kb-ai-impl-layout #key-areas,
.kb-ai-impl-layout #implementation,
.kb-ai-impl-layout #regulatory_landscape,
.kb-ai-impl-layout #best-practices,
.kb-ai-impl-layout #case-studies,
.kb-ai-impl-layout #challenges-solu,
.kb-ai-impl-layout #disruption-spectrum,
.kb-ai-impl-layout #key_innovations,
.kb-ai-impl-layout #ai_rediness_framework,
.kb-ai-impl-layout #global_graph,
.kb-ai-impl-layout #graph_data_values,
.kb-ai-impl-layout #maturity_graph,
.kb-ai-impl-layout #risk-senarios,
.kb-ai-impl-layout #assessmentSection,
.kb-ai-impl-layout #glossary,
.kb-ai-impl-layout #faq {
  scroll-margin-top: 100px;
}

/* ==========================================================================
   AI-driven Disruptions tag — additional component styling.
   The base classes (`disruption-spectrum`, `domain-item`, etc.) live in
   knowledge_base.css; the rules below namespace tweaks for this layout.
   ========================================================================== */

/* Disruption Spectrum tooltip */
.kb-ai-impl-layout .domain-tag-wrapper {
  position: relative;
  display: inline-block;
  margin-top: 8px;
}

.kb-ai-impl-layout .domain-tag {
  font-size: 13px;
  color: #0052cc;
  cursor: pointer;
  border-bottom: 1px dotted #0052cc;
  padding-bottom: 1px;
}

.kb-ai-impl-layout .domain-tooltip {
  position: absolute;
  left: 50%;
  bottom: 125%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  width: 240px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.kb-ai-impl-layout .domain-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1f2937;
}

.kb-ai-impl-layout .domain-tag-wrapper:hover .domain-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

@media (max-width: 768px) {
  .kb-ai-impl-layout .domain-tooltip {
    width: 200px;
    font-size: 11px;
  }
}

/* Opportunities / Threats table — keep the bordered look from
   knowledge_base.css but ensure responsive container behavior. */
.kb-ai-impl-layout .kb-opp-threats .table {
  margin-bottom: 0;
}

.kb-ai-impl-layout .kb-opp-threats th.bg-primary {
  background-color: #4472c4 !important;
}

/* Inline quote tweaks — the `quote-slide` block already styles the body, but
   when used standalone (no slider dots) it benefits from a small top space. */
.kb-ai-impl-layout .quote-slide {
  background: transparent;
}


/* ==========================================================================
   AI Readiness Framework (hexagon + 6 pillars)
   Used by tags such as `readiness-and-transformation-roadmap`.
   ========================================================================== */
.kb-ai-impl-layout #ai_rediness_framework .framework-heading {
  font-size: 2em;
  color: #000;
  margin-bottom: 30px;
  font-weight: 700;
}

.kb-ai-impl-layout .ai_rediness {
  background-color: #fff;
  padding: 60px 40px;
  border-radius: 4px;
}

.kb-ai-impl-layout .ai_rediness .framework-header {
  text-align: center;
  margin-bottom: 80px;
}

.kb-ai-impl-layout .ai_rediness .framework-title {
  font-size: 1.75em;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.kb-ai-impl-layout .hexagon-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.kb-ai-impl-layout .hexagon-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.kb-ai-impl-layout .rediness-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.kb-ai-impl-layout .pillar-label {
  position: absolute;
  font-size: 1em;
  color: #000;
  font-weight: 600;
}

.kb-ai-impl-layout .pillar-description {
  font-size: 0.875em;
  font-weight: 400;
  color: #333;
  margin-top: 6px;
  line-height: 1.4;
}

.kb-ai-impl-layout .pillar-0 {
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 240px;
}

.kb-ai-impl-layout .pillar-1 {
  top: 15%;
  right: -28%;
  text-align: left;
  width: 240px;
}

.kb-ai-impl-layout .pillar-2 {
  bottom: 15%;
  right: -28%;
  text-align: left;
  width: 240px;
}

.kb-ai-impl-layout .pillar-3 {
  bottom: -7%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 240px;
}

.kb-ai-impl-layout .pillar-4 {
  bottom: 15%;
  left: -28%;
  text-align: right;
  width: 240px;
}

.kb-ai-impl-layout .pillar-5 {
  top: 15%;
  left: -28%;
  text-align: right;
  width: 240px;
}

@media (min-width: 1400px) {
  .kb-ai-impl-layout .hexagon-wrapper {
    max-width: 1200px;
  }
  .kb-ai-impl-layout .hexagon-container {
    max-width: 600px;
  }
  .kb-ai-impl-layout .pillar-label {
    font-size: 1.05em;
  }
  .kb-ai-impl-layout .pillar-description {
    font-size: 0.9em;
  }
  .kb-ai-impl-layout .pillar-0,
  .kb-ai-impl-layout .pillar-3,
  .kb-ai-impl-layout .pillar-1,
  .kb-ai-impl-layout .pillar-2,
  .kb-ai-impl-layout .pillar-4,
  .kb-ai-impl-layout .pillar-5 {
    width: 260px;
  }
  .kb-ai-impl-layout .pillar-1,
  .kb-ai-impl-layout .pillar-2 {
    right: -35%;
  }
  .kb-ai-impl-layout .pillar-4,
  .kb-ai-impl-layout .pillar-5 {
    left: -35%;
  }
}

@media (max-width: 1024px) {
  .kb-ai-impl-layout #ai_rediness_framework .framework-heading {
    font-size: 1.75em;
  }
  .kb-ai-impl-layout .ai_rediness {
    padding: 40px 30px;
  }
  .kb-ai-impl-layout .ai_rediness .framework-title {
    font-size: 1.5em;
  }
  .kb-ai-impl-layout .hexagon-container {
    max-width: 400px;
  }
  .kb-ai-impl-layout .pillar-label {
    font-size: 0.9em;
  }
  .kb-ai-impl-layout .pillar-description {
    font-size: 0.8em;
  }
  .kb-ai-impl-layout .pillar-1,
  .kb-ai-impl-layout .pillar-2 {
    right: -22%;
    width: 180px;
  }
  .kb-ai-impl-layout .pillar-4,
  .kb-ai-impl-layout .pillar-5 {
    left: -22%;
    width: 180px;
  }
}

@media (max-width: 768px) {
  .kb-ai-impl-layout #ai_rediness_framework .framework-heading {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  .kb-ai-impl-layout .ai_rediness {
    padding: 30px 20px;
  }
  .kb-ai-impl-layout .ai_rediness .framework-title {
    font-size: 1.25em;
  }
  .kb-ai-impl-layout .hexagon-wrapper {
    padding: 100px 10px 60px;
  }
  .kb-ai-impl-layout .hexagon-container {
    max-width: 300px;
  }
  .kb-ai-impl-layout .pillar-label {
    font-size: 0.85em;
  }
  .kb-ai-impl-layout .pillar-description {
    font-size: 0.75em;
    margin-top: 4px;
  }
  .kb-ai-impl-layout .pillar-0 {
    top: -18%;
    width: 160px;
  }
  .kb-ai-impl-layout .pillar-1 {
    top: 8%;
    right: -45%;
    width: 140px;
  }
  .kb-ai-impl-layout .pillar-2 {
    bottom: 8%;
    right: -45%;
    width: 140px;
  }
  .kb-ai-impl-layout .pillar-3 {
    bottom: -25%;
    width: 160px;
  }
  .kb-ai-impl-layout .pillar-4 {
    bottom: 8%;
    left: -45%;
    width: 140px;
  }
  .kb-ai-impl-layout .pillar-5 {
    top: 8%;
    left: -45%;
    width: 140px;
  }
}

@media (max-width: 480px) {
  .kb-ai-impl-layout .hexagon-wrapper {
    padding: 80px 5px 50px;
  }
  .kb-ai-impl-layout .hexagon-container {
    max-width: 250px;
  }
  .kb-ai-impl-layout .pillar-label {
    font-size: 0.75em;
  }
  .kb-ai-impl-layout .pillar-description {
    font-size: 0.7em;
  }
  .kb-ai-impl-layout .pillar-0 {
    top: -25%;
    width: 140px;
  }
  .kb-ai-impl-layout .pillar-1,
  .kb-ai-impl-layout .pillar-2 {
    right: -70%;
    width: 120px;
  }
  .kb-ai-impl-layout .pillar-3 {
    bottom: -28%;
    width: 140px;
  }
  .kb-ai-impl-layout .pillar-4,
  .kb-ai-impl-layout .pillar-5 {
    left: -70%;
    width: 120px;
  }
}

/* Global / data value / maturity graph images render full-width and
   centered, matching the live `section-top-margin` blocks. */
.kb-ai-impl-layout #global_graph img,
.kb-ai-impl-layout #graph_data_values img,
.kb-ai-impl-layout #maturity_graph img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ==========================================================================
   Workflow Spotlight nav button states (matches live atomicloops.com)
   ========================================================================== */
.workflow-card-nav a.prod-prev,
.workflow-card-nav a.comm-prev {
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 1 !important;
  text-decoration: none;
  color: #0047AB;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.workflow-card-nav a.prod-prev:hover,
.workflow-card-nav a.comm-prev:hover {
  color: #667eea;
  text-decoration: none;
}

.workflow-card-nav a.prod-prev.disabled,
.workflow-card-nav a.comm-prev.disabled {
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

.workflow-card-nav a.prod-prev.disabled:hover,
.workflow-card-nav a.comm-prev.disabled:hover {
  color: #999 !important;
}

.workflow-card-nav a.prod-next {
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

#al_contact_form .al-contact-form-bg {
  min-height: 420px;
}

@media (max-width: 767.98px) {
  #al_contact_form .contact-form-div {
    margin: 24px 16px !important;
    max-width: none !important;
    padding: 28px 20px !important;
  }
}

@media (max-width: 575.98px) {
  #al_contact_form .contact-form-div {
    margin: 16px 12px !important;
    padding: 24px 16px !important;
  }
}