body.pages.infra header,
body.pages.infra footer,
body.infra_inquiries.thanks header,
body.infra_inquiries.thanks footer {
  display: none !important;
}

:root {
  --shw: #FAF9F6;
  /* Off-white color from design */
}

.infra-page {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--mb);
  /* Override the default main.page padding */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Overlay slides — stacked on top of each other */
.infra-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.infra-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Content inside slides gets the smooth motion */
.infra-slide .infra-content,
.infra-slide .infra-slide-top-right {
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inactive slide content: shifted down and faded out */
.infra-slide .infra-content {
  opacity: 0;
  transform: translateY(25px);
}

.infra-slide .infra-slide-top-right {
  opacity: 0;
}

/* Active slide content: in place and visible */
.infra-slide.active .infra-content {
  opacity: 1;
  transform: translateY(0);
}

.infra-slide.active .infra-slide-top-right {
  opacity: 1;
}

/* Exiting upward (when scrolling down to next slide) */
.infra-slide.exit-up .infra-content {
  opacity: 0;
  transform: translateY(-25px);
}

.infra-slide.exit-up .infra-slide-top-right {
  opacity: 0;
}

/* CSS Background Pattern */
.infra-background-css {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: var(--mb);
  /* Fallback/Base */
}

.infra-bg-layer-1 {
  position: absolute;
  top: 17px;
  left: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 34px);
  background: linear-gradient(180deg, #8B2F2F 0%, #7A2828 50%, #662020 100%);
  opacity: 0.85;
  filter: blur(10px);
}

.infra-bg-layer-2 {
  position: absolute;
  top: 34px;
  left: 32px;
  width: calc(100% - 64px);
  height: calc(100% - 68px);
  background: linear-gradient(180deg, #D4643C 0%, #C4562F 50%, #B34826 100%);
  opacity: 0.85;
  filter: blur(10px);
}

.infra-bg-layer-3 {
  position: absolute;
  top: 131px;
  left: 98px;
  width: calc(100% - 196px);
  height: calc(100% - 262px);
  background: linear-gradient(180deg, #F4C430 0%, #E6B422 50%, #D4A017 100%);
  opacity: 0.54;
  filter: blur(38.8px);
}



.infra-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  padding: 80px 20px 40px;
}

.infra-logo {
  width: 100%;
  max-width: 408px;
  height: auto;
  margin: 0 auto 60px;
}

.infra-logo-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Global Overlays */
.infra-brand-header {
  position: fixed;
  top: 40px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100;
  /* High z-index to stay above slides */
}

.infra-nav-dots {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

/* Slide 1 styles */
.infra-content-home {
  height: 100%;
}

.infra-nav-dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--shw);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.infra-nav-dot.active {
  background-color: var(--shw);
  opacity: 1;
}

.infra-center-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  /* Offset for optical centering */
}

/* Specific logo sizing for home slide if needed, referencing existing class */
.infra-content-home .infra-logo {
  margin: 0 auto 30px;
  max-width: 400px;
  /* Adjust based on visual */
}

.infra-title {
  font-family: var(--font-sans);
  font-weight: 540;
  font-size: 14px;
  /* Smaller font size as per image */
  line-height: 24px;
  letter-spacing: 0.35em;
  /* Wide spacing */
  text-transform: uppercase;
  color: var(--shw);
  text-align: center;
  margin-bottom: 0;
  max-width: 100%;
}

.infra-coming-soon {
  position: absolute;
  bottom: 50px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--shw);
  text-align: center;
  max-width: 100%;
}

/* Slide 2 styles */
.infra-content-intro {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 80px;
  position: relative;
}

.infra-intro-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.infra-introducing {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--shw);
  text-align: center;
  margin-bottom: 12px;
  max-width: 100%;
}

.infra-logo-small {
  width: 100%;
  max-width: 200px;
  /* Slightly smaller for the header position */
  height: auto;
  margin: 0 auto;
}

.infra-main-title {
  font-family: var(--font-sans);
  font-weight: 400;
  /* Thin font weight */
  font-size: 40px;
  /* Adjusted size */
  line-height: normal;
  /* Tighten up line height */
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--shw);
  text-align: center;
  max-width: 1000px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Slide 3 styles */
.infra-content-3 {
  padding-top: 80px;
}

.infra-slide-top-right {
  position: absolute;
  top: 40px;
  right: 80px;
  /* Offset to not overlap with nav dots */
  z-index: 10;
}

.infra-logo-top-right {
  height: 20px;
  width: auto;
}

.infra-heading-3 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 40px;
  line-height: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--shw);
  text-align: center;
  margin-bottom: 80px;
  max-width: 100%;
}

.infra-two-col {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  /* 1fr creates equal width columns */
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  width: 100%;
}

.infra-left-col {
  text-align: right;
  /* Aligned right to the divider */
  display: flex;
  justify-content: flex-end;
}

.infra-description {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--shw);
  max-width: 450px;
  /* Limit width for readability */
}

