/* --- Spacing --- */
.py-10 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.mb-10 {
  margin-bottom: 5rem;
}

.mt-10 {
  margin-top: 5rem;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Ubuntu', sans-serif;
  letter-spacing: -0.02em;
}

.fw-light {
  font-weight: 300;
}

.fw-bold {
  font-weight: 500;
}

/* --- Hero --- */
/* HERO SECTION */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* BACKGROUND CAROUSEL */
.hero-bg-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* SLIDES */
.hero-bg-slide {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

/* ACTIVE SLIDE */
.hero-bg-slide.active {
  opacity: 1;
}

/* LIGHT OVERLAY */
.hero-bg-slide::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.45);
}

/* CONTENT ABOVE CAROUSEL */
.hero-section .container {
  position: relative;
  z-index: 2;
}

/* DOTS */
.hero-carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  display: flex;
  gap: 10px;
}

/* SINGLE DOT */
.hero-dot {
  width: 12px;
  height: 12px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);

  cursor: pointer;
  transition: 0.3s;
}

/* ACTIVE DOT */
.hero-dot.active {
  background: #ffffff;
}

/* Value Prop Section  */
/* .anime-element{
  opacity: 0;
} */

.flow-heading {
  min-height: 110px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  text-align: center;
  line-height: 1.2;
}

.purple-box {
  width: 300px;
  height: 150px;
  background-color: #4b248c;
}

.arrow {
  margin-top: 40px;
  width: 2px;
  height: 80px;
  background-color: #4b248c;
  position: relative;

  overflow: visible;
  /* ADD THIS */
}

.arrow::after {
  content: '';

  position: absolute;
  bottom: -14px;
  left: 50%;

  transform: translateX(-50%);

  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 16px solid #4b248c;
}


/* =====================================================
           ANALYSIS SECTION
        ===================================================== */

.analysis-item {
  text-align: center;
}

.analysis-title {
  min-height: 90px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  font-size: 30px;
  font-weight: 300;
  line-height: 1.25;

  color: #666;

  margin-bottom: 30px;
}

.analysis-box {
  width: 100%;
  max-width: 300px;
  height: 170px;

  margin: auto;

  background: #fff;

  border: 2px solid #cfcfcf;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;
}

.analysis-text {
  font-size: 22px;
  line-height: 1.35;
  color: #666;
}

.ai-icon {
  width: 100px;
  height: 100px;
}

/* =====================================================
           BIG CENTER ARROW
        ===================================================== */

.big-arrow-wrap {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.big-arrow {
  width: 4px;
  height: 90px;

  background: #777;

  position: relative;
}

.big-arrow::after {
  content: '';

  position: absolute;

  left: 50%;
  bottom: -18px;

  transform: translateX(-50%);

  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 22px solid #777;
}

/* =====================================================
           BENEFITS
        ===================================================== */

.benefit-card {
  text-align: center;
}

.benefit-box {
  width: 100%;
  min-height: 210px;

  background: #fff;

  border: 3px solid var(--red);
  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 28px;
}

.benefit-text {
  font-size: 20px;
  line-height: 1.35;
  color: #666;
}

.check {
  width: 70px;
  height: 70px;

  margin: 35px auto 0;

  background: var(--red);

  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.check svg {
  width: 36px;
  height: 36px;
}

/* Stick Badge Section */

.sticky-badge {
  position: fixed;
  right: 0;
  top: 21.4%;
  transform: translateY(-50%);
  width: 90px;
  height: 248px;
  background-color: #dee2e6;
  border-radius: 0px 0 0 20px;
  z-index: 100;
  padding: 25px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: all 1s ease;
}

.sticky-badge.collapsed {
  right: -70px;
}

/* Icons */
.sticky-badge img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

/* Close Button */
.cancle-button {
  cursor: pointer;
  color: #fff;
  font-size: 34px;
  font-weight: bold;
  text-decoration: none;
  line-height: 1;
}

.cancle-button:hover {
  color: #dc3545 !important;
}

/* --- Industry Grid --- */
.industry-grid-mockup {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0;
  list-style: none;
}

.industry-grid-mockup li {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 1.1rem;
}

.industry-grid-mockup li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--consistec-red);
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* --- Stacking Layers --- */
.stacking-wrapper {
  position: relative;
}

.p-section {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease;
}

.layer-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 12px;
}

/* --- Testimonials --- */
.testimonial-v-card {
  transition: transform 0.3s ease;
}

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

.sliding-text-container {
  overflow: hidden;
  height: 15vw;
  display: flex;
  align-items: flex-end;
}

#sliding-bg-text {
  color: #f0f0f0;
  line-height: 0.8;
  transform: translateX(10%);
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ratio-9-16-container {
  aspect-ratio: 9 / 16;
  width: 100%;
}

.video-trigger:hover .bi-play-circle {
  transform: scale(1.1);
  color: var(--consistec-red) !important;
  opacity: 1 !important;
}

.video-trigger:hover .video-overlay {
  opacity: 0.1;
}

.video-overlay {
  transition: opacity 0.3s ease;
}

.cursor-pointer {
  cursor: pointer;
}

/* =========================================
   ECOTEL PARALLAX BACKGROUND EFFECT
========================================= */

#ecotel-section {
  position: relative;
  overflow: hidden;
}

/* Background Image */
#ecotel-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url('../img/ecotel_section_images/image2.jpg');
  background-size: cover;
  background-position: center;

  transform: var(--parallax-transform, scale(1.0));
  transition: transform 0.08s linear;
  will-change: transform;

  z-index: 0;
}


/* Keep existing design above bg */
#ecotel-section>* {
  position: relative;
  z-index: 2;
}

/* Solutions Page Styles */
.py-10 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.mb-10 {
  margin-bottom: 6rem;
}

