/* Start custom CSS for html, class: .elementor-element-cc829a5 *//* ==========================================
   HOUSING DISREPAIR CONTACT PAGE
   COMPLETE CSS
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* MAIN SECTION */

.hdc-contact-page {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 950px;
  padding: 35px 24px 110px;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  box-sizing: border-box;
}

.hdc-contact-page *,
.hdc-contact-page *::before,
.hdc-contact-page *::after {
  box-sizing: border-box;
}

/* ==========================================
   BACKGROUND IMAGE + TEAL GRADIENT

   ADD YOUR IMAGE URL HERE
========================================== */

.hdc-contact-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 78%;
  z-index: -1;

  background-image:
    linear-gradient(
      90deg,
      rgba(0, 65, 83, 0.96) 0%,
      rgba(0, 75, 95, 0.84) 45%,
      rgba(0, 75, 95, 0.35) 100%
    ),
    url("https://housing-disrepair-solicitors.co.uk/wp-content/uploads/2026/10/Scandinavian-Living-Room-with-Window-Mould.webp");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #00546A;

  /* SLANTED BOTTOM EDGE */
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 76%
  );
}

/* MAIN CONTENT CONTAINER */

.hdc-contact-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==========================================
   LOGO
========================================== */

.hdc-contact-logo {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 45px;
}

.hdc-contact-logo a {
  display: inline-flex;
  align-items: center;
}

.hdc-contact-logo img {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ==========================================
   CENTRED HERO CONTENT
========================================== */

.hdc-contact-intro {
  max-width: 1080px;
  margin: 0 auto 35px;
  text-align: center;
}

.hdc-contact-label {
  display: inline-block;
  color: #4DDCF0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

/* MAIN TITLE */

.hdc-contact-intro h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -2px;
  color: #ffffff;
  margin: 0 auto 24px;
  max-width: 1060px;
}

.hdc-contact-intro h1 span {
  display: block;
  color: #4DDCF0;
}

/* DESCRIPTION */

.hdc-contact-intro p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  max-width: 890px;
  margin: 0 auto;
}

/* ==========================================
   FORM CARD
========================================== */

.hdc-contact-form-card {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 560px;
  margin: 36px auto 0;
  padding: 35px;

  background: #ffffff;
  border-radius: 13px;

  box-shadow:
    0 12px 35px rgba(0, 45, 65, 0.07),
    0 25px 55px rgba(0, 45, 65, 0.12);
}

/* FORM HEADING */

.hdc-contact-form-heading {
  margin-bottom: 28px;
}

.hdc-contact-form-heading h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #102856;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
}

