body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  position: relative;
  background-image: url("office.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-text {
  color: #54595f;
  font-size: 750px;
  font-weight: 400;
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  font-family: "Hanken Grotesk", sans-serif;
  z-index: 0;
}
.form-container {
  width: 90%;
  max-width: 270px;
  min-height: 550px;
  border-radius: 12px;
  padding: 20px;
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); */
  text-align: center;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
  margin: 50px auto;
  background-color: transparent;
}

.form-container.flipped {
  transform: rotateY(180deg);
}

.form-front,
.form-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease-in-out, opacity 0.3s ease;
}

.form-front {
  background: #ffffff;
  z-index: 2;
}

.form-back {
  transform: rotateY(180deg);
  background-color: #ffffff;
  color: #000;
  z-index: 1;
  text-align: center;
}

.form-back-content {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.form-container.flipped .form-front {
  transform: rotateY(180deg);
  opacity: 0;
}

.form-container.flipped .form-back {
  transform: rotateY(0);
  opacity: 1;
}

.form-back a {
  text-decoration: none;
  color: #009401;
  font-weight: bold;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.btn {
  padding: 12px 18px;
  background-color: #009401;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  max-width: 250px;
  text-align: center;
  font-weight: bold;
}

.form-front h3 {
  font-weight: lighter;
}

.btn:hover {
  background-color: #007a2f;
  transform: translateY(-3px);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
  margin-bottom: 15px;
}

.social-icons a {
  width: 35px;
  height: 35px;
  background: #009401;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background: #007a2f;
  transform: translateY(-3px);
}

.logo {
  width: 100%;
  margin-bottom: 50px;
  transition: transform 0.3s ease;
  margin-top: 15px;
}

.logo:hover {
  transform: scale(1.05);
}

.contact-info h2 {
  font-size: 1.5rem;
  color: #009401;
  margin-top: 20px;
  margin-bottom: 10px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #009401;
  gap: 10px;
}

.contact-item i {
  font-size: 1.1rem;
  color: #009401;
}
@media (max-width: 320px) {
  body {
    background-image: url("office.png");
  }
  .form-container {
    width: 70%;
    max-width: 150px;
    margin-left: 25px;
    margin-right: 20px;
    height: 625px;
  }
  .contact-item {
    gap: 4px;
    font-size: 1rem;
  }
  .button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .btn {
    padding: 8px 12px;
    font-size: 1rem;
    width: 100%;
    max-width: 190px;
  }
  .logo {
    width: 100%;
    max-width: 200px;
    margin: 50px 0 10px;
  }
  .social-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
  }

  .social-icons {
    margin-top: 50px;
  }
  .bg-text {
    font-size: 100px;
  }
  .contact-info {
    margin-left: 5px;
    margin-right: 5px;
  }

  .contact-item i {
    font-size: 1rem;
  }

  .contact-item a {
    font-size: 1rem;
  }
}

@media (max-width: 375px) {
  .bg-text {
    font-size: 150px;
  }
  .btn {
    font-size: 1rem;
    width: 100%;
    max-width: 250px;
  }
  .form-container {
    height: 650px;
    margin-left: 15px;
    margin-right: 15px;
  }
  .social-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
    margin-right: 10px;
    margin-left: 10px;
  }
  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  .logo {
    width: 100%;
    max-width: 200px;
    margin: 50px 0 10px;
  }
}

@media (min-width: 425px) {
  .bg-text {
    font-size: 200px;
  }
  .btn {
    font-size: 1rem;
    width: 100%;
    max-width: 250px;
  }
  .form-container {
    height: 625px;
    margin-left: 15px;
    margin-right: 15px;
  }
  .social-icons {
    gap: 18px;
    margin-top: 50px;
  }
}

@media (min-width: 768px) {
  .bg-text {
    font-size: 350px;
  }
  .form-container {
    height: 650px;
    width: 80%;
    max-width: 450px;
  }
  .btn {
    width: 350px;
  }
  .logo {
    max-width: 250px;
  }
  .social-icons {
    gap: 18px;
    margin-top: 50px;
  }
  .social-icons a {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .contact-item {
    font-size: 1.1rem;
  }
  .contact-info {
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .bg-text {
    font-size: 450px;
  }
}

.form-front h3 {
  margin: 0 5px 45px;
  margin-top: 25px;
}

.form-container {
  width: 100%;
  max-width: 450px;
}

.btn {
  width: 350px;
}

.logo {
  max-width: 500px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.social-icons {
  gap: 18px;
}

.contact-item {
  font-size: 1.1rem;
}

.contact-info {
  gap: 40px;
}

.form-front h1 {
  line-height: 1;
}
