/* --- GLOBAL UTILITIES (UPDATED FOR NATURAL SCROLLING) --- */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes float-slow {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes float-sideways {
  0% {
    transform: translateX(0px);
  }

  50% {
    transform: translateX(10px);
  }

  100% {
    transform: translateX(0px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

.animate-float-sideways {
  animation: float-sideways 5s ease-in-out infinite;
}

.fullscreen-section {
  position: relative;
  width: 100vw;
  /* Height is now determined by content */
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Removed overflow: hidden to allow natural page scrolling */
  padding: 30px 20px;
  /* Consistent top and bottom spacing for all sections */
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  /* Removed height: 100% so the container grows with the content */
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
  /* Changed from vh to px for consistent spacing */
  flex-shrink: 0;
}

.section-title {
  font-family: "Inter", sans-serif !important;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 16px 0;
}

h1,
h2,
h3,
h4,
.section-title,
.team-main-title,
.trust-main-title,
.cta-minimal-title,
.hero-headline,
.display-title,
.trust-title,
.faq-premium-title,
.focus-heading,
.cta-title,
.step-btn-title {
  font-family: "Inter", sans-serif !important;
}

.text-highlight {
  color: #f69b6a !important;
}

@media (max-width: 768px) {
  .section-title,
  .sidebar-title,
  .responsive-heading {
    font-size: clamp(1.7rem, 9vw, 2.2rem) !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
  }

  .responsive-paragraph {
    font-size: 1.05rem !important;
    max-width: 100% !important;
  }

  .benefits-pagination {
    justify-content: center !important;
    margin-top: 3rem !important;
    padding-bottom: 2rem !important;
  }
}

.responsive-heading {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  font-family: "Inter", sans-serif !important;
}

.responsive-paragraph {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 650px;
}

.benefits-pagination {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.text-highlight {
  color: var(--color-accent) !important;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- REMOVED THE INTERNAL SCROLL TRAP --- */
.section-scrollable-body {
  width: 100%;
  /* No more overflow-y, flex: 1, or custom scrollbars needed here */
  height: auto;
}

/* Custom, elegant scrollbar for the internal sections */
.section-scrollable-body::-webkit-scrollbar {
  width: 6px;
}

.section-scrollable-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.section-scrollable-body::-webkit-scrollbar-thumb {
  background: rgba(223, 128, 55, 0.5);
  /* Semi-transparent Accent Color */
  border-radius: 10px;
}

.section-scrollable-body::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* --- 1. HERO SECTION (Parent Container) --- */
.hero-section {
  position: relative;
  width: 100vw;
  height: 75vh;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  color: var(--color-white);
  padding: 0 5vw;
  margin-top: 4rem;
}

/* 2. The Layers (Image & Gradient) */
/* Layer 1 (Bottom): Placeholder Layer (Removed Background Image) */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 0;
}

/* Layer 2 (Middle): Dark Gradient */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Significantly lightened desktop gradient (from 0.7 to 0.35) */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  z-index: 1;
}

/* 3. The Content (Text & Buttons) - THE FIX */
.hero-content {
  /* CRITICAL: This lifts the text above the absolute layers */
  position: relative;
  z-index: 2;

  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  padding: 8px 16px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-headline {
  font-size: 3.5rem;
  line-height: 1.1;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-white);
}

.highlight-box {
  background-color: var(--color-accent);
  padding: 0 10px;
  color: var(--color-white);
  display: inline-block;
}

.hero-subheadline {
  font-size: 1.25rem;
  max-width: 650px;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 400;
  color: var(--color-border);
  line-height: 1.5;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 10px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px;
  font-size: 18px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-black);
  border: 2px solid var(--color-accent);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--color-accent);
  color: var(--color-white);
  backdrop-filter: blur(4px);
}

/* Hero Stats Strip (Pinned to bottom of Hero) */
.hero-stats-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3vh 0;
  z-index: 10;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- 2. WHY CHOOSE US (Light Theme, 100vh) --- */
.section-light {
  background-color: var(--color-light-bg);
}

/* --- HORIZONTAL ACCORDION SECTION --- */
.horizontal-accordion-container {
  display: flex;
  gap: 15px;
  width: 100%;
  margin-top: 40px;
  height: 500px;
}

.accordion-card {
  flex: 1;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.accordion-card:hover {
  flex: 2.5;
}

.accordion-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.6s ease;
}

.accordion-card:hover .accordion-card-bg {
  transform: scale(1.1);
}

.accordion-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay to ensure text readability */
.accordion-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  transition: opacity 0.4s ease;
}

.accordion-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: white;
}

.accordion-card-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.accordion-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.8;
}

.accordion-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: white;
  white-space: nowrap;
}

.accordion-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1);
}

.accordion-card:hover .accordion-details {
  max-height: 200px;
  opacity: 1;
  margin-top: 15px;
}

.accordion-text {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
}

.accordion-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  background: transparent;
  border: none;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: gap 0.3s ease;
}

.accordion-learn-more:hover {
  gap: 12px;
}

.accordion-learn-more span {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .horizontal-accordion-container {
    flex-direction: column;
    height: auto;
  }

  .accordion-card {
    flex: none;
    height: auto;
    width: 100%;
  }

  .accordion-card:hover {
    flex: none;
  }

  .accordion-card-content {
    height: auto;
    padding: 24px 20px;
  }

  .accordion-details {
    max-height: none;
    opacity: 1;
    margin-top: 10px;
  }

  .accordion-title {
    white-space: normal;
    font-size: 1.5rem;
  }
}

/* --- 3. CHALLENGES (White Theme, 100vh) --- */
.section-theme {
  background-color: var(--color-white-bg);
}

/* --- INFRASTRUCTURE MARQUEE SECTION --- */
.infra-section {
  padding: 90px 0;
  background-color: var(--color-white-bg);
  /* Restored to original elegant warm beige theme */
  overflow: hidden;
}

.infra-section-header {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.infra-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.infra-pipe {
  width: 2px;
  height: 30px;
  background-color: var(--color-accent);
  /* Premium accent color */
}

.infra-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #0b1a30;
  /* Premium deep navy */
  margin: 0;
  letter-spacing: -0.02em;
  font-family: "Inter", sans-serif;
  text-align: center;
  line-height: 1.25;
}

.infra-title-accent {
  color: var(--color-accent);
}

.infra-subtitle {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: #555555;
  line-height: 1.7;
  text-align: center;
}

/* Infinite Marquee Track and Card Styling */
.infra-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

/* Gradient shadow overlay on left and right for sleek fadeout effect */
.infra-marquee-wrapper::before,
.infra-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.infra-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white-bg), transparent);
}

.infra-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white-bg), transparent);
}

.infra-marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
}

.infra-marquee-track:hover {
  animation-play-state: paused;
  /* Pause on hover for interaction! */
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.infra-marquee-card {
  background: #ffffff;
  border: 1px solid rgba(11, 26, 48, 0.05);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 360px;
  min-height: 340px;
  margin: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(11, 26, 48, 0.03);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.infra-marquee-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(11, 26, 48, 0.08);
  border-color: rgba(212, 128, 53, 0.3);
}

.infra-card-icon-wrapper {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  background: linear-gradient(135deg, #0a66c2 0%, #084aa0 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.25);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.infra-card-icon-wrapper svg,
.infra-card-icon-wrapper > * {
  display: block;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  min-height: 28px;
  color: #ffffff !important;
  stroke: #ffffff !important;
  flex-shrink: 0;
}

.infra-marquee-card:hover .infra-card-icon-wrapper {
  transform: scale(1.1);
}

.infra-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b1a30;
  margin-bottom: 0.85rem;
  line-height: 1.35;
  font-family: "Inter", sans-serif;
}

.infra-card-desc {
  font-size: 1.05rem;
  color: #606f7b;
  line-height: 1.65;
  margin: 0;
}

.section-white {
  background-color: #fafaf9;
}

/* 3x3 Grid for 9 items */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  /* max-height: 60vh; <-- REMOVE THIS LINE */
}

.challenge-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-light-white);
  transition: all 0.2s ease;
  font-weight: 700;
}

