/**
 * Contact Us — contactus.php only (legacy layout from innerpage.css, not loaded by header-modern).
 */

.contact {
  display: block;
  width: 100%;
}

.contact .contact_top {
  margin: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact .contact_top .contact_add {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.contact .contact_top .contact_add .map {
  position: relative;
  width: 100%;
  min-height: 280px;
  height: auto;
  align-self: stretch;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f1f5f9;
}

.contact .contact_top .contact_add .map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact .contact_top .contact_add .get_in_touch {
  background: #063950;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  height: auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.contact .contact_top .contact_add .get_in_touch .get_Top {
  padding: 1.75rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .contact .contact_top .contact_add .get_in_touch .get_Top {
    padding: 2rem 2.25rem;
  }
}

.contact .contact_top .contact_add .get_in_touch .get_Top h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 5;
  margin-bottom: 0.5rem;
}

.contact .contact_top .contact_add .get_in_touch .get_Top ul {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact .contact_top .contact_add .get_in_touch .get_Top ul li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem 1rem;
  padding: 1rem 0;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.contact .contact_top .contact_add .get_in_touch .get_Top ul li:last-of-type {
  border-bottom: none;
}

.contact .contact_top .contact_add .get_in_touch .get_Top ul li p {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  text-align: left;
  margin: 0;
  line-height: 1.55;
  flex: 1;
}

.contact .contact_top .contact_add .get_in_touch .get_Top ul li i {
  font-size: 1.1rem;
  padding-top: 0.2rem;
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
  opacity: 0.95;
}

.contact .contact_top .contact_add .get_in_touch .get_Top ul li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  text-align: left;
  word-break: break-word;
}

.contact .contact_top .contact_add .get_in_touch .get_Top ul li a:hover {
  text-decoration: underline;
}

.contact .contact_top .contact_add .get_in_touch .get_Top h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  padding: 1.25rem 0 0.75rem;
  margin: 0;
  margin-top: auto;
}

.contact .contact_top .contact_add .get_in_touch .get_Top .follow_social {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.contact .contact_top .contact_add .get_in_touch .get_Top .follow_social li {
  border-bottom: none;
  padding: 0;
}

.contact .contact_top .contact_add .get_in_touch .get_Top .follow_social li a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact .contact_top .contact_add .get_in_touch .get_Top .follow_social li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.contact .contact_top .contact_add .get_in_touch .get_Top .follow_social li a i {
  padding: 0;
  width: auto;
}

.contact .contact_top .contact_form {
  margin: 0;
  width: 100%;
  display: block;
}

.contact .contact_top .contact_form .form_top {
  padding: 1.25rem 0 1.5rem;
}

.contact .contact_top .contact_form .form_top .form_header h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #063950;
  margin: 0 0 0.35rem;
  text-align: center;
}

.contact .contact_top .contact_form .form_top .form_header h4 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: #0f766e;
  text-align: center;
  margin: 0 0 1rem;
}

.contact .contact_top .contact_form .form_top form.form_my {
  position: relative;
  width: 100%;
  display: block;
  background: #fff;
  padding: 1rem 0.25rem;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem clamp(0.75rem, 2vw, 1.5rem) 1.5rem;
}

.contact .contact_top .contact_form .form_top form ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact .contact_top .contact_form .form_top form ul li {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.contact .data_input {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact .contact_top .contact_form .form_top form ul li .data_input input,
.contact .contact_top .contact_form .form_top form ul li .data_input select,
.contact .contact_top .contact_form .form_top form .lastchild .data_input textarea {
  width: 100%;
  line-height: 1.5;
  padding: 0.5rem 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact .contact_top .contact_form .form_top form .lastchild .data_input .icon {
  border: 1px dashed #94a3b8;
  width: 100%;
  line-height: 1.5;
  padding: 1rem;
  border-radius: 8px;
  background-color: #f8fafc;
  color: #475569;
  outline: none;
  text-align: center;
}

.contact .contact_top .contact_form .form_top form .lastchild .data_input .icon .upload-drop-head {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #063950;
  margin: 0.35rem 0;
}

.contact .contact_top .contact_form .form_top form .lastchild .data_input .icon span {
  display: block;
  font-size: 0.85rem;
  margin: 0.25rem 0;
}

.contact .contact_top .contact_form .form_top form .lastchild .data_input .icon .choose {
  width: fit-content;
  max-width: 100%;
  display: inline-block;
  margin-top: 0.35rem;
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #063950;
  cursor: pointer;
}

.contact .contact_top .contact_form .form_top form .lastchild .data_input .icon .choose:hover {
  background: #f1f5f9;
}

.contact .contact_top .contact_form .form_top form ul li .data_input input,
.contact .contact_top .contact_form .form_top form .lastchild .data_input input {
  font-size: 1rem;
  background-color: #fff;
}

.contact .contact_top .contact_form .form_top form ul li .data_input label,
.contact .contact_top .contact_form .form_top form .lastchild .data_input label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.contact .contact_top .contact_form .form_top form ul li .data_input input:focus,
.contact .contact_top .contact_form .form_top form ul li .data_input select:focus,
.contact .contact_top .contact_form .form_top form .lastchild .data_input textarea:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.contact .contact_top .contact_form .form_top form .lastchild .data_input {
  margin-bottom: 1rem;
}

.contact .contact_top .contact_form .form_top form .lastchild {
  display: block;
}

.contact .contact_top .contact_form .form_top form .lastchild .data_input .icon:focus-within {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.12);
}

.contact .contact_top .contact_form .form_top form input[type="submit"]#request,
.contact .contact_top .contact_form .form_top form #request {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 1.25rem auto 0;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #0b4b66 0%, #0f766e 100%);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.contact .contact_top .contact_form .form_top form input[type="submit"]#request:hover,
.contact .contact_top .contact_form .form_top form #request:hover {
  filter: brightness(1.06);
}

@media (max-width: 991.98px) {
  .contact .contact_top .contact_add {
    grid-template-columns: 1fr;
  }

  .contact .contact_top .contact_add .map {
    height: 260px;
    min-height: 240px;
  }
}

@media (max-width: 575.98px) {
  .contact .contact_top .contact_form .form_top form ul li {
    grid-template-columns: 1fr;
  }
}
