.contact-us,
.contact-us * {
  box-sizing: border-box;
}

.contact-us {
  font-family: "Vazirmatn", Tahoma, sans-serif;
  text-decoration: none;
  padding-bottom: 80px;
}

.contact-hero {
  position: relative;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(140, 120, 200, 0.25));
  backdrop-filter: blur(15px);
  text-align: center;
  margin: auto;
  margin-bottom: 60px;
  color: white;
  max-width: 2000px;
}

.contact-hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  filter: blur(5px);
}

.contact-hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px);
}

.contact-descriptin {
  padding: 125px 50px 50px;
  margin: auto;
  line-height: 1.7;
  background-color: rgba(0, 0, 0, 0.589);
}

.contact-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.contact-hero-text {
  width: 60%;
  text-align: right;
}

.contact-hero-logo-box {
  width: 27%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.4;
}

.contact-page {
  padding: 30px 100px 80px;
  max-width: 2000px;
  margin: auto;
}

.contact-hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.contact-hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  perspective: 1000px;
}

.contact-hero-logo {
  width: 100%;
  height: 100%;
  animation: fadePulse 4s ease-in-out infinite;
}

@keyframes fadePulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

.contact-flex {
  margin: auto;
  display: flex;
  justify-content: space-between;
  grid-template-columns: 1fr 1.3fr;
  width: 100%;
}

.contact-info,
.contact-form {
  backdrop-filter: blur(18px);
  padding: 20px 40px;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 47%;
}

.contact-info h2 {
  margin-bottom: 35px;
}

.contact-infos {
  display: grid;
  grid-template-columns: repeat(2, 47%);
  gap: 20px;
}

.info-box {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 5px;
  align-items: center;
  border: 1px solid #665290;
  border-radius: 15px;
  padding: 15px;
  font-size: 14px;
  transition: 0.3s;
  background-color: white;
}

.info-location {
  grid-column: 1 / 3;
}

.info-box:hover {
  scale: 1.05;
}

.info-box h4 {
  margin-bottom: 10px;
}

.info-box svg {
  color: #665290;
  font-size: 30px;
}

.contact-social-links {
  margin-top: 10px;
}
.contact-social-links a {
  margin-left: 15px;
  font-size: 20px;
  color: #665290;
}

.contact-social-links svg:hover {
  transition: 0.3s;
  scale: 1.1;
}

.map-section iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 15px;
  margin: 20px 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  margin-top: 35px;
  gap: 25px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.contact-input {
  width: 100%;
  padding: 12px;
  border-radius: 15px;
  border: 1px solid #7c69ae;
  outline: none;
  margin-top: 10px;
  resize: none;
}

.response-time {
  margin-top: 30px;
  text-align: start;
  font-size: 16px;
  padding: 30px;
  background-color: #aa9fff3f;
  border-radius: 15px;
  display: flex;
  gap: 15px;
  flex-direction: column;
  margin-bottom: 20px;
}

.contact-button {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  background: #665290;
  border: none;
  padding: 14px;
  border-radius: 15px;
  cursor: pointer;
  color: white;
  transition: 0.3s;
}

.contact-button:hover {
  background-color: #665290d5;
  color: white;
}

.email-section {
  margin: 80px auto;
  padding: 65px 30px;
  background-color: #665290;
  max-width: 2000px;
}

.email-section .info-box {
  padding: 30px 25px;
  height: 195px;
  justify-content: space-between;
  box-shadow: rgba(0, 0, 0, 0.114) 0px 3px 8px;
  width: 300px;
  align-items: start;
  font-size: 20px;
}

.email-section h4{
  display: flex;
  align-items: center;
}

.email-section svg {
  margin-left: 5px;
}

.email-section a {
  color: #665290;
  font-weight: 700;
}

.email-section a:hover {
  text-decoration: underline;
}

.contact-container {
  max-width: 1000px;
  margin: auto;
}

.email-section h2 {
  margin-bottom: 50px;
  text-align: center;
  color: white;
}

.info-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.faq-section {
  margin: auto;
  /* padding: 80px 0; */
}

.faq-section h2,
.email-section h2 {
  margin-bottom: 50px;
  text-align: center;
  line-height: 1.7;
}

.faq-item {
  margin: 0 auto 15px;
  max-width: 1000px;
}

.faq-question {
  width: 100%;
  padding: 15px 20px;
  border: none;
  background: #665290;
  border-radius: 15px;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    padding 0.3s ease;
  opacity: 0;
  padding: 0 15px;
  background: #fff;
  border-radius: 15px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 15px;
}

.career-cta {
  text-align: center;
  padding: 60px 20px;
  background: #aa9fff3f;
  max-width: 2000px;
  margin: 0 auto 80px;
}

.career-cta p {
  margin: 20px 0;
}

@media (max-width: 1024px) {
  .contact-page {
    padding: 30px 30px 80px;
  }

  .contact-flex {
    gap: 20px;
  }

  .contact-info,
  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .contact-flex {
    flex-direction: column;
    justify-content: center;
    gap: 70px;
  }

  @keyframes fadePulse {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 1;
    }
  }

  .contact-hero-content {
    justify-content: center;
  }

  .contact-descriptin {
    padding: 125px 20px 50px;
  }

  .contact-hero {
    position: relative;
    justify-content: center;
  }

  .contact-hero-text {
    width: 100%;
  }

  .contact-hero-logo-box {
    position: absolute;
    height: 100%;
    width: 60%;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .contact-form form {
    gap: 30px;
  }
}

@media (max-width: 690px) {
  .email-section .info-box {
    width: 80%;
    align-items: center;
  }
}

@media (max-width: 425px) {
  .contact-page {
    padding: 30px 15px 80px;
  }

  .contact-hero-text {
    text-align: center;
  }

  .contact-hero-logo-box {
    width: 100%;
  }
}