.challenge-item:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  /* Light orange tint on hover */
}

.challenge-icon {
  min-width: 30px;
  height: 30px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 15px;
  font-weight: bold;
  font-size: 0.9rem;
}

.challenge-text {
  font-size: 0.9rem;
  color: var(--color-blue-light);
  line-height: 1.4;
  margin: 0;
}

/* --- 4. BENEFITS (Light Theme, 100vh) --- */
.benefits-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  /* Image smaller, List wider */
  gap: 5vw;
  align-items: flex-start;
  /* CRITICAL FIX: Changed from center to allow sticky scrolling */
  width: 100%;
}

.benefits-image-clean {
  position: sticky;
  top: 120px;
  /* <-- ADD THIS: Gives clearance for your fixed header */
  height: auto;
  width: 100%;
}

.benefits-image-clean img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.05);
  /* Subtle decoration */
}

.benefits-list-clean {
  display: flex;
  flex-direction: column;
  gap: 1vh;
  /* Responsive gap */
  justify-content: center;
}

.benefit-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.check-mark {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-top: 2px;
}

.benefit-content h4 {
  font-size: 1.1rem;
  margin: 0 0 4px 0;
  /* color: var(--color-primary); */
}

.benefit-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.8rem;
  }

  .cards-grid-3 {
    grid-template-columns: 1fr;
    overflow-y: auto;
    max-height: 50vh;
    display: block;
  }

  .info-card {
    margin-bottom: 20px;
  }

  .challenges-grid {
    grid-template-columns: 1fr;
    overflow-y: auto;
    max-height: 50vh;
    display: flex;
    flex-direction: column;
  }

  .benefits-wrapper {
    grid-template-columns: 1fr;
  }

  .benefits-image-clean {
    display: none;
  }

  /* Hide image on tablet to save space */
  .fullscreen-section {
    height: auto;
    min-height: calc(100vh - 4rem);
  }

  /* Unlock height on mobile */
}

/* --- 5. BUILDERS SECTION (Scrollable Architecture) --- */

.builders-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1vw;
  /* align-items: flex-start is REQUIRED for position: sticky to work below */
  align-items: flex-start;
  width: 100%;
}

/* Left Side: The Long List */
.builders-list-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.builder-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.builder-row:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateX(4px);
}

.builder-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.builder-benefit-content {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.builder-title-inline {
  font-weight: 700;
  color: var(--color-primary);
}

/* Right Side: Sticky Visuals */
.builders-visual-side {
  position: sticky;
  top: 120px;
  /* <-- ADD THIS: Gives clearance for your fixed header */
  display: flex;
  flex-direction: column;
  gap: 3vh;
}

.builders-image-clean {
  width: 100%;
  height: auto;
  /* Taller image now that we have room */
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 15px 15px 0px rgba(223, 128, 55, 0.1);
}

.builders-image-clean img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.builders-closing-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: 15px 15px 0px rgba(223, 128, 55, 0.1);
  margin-top: 4vh;
}

.builders-closing-box p {
  color: var(--color-text-main);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .builders-wrapper {
    grid-template-columns: 1fr;
  }

  .builders-visual-side {
    position: relative;
    /* Disables sticky on mobile */
  }

  .builders-image-clean {
    display: none;
    /* Hide image on mobile */
  }
}

/* --- 6. THE PROCESS SECTION (Premium Dashboard UI) --- */

/* Main Tab Toggle (Unchanged) */
.process-tabs-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 2vh;
  flex-shrink: 0;
}

.process-tabs {
  display: inline-flex;
  background: var(--color-white);
  padding: 3px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.process-tab {
  padding: 5px 16px;
  border: none;
  background: transparent;
  border-radius: 40px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.process-tab.active {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(223, 128, 55, 0.3);
}

/* MOBILE FIX FOR TABS */
@media (max-width: 1024px) {
  .process-tabs-container {
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding: 0 20px 10px !important;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
  }

  .process-tabs {
    flex-wrap: nowrap !important;
    min-width: max-content !important;
    display: inline-flex !important;
  }
}

/* --- Dashboard Layout --- */
.dashboard-wrapper {
  display: flex;
  align-items: stretch;
  gap: 3vw;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: auto;
  /* Changed from 55vh */
  min-height: 100%;
  /* Ensures it fills available space */
  padding-bottom: 2vh;
  /* Adds breathing room at the bottom */
}

/* Left Sidebar Menu */
.dashboard-sidebar {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  padding-right: 20px;
  gap: 2vh;
}

.dashboard-step-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 15px;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.dashboard-step-btn:hover {
  background: rgba(0, 0, 0, 0.02);
}

.dashboard-step-btn.active {
  background: var(--color-white);
  border-left-color: var(--color-accent);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.step-btn-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-muted);
  opacity: 0.5;
  transition: all 0.3s;
}

.step-btn-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all 0.3s;
}

.dashboard-step-btn.active .step-btn-number,
.dashboard-step-btn.active .step-btn-title {
  color: var(--color-primary);
  opacity: 1;
}

.dashboard-step-btn.active .step-btn-number {
  color: var(--color-accent);
}

/* Right Presentation Window */
.dashboard-display-window {
  flex: 1.2;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.display-step-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.display-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px 0;
}

.display-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

.fade-in-up {
  animation: fadeInUp 0.4s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .dashboard-wrapper {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }

  .dashboard-sidebar {
    flex-direction: row !important;
    border-right: none !important;
    padding-right: 0 !important;
    overflow-x: auto !important;
    /* Tighter gaps for mobile professional look */
    padding-bottom: 10px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    scrollbar-width: none;
  }

  .dashboard-sidebar::-webkit-scrollbar {
    display: none;
  }

  /* Tab swiper buttons container */
  .dashboard-sidebar-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
  }

  .dashboard-tabs-nav {
    position: absolute;
    top: 100%;
    /* Bottom alignment */
    left: 0;
    right: 0;
    transform: translateY(-5px);
    /* Tucked slightly up */
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10 !important;
    padding: 0 10px;
  }

  .tabs-nav-btn {
    width: 34px;
    /* Slightly smaller to fit better at the bottom */
    height: 34px;
    background: rgba(255, 255, 255, 0.98);
    border: 1.5px solid var(--color-accent);
    /* Branded border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    color: var(--color-accent);
    font-size: 0.9rem;
    transition: all 0.2s ease;
  }

  .tabs-nav-btn:active {
    transform: scale(0.9);
    background: var(--color-accent);
    color: white;
  }

  /* Subtle hint for the next button to encourage swiping */
  .tabs-nav-btn.next {
    animation: pulse-hint 2s infinite;
  }

  @keyframes pulse-hint {
    0% {
      transform: scale(1);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    50% {
      transform: scale(1.1);
      box-shadow: 0 4px 20px rgba(223, 128, 55, 0.3);
    }

    100% {
      transform: scale(1);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
  }

  .dashboard-step-btn {
    width: auto !important;
    min-width: max-content !important;
    border-left: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .dashboard-step-btn.active {
    border-bottom-color: var(--color-accent);
  }
}

@media (max-width: 768px) {
  .display-text-box {
    padding: 24px 20px;
  }

  .display-title {
    font-size: 1.5rem;
  }
}

#trust.fullscreen-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("/hero-bg-premium.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  color: white;
  /* Default color for all text in this section */
}

#trust .section-title {
  color: white;
}

#trust .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Overlay removed per user request */
#trust::before {
  display: none;
}