.mt-10 {
  margin-top: 6rem;
}

.solution-card {
  border-color: rgba(0, 0, 0, 0.05) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-lift:hover {
  transform: translateY(-10px);
  background-color: #fff !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--bs-danger) !important;
}

#faqAccordion .accordion-button:not(.collapsed) {
  color: var(--bs-danger);
}

#faqAccordion .accordion-button::after {
  background-image: none;
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  transition: transform 0.3s ease;
}

#faqAccordion .accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
  color: var(--bs-danger);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

#testimonial-particles {
  opacity: 0.5;
}

/* --- Header / Nav --- */
.navbar {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  z-index: 2000 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .nav-link {
  color: #6c757d !important;

}

/* --- Roadmap Scrub --- */
.roadmap-pin-container {
  height: 350vh;
  /* Increased for longer scroll feel */
  position: relative;
  background-color: #f4f4f4 !important;
  margin-top: -1px;
  /* Prevent sub-pixel gaps */
  z-index: 10;
}

.roadmap-section {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  /* Space for sticky header */
  overflow: hidden;
}

.roadmap-scrub-container {
  width: 100%;
  padding: 4rem 0 8rem 0;
  /* Adjusted for better title visibility */
  position: relative;
}

.roadmap-line-bg {
  position: absolute;
  top: calc(4rem + 50px);
  /* Matches new top padding */
  left: 0;
  right: 0;
  height: 2px;
  background-image: linear-gradient(to right, #ccc 50%, transparent 50%);
  background-size: 20px 2px;
  background-repeat: repeat-x;
  opacity: 0.5;
  z-index: 1;
}

.roadmap-line-progress {
  position: absolute;
  top: calc(4rem + 50px - 1px);
  /* Centers 4px progress on 2px bg line */
  left: 0;
  height: 4px;
  width: 0;
  background-color: var(--consistec-red);
  transition: width 0.1s linear;
  z-index: 2;
  box-shadow: 0 0 10px rgba(230, 0, 0, 0.2);
}

.step-indicator {
  width: 100px;
  height: 100px;
  position: relative;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-indicator i {
  color: #ccc;
}

/* Dynamic Step Colors */
.roadmap-step.active[data-step="0"] .step-indicator {
  background-color: #E60000 !important;
}

.roadmap-step.active[data-step="1"] .step-indicator {
  background-color: #00458b !important;
}

.roadmap-step.active[data-step="2"] .step-indicator {
  background-color: #008b45 !important;
}

.roadmap-step.active[data-step="3"] .step-indicator {
  background-color: #8b4500 !important;
}

.roadmap-step.active .step-indicator i {
  color: #fff !important;
}

.roadmap-step.active .step-indicator {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.roadmap-step.active .step-copy {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.step-copy {
  opacity: 0;
  transform: translateY(15px);
  padding-top: 0.5rem;
  transition: all 0.5s ease;
}

.step-copy h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.step-copy p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

/* --- Benefits Section --- */
.benefits-pin-container {
  height: 125vh;
  /* Reduced scroll space for faster step-by-step reveal */
  position: relative;
  background-color: #f8f9fa !important;
}

.benefits-section {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  padding-top: 80px;
  /* Account for header */
}

.benefits-list {
  position: relative;
}



/* --- Case Studies --- */
.case-card-mockup {
  height: 400px;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-bottom: 4px solid transparent;
}

.case-card-mockup:hover {
  transform: translateY(-10px);
  background-color: #fff !important;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--consistec-red);
}


.custom_profile_btn_color {
  background-color: #dc3545 !important;
}

.custom_profile_intro:hover {
  background-color: #dee2e6 !important;
  /* background-color: #dc3545 !important; */
}

.custom_profile_intro a {
  text-decoration: none;
}

.custom_profile_intro a:hover {
  text-decoration: none;
  color: black;
}

.interactive-banner-style-02 img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* --- Parallax --- */
.parallax-wrapper {
  height: 450px;
  overflow: hidden;
  position: relative;
}

.zoom-scroll-video {
  transform: scale(1);
  will-change: transform;
  transition: transform 0.1s linear;
}



/* Removed global display:none for roadmap lines */

/* Removed override that forced descriptions to be visible */

.industry-grid-mockup {
  grid-template-columns: 1fr;
}


.border-orange {
  border: 1.5px solid #ff5722 !important;
}

.medical-tab-box {
  background: #f1f3f2;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.medical-tab-box h5 {
  color: black;
  transition: color 0.3s ease;
}

.medical-tab-box.active h5 {
  color: #ff5722 !important;
}

.medical-tab-box:hover:not(.active) {
  background: #e9eceb;
}

/* Unified Interactive Tab Box Style */
.industry-tab-box,
.medical-tab-box,
.solutions-tab-box {
  background: var(--bg-gray);
  z-index: 1;
  position: relative;
  transition: var(--transition-smooth);
  border: 1.5px solid var(--medical-orange) !important;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: -35px;
  width: 100%;
}

.industry-tab-box:hover:not(.active),
.medical-tab-box:hover:not(.active) {
  background: #e9eceb;
}

.industry-tab-box.active,
.medical-tab-box.active {
  background: white !important;
  width: calc(100% + 36px) !important;
  margin-right: -1px !important;

  border-right: none !important;
  /* Removes right border when active */

}

.industry-tab-box.active h4,
.industry-tab-box.active h5,
.medical-tab-box.active h5 {
  color: var(--medical-orange) !important;
}

/* Ensure columns are aligned at bottom */
.row.justify-content-center {
  align-items: stretch;
}

#industry-content-area,
.themed-content-area {
  background: white !important;
  border: 1.5px solid var(--medical-orange) !important;
  padding: 3rem;

}