* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #1f1f1f;
  color: #fbfbfb;
}

a {
  text-decoration: none;
}

.contactUs-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: #213a80;
  overflow: hidden;
}

.contactUs-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.92;
  background-image:
    linear-gradient(
      to bottom,
      rgba(235, 239, 247, 0.65) 0%,
      rgba(132, 154, 206, 0.38) 25%,
      rgba(39, 65, 137, 0.88) 50%,
      rgba(18, 39, 101, 0.96) 100%
    ),
    url("/media/contact-us.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.navbar,
.contact-us-title,
.contact-links,
.feedback-section,
.footer {
  position: relative;
  z-index: 5;
}

/* Navbar */
.navbar {
  position: relative;
  z-index: 50;
  width: min(100% - 120px, 1120px);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.filmmakers-logo {
  width: 32px;
  height: auto;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav-toggle,
.nav-toggle-label,
.nav-item-contact-mobile {
  display: none;
}

.hamburger-icon {
  display: block;
  font-size: 24px;
  line-height: 1;
  color: #002868;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-item-home,
.nav-item-about-us,
.nav-item-our-work,
.nav-item-our-service {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #002868;
  text-transform: uppercase;
  transition: all 0.5s ease;
}

.nav-menu a.active {
  color: #18357b;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.nav-contact-button.active {
  background: #0f255c;
}

.nav-item-home:hover,
.nav-item-about-us:hover,
.nav-item-our-work:hover,
.nav-item-our-service:hover,
.nav-contact-button:hover {
  transform: scale(1.08); /* zoom in a bit */
  color: lightblue
}

.nav-contact-button {
  min-width: 130px;
  height: 42px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #18357b;
  border-radius: 999px;
  transition: all 0.5s ease;
}

.nav-contact-button:active {
  background: #2a4d98;
}

.button-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fbfbfb;
  text-transform: uppercase;
}

/* Contact Us List */

.contact-us-title {
  margin: 72px auto 0;
  padding: 0 48px;
  text-align: center;
}

.contact-us-title h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #fbfbfb;
}

.contact-links {
  width: min(100% - 120px, 1160px);
  margin: 92px auto 0;
  padding-bottom: 86px;
  display: grid;
  gap: 30px;
}

.contact-card {
  min-height: 86px;
  padding: 0 34px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  justify-items: center;
  color: #fbfbfb;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px);
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, transform 0.5s ease;
}

.contact-card:active {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  transform: scale(0.98);
}

.contact-card:hover,
#feedback-email:hover,
#feedback-name:hover,
#feedback-message:hover {
  opacity: 0.6;
  border-color: #d5dfef;
}

.footer-social-link:hover {
  background: #355486;
}

.contact-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transition: transform 0.5s ease;
}

.contact-card span {
  justify-self: start;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: #fbfbfb;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, transform 0.5s ease;
}

.contact-card:active .contact-icon {
  transform: scale(0.96);
}

.contact-card:hover .contact-icon {
  transform: scale(1.05);
}

.contact-card:hover span {
  color: #ffffff;
}

.contact-card:active span {
  color: #ffffff;
}

.feedback-section {
  width: min(100% - 120px, 1160px);
  margin: 0 auto;
  padding: 0 0 72px;
}

.feedback-section h2 {
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 700;
  color: #fbfbfb;
  text-align: center;
}

.feedback-form {
  margin-top: 20px;
  display: grid;
  gap: 18px;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: #fbfbfb;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  padding: 18px 20px;
  outline: none;
}

.feedback-form textarea {
  min-height: 180px;
  resize: vertical;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.feedback-form button {
  justify-self: end;
  min-width: 160px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: transparent;
  color: #fbfbfb;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, transform 0.5s ease;
}

.feedback-form button:hover {
  background: #0d306d;
  border-color: #1c4996;
}

.feedback-form button:active {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  color: #ffffff;
  transform: scale(0.98);
}

/* Footer */
.footer {
  width: 100%;
  margin-top: auto;
  padding-bottom: 14px;
}

.footer-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
}

.footer-menu a {
  font-size: 11px;
  font-weight: 700;
  color: #002868;
  text-transform: uppercase;
  transition: all 0.5s ease;
}

.footer-menu a:hover {
  color: lightblue;
}

.footer-copyright {
  text-align: center;
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
}

@media (max-width: 1200px) {
  .contactUs-page {
    width: 100%;
  }

  .contactUs-background {
    background-position: center center;
    background-size: cover;
  }

  .navbar {
    width: min(100% - 80px, 1080px);
    padding-top: 20px;
  }

  .filmmakers-logo {
    width: 52px;
  }

  .nav-menu {
    gap: 42px;
  }

  .nav-item-home,
  .nav-item-about-us,
  .nav-item-our-work,
  .nav-item-our-service {
    font-size: 11px;
  }

  .nav-contact-button {
    min-width: 120px;
    height: 40px;
    padding: 0 20px;
  }

  .button-label {
    font-size: 10px;
  }

  .contact-us-title {
    margin: 104px auto 0;
    padding: 0 36px;
  }

  .contact-us-title h1 {
    font-size: 62px;
  }

  .contact-links {
    width: min(100% - 80px, 1080px);
    margin: 80px auto 0;
    gap: 24px;
    padding-bottom: 48px;
  }

  .contact-card {
    min-height: 80px;
    padding: 0 28px;
    grid-template-columns: 64px 1fr;
  }

  .contact-icon {
    width: 32px;
    height: 32px;
  }

  .contact-card span {
    font-size: 20px;
  }

  .feedback-section {
    width: min(100% - 80px, 1080px);
    padding-bottom: 64px;
  }
  .feedback-section h2 {
    font-size: 32px;
  }

  .feedback-section p {
    font-size: 16px;
    text-align: center;
  }

  .footer-menu {
    gap: 48px;
    padding: 8px 20px;
  }

  .footer-menu a {
    font-size: 10px;
  }

  .footer-copyright {
    font-size: 8px;
  }
}

