/* ===========================================
   CONTACT PAGE PREMIUM REDESIGN
   Clean, structured, premium marketplace feel
   =========================================== */

/* ========== HERO CONTACT SECTION ========== */

.ct-hero {
  background: #F5F7FA;
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}

.ct-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(47, 128, 237, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(47, 128, 237, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.ct-hero__container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ========== LEFT SIDE — Info ========== */

.ct-hero__info {
  padding-top: 20px;
}

.ct-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #2F80ED;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.ct-hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2F80ED;
}

.ct-hero__title {
  font-size: clamp(40px, 5vw, 52px);
  font-weight: 800;
  color: #111111;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.ct-hero__sub {
  font-size: 18px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0 0 40px;
  max-width: 460px;
}

/* Contact Details */
.ct-hero__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.ct-hero__detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ct-hero__detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(47, 128, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2F80ED;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ct-hero__detail-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ct-hero__detail-label {
  font-size: 12px;
  font-weight: 600;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ct-hero__detail-value {
  font-size: 15px;
  font-weight: 600;
  color: #111111;
}

.ct-hero__detail-value a {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ct-hero__detail-value a:hover {
  color: #2F80ED;
}

/* Live Chat Button */
.ct-hero__chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2F80ED;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 16px rgba(47, 128, 237, 0.25);
  margin-top: 8px;
}

.ct-hero__chat-btn:hover {
  background: #1A6FDB;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 128, 237, 0.35);
}

.ct-hero__chat-btn svg {
  transition: transform 0.3s ease;
}

.ct-hero__chat-btn:hover svg {
  transform: scale(1.1);
}

/* ========== RIGHT SIDE — Form Card ========== */

.ct-hero__form-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 40px 36px 36px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.03),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  position: relative;
  margin-top: 40px;
}

.ct-hero__form-header {
  margin-bottom: 28px;
}

.ct-hero__form-title {
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 6px;
}

.ct-hero__form-sub {
  font-size: 14px;
  color: #6B7280;
  margin: 0;
}

/* Form Fields */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ct-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ct-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-form__label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.ct-form__input,
.ct-form__textarea {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  background: #FAFBFC;
  color: #111111;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.ct-form__input::placeholder,
.ct-form__textarea::placeholder {
  color: #9CA3AF;
}

.ct-form__input:focus,
.ct-form__textarea:focus {
  outline: none;
  border-color: #2F80ED;
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.1);
  background: #FFFFFF;
}

.ct-form__textarea {
  resize: vertical;
  min-height: 110px;
}

.ct-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2F80ED;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 16px rgba(47, 128, 237, 0.25);
  width: 100%;
}

.ct-form__submit:hover {
  background: #1A6FDB;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 128, 237, 0.35);
}

.ct-form__submit:active {
  transform: translateY(0);
}

.ct-form__submit svg {
  transition: transform 0.3s ease;
}

.ct-form__submit:hover svg {
  transform: translateX(3px);
}

.ct-form__note {
  font-size: 12px;
  color: #9CA3AF;
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.5;
}

/* Success State */
.ct-form__success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}

.ct-form__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ECFDF5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #059669;
}

.ct-form__success h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 8px;
}

.ct-form__success p {
  font-size: 15px;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
}


/* ========== LOCATION SECTION (Cards Layout) ========== */

.ct-location {
  padding: 100px 24px;
  background: #FFFFFF;
}

.ct-location__header {
  max-width: 1200px;
  margin: 0 auto 48px;
  text-align: center;
}

.ct-location__heading {
  font-size: 36px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.ct-location__cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.ct-location__card {
  background: #F5F7FA;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.ct-location__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #EAF2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2F80ED;
}

.ct-location__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  margin: 0;
}

.ct-location__card-desc {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0;
}

.ct-location__map {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #E5E7EB;
  height: 240px;
  margin-top: auto;
}

.ct-location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.ct-location__address {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ct-location__line {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

.ct-location__line--muted {
  color: #6B7280;
  font-size: 14px;
}

.ct-location__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #2F80ED;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.ct-location__link:hover {
  gap: 10px;
}

.ct-location__link svg {
  transition: transform 0.2s ease;
}

.ct-location__link:hover svg {
  transform: translateX(2px);
}

/* Feedback card items */
.ct-location__feedback-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.ct-location__feedback-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
}

.ct-location__feedback-item svg {
  color: #2F80ED;
  flex-shrink: 0;
}

.ct-location__feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #2F80ED;
  text-decoration: none;
  padding: 12px 24px;
  border: 1.5px solid rgba(47, 128, 237, 0.3);
  border-radius: 12px;
  transition: all 0.2s ease;
  margin-top: auto;
  align-self: flex-start;
}

.ct-location__feedback-btn:hover {
  background: #EAF2FF;
  border-color: #2F80ED;
}

.ct-location__eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: #2F80ED;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 12px;
}


