.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #2196f3;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  background-size: 100% 100%;
  transition: transform 0.3s ease;
  padding: 150px 58px;
}

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

.contact-label-sub {
  color: #ffffff;
  font-size: 1.375rem;
}

.contact-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 40px;
  text-align: center;
  text-wrap: nowrap;
}
.contact-sp {
  display: none;
}

.wpcf7 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  width: 80%;
  border-radius: 10px;
  background-color: #fff;
  padding: 80px 100px;
  margin: 50px 20px;
  gap: 30px;
}
.contact-form-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.contact-input-label {
  width: 35%;
  color: #0088ff;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 15%;
  text-wrap: nowrap;
  padding-top: 10px;
}
.single-input {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
}
.contact-input-box {
  width: 65%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px;
}

.right-label {
  font-size: 0.75rem;
  background-color: #0088ff;
  color: #fff;
  padding: 1px 3px;
  font-family: "yugothib-600";
  white-space: nowrap !important;
}

.contact-input {
  width: 100%;
  background-color: #f5f5f5;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
}

.contact-text-area {
  width: 100%;
  background-color: #f5f5f5;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
}

.contact-button-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}
.contact-button-box p {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-button {
  cursor: pointer !important;
  background-color: #0088ff;
  width: 600px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-radius: 37px;
  transition: transform 0.4s ease;
  border: none;
}
.contact-button-box:hover .contact-arrow-button {
  transform: scale(1.25);
  transition: transform 0.2s ease;
}

.contact-arrow-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 50%;
  color: #0088ff;
  padding: 10px;
  width: 40px;
  height: 40px;
  font-weight: 900;
  font-size: 0.75rem;
  line-height: 1;
}
.contact-button-label {
  display: flex;
  align-items: center;
  color: #ffffff;
  margin: 0 auto;
  font-size: 1.125rem;
}

.confirm-dialog {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;

  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.confirm-dialog-content {
  position: relative;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 850px;
  padding: 50px 30px;
  z-index: 10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.confirm-dialog h3 {
  font-weight: 600;
  font-size: 1.25rem;
}

.confirm-dialog .modal-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.confirm-dialog .field-box {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.confirm-dialog label {
  flex: 1;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  text-wrap: nowrap;
  min-width: 250px;
}
.confirm-dialog .input-value {
  flex: 1.5;
  color: #000;
  font-weight: 500;
  font-size: 1rem;
  min-width: 250px;
}
.confirm-dialog .button-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.confirm-dialog .confirm-btn {
  background-color: #38b3a0;
  color: #fff;
  border-radius: 10px;
  border: none;
  padding: 10px 20px;
}
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

.wpcf7-response-output {
  display: none !important;
}

@media (max-width: 950px) {
  .contact-form-row {
    gap: 10px;
  }
  .single-input {
    gap: 10px;
  }
  .contact-input-label,
  .contact-input-box {
    width: 100%;
    padding: 0;
  }

  .contact-button {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 150px 30px;
  }
  .wpcf7-form {
    width: 100%;
    margin: 20px 0;
    padding: 50px;
  }

  .contact-label-sub {
    font-size: 1.25rem;
  }
  .contact-description {
    font-size: 0.875rem;
    margin-top: 10px;
  }
  .contact-input-label {
    font-size: 0.875rem;
  }
  .contact-button-label {
    font-size: 1rem;
  }
  .right-label {
    font-size: 0.625rem;
  }
}

@media (max-width: 690px) {
  .contact-input .contact-text-area {
    font-size: 1rem;
    padding: 10px 10px;
  }

  .wpcf7-form {
    padding: 30px;
  }
  .contact-button {
    width: 90%;
    padding: 10px 30px;
  }
}

@media (max-width: 370px) {
  .contact-sp {
    display: flex;
    text-wrap: wrap;
  }
  .contact-lg {
    display: none;
  }
}

/* Styles for 1080p and above */
@media (min-width: 1920px) {
  .contact-section {
    padding: 230px 0px;
  }
  .wpcf7-form {
    width: 75%;
  }
  .contact-input-label {
    font-size: 1.125rem;
    width: 35%;
  }
  .contact-button-label {
    font-size: 1.25rem;
  }
  .contact-description {
    font-size: 1.125rem;
  }
  .contact-input-box {
    width: 65%;
  }
}

/* Styles for QHD / 2K screens */
@media (min-width: 2560px) {
  .contact-header {
    margin: 4% 0 0 0;
  }
  .wpcf7-form {
    padding: 100px;
    margin: 100px 0;
    width: 65%;
  }
  .contact-description {
    font-size: 1.25rem;
  }
  .contact-input-label {
    width: 35%;
    font-size: 1.25rem;
  }
  .contact-button-label {
    font-size: 1.375rem;
  }
  .contact-label-sub {
    font-size: 1.875rem;
  }
  .right-label {
    font-size: 1rem;
  }
  .contact-input-box {
    width: 65%;
  }
}

/* Styles for 4K and above */
@media (min-width: 3840px) {
  .contact-header {
    margin: 150px 0 0 0;
    gap: 30px;
  }
  .contact-description {
    font-size: 1.75rem;
  }
  .wpcf7-form {
    width: 50%;
    padding: 150px;
    margin: 150px 0;
  }
  .contact-input-label {
    font-size: 1.75rem;
  }
  .contact-input-box {
    padding-left: 30px;
  }
  .contact-button-label {
    font-size: 1.875rem;
  }
  .contact-arrow-button {
    width: 50px;
    height: 50px;
  }
  .contact-button-icon {
    width: 20px;
    height: 20px;
  }
}
