* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

.t-center {
  text-align: center;
}

h1.title {
  padding: 60px 0 0 0;
  text-align: center;
  max-width: 730px;
  margin: auto;
}

section {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.171);
}

.container {
  max-width: 1300px;
  width: 80%;
  margin: auto;
}

.section {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  background: #00000099;
  color: white;
  position: relative;
}

.section .container {
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
}

.section header {
  padding: 10px 0;
  padding: 3.8rem 3.8rem 3.8rem 3.8rem;
}
/* nav links */
/* Base Styles */



header {
  position: sticky;
  top: 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  position: relative;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 4rem;
  padding: 0 !important;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
  font-weight: bold;
  font-size: 14px;
}

.nav-links a:hover {
  color: #018690;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 1001;
}
.navbar-button{
  display: none;
  background: #018690;
  color: white !important;
  padding: 18px 22px;
  border-radius: 5px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}
.navbar-button:hover{
  background: #018690;
}
.navbar-button a{
  color: white !important;
  text-decoration: none;
  font-weight: bold;
}
.navbar-button a:hover {
  color: #fff;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease-in-out;
}
.hamburger.active span {
  background-color: black !important;
}

/* Mobile Responsive */
@media (max-width: 949px) {
  .navbar-button{
  display: none;
  background: #018690;
  color: white !important;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  width: 100%;
 
}
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s ease-in-out;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
  }
.nav-links a{
  color: black;
}
  .nav-links ul {
    flex-direction: column;
    gap: 25px;
    text-align: center;
    justify-content: center;
    padding: 0 30px;
      width: 80%;

    
  }
    .nav-links ul li{
      padding: 1rem !important;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-block:  0.6rem !important;
    }
    .nav-links.show::before{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    }
  .nav-links.show {
            right: 0;
        margin: 0 auto;
        display: flex
;
        align-items: center;
        justify-content: center;
    
  }

  .hamburger {
    display: flex;
    color: white;
    margin-right: 2rem;
  }

  /* Animate hamburger icon when active */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);  }
}

/* nav links end */
.hero-flex{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section .bg-img {
  position: absolute;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.bg-overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);  
  z-index: -1;
}
.section div h2:not(.t-center h2) {
  text-align: center;
  font-weight: lighter;
  font-size: 39px;
  margin: 90px auto 25px auto;
  min-width: 90%;
}

.section div p.subtitle {
  text-align: center;
}

.section div ul {
  list-style: none;
  padding: 70px 0;
}

.section div ul img {
  width: 37px;
  vertical-align: middle;
}

.section div ul li {
  margin: 15px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 7px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex--button-container button,
.online-valuation {
  width: 100%;
  background: #018690;
  height: 50px;
  outline: none;
  font-size: 20px;
  color: white;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  margin-top: 80px;
}

.flex--button-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  margin-bottom: 100px;
}

div#lead-pro-widget {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  background: #e7e7e7;
  -webkit-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

.lead-pro-widget-close {
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.2s ease;
  -o-transition: 0.2s ease;
  transition: 0.2s ease;
  z-index: 99;
}

.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.typeform-outer {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  display: none;
}

.typeform-outer.active {
  display: block;
}

.typeform-close {
  width: max-content;
  position: absolute;
  top: 25px;
  right: 35px;
  cursor: pointer;
  transition: 0.2s ease;
  z-index: 999;
}

.typeform-close:hover {
  filter: brightness(2.5);
}

.typeform-container {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

section.sec-2 {
  padding-top: 50px;
}

.img-and-text-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 50px 0 0 0;
}

.img-and-text-grid .box {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 1fr 8px 70px;
  grid-template-rows: 1fr 70px;
  -webkit-box-shadow: 1px 7px 11px #00000024;
  box-shadow: 1px 7px 11px #00000024;
  border-radius: 4px;
  background: white;
}

.img-and-text-grid .box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.img-and-text-grid .box p {
  font-size: 18px;
  padding: 10px;
  background: white;
}

.t-center .online-valuation {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 0 40px;
}

/* faq-sec */

.boxes-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 24px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0;
}

section.sec-2 .boxes-grid {
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
}

.boxes-grid .box {
  padding: 24px;
  border: 1px solid #3227441f;
  border-radius: 4px;
  -webkit-box-shadow: 1px 7px 11px #00000024;
  box-shadow: 1px 7px 11px #00000024;
}

.boxes-grid .box h4 {
  font-size: 18px;
  padding-bottom: 16px;
}