.trust-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2x2 Grid */
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 2vh;
  position: relative;
  z-index: 2;
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: rgba(255, 255, 255, 0.95);
  /* Slightly transparent card */
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
}

.trust-card:hover {
  background: var(--color-white);
  border-color: var(--color-accent);
  transform: translateY(-5px);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.05),
    0 5px 15px rgba(10, 102, 194, 0.08);
}

/* The Glowing Circular Badge for the Icons */
.trust-icon-badge {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--color-white);
  border: 2px solid rgba(10, 102, 194, 0.2);
  /* Soft blue border */
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.trust-icon-badge svg {
  width: 28px;
  height: 28px;
}

.trust-card:hover .trust-icon-badge {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 8px 20px rgba(223, 128, 55, 0.3);
  transform: scale(1.05);
}

.trust-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  /* Aligns the title visually with the center of the icon */
}

.trust-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.trust-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .trust-grid-wrapper {
    gap: 20px;
  }

  .trust-card {
    padding: 30px 24px;
    gap: 20px;
  }

  .trust-title {
    font-size: 1.25rem;
  }

  .trust-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .trust-grid-wrapper {
    grid-template-columns: 1fr;
    /* Stacks to 1 column on mobile phones */
  }

  .trust-card {
    padding: 24px 20px;
  }

  #trust.fullscreen-section {
    background-attachment: scroll;
    /* Fixed attachment can be buggy on mobile */
  }
}

/* --- 8. THE TEAM SECTION (Left/Right Layout with 3 Founders) --- */

.team-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  /* Story left, Cards right */
  gap: 1vw;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  padding-bottom: 5vh;
  /* Extra padding for the staggered bottom card */
}

/* --- Left Side: Story & Mission --- */
.team-story-side {
  display: flex;
  flex-direction: column;
}

.story-badge {
  display: inline-block;
  color: var(--color-accent);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.story-headline {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 24px 0;
  line-height: 1.2;
}

.story-text-content p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 20px 0;
}

.story-text-content strong {
  color: var(--color-primary);
  font-weight: 700;
}

.mission-quote {
  margin: 20px 0 0 0;
  padding: 10px;
  background: var(--color-light-white);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* --- Right Side: Profile Cards (Pyramid Layout) --- */
.team-cards-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 20px;
}

.team-profile-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  margin-left: 5%;
  margin-right: 5%;
  /* width: 80%; */
}

/* Base hover effect for all cards */
.team-profile-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border-color: rgba(223, 128, 55, 0.3);
}

/* Card 1 (Top Left) Hover */
.team-cards-side .team-profile-card:nth-child(1):hover {
  transform: translateY(-5px);
}

/* Card 2 (Top Right) Staggered Down */
.team-cards-side .team-profile-card:nth-child(2) {
  transform: translateY(20px);
}

.team-cards-side .team-profile-card:nth-child(2):hover {
  transform: translateY(15px);
  /* Maintains hover lift while staggered */
}

/* Card 3 (Bottom Center) Spans both columns */
.team-cards-side .team-profile-card:nth-child(3) {
  grid-column: 1 / -1;
  /* Spans across both columns */
  width: calc(45%);
  /* Makes it exactly the width of one card */
  justify-self: center;
  /* Centers it horizontally */
  transform: translateY(20px);
  /* Tucks it nicely between the top two cards */
}

.team-cards-side .team-profile-card:nth-child(3):hover {
  transform: translateY(15px);
  /* Maintains hover lift while staggered */
}

.team-cards-side .mission-quote {
  grid-column: 1 / -1;
  /* Forces the quote to span across both columns */
  margin-top: 20px;
  /* Adds breathing room to account for the staggered cards above */
}

.profile-image-wrapper {
  position: relative;
  width: 100%;
  height: 150px;
  /* Slightly shorter to fit all 3 nicely on desktop */
  overflow: hidden;
  background: var(--color-border);
}

.profile-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Moved from JSX to here. 'cover' usually looks best for profile cards */
  object-position: top center;
  /* Ensures the head/face stays in the frame if cropped */
  transition: transform 0.5s ease;
}

.team-profile-card:hover .profile-image-wrapper img {
  transform: scale(1.05);
}

.linkedin-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: var(--color-white);
  color: var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.linkedin-btn:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: scale(1.1);
}

.profile-info {
  padding: 10px;
  text-align: center;
}

.profile-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 4px 0;
}

.profile-role {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0;
}

.profile-divider {
  width: 30px;
  height: 2px;
  background: var(--color-border);
  margin: 0 auto 12px auto;
}

.profile-exp {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 8 (TEAM)
   ========================================= */
@media (max-width: 1024px) {
  .team-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-cards-side {
    max-width: 700px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #team.fullscreen-section {
    height: auto;
    min-height: fit-content;
    padding: 30px 20px;
    justify-content: flex-start;
  }

  #team .section-heading {
    margin-bottom: 20px;
  }

  #team .section-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  #team .section-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .team-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
  }

  .story-headline {
    font-size: 1.8rem;
  }

  .story-text-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .mission-quote {
    margin-top: 0px;
    padding: 12px;
    font-size: 1.1rem;
  }

  /* Stack all cards to a single column on mobile */
  .team-cards-side {
    grid-template-columns: 1fr;
    width: 100%;
  }

  /* Reset desktop margins and staggers so mobile cards sit flush and full width */
  .team-cards-side .team-profile-card {
    margin-left: 0;
    margin-right: 0;
    width: 100% !important;
  }

  .team-cards-side .team-profile-card:nth-child(2),
  .team-cards-side .team-profile-card:nth-child(3) {
    transform: translateY(0);
  }

  /* Reset hover transforms for mobile stack */
  .team-cards-side .team-profile-card:nth-child(1):hover,
  .team-cards-side .team-profile-card:nth-child(2):hover,
  .team-cards-side .team-profile-card:nth-child(3):hover {
    transform: translateY(-5px);
  }

  /* FIX FOR MOBILE IMAGES */
  .profile-image-wrapper {
    height: 280px;
    /* Increased from 160px so it looks like a proper portrait photo */
    /* Alternatively, you can use: aspect-ratio: 4/3; height: auto; */
  }

  .profile-name {
    font-size: 1.15rem;
  }

  .profile-role {
    font-size: 0.9rem;
  }

  .profile-exp {
    font-size: 0.85rem;
  }
}

/* --- 9. EARLY ACCESS & CTA SECTION --- */

#early-access.fullscreen-section {
  background-image: url("https://images.unsplash.com/photo-1464938050520-ef2270bb8ce8?q=80&w=2070&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax effect */
  position: relative;
  overflow: hidden;
  padding: 100px 20px;
}

#early-access::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Premium, slightly more transparent gradient to let the HD image shine through */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.75) 100%
  );
  z-index: 1;
}

#early-access .container {
  position: relative;
  z-index: 2;
}

.early-access-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Perfect 50/50 split */
  gap: 4vw;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  /* Centers everything vertically */
  padding-bottom: 2vh;
}