/* ========== FAQ SECTION ========== */

.ct-faq {
  padding: 100px 24px;
  background: #F5F7FA;
}

.ct-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 64px;
  align-items: start;
}

.ct-faq__left {
  position: sticky;
  top: 120px;
}

.ct-faq__eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: #2F80ED;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 14px;
}

.ct-faq__title {
  font-size: 32px;
  font-weight: 800;
  color: #111111;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.ct-faq__sub {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0 0 28px;
}

.ct-faq__help-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #2F80ED;
  text-decoration: none;
  padding: 10px 20px;
  border: 1.5px solid rgba(47, 128, 237, 0.3);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.ct-faq__help-link:hover {
  background: #EAF2FF;
  border-color: #2F80ED;
}

/* Accordion */
.ct-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-faq__item {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ct-faq__item:hover {
  border-color: rgba(47, 128, 237, 0.12);
}

.ct-faq__item.open {
  border-color: rgba(47, 128, 237, 0.15);
  box-shadow: 0 4px 16px rgba(47, 128, 237, 0.06);
}

.ct-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  text-align: left;
  font-family: inherit;
  gap: 16px;
  transition: color 0.2s ease;
}

.ct-faq__question:hover {
  color: #2F80ED;
}

.ct-faq__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #9CA3AF;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.ct-faq__item.open .ct-faq__chevron {
  transform: rotate(180deg);
  color: #2F80ED;
}

.ct-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ct-faq__item.open .ct-faq__answer {
  max-height: 300px;
}

.ct-faq__answer-inner {
  padding: 0 22px 20px;
  font-size: 15px;
  color: #6B7280;
  line-height: 1.7;
}


/* ========== CTA SECTION ========== */

.ct-cta {
  padding: 80px 24px;
  background: #FFFFFF;
}

.ct-cta__container {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #2F80ED 0%, #1D6FD3 100%);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(47, 128, 237, 0.25);
}

.ct-cta__container::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.ct-cta__container::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.ct-cta__title {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.ct-cta__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.ct-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #2F80ED;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.ct-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ct-cta__btn svg {
  transition: transform 0.3s ease;
}

.ct-cta__btn:hover svg {
  transform: translateX(3px);
}

.ct-cta__note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 0;
  position: relative;
  z-index: 1;
}


/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .ct-hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ct-hero__info {
    padding-top: 0;
    text-align: center;
  }

  .ct-hero__sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .ct-hero__details {
    align-items: center;
  }

  .ct-hero__chat-btn {
    margin: 0 auto;
  }

  .ct-hero__form-card {
    max-width: 560px;
    margin: 0 auto;
    margin-top: 0;
  }

  .ct-location__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ct-faq__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ct-faq__left {
    position: static;
    text-align: center;
  }

  .ct-faq__help-link {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .ct-hero {
    padding: 120px 20px 64px;
  }

  .ct-hero__chat-btn {
    width: 100%;
    justify-content: center;
  }

  .ct-hero__form-card {
    padding: 32px 24px 28px;
    border-radius: 20px;
  }

  .ct-form__row {
    grid-template-columns: 1fr;
  }

  .ct-location {
    padding: 72px 20px;
  }

  .ct-location__map {
    height: 280px;
  }

  .ct-location__title {
    font-size: 26px;
  }

  .ct-faq {
    padding: 72px 20px;
  }

  .ct-faq__title {
    font-size: 26px;
  }

  .ct-cta {
    padding: 60px 20px;
  }

  .ct-cta__container {
    padding: 40px 28px;
    border-radius: 20px;
  }

  .ct-cta__title {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .ct-hero {
    padding: 100px 16px 48px;
  }

  .ct-hero__title {
    font-size: 32px;
  }

  .ct-hero__sub {
    font-size: 16px;
  }

  .ct-hero__form-card {
    padding: 24px 18px 22px;
  }

  .ct-form__input,
  .ct-form__textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  .ct-form__submit {
    padding: 14px 24px;
    font-size: 15px;
  }

  .ct-location {
    padding: 56px 16px;
  }

  .ct-location__map {
    height: 240px;
  }

  .ct-faq {
    padding: 56px 16px;
  }

  .ct-faq__question {
    font-size: 14px;
    padding: 16px 18px;
  }

  .ct-faq__answer-inner {
    padding: 0 18px 16px;
    font-size: 14px;
  }

  .ct-cta__container {
    padding: 32px 20px;
  }

  .ct-cta__title {
    font-size: 22px;
  }

  .ct-cta__sub {
    font-size: 15px;
  }

  .ct-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========== REDUCED MOTION ========== */

@media (prefers-reduced-motion: reduce) {
  .ct-form__submit,
  .ct-cta__btn,
  .ct-hero__block,
  .ct-faq__item {
    transition-duration: 0.01ms !important;
  }
  .ct-faq__answer {
    transition-duration: 0.01ms !important;
  }
}
