:root {
  --dark: #323940;
  --gray: #424a51;
  --pink: #cb97b6;
  --pinkd: #b94f8e;
  --purpled: #402441;
  --green: #5b9d95;
  --greenblu: #5b9d95c2;
  --gold: #f4ba0c;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--dark);
  background-image: url(./asset/background.svg);
  background-size: cover;
  background-attachment: fixed;
  max-width: 1920px;
  margin: auto;
  font-family: "Inter", sans-serif;
}

.nav {
  display: flex;
  min-height: 90px;
  justify-content: flex-end;
  align-items: center;
  padding: 0px 45px;
  background-color: #eae9e9d9;
  backdrop-filter: blur(6px);
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-link {
  margin-right: auto;
  display: flex;
  align-items: center;
}

.logo {
  width: 228px;
  height: 20px;
  cursor: pointer;
}

.nav__link {
  font-family: "Inter", sans-serif;
  color: #402441;
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav__link,
.logo {
  filter: drop-shadow(2px 3px 3px rgba(0, 0, 0, 0.18));
}

.nav__link li {
  display: inline-block;
  border-radius: 5px;
  transition: background-color 0.25s ease;
}

.nav__link li a {
  display: block;
  padding: 9px 18px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--purpled);
}

.nav__link li:hover,
.nav__link li.active {
  background-color: var(--pinkd);
  border-radius: 5px;
}

.nav__link li:hover a,
.nav__link li.active a {
  color: #ffffff;
}

.container__ {
  max-width: 1400px;
  margin: auto;
  padding: 20px 20px 60px;
}

@media only screen and (max-width: 983px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
  }
  .logo-link {
    margin-right: 0;
    width: 100%;
    justify-content: center;
  }
}

.contact__form {
  display: flex;
  width: 92vw;
  max-width: 1080px;
  min-height: 640px;
  background-color: var(--greenblu);
  margin: 40px auto;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6.5px);
  padding: 25px;
}

.co__one {
  width: 42%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-right: 2px solid rgba(64, 36, 65, 0.15);
}

.co__title {
  width: 100%;
  padding-bottom: 20px;
  border-bottom: 4px solid var(--pinkd);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.co__title h1 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(1.85rem, 1.2rem + 1.8vw, 2.45rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #1f1913;
  line-height: 1.18;
}

.co__title p {
  font-size: 14px;
  color: #2b232d;
  margin-top: 10px;
  line-height: 1.5;
  font-weight: 500;
}

.co__social {
  width: 100%;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.co__so__in {
  display: flex;
  align-items: center;
}

.co__so__in img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.co__so__in a,
.co__so__in span {
  color: #402441;
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.18rem);
  font-weight: 700;
  margin-left: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-all;
}

.co__so__in a:hover {
  color: #ffffff;
}

.security-note {
  margin-top: auto;
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.5;
  color: #1f1913;
  opacity: 0.85;
}

.co__form {
  flex: 1;
  padding: 25px 35px;
}

.co__form form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.co__form label {
  font-family: "Source Sans Pro", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1f1913;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.co__form input:not(.submit):not(.hp-field),
.co__form select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 2px solid transparent;
  background-color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #1f2428;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease;
}

.co__form textarea {
  width: 100%;
  height: 125px;
  resize: vertical;
  border: 2px solid transparent;
  background-color: #ffffff;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: #1f2428;
  padding: 10px 12px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease;
}

.co__form input:focus,
.co__form select:focus,
.co__form textarea:focus {
  border-color: var(--purpled);
  outline: none;
}

/* Honeypot invisible anti-bot field */
.hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.35);
  padding: 10px 14px;
  border-left: 4px solid var(--purpled);
}

.captcha-row label {
  margin-bottom: 0;
  font-size: 14px;
  white-space: nowrap;
}

.captcha-row input {
  width: 90px !important;
  height: 36px !important;
  text-align: center;
  font-weight: 700;
}

.submit {
  width: 180px;
  height: 46px;
  margin-top: 6px;
  background-color: var(--pinkd);
  border: none;
  color: white;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.6px;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.submit:hover:not(:disabled) {
  background-color: var(--purpled);
  transform: translateY(-2px);
}

.submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-status {
  margin-top: 14px;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  display: none;
  border-radius: 3px;
}

.form-status.success {
  display: block;
  background-color: #1f2428;
  color: #5b9d95;
  border-left: 4px solid var(--gold);
}

.form-status.error {
  display: block;
  background-color: #402441;
  color: #ffffff;
  border-left: 4px solid var(--pinkd);
}

.footer {
  margin-top: 40px;
  min-height: 130px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #424a51;
  border-top: 3px solid var(--green);
}

.copyright p {
  font-family: "Inter", sans-serif;
  color: #ffffff;
  padding-bottom: 12px;
  font-size: 14px;
  text-align: center;
}

.contactus {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contactus a {
  font-family: "Inter", sans-serif;
  text-decoration: none;
  color: var(--green);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}

.contactus a:hover {
  color: var(--pink);
}

@media only screen and (max-width: 768px) {
  .contact__form {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }
  .co__one {
    width: 100%;
    max-width: none;
    border-right: none;
    border-bottom: 2px solid rgba(64, 36, 65, 0.15);
  }
  .co__form {
    width: 100%;
    padding: 20px 15px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