/* --- Left Side: Current Focus --- */
.focus-content-side {
  display: flex;
  flex-direction: column;
  padding-right: 2vw;
}

.focus-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 24px 0;
  position: relative;
  display: inline-block;
}

/* Small underline decoration for the heading */
.focus-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.focus-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.focus-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-white);
  padding: 20px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.focus-list-item:hover {
  transform: translateX(4px);
  border-color: var(--color-accent);
}

.focus-check {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.focus-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Right Side: Dark VIP CTA Card --- */
.cta-card-side {
  background: var(--color-primary);
  /* Dark Navy/Black */
  border-radius: var(--radius-md);
  padding: 40px 45px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* Decorative ambient glow inside the dark card */
.cta-card-side::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(223, 128, 55, 0.15) 0%,
    transparent 60%
  );
  z-index: 0;
  pointer-events: none;
}

.cta-card-inner {
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-block;
  background: rgba(223, 128, 55, 0.15);
  color: var(--color-accent);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(223, 128, 55, 0.3);
}

.cta-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 16px 0;
}

.cta-desc {
  font-size: 1rem;
  color: var(--color-blue-light);
  /* Light Gray */
  line-height: 1.6;
  margin: 0 0 30px 0;
}

/* The Input Form Area */
.cta-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: var(--color-white);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.2s ease;
}

.cta-input::placeholder {
  color: var(--color-blue-light);
}

.cta-input:focus {
  border-color: var(--color-accent);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(223, 128, 55, 0.2);
}

.cta-submit-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1.05rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .early-access-wrapper {
    grid-template-columns: 1fr;
    /* Stacks vertically */
    gap: 40px;
  }

  .focus-content-side {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .cta-card-side {
    padding: 30px 24px;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  #early-access.fullscreen-section {
    background-attachment: scroll;
  }
}

/* --- 10. FAQ SECTION (Accordion) --- */

.faq-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 4vh;
  /* Breathing room at the bottom of the scroll */
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
  gap: 20px;
}

.faq-question-text {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.faq-question-btn:hover .faq-question-text {
  color: var(--color-accent);
}

.faq-icon-wrapper {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* * The smooth Accordion trick using CSS Grid 
 * It transitions from 0fr (0 height) to 1fr (natural height)
 */
.faq-answer-container {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer-inner {
  overflow: hidden;
  /* Crucial: hides the text when grid row is 0fr */
}

.faq-answer-inner p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 24px 0;
  /* Margin only at the bottom for spacing */
  max-width: 800px;
}

/* --- Active/Open State --- */
.faq-item.open {
  border-color: rgba(10, 102, 194, 0.3);
  /* Subtle blue border when open */
}

.faq-item.open .faq-question-text {
  color: var(--color-accent);
}

.faq-item.open .faq-icon-wrapper {
  color: var(--color-accent);
}

/* Rotates the plus icon and hides the vertical line to turn it into a minus */
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-item.open .icon-vertical {
  opacity: 0;
}

/* Opens the accordion */
.faq-item.open .faq-answer-container {
  grid-template-rows: 1fr;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .faq-question-btn {
    padding: 20px 0;
  }

  .faq-question-text {
    font-size: 1.05rem;
  }

  .faq-answer-inner p {
    font-size: 0.95rem;
    margin: 0 0 20px 0;
  }
}

/* --- 11. FINAL CTA SECTION --- */

/* Hide the toggle buttons on Desktop */
.mobile-cta-tabs {
  display: none;
}

/* Original Split-Card Layout for Desktop */
.final-cta-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4vw;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 4vh;
}

.final-cta-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.final-cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.investor-card {
  border-top: 4px solid var(--color-accent);
}

.builder-card {
  border-top: 4px solid var(--color-accent);
}

.cta-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.investor-card .cta-card-icon {
  background: rgba(223, 128, 55, 0.1);
  color: var(--color-accent);
}

.builder-card .cta-card-icon {
  background: rgba(31, 41, 55, 0.05);
  color: var(--color-primary);
}

.cta-card-icon svg {
  width: 32px;
  height: 32px;
}

.cta-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 16px 0;
}

