#contact .sectionHead__title {
  line-height: 1.6;
}

.form-tabs {
  max-width: 1000px;
  width: 100%;
  margin: 40px auto 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TAB BUTTONS */
.tab-buttons {
  display: flex;
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
  gap: 5px;
}

.tab-btn {
  flex: 1;
  padding: 20px;
  background: transparent;
  color: #e63946;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
  border: 1px solid #e63946;
  border-radius: 12px 12px 0 0;
}

.tab-btn.style2 {
  color: var(--primary);
  border: 1px solid var(--primary);
}

.tab-btn:hover {
  background: rgba(230, 57, 70, 0.05);
  color: #e63946;
}

.tab-btn.active {
  /* color: #e63946;
  background: white; */
  color: #fff;
  background: linear-gradient(135deg, var(--danger), var(--accent));
}

/* .tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e63946;
  animation: expandWidth 0.3s ease-out;
} */

.tab-btn.style2:hover {
  background: rgba(57, 69, 230, 0.05);
  color: #044789;
}

.tab-btn.style2.active {
  /* color: var(--primary);
  background: white; */
  background: linear-gradient(135deg, var(--primary), #044789);
  color: #ffff;
}
/* .tab-btn.style2.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  animation: expandWidth 0.3s ease-out;
} */

@keyframes expandWidth {
  from {
    width: 0;
    left: 50%;
  }
  to {
    width: 100%;
    left: 0;
  }
}

/* TAB CONTENT */
.tab-content {
  display: none;
  padding: 40px;
  animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* FORM STYLES */
form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
  margin-bottom: 8px;
  display: block;
}

label .red {
  color: #e63946;
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #e63946;
  background: white;
  box-shadow: 0 0 0 1px rgba(230, 57, 70, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

/* RADIO & CHECKBOX */
input[type="radio"],
input[type="checkbox"] {
  margin: 0 4px 0 0;
  cursor: pointer;
  accent-color: #e63946;
  width: 22px;
  height: 22px;
}

label:has(input[type="radio"]),
label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-bottom: 12px;
}

/* AGREEMENT BOX */
.agreement-box {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  max-height: 300px;
  overflow-y: auto;
}

.txt-agreement {
  font-size: 15px;
  color: #495057;
  text-align: justify;
  line-height: 1.8;
}

.txt-agreement ul{
  padding-left: 20px;
}

.txt-agreement h3{
  text-align: center;
  font-size: 18px;
}

.txt-agreement .sub{
  padding-left: 0;
  list-style: none;
}

.txt-agreement .sub li{
  text-indent: -18px;
  margin-left: 18px;
}

.txt-agreement h4 {
  color: #2c3e50;
  margin-bottom: 12px;
  font-size: 16px;
}

.txt-agreement p {
  margin: 0;
}

.txt-3 {
  font-size: 16px;
  text-align: center;
  color: #6c757d;
  line-height: 1.8;
  margin: 16px 0;
}

/* SUBMIT BUTTON */
button[type="submit"],
input[type="submit"] {
  background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
  color: white;
  padding: 14px 32px;
  max-width: 400px;
  min-height: 80px;
  width: 100%;
  margin: 0 auto;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

button.style-blue[type="submit"],
input.style-blue[type="submit"] {
  background: linear-gradient(135deg, var(--primary), #044789);
  box-shadow: 0 4px 15px rgba(57, 103, 230, 0.3);
}

button[type="submit"]:hover,
input[type="submit"]:hover {
  background: linear-gradient(135deg, #d62828 0%, #c41c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

button.style-blue[type="submit"]:hover,
input.style-blue[type="submit"]:hover {
  background: linear-gradient(135deg, var(--primary), #044789);
  box-shadow: 0 6px 20px rgba(57, 103, 230, 0.4);
}

button[type="submit"]:active,
input[type="submit"]:active {
  transform: translateY(0);
}

/* RECAPTCHA */
.recaptcha {
  margin: 0 auto;
  text-align: center;
}

/* UTILITIES */
.ct {
  text-align: center;
}

.i-df {
  display: flex;
  gap: 12px;
}

.i-df input {
  flex: 1;
}

.agree {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  gap: 8px;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .form-tabs {
    border-radius: 8px;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 8px 8px 0 0;
  }


  .tab-content {
    padding: 25px 15px;
  }

  .i-df {
    flex-direction: column;
  }

  .agreement-box {
    max-height: 250px;
  }

  button[type="submit"],
  input[type="submit"] {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    min-height: 60px;
  }
}