@media only screen and (max-width: 1080px) {
  .container {
    width: 90%;
  }
  .section header {
    padding: 1.5rem 1.5rem;
  }
  .section header .logo-container img {
    width: 120px;
  }
  .img-and-text-grid .box p {
    font-size: 15px;
  }
}

@media only screen and (max-height: 900px) {
  .section header {
    padding: 1.5rem 1.5rem;
  }
  .section header .logo-container img {
    width: 120px;
  }
  .section div h2:not(.t-center h2) {
    margin: 40px auto 20px auto;
  }
  .section div ul {
    padding: 40px 0 10px 0;
  }
  .flex--button-container {
    margin-bottom: 70px;
  }
  .flex--button-container button {
    margin-top: 35px;
  }
}

@media only screen and (max-width: 768px) {
  .section .container {
    width: 100%;
    max-width: 100%;
  }
  .hero-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
  .hero-flex ul {
    background: #018690;
    width: 100%;
    padding: 40px 20px !important;
  }
  .img-and-text-grid,
  .section,
  .boxes-grid {
    -ms-grid-columns: 1fr !important;
    grid-template-columns: 1fr !important;
  }
  .flex--button-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 90%;
    margin: 50px auto 50px auto;
  }
  .flex--button-container button {
    margin: 0;
  }
  /* .section div p.subtitle {
    display: none ;
  } */
  .img-and-text-grid .box p {
    font-size: 18px;
  }
  .img-and-text-grid .box {
    -ms-grid-rows: auto -webkit-max-content;
    -ms-grid-rows: auto max-content;
    grid-template-rows: auto -webkit-max-content;
    grid-template-rows: auto max-content;
  }
}

@media only screen and (max-height: 620px) {
  .section div h2:not(.t-center h2) {
    font-size: 32px;
    margin-top: 25px;
  }
  .section div p.subtitle {
    max-width: 420px;
    margin: auto;
  }
  .section div ul {
    padding-top: 20px;
  }
  .flex--button-container button {
    margin-top: 15px;
  }
  .section header .logo-container img {
    width: 100px;
  }
}
/* Cookie consent widget */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f2f2f2;
  padding: 10px;
  text-align: center;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

.cookie-consent p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.cookie-consent a {
  color: #0077cc;
  text-decoration: none;
}

.cookie-consent a:hover {
  text-decoration: underline;
}

.cookie-consent-button {
  background-color: #006e79;
  border: none;
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  margin-left: 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.cookie-consent-button:hover {
  background-color: #005ea2;
}

.postcode-look-up {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}
#txt_country {
  display: none;
}
.search_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  background: #fff;
  padding: 12px 0;
  border-radius: 5px;
}
.search_wrap input {
  flex: 1;
  padding: 5px;
  padding-left: 2rem;
  background: transparent;
  border: none;
  outline: none;
}
.search_wrap input::placeholder {
  font-weight: 500;
}
.search_wrap input:active {
  background: transparent;
}
.search_wrap button {
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  padding-right: 1rem;
}
.search_wrap button .fa-solid {
  font-size: 20px;
}

#address_selection_container select {
  width: 55vw !important;
  padding: 0 2rem;
  border-radius: 5px;
  position: relative;
  height: 220px !important;
}
#address_selection_container select option {
  padding-bottom: 5px;
}

@media screen and (max-width: 1300px) {
  #address_selection_container select {
    width: 60vw !important;
  }
}

@media screen and (max-width: 1200px) {
  #address_selection_container select {
    width: 70vw !important;
  }
}

@media screen and (max-width: 1200px) {
  #address_selection_container select {
    width: 75vw !important;
  }
}

@media screen and (max-width: 950px) {
  #address_selection_container select {
    width: 80vw !important;
  }
}

@media screen and (max-width: 900px) {
  #address_selection_container select {
    width: 85vw !important;
  }
}

@media screen and (max-width: 420px) {
  .section .bg-img {
    /* width: 420px;
    height: 400px; */
    background-position: center;
    background-image: url("bg.jpg");
    object-fit: cover;
  }
}

@media screen and (max-width: 600px) {
  input {
    font-size: 14px;
  }
  .search_wrap {
    width: 95%;
  }
  #address_selection_container select {
    padding: 0 1rem;
    width: 95% !important;
    font-size: 14px;
    height: 40px !important;
    margin-left: 0.9rem;
    margin-top: 1rem;
  }

  .postcode-look-up {
    margin-bottom: 2rem;
  }
}

#closebtn {
  display: none;
}
#closebtn .fa-xmark {
  cursor: pointer;
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 35px;
}
