.contact-page {
  background-color: #05080a;
  color: #ffffff;
}

.forms-footer-container {
  position: relative;
}

.forms-footer-container #footer {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

@media (max-width: 767px) {
  .forms-footer-container #footer {
    position: relative;
    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
  }
}

.ct-hero {
  position: relative;
  width: 100%;
  height: 220vh;
  background-color: #05080a;
}

.ct-hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.ct-hero-form-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  box-sizing: border-box;
  pointer-events: auto;
}

.ct-form-inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.ct-form-header {
  margin-bottom: 32px;
  text-align: left;
}

.ct-form-step {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: #00accd;
  margin-bottom: 12px;
}

.ct-form-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.ct-form-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Form Elements */
.ct-form-card {
  width: 100%;
}

.ct-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-field-full {
  grid-column: span 2;
}

.ct-field label {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  box-sizing: border-box;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: #00accd;
  background: rgba(255, 255, 255, 0.08);
}

.ct-field select option {
  background: #111518;
  color: #ffffff;
}

.ct-form-footer {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

.ct-form-submit {
  padding: 14px 40px;
  background: #00accd;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.ct-form-submit:hover {
  background: #0088a3;
  transform: translateY(-2px);
}

.ct-form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #00accd;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ct-form-status.is-visible {
  opacity: 1;
}

.ct-hero-slices {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  pointer-events: none; 
}

.ct-slice {
  position: relative;
  width: 100%;
  height: 25vh; 
  overflow: hidden;
  background-color: #05080a;
  will-change: transform;
}

.ct-slice-img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

.ct-slice:nth-child(1) .ct-slice-img { top: 0; }
.ct-slice:nth-child(2) .ct-slice-img { top: -25vh; }
.ct-slice:nth-child(3) .ct-slice-img { top: -50vh; }
.ct-slice:nth-child(4) .ct-slice-img { top: -75vh; }

.ct-hero-overlay-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.35); 
}

.ct-hero-label {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #00accd;
  margin-bottom: 16px;
}

.ct-hero-heading {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.ct-hero-desc {
  max-width: 540px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.ct-locations-footer-container {
  position: relative;
  width: 100%;
  height: 200vh;
}

.ct-locations-footer-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.ct-locations-section {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #0d1117;
  padding: 120px 8%;
  box-sizing: border-box;
  will-change: transform;
}

.ct-locations-header {
  margin-bottom: 60px;
}

.ct-locations-label {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #00accd;
}

.ct-locations-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

.ct-locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.ct-location-card {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.ct-location-index {
  font-size: 0.85rem;
  color: #00accd;
  font-weight: 600;
}

.ct-location-city {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 12px 0;
}

.ct-location-address {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.ct-location-line {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.ct-location-line:hover {
  color: #00accd;
}

@media (max-width: 768px) {
  .ct-form-grid {
    grid-template-columns: 1fr;
  }
  .ct-field-full {
    grid-column: span 1;
  }
}

@media (max-width: 767px) {
  .ct-locations-footer-container {
    height: auto;
  }

  .ct-locations-footer-pin {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .ct-locations-section {
    position: relative;
    inset: auto;
    height: auto;
    transform: none !important;
  }
}