.hdc-contact-form-heading p {
  color: #65758A;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================
   GRAVITY FORMS
========================================== */

.hdc-contact-form-card .gform_wrapper {
  width: 100%;
  margin: 0;
}

.hdc-contact-form-card .gform_wrapper .gform_fields {
  row-gap: 16px;
}

/* FIELD LABELS */

.hdc-contact-form-card .gfield_label,
.hdc-contact-form-card .gform_wrapper legend {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #073B53;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

/* INPUTS */

.hdc-contact-form-card .gform_wrapper input[type="text"],
.hdc-contact-form-card .gform_wrapper input[type="email"],
.hdc-contact-form-card .gform_wrapper input[type="tel"],
.hdc-contact-form-card .gform_wrapper select,
.hdc-contact-form-card .gform_wrapper textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  background: #ffffff;
  border: 1px solid #DCE5EA;
  border-radius: 7px;
  color: #073B53;
  font-family: inherit;
  font-size: 14px;
}

/* ==========================================
   PROGRESS BAR
========================================== */

.hdc-contact-form-card .gf_progressbar_wrapper {
  margin-bottom: 28px;
}

.hdc-contact-form-card .gf_progressbar_title {
  color: #526273 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.hdc-contact-form-card .gf_progressbar {
  background: #E7EBF0 !important;
  border-radius: 30px !important;
  overflow: hidden;
}

.hdc-contact-form-card .gf_progressbar_percentage {
  background: #007E75 !important;
  border-radius: 30px !important;
}

/* ==========================================
   RADIO / CHECKBOX CHOICE BUTTONS
========================================== */

.hdc-contact-form-card .gchoice {
  position: relative;
}

/* HIDE NATIVE CHOICE INPUTS */

.hdc-contact-form-card .gfield_radio input,
.hdc-contact-form-card .gfield_checkbox input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

/* CHOICE BUTTON LABELS */

.hdc-contact-form-card .gfield_radio label,
.hdc-contact-form-card .gfield_checkbox label {
  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 100% !important;
  min-height: 58px;

  padding: 14px 18px !important;
  margin: 0 !important;

  background: #007E75;
  border: 2px solid #007E75;
  border-radius: 7px;

  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px !important;
  font-weight: 600;
  text-align: center;

  cursor: pointer;
  transition: background .2s ease;
}

/* HOVER */

.hdc-contact-form-card .gfield_radio label:hover,
.hdc-contact-form-card .gfield_checkbox label:hover {
  background: #084D62;
  border-color: #084D62;
}

/* SELECTED */

.hdc-contact-form-card .gfield_radio input:checked + label,
.hdc-contact-form-card .gfield_checkbox input:checked + label {
  background: #4DDCF0 !important;
  border-color: #007E75 !important;
  color: #073B53 !important;
}

/* KEYBOARD FOCUS */

.hdc-contact-form-card .gfield_radio input:focus-visible + label,
.hdc-contact-form-card .gfield_checkbox input:focus-visible + label {
  outline: 3px solid #073B53;
  outline-offset: 3px;
}

/* CHOICE SPACING */

.hdc-contact-form-card .gfield_radio,
.hdc-contact-form-card .gfield_checkbox {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================
   FORM NAVIGATION BUTTONS
========================================== */

.hdc-contact-form-card .gform_next_button,
.hdc-contact-form-card .gform_previous_button,
.hdc-contact-form-card .gform_button[type="submit"] {
  min-height: 55px !important;
  padding: 14px 22px !important;

  background: #000000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 7px !important;

  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px !important;
  font-weight: 700 !important;

  cursor: pointer;
  transition: background .2s ease;
}

.hdc-contact-form-card .gform_next_button:hover,
.hdc-contact-form-card .gform_previous_button:hover,
.hdc-contact-form-card .gform_button[type="submit"]:hover {
  background: #222222 !important;
}

/* FORM PAGE FOOTER */

.hdc-contact-form-card .gform_page_footer {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.hdc-contact-form-card .gform_page_footer .gform_next_button {
  flex: 1;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

  .hdc-contact-page {
    padding: 30px 24px 90px;
  }

  .hdc-contact-logo img {
    width: 195px;
  }

  .hdc-contact-intro h1 {
    font-size: 43px;
  }

  .hdc-contact-intro p {
    font-size: 15px;
  }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

  .hdc-contact-page {
    min-height: auto;
    padding: 25px 18px 65px;
  }

  /* MOBILE IMAGE WITH GRADIENT */

  .hdc-contact-background {
    height: 80%;

    background-image:
      linear-gradient(
        180deg,
        rgba(0, 55, 75, 0.88) 0%,
        rgba(0, 67, 87, 0.76) 50%,
        rgba(0, 75, 95, 0.48) 100%
      ),
      url("PASTE-YOUR-BACKGROUND-IMAGE-URL-HERE");

    background-position: center center;
    background-size: cover;

    /* MOBILE SLANTED BOTTOM */
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 88%
    );
  }

  /* LOGO */

  .hdc-contact-logo {
    margin-bottom: 45px;
  }

  .hdc-contact-logo img {
    width: 175px;
  }

  /* HERO CONTENT */

  .hdc-contact-intro {
    margin-bottom: 30px;
  }

  .hdc-contact-label {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 15px;
  }

  .hdc-contact-intro h1 {
    font-size: clamp(30px, 7.5vw, 38px);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
  }

  .hdc-contact-intro h1 span {
    display: inline;
  }

  .hdc-contact-intro p {
    font-size: 14px;
    line-height: 1.75;
  }

  /* CENTRED FORM CARD */

  .hdc-contact-form-card {
    max-width: 100%;
    margin-top: 35px;
    padding: 24px 18px;
    border-radius: 12px;
  }

  .hdc-contact-form-heading h2 {
    font-size: 21px;
  }

  .hdc-contact-form-heading p {
    font-size: 13px;
  }

  /* CHOICE BUTTONS */

  .hdc-contact-form-card .gfield_radio label,
  .hdc-contact-form-card .gfield_checkbox label {
    min-height: 53px;
    padding: 12px 10px !important;
    font-size: 13px !important;
  }

  /* NAVIGATION */

  .hdc-contact-form-card .gform_next_button,
  .hdc-contact-form-card .gform_previous_button,
  .hdc-contact-form-card .gform_button[type="submit"] {
    min-height: 53px !important;
    font-size: 14px !important;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-df1bad9 */.hdr-footer {
  background: #F7FAFB;
  padding: 60px 24px 25px;
  font-family: 'Inter', sans-serif;
}

.hdr-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.hdr-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  padding-bottom: 45px;
}

.hdr-footer-brand {
  max-width: 350px;
}

.hdr-footer-brand img {
  width: 185px;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.hdr-footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #617183;
  margin: 0;
}

.hdr-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.hdr-footer-links a {
  font-size: 13px;
  text-decoration: none;
  color: #24394E;
}

.hdr-footer-links a:hover {
  color: #007E75;
}

.hdr-footer-bottom {
  border-top: 1px solid #DCE7EA;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.hdr-footer-bottom p {
  font-size: 12px;
  color: #758393;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 767px) {
  .hdr-footer {
    padding: 45px 20px 25px;
  }

  .hdr-footer-top,
  .hdr-footer-bottom {
    flex-direction: column;
    gap: 24px;
  }

  .hdr-footer-links {
    gap: 15px 25px;
  }
}/* End custom CSS */