.infra-divider {
  width: 1px;
  height: 400px;
  /* Adjusted height */
  background: var(--shw);
  /* Solid line based on image */
  opacity: 0.5;
  margin-top: 10px;
}

.infra-right-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}

.infra-feature {
  text-align: left;
}

.infra-feature-title {
  font-family: var(--font-sans);
  font-weight: 540;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--shw);
  margin-bottom: 8px;
}

.infra-feature-desc {
  font-family: var(--font-sans);
  font-weight: 350;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--shw);
  max-width: 400px;
  opacity: 0.8;
}

/* Slide 4 styles */
.infra-content-4 {
  padding-top: 80px;
}

.infra-heading-4 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 40px;
  line-height: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--shw);
  text-align: center;
  margin-bottom: 80px;
  max-width: 100%;
}

.infra-sectors {
  display: flex;
  flex-direction: column;
  gap: 30px;
  /* Reduced gap based on visual */
  max-width: 800px;
  /* Constrain width for better centering */
  width: 100%;
  align-items: center;
}

.infra-sector {
  text-align: center;
}

.infra-sector-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--shw);
  margin-bottom: 12px;
}

.infra-sector-desc {
  font-family: var(--font-sans);
  font-weight: 350;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--shw);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  text-align: center;
}

/* Slide 5 styles */
.infra-content-5 {
  padding-top: 80px;
}

.infra-heading-5 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 40px;
  line-height: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--shw);
  text-align: center;
  margin-bottom: 80px;
  max-width: 100%;
}

.infra-process {
  display: flex;
  flex-direction: column;
  /* Vertical stack */
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  width: 100%;
}

.infra-process-step {
  flex: 1;
  text-align: center;
  max-width: 556px;
}

.infra-process-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--shw);
  margin-bottom: 12px;
}

.infra-process-desc {
  font-family: var(--font-sans);
  font-weight: 350;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--shw);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  text-align: center;
}

.infra-process-plus {
  font-family: var(--font-sans);
  font-weight: 540;
  font-size: 18px;
  line-height: 1;
  color: var(--shw);
  flex-shrink: 0;
  margin: 10px 0;
}

/* Slide 6 styles - Contact Form */
.infra-content-6 {
  padding-top: 40px;
  /* Reduced from 80px */
}

.infra-heading-6 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 40px;
  line-height: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--shw);
  text-align: center;
  margin-bottom: 20px;
  /* Reduced from 40px */
  max-width: 100%;
}

.infra-subheading-6 {
  text-align: center;
  margin-bottom: 30px;
  /* Reduced from 60px */
}

.infra-subheading-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--shw);
  margin-bottom: 12px;
}

.infra-subheading-desc {
  font-family: var(--font-sans);
  font-weight: 350;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--shw);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  text-align: center;
  max-width: 500px;
}

.infra-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Reduced from 30px */
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.infra-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* Reduced from 8px */
}

.infra-form-label {
  font-family: var(--font-sans);
  font-weight: 540;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--shw);
  opacity: 0.8;
}

.infra-form-input,
.infra-form-select,
.infra-form-textarea {
  font-family: var(--font-sans);
  font-weight: 350;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: var(--shw);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(250, 250, 248, 0.3);
  padding: 4px 0;
  /* Reduced from 8px */
  width: 100%;
}

.infra-form-input::placeholder,
.infra-form-textarea::placeholder {
  color: rgba(250, 250, 248, 0.5);
}

.infra-form-input:focus,
.infra-form-select:focus,
.infra-form-textarea:focus {
  outline: none;
  border-bottom-color: var(--shw);
}

.infra-form-textarea {
  resize: vertical;
  min-height: 40px;
  /* Reduced from 80px */
}

.infra-form-select-wrapper {
  position: relative;
}

.infra-form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.infra-form-select-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 8px;
  background: var(--shw);
  pointer-events: none;
}

.infra-form-submit,
.infra-form-back {
  font-family: var(--font-sans);
  font-weight: 400;
  /* Matching your earlier user change */
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--shw);
  background: transparent;
  border: 1px solid var(--shw);
  padding: 11px 22px;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.3s ease;
  /* Prevent buttons from stretching in flex containers */
  align-self: center;
}



.infra-form-submit:hover,
.infra-form-back:hover {
  background: var(--shw);
  color: #000;
}

/* Honeypot field - hidden from users, visible to bots */
.infra-form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Cloudflare Turnstile widget container */
.infra-form-turnstile {
  display: flex;
  justify-content: center;
  margin: 16px 0 8px;
}

/* Multi-step form */
.infra-form-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.infra-form-step.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.infra-form-step.hidden {
  display: none;
  opacity: 0;
  transform: translateX(20px);
}

/* Form buttons container */
.infra-form-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}



/* Custom Select Dropdown */
.infra-custom-select {
  position: relative;
  width: 100%;
}

.infra-custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(250, 250, 248, 0.3);
  padding: 4px 0;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.3s ease;
}