@media (max-width: 900px) {
  .contactUs-page {
    width: 100%;
  }

  .navbar {
    width: calc(100% - 48px);
    padding-top: 18px;
  }

  .filmmakers-logo {
    width: 42px;
  }

  .nav-menu {
    gap: 24px;
  }

  .nav-item-home,
  .nav-item-about-us,
  .nav-item-our-work,
  .nav-item-our-service {
    font-size: 9px;
  }

  .nav-contact-button {
    min-width: 98px;
    height: 34px;
    padding: 0 16px;
  }

  .button-label {
    font-size: 8px;
  }

  .contact-us-title {
    margin: 90px auto 0;
    padding: 0 24px;
  }

  .contact-us-title h1 {
    font-size: 48px;
  }

  .contact-links {
    width: calc(100% - 48px);
    margin: 68px auto 0;
    gap: 20px;
    padding-bottom: 40px;
  }

  .contact-card {
    min-height: 70px;
    padding: 0 24px;
    grid-template-columns: 54px 1fr;
    border-width: 2px;
  }

  .contact-icon {
    width: 28px;
    height: 28px;
  }

  .contact-card span {
    font-size: 16px;
  }

  .feedback-section {
    width: calc(100% - 48px);
    padding-bottom: 48px;
  }

  .feedback-section h2 {
    font-size: 24px;
  }

  .feedback-form input,
  .feedback-form textarea {
    font-size: 14px;
    padding: 16px 18px;
  }

  .feedback-form textarea {
    min-height: 150px;
  }

  .feedback-form button {
    min-width: 140px;
    height: 46px;
    font-size: 14px;
  }

  .footer-menu {
    gap: 28px;
    padding: 7px 16px;
    margin-bottom: 12px;
  }

  .footer-menu a {
    font-size: 8px;
  }

  .footer-copyright {
    font-size: 7px;
  }
}

@media (max-width: 770px) {
  .contactUs-page {
    width: 100%;
    min-height: 100vh;
  }

  .navbar {
    width: calc(100% - 24px);
    padding-top: 14px;
  }

  .filmmakers-logo {
    width: 28px;
  }

  .nav-menu {
    gap: 10px;
  }

  .nav-item-home,
  .nav-item-about-us,
  .nav-item-our-work,
  .nav-item-our-service {
    font-size: 6px;
  }

  .nav-contact-button {
    min-width: 64px;
    height: 22px;
    padding: 0 10px;
  }

  .button-label {
    font-size: 5px;
  }

  .contact-us-title {
    margin: 72px auto 0;
    padding: 0 16px;
  }

  .contact-us-title h1 {
    font-size: 30px;
  }

  .contact-links {
    width: calc(100% - 24px);
    margin: 44px auto 0;
    gap: 14px;
    padding-bottom: 28px;
  }

  .contact-card {
    min-height: 54px;
    padding: 0 16px;
    grid-template-columns: 38px 1fr;
    border-width: 2px;
  }

  .contact-icon {
    width: 20px;
    height: 20px;
  }

  .contact-card span {
    font-size: 11px;
  }

  .feedback-section {
    width: calc(100% - 24px);
    padding-bottom: 36px;
  }

  .feedback-section h2 {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .feedback-form {
    gap: 12px;
  }

  .feedback-form input,
  .feedback-form textarea {
    font-size: 12px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .feedback-form textarea {
    min-height: 120px;
  }

  .feedback-form button {
    min-width: 108px;
    height: 38px;
    font-size: 12px;
  }

  .footer-menu {
    gap: 14px;
    padding: 6px 10px;
    margin-bottom: 10px;
  }

  .footer-menu a {
    font-size: 6px;
  }

  .footer-copyright {
    font-size: 5px;
  }
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(220px, calc(100vw - 24px));
    padding: 16px;
    border-radius: 16px;
    background: rgba(24, 53, 123, 0.96);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    z-index: 25;
  }

  .nav-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .nav-menu .nav-item-contact-mobile {
    display: inline-flex;
  }

  .nav-menu a {
    color: #fbfbfb;
    font-size: 12px;
    font-weight: 700;
  }

  .nav-menu a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 6px 12px;
    text-decoration: none;
  }

  .nav-contact-button {
    display: none;
  }

  .navbar {
    width: calc(100% - 24px);
    padding-top: 16px;
  }

  .filmmakers-logo {
    width: 24px;
  }

  .nav-menu {
    gap: 14px;
  }

  .nav-item-home,
  .nav-item-about-us,
  .nav-item-our-work,
  .nav-item-our-service {
    font-size: 8px;
  }

  .nav-contact-button {
    min-width: 86px;
    height: 30px;
    padding: 0 14px;
  }

  .button-label {
    font-size: 7px;
  }

  .contact-us-title {
    margin-top: 24px;
    padding: 0 12px;
  }

  .contact-us-title h1 {
    font-size: 24px;
  }

  .contact-links,
  .feedback-section {
    width: calc(100% - 24px);
  }

  .contact-card {
    min-height: 58px;
    grid-template-columns: 40px 1fr;
    padding: 0 16px;
  }

  .contact-icon {
    width: 20px;
    height: 20px;
  }

  .contact-card span,
  .feedback-form input,
  .feedback-form textarea,
  .feedback-form button {
    font-size: 12px;
  }

  .feedback-form textarea {
    min-height: 120px;
  }

  .footer-menu {
    gap: 14px;
    padding: 6px 12px;
  }

  .footer-menu a {
    font-size: 7px;
  }

  .footer-copyright {
    font-size: 6px;
  }
}