.cta-card-text {
  font-size: 1.1rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.cta-action-btn {
  padding: 10px;
  font-size: 1.1rem;
  border-radius: 6px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.cta-card-footer {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  font-style: italic;
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 1 (HERO)
   ========================================= */
@media (max-width: 768px) {
  /* 1. FIX THE TOP SPACING */
  .hero-section {
    margin-top: 4rem;
    justify-content: center;
  }

  /* 2. Make the background gradient black on mobile */
  .hero-section::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.85) 60%,
      rgba(0, 0, 0, 0.85) 60%
    );
  }

  /* 3. Center the content */
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 4. Make fonts smaller and more refined */
  .hero-tag {
    font-size: 0.75rem;
    padding: 6px 12px;
    margin-bottom: 20px;
  }

  .hero-headline {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 20px;
  }

  /* Hide the <br> tag so text wraps naturally */
  .hero-headline br {
    display: none;
  }

  .hero-subheadline {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 30px;
  }

  /* 5. Stack buttons vertically */
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 12px 20px;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 2 (ABOUT)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Unlock section height */
  #about.fullscreen-section {
    height: auto;
    min-height: fit-content;
    padding: 30px 20px;
    /* Keep the padding rule if you want smaller spacing on mobile! */
    justify-content: flex-start;
  }

  #about .section-heading {
    margin-bottom: 10px;
  }

  #about .section-title {
    font-size: 1.6rem;
    line-height: 1;
  }

  #about .section-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* 2. Format Grid into a Column */
  .cards-grid-3 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: none;
    overflow-y: visible;
  }

  /* 3. Accordion Styling */
  .info-card {
    padding: 20px;
    margin-bottom: 0;
    cursor: pointer;
  }

  .card-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .card-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  /* Remove the watermark effect on mobile so it sits cleanly next to the title */
  .card-number {
    font-size: 2.2rem;
    margin: 0;
    line-height: 1;
  }

  .card-title {
    font-size: 1.25rem;
    margin: 0;
  }

  /* 4. Chevron Toggle Animation */
  .mobile-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .info-card.open .mobile-toggle-icon {
    transform: rotate(180deg);
  }

  /* 5. Smooth Accordion Body (CSS Grid trick) */
  .card-text-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .info-card.open .card-text-wrapper {
    grid-template-rows: 1fr;
  }

  .card-text-inner {
    overflow: hidden;
  }

  .card-text {
    font-size: 0.95rem;
    padding-top: 16px;
    margin: 0;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 3 (CHALLENGES)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Unlock the section height so it naturally fits all 9 items */
  #challenges.fullscreen-section {
    height: auto;
    min-height: fit-content;
    padding: 30px 20px;
    /* Keep the padding rule if you want smaller spacing on mobile! */
    justify-content: flex-start;
  }

  #challenges .section-heading {
    margin-bottom: 10px;
  }

  #challenges .section-title {
    font-size: 1.6rem;
    line-height: 1;
  }

  #challenges .section-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* 2. Fix the Grid: Remove the internal scrollbar and stack in 1 column */
  .challenges-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    /* Tighter gap to save vertical space */
    max-height: none;
    /* Kills the internal scroll trap */
    overflow-y: visible;
  }

  /* 3. Streamline the cards for mobile */
  .challenge-item {
    padding: 16px;
    /* Slightly tighter padding */
  }

  .challenge-icon {
    min-width: 28px;
    height: 28px;
    font-size: 0.85rem;
    margin-right: 12px;
  }

  .challenge-text {
    font-size: 0.95rem;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 4 (BENEFITS)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Unlock the section height */
  #benefits.fullscreen-section {
    height: auto;
    min-height: fit-content;
    padding: 30px 20px;
    /* Keep the padding rule if you want smaller spacing on mobile! */
    justify-content: flex-start;
  }

  /* 2. Fix Header Spacing */
  #benefits .section-heading {
    margin-bottom: 10px;
  }

  #benefits .section-title {
    font-size: 1.6rem;
    line-height: 1;
  }

  #benefits .section-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* 3. Space out the benefits list nicely */
  .benefits-wrapper {
    display: flex;
    flex-direction: column;
  }

  .benefit-row {
    gap: 12px;
    /* Brings the checkmark slightly closer to the text */
  }

  .check-mark {
    font-size: 1.1rem;
    margin-top: 2px;
  }

  .benefit-content h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .benefit-content p {
    font-size: 0.95rem;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 5 (BUILDERS)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Unlock the section height to prevent cutoffs */
  #builders.fullscreen-section {
    height: auto;
    min-height: fit-content;
    padding: 30px 20px;
    /* Keep the padding rule if you want smaller spacing on mobile! */
    justify-content: flex-start;
  }

  /* 2. Adjust the headers */
  #builders .section-heading {
    margin-bottom: 10px;
  }

  #builders .section-title {
    font-size: 1.6rem;
    line-height: 1;
  }

  #builders .section-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* 3. Stack the wrapper and kill internal scrolling */
  .builders-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-height: none;
    overflow: visible;
  }

  .builders-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* 4. Make the list rows neat and tap-friendly */
  .builder-row {
    padding: 12px;
    gap: 6px;
    align-items: flex-start;
  }

  .builder-check {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
  }

  /* 5. Fix text wrapping so the Title and Description flow nicely */
  .builder-benefit-content {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .builder-title-inline {
    display: inline;
    /* Keeps the colon connected to the title */
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
  }

  .builder-desc-inline {
    display: inline;
    color: var(--color-text-muted);
  }

  /* 6. Refine the bottom visual side */
  .builders-visual-side {
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
  }

  .builders-image-clean {
    display: none;
    /* Hide the image on mobile to save screen space */
  }

  /* Style the closing box like a premium highlight */
  .builders-closing-box {
    padding: 20px;
    text-align: left;
    border: none;
    background: var(--color-white);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  }

  .builders-closing-box p {
    font-size: 0.95rem;
    text-align: left;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 6 (PROCESS)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Match the tight section spacing from Section 5 */
  #process.fullscreen-section {
    height: auto;
    min-height: fit-content;
    padding: 30px 20px;
    /* Keep the padding rule if you want smaller spacing on mobile! */
    justify-content: flex-start;
  }

  /* 2. Adjust headers to match Section 5 exactly */
  #process .section-heading {
    margin-bottom: 10px;
  }

  #process .section-title {
    font-size: 1.6rem;
    line-height: 1;
  }

  #process .section-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* 3. Tighten the main Tab toggles */
  .process-tabs-container {
    margin-bottom: 15px;
  }

  .process-tab {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* 4. Dashboard layout adjustments */
  .dashboard-wrapper {
    flex-direction: column;
    gap: 12px;
  }

  /* 5. Horizontal scroll for step buttons */
  .dashboard-sidebar {
    display: flex;
    flex-direction: row;
    border-right: none;
    padding-right: 0;
    overflow-x: auto;
    /* Allows swiping left/right */
    padding-bottom: 5px;
    gap: 8px;
  }

  /* Hide the scrollbar on the steps for a cleaner look */
  .dashboard-sidebar::-webkit-scrollbar {
    display: none;
  }

  /* Make step buttons compact and stop them from squishing */
  .dashboard-step-btn {
    width: auto;
    flex-shrink: 0;
    /* CRITICAL FIX: Stops buttons from disappearing */
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    white-space: nowrap;
    padding: 8px 12px;
    gap: 8px;
  }

  .dashboard-step-btn.active {
    border-bottom-color: var(--color-accent);
    background: transparent;
    box-shadow: none;
  }

  .step-btn-number {
    font-size: 1rem;
  }

  .step-btn-title {
    font-size: 0.9rem;
  }

  /* 6. Display window adjustments */
  .display-image-box {
    height: 220px;
    min-height: 220px;
  }

  .display-text-box {
    padding: 16px 20px;
  }

  .display-step-badge {
    margin-bottom: 8px;
    font-size: 0.75rem;
  }

  .display-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .display-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 7 (TRUST)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Match the unified section spacing */
  #trust.fullscreen-section {
    height: auto;
    min-height: fit-content;
    padding: 30px 20px;
    /* Keep the padding rule if you want smaller spacing on mobile! */
    justify-content: flex-start;
  }

  /* 2. Adjust headers to match previous sections */
  #trust .section-heading {
    margin-bottom: 20px;
  }

  #trust .section-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  #trust .section-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .section-scrollable-body {
    padding-right: 0px;
    padding-bottom: 0px;
  }

  /* 3. Refine the Grid and Cards for smaller screens */
  .trust-grid-wrapper {
    grid-template-columns: 1fr;
    /* Ensures 1 column */
    gap: 16px;
    /* Tighter gap between cards */
    padding-bottom: 0px;
  }

  .trust-card {
    padding: 12px;
    gap: 8px;
    /* Tighter gap between icon and text */
    align-items: flex-start;
  }

  /* 4. Scale down the glowing icons slightly */
  .trust-icon-badge {
    width: 48px;
    height: 48px;
  }

  .trust-icon-badge svg {
    width: 24px;
    height: 24px;
  }

  /* 5. Refine Typography */
  .trust-content {
    margin-top: 0;
    gap: 0px;
  }

  .trust-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .trust-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 8 (TEAM)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Match the unified section spacing */
  #team.fullscreen-section {
    height: auto;
    min-height: fit-content;
    padding: 30px 20px;
    /* Keep the padding rule if you want smaller spacing on mobile! */
    justify-content: flex-start;
  }

  /* 2. Unified Headers */
  #team .section-heading {
    margin-bottom: 20px;
  }

  #team .section-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  #team .section-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* 3. Stack the entire layout vertically */
  .team-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
  }

  /* 4. Refine the Story & Typography for Mobile */
  .story-headline {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .story-text-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .mission-quote {
    margin-top: 0px;
    padding: 12px;
    font-size: 1.1rem;
    /* Shrunk the massive quote */
  }

  /* 5. Fix the Founder Cards */
  .team-cards-side {
    display: grid;
    grid-template-columns: 1fr;
    /* Force 1 column on all phones */
    gap: 20px;
    width: 100%;
  }

  /* Remove the desktop 'stagger' so cards sit flush */
  .team-cards-side .team-profile-card:nth-child(2) {
    transform: translateY(0);
  }

  /* Slightly shorter images to save screen space */
  .profile-image-wrapper {
    height: 220px;
  }

  .profile-name {
    font-size: 1.15rem;
  }

  .profile-role {
    font-size: 0.9rem;
  }

  .profile-exp {
    font-size: 0.85rem;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 9 (EARLY ACCESS)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Match the unified section spacing */
  #early-access.fullscreen-section {
    height: auto;
    min-height: fit-content;
    padding: 30px 20px;
    /* Keep the padding rule if you want smaller spacing on mobile! */
    justify-content: flex-start;
  }

  /* 2. Unified Headers */
  #early-access .section-heading {
    margin-bottom: 20px;
  }

  #early-access .section-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  #early-access .section-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* 3. Stack the entire layout vertically */
  .early-access-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 0px;
  }

  /* 4. Left Side: Focus Content */
  .focus-content-side {
    padding-right: 0;
  }

  .focus-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .focus-list {
    gap: 12px;
  }

  .focus-list-item {
    padding: 10px;
    gap: 8px;
  }

  .focus-check {
    width: 20px;
    height: 20px;
    margin-top: 2px;
  }

  .focus-text {
    font-size: 0.95rem;
  }

  /* 5. Right Side: Dark CTA Card */
  .cta-card-side {
    padding: 24px 20px;
    /* Reduces the massive desktop padding */
  }

  .cta-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    margin-bottom: 16px;
  }

  .cta-title {
    font-size: 1.6rem;
    /* Scaled down to fit phones nicely */
    margin-bottom: 12px;
  }

  .cta-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  /* 6. Form Elements */
  .cta-form-group {
    gap: 12px;
  }

  .cta-input {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .cta-submit-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 10 (FAQ)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Match the unified section spacing */
  #faq.fullscreen-section {
    height: auto;
    min-height: fit-content;
    padding: 30px 20px;
    /* Keep the padding rule if you want smaller spacing on mobile! */
    justify-content: flex-start;
  }

  /* 2. Unified Headers */
  #faq .section-heading {
    margin-bottom: 20px;
  }

  #faq .section-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  #faq .section-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* 3. Refine the Accordion spacing */
  .faq-wrapper {
    padding-bottom: 0px;
  }

  /* 4. Adjust the Question Button to fit mobile thumbs */
  .faq-question-btn {
    padding: 16px 0;
    /* Tighter padding for mobile */
    gap: 16px;
  }

  .faq-question-text {
    font-size: 1.05rem;
    /* Scaled down slightly so long questions don't wrap awkwardly */
    line-height: 1.4;
  }

  /* Shrink the Plus/Minus icon slightly */
  .faq-icon-wrapper {
    width: 24px;
    height: 24px;
  }

  .faq-icon {
    width: 18px;
    height: 18px;
  }

  /* 5. Adjust the Answer Text */
  .faq-answer-inner p {
    font-size: 0.95rem;
    margin: 0 0 16px 0;
    /* Tighter bottom margin before the next line */
    line-height: 1.6;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS: SECTION 11 (FINAL CTA)
   ========================================= */
@media (max-width: 768px) {
  #contact.fullscreen-section {
    height: auto;
    min-height: fit-content;
    padding: 30px 20px;
    /* Keep the padding rule if you want smaller spacing on mobile! */
    justify-content: flex-start;
  }

  #contact .section-heading {
    margin-bottom: 20px;
  }

  #contact .section-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  #contact .section-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* Show the toggle tabs on mobile */
  .mobile-cta-tabs {
    display: flex;
    margin-bottom: 20px;
  }

  /* Stack layout for the cards */
  .final-cta-wrapper {
    display: flex;
    flex-direction: column;
    padding-bottom: 0px;
  }

  /* CSS logic to hide/show cards based on tab state */
  .mobile-hidden {
    display: none !important;
  }

  .mobile-active {
    display: flex !important;
    animation: fadeInUp 0.4s ease-out forwards;
  }

  /* Make the active card look perfect on mobile */
  .final-cta-card {
    padding: 12px;
  }

  .cta-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0px;
  }

  .cta-card-icon svg {
    width: 28px;
    height: 28px;
  }

  .cta-card-title {
    font-size: 1.5rem;
    margin-bottom: 0px;
  }

  .cta-card-text {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .cta-action-btn {
    padding: 10px;
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .cta-card-footer {
    font-size: 0.85rem;
  }
}

/* --- 5. TEAM SECTION (Leadership Style) --- */
.team-section-premium {
  padding: 0;
  background: var(--color-white);
}

.team-header-banner {
  background: linear-gradient(135deg, #0077c8 0%, #004a80 100%);
  padding: 80px 0 160px 0;
  /* Extra bottom padding for the cards to overlap */
  position: relative;
}

.team-header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.team-header-content {
  max-width: 600px;
}

.team-main-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.team-main-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.team-nav-arrows {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.team-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-nav-btn:hover {
  background: white;
  color: #0077c8;
  border-color: white;
}

.team-cards-container {
  margin-top: -100px;
  /* Overlap the banner */
  position: relative;
  z-index: 2;
}

.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card-premium {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.team-card-premium:hover {
  transform: translateY(-10px);
}

.team-card-image {
  height: 350px;
  width: 100%;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: filter 0.4s ease;
}

.team-card-premium:hover .team-card-image img {
  filter: grayscale(0);
}

.team-card-info {
  padding: 30px;
}

.team-card-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.team-card-role {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .team-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-nav-arrows {
    display: none;
  }

  .team-main-title {
    font-size: 2.5rem;
  }

  .team-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 6. INTEGRATED TEAM SECTION (True Northspyre Style) --- */
.team-section-integrated {
  width: 100vw;
  padding: 60px 0;
  /* background removed */
  overflow: hidden;
}

.team-integrated-wrapper {
  display: flex;
  align-items: stretch;
  min-height: 450px;
  /* Reduced from 550px */
  width: 100%;
}

.team-text-banner {
  flex: 0 0 35%;
  background: linear-gradient(135deg, #0a66c2 0%, #084aa0 100%);
  /* Premium blue gradient */
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  position: relative;
  z-index: 2;
  box-shadow: 20px 0 40px rgba(0, 0, 0, 0.1);
}

.team-text-content-inner {
  max-width: 400px;
}

.team-text-banner .text-highlight {
  color: #0b6a9c !important;
  /* Charcoal color for visibility on orange */
}

.team-nav-arrows-inline {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 40px;
}

.team-cards-scroll-area {
  flex: 1;
  display: flex;
  gap: 10px;
  /* Reduced from 25px */
  padding: 40px 100px 40px 15px;
  /* Added extra right padding and reduced left padding */
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  /* Hide scrollbar for clean look */
}

.team-cards-scroll-area::-webkit-scrollbar {
  display: none;
}

.team-card-premium {
  flex: 0 0 350px;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
  height: fit-content;
}

.team-card-premium:hover {
  transform: translateY(-10px);
}

.team-card-image {
  height: 300px;
  /* Reduced from 380px */
  width: 100%;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-info {
  padding: 25px;
  background: white;
}

.team-card-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 5px 0;
}

.team-card-role {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .team-integrated-wrapper {
    flex-direction: column;
  }

  .team-text-banner {
    flex: none;
    width: 100%;
    padding: 40px;
  }

  .team-cards-scroll-area {
    padding: 20px;
  }

  .team-card-premium {
    flex: 0 0 300px;
  }
}

.challenges-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* Equal proportions */
  gap: 40px;
  /* Reduced gap from 80px */
  align-items: center;
  width: 100%;
  max-width: 1100px;
  /* Limits the overall width to remove excessive side space */
  margin: 40px auto 0 auto;
  /* Centers the narrow layout */
}

.challenges-side-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.challenge-card-item {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.challenge-card-item:hover {
  transform: translateX(10px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(223, 128, 55, 0.1);
}

.challenges-side-column:last-child .challenge-card-item:hover {
  transform: translateX(-10px);
}

.challenge-number {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-accent);
  background: rgba(223, 128, 55, 0.1);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.challenge-text {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.challenges-middle-visual {
  width: 100%;
  max-width: 480px;
  /* Increased from 400px for better visibility */
  margin: 0 auto;
}

.visual-wrapper {
  aspect-ratio: 1 / 1;
  /* Square shape as requested */
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.visual-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.visual-wrapper:hover img {
  transform: scale(1.1);
}

.visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.visual-wrapper:hover .visual-overlay {
  opacity: 1;
}

.visual-overlay span {
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .challenges-split-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .challenges-middle-visual {
    order: -1;
    min-height: 300px;
  }
}

/* --- 8. INTEGRATED BENEFITS SECTION (Modern Card Carousel) --- */
.benefits-section-integrated {
  width: 100vw;
  padding: 40px 0 20px 0;
  /* background removed for alternating pattern */
  overflow: hidden;
}

.benefits-integrated-wrapper {
  display: flex;
  width: 100%;
  align-items: flex-start;
}

.benefits-text-sidebar {
  flex: 0 0 32%;
  padding: 0 60px 0 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 25px;
}

.sidebar-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 450px;
}

.sidebar-btn {
  width: fit-content;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 700;
}

.benefits-visual-area {
  flex: 1;
  position: relative;
  min-height: 650px;
  /* Increased to accommodate card shift */
  overflow: hidden;
  /* CRITICAL: Clips the cards so they can scroll */
  max-width: 68%;
  /* Remaining space after sidebar (32%) */
}

.benefits-bg-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 450px;
  z-index: 1;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}

.benefits-bg-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  /* Reset opacity to ensure visibility */
  filter: brightness(0.9);
}

.benefits-cards-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  /* CRITICAL: Keeps cards in one line */
  gap: 30px;
  padding: 160px 5vw 40px 40px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  width: 100%;
  /* Fill the visual area */
}

.benefits-cards-row::-webkit-scrollbar {
  display: none;
}

.benefit-card-premium {
  flex: 0 0 380px;
  background: #0b6a9c;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center content vertically */
  align-items: center;
  /* Center content horizontally */
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  height: 400px;
  /* Reduced height for a more compact look */
}

.benefit-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.6s ease;
}

.benefit-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.benefit-card-premium:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  border-color: var(--color-accent);
}

.benefit-card-premium:hover .benefit-card-bg {
  transform: scale(1.1);
}

.benefit-card-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
  gap: 15px;
}

.benefit-icon-box {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-accent);
  border-radius: 50%;
  /* Circular icons for a cleaner look */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon-box svg {
  width: 100%;
  height: 100%;
}

.benefit-card-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 2px;
  opacity: 0.8;
}

.benefit-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
  line-height: 1.2;
}

