@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;400&display=swap");

* {
  margin: 0%;
}

body {
  background: #f8fafb;
}

.contact {
  margin: 60px auto;
  max-width: 1400px;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(32px, 5vw, 50px);
  font-weight: bolder;
  color: #333333;
  margin-bottom: 40px;
  text-align: center;
}

.row {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  background: #1f2228;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.column_form {
  background: #191e62;
  width: 60%;
  min-width: 400px;
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 24px;
}

.title_form {
  font-family: "Poppins", sans-serif;
  font-size: clamp(24px, 3vw, 30px);
  color: #fff;
  font-weight: bolder;
  margin-bottom: 8px;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

form .button_form {
  margin-top: 4px;
}

input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  outline: none;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

textarea {
  width: 100%;
  min-height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  outline: none;
  border-radius: 8px;
  color: #fff;
  padding: 14px 16px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  resize: vertical;
  transition: all 0.3s ease;
}

textarea:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.button_form {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 12px;
}

.btn_form {
  padding: 14px 36px;
  min-width: 160px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  background: #fff;
  color: #191e62;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Poppins", sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn_form::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(25, 30, 98, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn_form:hover::before {
  width: 300px;
  height: 300px;
}

.btn_form:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #191e62;
}

.btn_form:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.column_info {
  background: #1f2228;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 30px;
}

.button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 20px;
  width: 100%;
}

.btn {
  padding: 14px 28px;
  min-width: 180px;
  width: 100%;
  max-width: 220px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn.info {
  color: #fff;
  background: #191e62;
}

.btn.info:hover {
  background: #252b7a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 30, 98, 0.3);
}

.btn.info:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(25, 30, 98, 0.2);
}

.btn.doc {
  background: #05f6a7;
  color: #030303;
}

.btn.doc:hover {
  background: #04e096;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 246, 167, 0.3);
  color: #030303;
}

.btn.doc:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(5, 246, 167, 0.2);
}

.compte_info {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 60%;
  padding: 10px;
}

.compte_info img {
  width: 35px;
}

.faq {
  padding: 50px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-container {
  display: flex;
  flex-direction: column;
  width: 80%;
}

.title_faq {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: bolder;
  color: #333333;
}

.row_faq {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-radius: 8px;
}

.column_faq {
  width: 46%;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.column_tag {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 12vh;
}

.column_tag h4 {
  font-family: "Poppins", sans-serif;
  font-weight: bolder;
  font-size: 15px;
}

.column_tag P {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: #333333;
}

@media screen and (min-width: 1800px) {
  .service-container {
    width: 65%;
  }
}
@media screen and (max-width: 968px) {
  .row {
    flex-direction: column;
    width: 100%;
  }

  .column_form {
    width: 100%;
    min-width: auto;
    border-radius: 12px;
  }

  .column_info {
    width: 100%;
  }

  .service-container {
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  .contact {
    margin: 40px 20px;
    padding: 0 15px;
  }

  .row {
    width: 100%;
  }

  .column_form {
    padding: 30px 24px;
  }

  form {
    gap: 18px;
  }

  input,
  textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  textarea {
    min-height: 120px;
  }

  .faq {
    padding: 40px 20px;
  }

  .column_faq {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .column_tag {
    height: auto;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 600px) {
  .contact {
    margin: 30px 15px;
    padding: 0 10px;
  }

  .column_form {
    padding: 24px 20px;
    gap: 20px;
  }

  form {
    gap: 16px;
  }

  input,
  textarea {
    padding: 12px;
    font-size: 14px;
  }

  textarea {
    min-height: 100px;
  }

  .button_form {
    justify-content: center;
  }

  .btn_form {
    width: 100%;
    padding: 14px 24px;
    min-width: auto;
  }

  .button {
    gap: 12px;
    padding: 16px;
  }

  .btn {
    min-width: auto;
    max-width: 100%;
    padding: 12px 24px;
    font-size: 13px;
  }

  .column_info {
    padding: 20px;
  }

  .faq {
    padding: 30px 15px;
  }

  .service-container {
    width: 95%;
  }
}

@media screen and (max-width: 500px) {
  .contact {
    margin: 20px 10px;
    padding: 0;
  }

  .title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .row {
    border-radius: 8px;
  }

  .column_form {
    padding: 20px 16px;
    gap: 18px;
  }

  .title_form {
    font-size: 22px;
  }

  form {
    gap: 14px;
  }

  input,
  textarea {
    padding: 12px;
    font-size: 14px;
  }

  textarea {
    min-height: 90px;
  }

  .button_form {
    justify-content: center;
  }

  .btn_form {
    width: 100%;
    padding: 14px 20px;
    min-width: auto;
    font-size: 14px;
  }

  .button {
    gap: 10px;
    padding: 12px;
  }

  .btn {
    min-width: auto;
    max-width: 100%;
    padding: 12px 18px;
    font-size: 12px;
  }

  .column_info {
    display: none;
  }

  .faq {
    padding: 20px 10px;
  }

  .service-container {
    width: 100%;
  }

  .row_faq {
    flex-direction: column;
  }

  .column_faq {
    width: 100%;
    height: auto;
  }

  .column_tag {
    height: auto;
    margin-bottom: 16px;
  }
}

@media screen and (max-width: 400px) {
  .contact {
    margin: 15px 8px;
  }

  .title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .column_form {
    padding: 18px 14px;
  }

  .title_form {
    font-size: 20px;
  }

  form {
    gap: 12px;
  }

  input,
  textarea {
    padding: 10px;
    font-size: 13px;
  }

  textarea {
    min-height: 80px;
  }

  .btn {
    padding: 10px 16px;
    min-width: 120px;
  }

  .compte_info {
    width: 75%;
    padding: 10px;
  }

  .compte_info img {
    width: 25px;
  }

  .faq {
    padding: 20px 8px;
  }

  .column_faq {
    width: 100%;
    height: auto;
  }

  .column_tag {
    height: auto;
    margin-bottom: 14px;
  }
}
