/* ======================== CONTACT PAGE ======================== */

body {
  background-color: #162434;
}

/* ======================== NAV BAR ======================== */
.cs-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.cs-nav__logo {
  display: block;
  width: 58px;
  flex-shrink: 0;
  transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.cs-nav__logo:hover {
  opacity: 0.7;
}

.cs-nav__logo.is-faded {
  opacity: 0.25;
}

.cs-nav__logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ======================== PAGE LAYOUT ======================== */
.cs-page {
  position: relative;
  width: 100%;
  background-color: #162434;
  min-height: 100vh;
}

.cs-page__content {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 120px 20px 60px;
}

/* ======================== HEADER ======================== */
.contact-header {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.contact-header__title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: var(--font-weight-roman);
  line-height: 0.9;
  letter-spacing: -1.5px;
  color: #ffffff;
}

/* ======================== FORM ======================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.contact-form__section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form__intro {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: var(--font-weight-roman);
  line-height: 1.4;
  color: #8899aa;
}

/* ======================== FORM FIELDS ======================== */
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field__label {
  display: flex;
  gap: 4px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.contact-field__required {
  color: #ff36df;
  font-weight: 600;
}

.contact-field__input,
.contact-field__textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: var(--font-weight-roman);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-field__input::placeholder,
.contact-field__textarea::placeholder {
  color: #556677;
}

.contact-field__input:focus,
.contact-field__textarea:focus {
  border-color: #01b2ff;
}

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

.custom-dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: var(--font-weight-roman);
  color: #8899aa;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  cursor: pointer;
  text-align: left;
}

.custom-dropdown__chevron {
  flex-shrink: 0;
  color: #8899aa;
  transition: transform 0.2s ease;
}

.custom-dropdown.is-open .custom-dropdown__chevron {
  transform: rotate(180deg);
}

.custom-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  flex-direction: column;
}

.custom-dropdown.is-open .custom-dropdown__menu {
  display: flex;
}

.custom-dropdown__option {
  display: flex;
  align-items: center;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: var(--font-weight-roman);
  color: #152536;
  background-color: #c3c7cc;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s ease;
}

.custom-dropdown__option:hover,
.custom-dropdown__option.is-selected {
  background-color: #ffffff;
}

/* Textarea */
.contact-field__textarea {
  height: 160px;
  padding: 16px;
  resize: vertical;
  line-height: 1.4;
}

/* ======================== SUBMIT BUTTON ======================== */
.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 16px 48px;
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -1px;
  color: #ffffff;
  background-color: #01b2ff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.contact-form__submit:hover {
  opacity: 0.85;
}

.contact-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ======================== FORM STATUS ======================== */
.contact-form__status {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.4;
  display: none;
}

.contact-form__status--success {
  display: block;
  color: #4ade80;
}

.contact-form__status--error {
  display: block;
  color: #ff5e63;
}

/* ======================== STAGGER ANIMATION (ON LOAD) ======================== */
.cs-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cs-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cs-stagger[data-stagger="0"] { transition-delay: 0.1s; }
.cs-stagger[data-stagger="1"] { transition-delay: 0.2s; }
.cs-stagger[data-stagger="2"] { transition-delay: 0.35s; }
.cs-stagger[data-stagger="3"] { transition-delay: 0.5s; }

/* ======================== SCROLL REVEAL (ON SCROLL) ======================== */
.cs-reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.cs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== FOOTER ======================== */
.cs-footer {
  width: 100%;
  padding: 100px 20px 60px;
  display: flex;
  justify-content: flex-start;
  background-color: #162434;
}

.cs-footer__copy {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
}

/* ======================== RESPONSIVE — TABLET 768px+ ======================== */
@media (min-width: 768px) {
  .cs-nav {
    padding: 40px;
  }

  .cs-nav__logo {
    width: 74px;
  }

  .cs-nav .hero__menu-btn svg {
    width: 36px;
    height: 36px;
  }

  .cs-page__content {
    padding: 160px 40px 80px;
  }

  .contact-header__title {
    font-size: 50px;
    letter-spacing: -2px;
  }

  .contact-form {
    width: 75%;
  }

  .cs-footer {
    padding: 100px 40px 60px;
  }

  .cs-footer__copy {
    font-size: 16px;
  }
}

/* ======================== RESPONSIVE — SMALL DESKTOP 1024px+ ======================== */
@media (min-width: 1024px) {
  .cs-nav {
    padding: 50px 60px;
  }

  .cs-nav__logo {
    width: 85px;
  }

  .cs-nav .hero__menu-btn svg {
    width: 40px;
    height: 40px;
  }

  .cs-page__content {
    padding: 180px 60px 80px;
  }

  .contact-header__title {
    font-size: 56px;
  }

  .contact-form {
    width: 65%;
  }

  .cs-footer {
    padding: 100px 60px 60px;
  }

  .cs-footer__copy {
    font-size: 17px;
  }
}

/* ======================== RESPONSIVE — DESKTOP 1440px+ ======================== */
@media (min-width: 1440px) {
  .cs-nav {
    padding: 60px 72px;
  }

  .cs-nav__logo {
    width: 85px;
  }

  .cs-nav .hero__menu-btn svg {
    width: 45px;
    height: 45px;
  }

  .cs-page__content {
    padding: 213px 72px 60px;
    gap: 80px;
  }

  .contact-header__title {
    font-size: 60px;
    letter-spacing: -2px;
  }

  .contact-form {
    width: 55%;
  }

  .cs-footer {
    padding: 100px 72px 60px;
  }

  .cs-footer__copy {
    font-size: 18px;
  }
}