.benefit-card-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 300px;
}

.swiper-pagination-custom {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding-bottom: 20px;
}

.swiper-dot {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.swiper-dot.active {
  width: 30px;
  background: #0077c8;
  border-radius: 10px;
}

@media (max-width: 1200px) {
  .benefits-integrated-wrapper {
    flex-direction: column;
  }

  .benefits-text-sidebar {
    flex: none;
    width: 100%;
    padding: 0 5vw 30px 5vw;
    text-align: center;
  }

  .sidebar-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .benefits-visual-area {
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }

  .benefits-bg-banner {
    width: 100%;
    border-radius: 0;
    height: 250px;
    position: relative;
  }

  .benefits-cards-row {
    padding: 40px 5vw 40px 5vw;
  }

  .benefit-card-premium {
    flex: 0 0 280px;
    padding: 25px;
  }
}

.benefits-navigation-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 20px 0;
  /* Reduced space below */
  position: relative;
  z-index: 100;
}

.benefits-nav-btns {
  display: flex;
  gap: 30px;
}

.nav-arrow-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--color-accent);
  /* Vibrant Blue */
  color: white;
  /* White text for contrast */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 10px 25px rgba(10, 102, 194, 0.3);
  /* Glowing blue shadow */
}

.nav-arrow-btn:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ PREMIUM SECTION */
.faq-premium-section {
  padding: 100px 5%;
  /* Changed to 5% to allow more horizontal room */
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-header-full {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.faq-premium-title {
  font-size: 3rem;
  /* Decreased from 3.5rem to match other headings */
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.faq-premium-subtitle {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.7;
  max-width: 700px;
}

.faq-premium-grid {
  display: flex !important;
  flex-direction: row !important;
  gap: 60px;
  align-items: center;
  /* Changed from flex-start to center to align the side image in the middle */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-accordion-column {
  flex: 1.2;
  min-width: 0;
  /* Prevents flex items from overflowing */
}

.faq-image-column {
  flex: 0.8;
  min-width: 0;
}

.faq-image-column {
  display: flex;
  flex-direction: column;
}

.faq-side-image-premium {
  position: relative;
  height: 350px;
  /* Reduced fixed height as requested */
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.faq-side-image-premium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.faq-side-image-premium:hover img {
  transform: scale(1.05);
}

.faq-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.overlay-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.faq-accordion-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-accordion-item {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-accordion-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.faq-accordion-item.active {
  background: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 12px 30px rgba(243, 112, 33, 0.1);
}

.faq-accordion-header {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-accordion-question {
  font-size: 1.2rem;
  font-weight: 700;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-question {
  color: var(--color-accent);
}

.faq-accordion-arrow {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  transition: transform 0.4s ease;
}

.active .faq-accordion-arrow {
  color: var(--color-accent);
  transform: rotate(180deg);
}

.faq-accordion-content {
  padding: 0 30px 30px 30px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  /* Fixed: Changed from white to dark grey */
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .faq-premium-grid {
    flex-direction: column !important;
  }

  .faq-premium-title {
    font-size: 2.5rem;
  }
}

/* TRUST SPLIT LAYOUT (Bechtel Style) */
.trust-split-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding: 80px 0;
}

.trust-info-side {
  flex: 0 0 350px;
  position: sticky;
  top: 100px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.trust-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.trust-main-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 40px;
}

.trust-cta-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-icon-circle {
  width: 50px;
  height: 50px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.cta-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.trust-cta-btn:hover .cta-icon-circle {
  transform: scale(1.1);
  background: var(--color-primary);
}

.trust-cards-side {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.trust-feature-card {
  flex: 0 0 calc(50% - 15px);
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.trust-feature-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  border-color: var(--color-accent);
}

.display-content {
  display: flex;
  flex-direction: row;
  height: 100%;
  align-items: stretch;
}

.display-image-box {
  position: relative;
  width: 45%;
  height: 100%;
  min-height: 350px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
}

.display-image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.display-text-box {
  flex: 1;
  padding: 40px;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 991px) {
  .display-content {
    flex-direction: column;
  }

  .display-image-box {
    width: 100%;
    height: 250px;
    min-height: auto;
    border-radius: 8px 8px 0 0;
  }

  .display-text-box {
    padding: 25px;
  }
}

.trust-feature-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.trust-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.trust-feature-card:hover .trust-feature-image img {
  transform: scale(1.05);
}

.trust-feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.trust-feature-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1100px) {
  .trust-split-wrapper {
    flex-direction: column;
    gap: 60px;
  }

  .trust-info-side {
    flex: none;
    width: 100%;
    position: static;
  }

  .trust-cards-side {
    flex-wrap: wrap;
  }

  .trust-feature-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 600px) {
  .trust-feature-card {
    flex: 0 0 100%;
  }
}

/* MINIMAL CENTERED CTA (Second Image Reference) */
.cta-minimal-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.cta-badge-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cta-badge-star {
  font-size: 1.2rem;
  color: var(--color-primary);
}

.cta-minimal-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-minimal-btn {
  background: #f1b05a;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 18px 45px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(241, 176, 90, 0.2);
}

.cta-minimal-btn:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(241, 176, 90, 0.3);
}

@media (max-width: 768px) {
  .cta-minimal-title {
    font-size: 2.2rem;
  }

  .cta-minimal-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}

/* MOBILE HERO OPTIMIZATION - Only lightens the hero section on small screens */
@media (max-width: 768px) {
  /* 1. Lighten the heavy CSS gradient layer instead of removing it */
  .hero-section::after {
    background: rgba(0, 0, 0, 0.55) !important;
  }

  /* 2. Lighten the inline overlay tint from the React code */
  .hero-section div[style*="background"] {
    background: rgba(0, 0, 0, 0.15) !important;
  }

  /* 3. Move navigation buttons to the bottom so they don't overlap text */
  .hero-section button[aria-label*="image"] {
    top: 90% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
  }
}

/* --- CHALLENGE CAROUSEL RESPONSIVENESS --- */
.challenge-card {
  flex: 0 0 calc(25% - 0.75rem);
  min-width: calc(25% - 0.75rem);
}

.challenge-card-title {
  font-size: 1.1rem;
}

.challenge-card-desc {
  font-size: 0.9rem;
}

.theme-builder .challenge-card {
  flex: 0 0 calc(33.333% - 0.67rem);
  min-width: calc(33.333% - 0.67rem);
}

@media (max-width: 1024px) {
  .challenge-card,
  .theme-builder .challenge-card {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: calc(50% - 0.5rem);
  }
}

/* MOBILE MODE ADJUSTMENTS - Dedicated overrides for small screens */
@media (max-width: 768px) {
  .challenge-card,
  .theme-builder .challenge-card {
    flex: 0 0 85%;
    min-width: 85%;
  }

  .challenge-card-title {
    font-size: 1.4rem;
  }

  .challenge-card-desc {
    font-size: 1.05rem;
  }

  #challenges .section-subtitle {
    max-width: 100%;
    text-align: left;
  }

  #challenges .section-title {
    text-align: left;
  }

  /* 1. Fix "Uncompromising" Title cut-off */
  .section-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
  }

  /* 2. Fix Tabs overflow (Register, Discover, etc.) */
  .process-tabs-container {
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding: 0 20px 10px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .process-tabs-container::-webkit-scrollbar {
    display: none;
  }

  .process-tabs {
    flex-wrap: nowrap !important;
    min-width: max-content !important;
  }

  /* 3. Re-apply Trust Gap Cards Fix */
  .benefits-cards-row {
    padding: 40px 20px !important;
    overflow-x: auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
  }

  .benefit-card-premium {
    flex: 0 0 280px !important;
    height: 380px !important;
  }
}

/* --- GROWTH STORY SECTION --- */
.growth-story-section {
  background-color: #f4f4f4;
  background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
  padding: 100px 0;
  overflow: hidden;
}

.growth-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 80px;
}

.growth-header::before,
.growth-header::after {
  content: "..";
  color: #999;
  font-weight: 300;
  letter-spacing: 4px;
  font-size: 1.5rem;
}

.growth-header h2 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 500;
  color: #0b6a9c;
  margin: 0;
  letter-spacing: -0.02em;
}

.growth-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.map-visual-area {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

.india-map-svg {
  width: 100%;
  height: auto;
  /* fill: #E67E22; handled in inline style */
}

.map-stat-overlay {
  position: absolute;
  pointer-events: none;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number-large {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0b6a9c;
  line-height: 1;
}

.stat-label-small {
  font-size: 0.95rem;
  color: #444;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stat-pos-1 {
  top: 10%;
  left: -5%;
}

.stat-pos-2 {
  top: 10%;
  right: -5%;
}

.stat-pos-3 {
  bottom: 15%;
  right: 0%;
}

.landscape-showcase {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  border: 8px solid #fff;
}

.landscape-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #fff;
}

.landscape-img-box {
  height: 420px;
  overflow: hidden;
}

.landscape-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.landscape-showcase:hover .landscape-img-box img {
  transform: scale(1.05);
}

.landscape-footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  color: #fff;
}

.landscape-title-text {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

@media (max-width: 1024px) {
  .growth-grid {
    grid-template-columns: 1fr;
    gap: 80px;
    text-align: center;
  }

  .growth-header h2 {
    font-size: 2.2rem;
  }

  .map-stat-overlay {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: inline-block;
    margin: 10px 20px;
  }

  .landscape-img-box {
    height: 300px;
  }
}

/* --- CHALLENGE CARD PREMIUM STYLING --- */
.challenge-card-premium {
  min-width: calc(33.33% - 0.7rem);
}

@media (max-width: 1024px) {
  .challenge-card-premium {
    min-width: calc(50% - 0.5rem);
  }
}

@media (max-width: 640px) {
  .challenge-card-premium {
    min-width: calc(100% - 1rem);
  }
}

/* --- SECTION BACKGROUNDS --- */
.section-white {
  background-color: #fafaf9 !important;
}

.section-theme {
  background-color: var(--color-white-bg) !important;
}

.section-light {
  background-color: var(--color-light-bg) !important;
}

/* --- PREMIUM CINEMATIC SWIPER (CHALLENGES SECTION) --- */
.challenges-swiper-container {
  width: 100%;
  padding: 60px 0 80px;
  /* Padding for shadows and floating effect */
  overflow: visible;
  /* Allow shadows to bleed outside */
}

/* Base style for all slides */
.challenges-swiper-container .swiper-slide {
  width: 380px !important;
  height: auto;
  opacity: 0.6;
  transform: scale(0.85);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.3, 1);
  filter: grayscale(40%);
}

@media (max-width: 768px) {
  .challenges-swiper-container .swiper-slide {
    width: 320px !important;
  }
}

/* Centered Active Slide - The Hero Focus */
.challenges-swiper-container .swiper-slide-active {
  opacity: 1;
  transform: scale(1.05) translateY(-10px);
  z-index: 10;
  filter: grayscale(0%);
}

.challenges-swiper-container .swiper-slide-active .challenge-card-premium {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.12),
    0 0 40px rgba(206, 127, 43, 0.15) !important;
  border-color: var(--color-accent) !important;
}

/* Floating animation for the active card to make it feel alive */
@keyframes cinematicFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

.challenges-swiper-container .swiper-slide-active > div {
  animation: cinematicFloat 6s ease-in-out infinite;
}

/* Pagination Dots */
.challenges-swiper-container .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.2);
  opacity: 1;
  transition: all 0.4s ease;
}

.challenges-swiper-container .swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 6px;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(206, 127, 43, 0.5);
}

/* --- Challenges Swiper Carousel --- */
.challenges-swiper {
  padding-bottom: 2.5rem !important;
  padding-top: 0.5rem !important;
  overflow: hidden;
}

.challenges-swiper .swiper-slide {
  height: auto;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  opacity: 0.75;
  transform: scale(0.97);
}

.challenges-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.challenges-swiper .swiper-pagination-bullet {
  background: var(--color-accent);
  opacity: 0.4;
  transition: all 0.3s ease;
}

.challenges-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 24px;
  border-radius: 6px;
  background: var(--color-accent);
}

/* Hide default browser password reveal/eye icons */
input::-ms-reveal,
input::-ms-clear,
input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button {
  display: none !important;
}