.infra-custom-select-trigger:hover,
.infra-custom-select-trigger:focus {
  outline: none;
  border-bottom-color: var(--shw);
}

.infra-custom-select-trigger[aria-expanded="true"] {
  border-bottom-color: var(--shw);
}

.infra-custom-select-display {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: var(--shw);
}

.infra-custom-select-chevron {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.infra-select-arrow-icon {
  width: 6px;
  height: auto;
  opacity: 1;
}

.infra-custom-select-trigger[aria-expanded="true"] .infra-custom-select-chevron {
  transform: rotate(-90deg);
}

.infra-custom-select-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(30, 20, 15, 0.95);
  border: 1px solid rgba(250, 250, 248, 0.2);
  border-radius: 4px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.infra-custom-select-menu.open {
  max-height: 250px;
  overflow-y: auto;
  opacity: 1;
}

.infra-custom-select-menu::-webkit-scrollbar {
  width: 4px;
}

.infra-custom-select-menu::-webkit-scrollbar-track {
  background: transparent;
}

.infra-custom-select-menu::-webkit-scrollbar-thumb {
  background: rgba(250, 250, 248, 0.3);
  border-radius: 2px;
}

.infra-custom-select-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(250, 250, 248, 0.5);
}

.infra-custom-select-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--shw);
  transition: background-color 0.2s ease;
}

.infra-custom-select-option:hover,
.infra-custom-select-option:focus {
  background: rgba(250, 250, 248, 0.1);
  outline: none;
}

.infra-custom-select-option.selected {
  background: rgba(250, 250, 248, 0.15);
}

.infra-custom-select-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Slide 7 styles - Thank You */
.infra-content-7 {
  padding-top: 80px;
}

.infra-heading-7 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 40px;
  line-height: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--shw);
  text-align: center;
  margin-bottom: 20px;
  max-width: 100%;
}

.infra-message-7 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--shw);
  text-align: center;
  margin-bottom: 40px;
  max-width: 100%;
  opacity: 0.9;
}

.infra-button-7 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  line-height: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--shw);
  background: transparent;
  border: 1px solid var(--shw);
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.infra-button-7:hover {
  background: var(--shw);
  color: var(--dc-greys-900);
  color: #000;
}

@media (max-width: 768px) {
  .infra-title {
    font-size: 18px;
    letter-spacing: 0.2em;
  }

  .infra-coming-soon {
    font-size: 14px;
    letter-spacing: 0.2em;
  }

  .infra-logo {
    max-width: 400px;
  }

  .infra-introducing {
    font-size: 18px;
    letter-spacing: 0.2em;
  }

  .infra-main-title {
    font-size: 40px;
    line-height: 56px;
    letter-spacing: 0.2em;
  }

  /* Slide 3 mobile styles */
  .infra-heading-3 {
    font-size: 36px;
    line-height: 50px;
    letter-spacing: 0.2em;
  }

  .infra-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .infra-divider {
    display: none;
  }

  .infra-description {
    font-size: 24px;
    line-height: 36px;
  }

  .infra-feature-title {
    font-size: 18px;
    letter-spacing: 0.2em;
  }

  .infra-feature-desc {
    font-size: 18px;
    line-height: 24px;
  }

  /* Slide 4 mobile styles */
  .infra-heading-4 {
    font-size: 36px;
    line-height: 50px;
    letter-spacing: 0.2em;
  }

  .infra-sectors {
    gap: 60px;
  }

  .infra-sector-title {
    font-size: 18px;
    letter-spacing: 0.2em;
  }

  .infra-sector-desc {
    font-size: 18px;
    line-height: 24px;
  }

  /* Slide 5 mobile styles */
  .infra-heading-5 {
    font-size: 36px;
    line-height: 50px;
    letter-spacing: 0.2em;
  }

  .infra-process {
    flex-direction: column;
    gap: 40px;
  }

  .infra-process-plus {
    transform: rotate(90deg);
  }

  .infra-process-title {
    font-size: 18px;
    letter-spacing: 0.2em;
  }

  .infra-process-desc {
    font-size: 18px;
    line-height: 24px;
  }

  /* Slide 6 mobile styles */
  .infra-heading-6 {
    font-size: 36px;
    line-height: 50px;
    letter-spacing: 0.2em;
  }

  .infra-subheading-title {
    font-size: 18px;
    letter-spacing: 0.2em;
  }

  .infra-subheading-desc {
    font-size: 18px;
    line-height: 24px;
  }

  .infra-form {
    max-width: 100%;
  }

  .infra-form-label {
    font-size: 16px;
  }

  .infra-form-submit {
    width: 100%;
  }

  /* Slide 7 mobile styles */
  .infra-heading-7 {
    font-size: 36px;
    line-height: 50px;
    letter-spacing: 0.2em;
  }

  .infra-message-7 {
    font-size: 18px;
    line-height: 24px;
  }

  .infra-button-7 {
    width: 100%;
    text-align: center;
  }
}