/*!
Theme Name: mgl
Author: MGL
Version: 1.0.0
Text Domain: mgl
*/

body {
  padding: 0px;
  margin: 0px;
}

.coming-soon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
}

.coming-soon a,
.coming-soon p {
  text-decoration: none;
  font-family: "Inter Tight";
  color: #000;
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 13px;
}

@media (max-width: 767px) {
  .coming-soon a,
  .coming-soon p {
    font-size: 14px;
  }

  #why-we-work {
    background-position: center right !important;
  }

  .service-buying .service-box-footer .service-box-img {
    padding-top: 30px !important;
  }
}

.coming-soon svg {
  background: #cbe9f1;
  padding: 10px;
  border-radius: 100px;
  width: 15px;
  height: 15px;
}

.coming-soon h1 {
  font-family: "Inter Tight";
}

.page-template-coming-soon header {
  display: none;
}

.page-template-coming-soon {
  overflow: hidden !important;
}

.main-container {
  max-width: 1330px;
  margin: 0px auto;

  padding-left: 55px;
  padding-right: 55px;
}

.why-choose-main-container h2,
.services-header-col h2 {
  font-family: "Inter Tight";
  font-weight: 700;
  font-size: 94px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #586a72;
  margin: 0px;
}

.why-choose-content h3 {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 800;
  font-size: 62px;
  line-height: 110%;
  /* or 68px */
  letter-spacing: -0.01em;

  color: #333333;

  margin: 0px;
}

/* Header CSS Starts Here */

#main-header {
  position: absolute;
  width: 100%;
  padding-top: 28.72px;
  padding-bottom: 25.26px;
  border-bottom: 1px solid rgba(116, 126, 133, 0.2);
  position: fixed;
  transition: 0.5s;
  z-index: 111;
}

#main-header.sticky-header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12.05px);
  border: 0px;
}

.header-main-container {
  max-width: 1330px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 55px;
  padding-right: 55px;
}

.sticky-header .header-phone-icon {
  background-color: #cbe9f1;
}

.sticky-header .header-phone-icon svg path {
  fill: #263a76;
}

.sticky-header .header-phone-number a {
  color: #333333;
}

.sticky-header .header-logo img {
  content: url("/wp-content/uploads/2025/07/TD_Horizontal_Black.svg");
}

.header-logo img {
  width: 230px;
  height: 50px;
  transition: 0.5s;
}

.header-cta-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.header-phone-col {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-phone-number a {
  font-family: "Inter Tight";
  font-weight: 600;
  font-size: 14px;
  line-height: 120%;
  color: #ffffff;
  text-decoration: none;
  transition: 0.5s;
}

.header-phone-icon {
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  width: 30px;
  height: 30px;
}

#main-header .custom-btn {
  width: 128px;
  height: 40px;
  border-radius: 20px;
  transform: translate(0);
}

.custom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #cbe9f1;
  cursor: pointer;
  transition: 0.5s;
}

.custom-btn a {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  color: #000000;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: 0.5s;
}

.header-btn .custom-btn {
  overflow: hidden;
  position: relative;
}

.header-btn .custom-btn:before {
  content: "";
  background-color: #263a76;
  position: absolute;
  width: 100%;
  height: 100%;
  left: -100%;
  transition: 0.5s;
  z-index: 1;
}

.header-btn-icon {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transform: translate(30px);
  transition: 0.5s;
  z-index: 3;
  display: flex;
}

@media (min-width: 1025px) {
  .custom-btn:hover a {
    color: white;
  }

  .header-btn .custom-btn:hover a {
    transform: translateX(-9px);
  }

  .header-btn .custom-btn:hover:before {
    left: 0;
  }

  .header-btn .custom-btn:hover .header-btn-icon {
    opacity: 1;
    visibility: visible;
    transform: translateX(44px);
  }

  .header-phone-col:hover a {
    color: #263a76;
  }

  .header-phone-col:hover .header-phone-icon {
    background: #cbe9f1;
  }

  .service-box:hover .service-box-img img {
    visibility: hidden;
    opacity: 0;
  }

  .extra-box.box-gift:hover .extra-right img {
    transform: scale(0.7) !important;
  }

  /* .service-box:hover .service-box-hidden-content p {
        visibility: visible;
        opacity: 1;
        

    } */

  /* .service-box:hover .service-box-hidden-content p:first-child {
    
        bottom: 59.5%;

    } */

  .service-box:hover .service-box-hidden-content {
    opacity: 1;
    visibility: visible;
    top: 20%;
  }

  .service-box:hover .service-box-hidden-content p:first-child {
    margin-bottom: 0px;
  }

  .service-box:hover .service-box-header > p {
    visibility: hidden;
    opacity: 0;
  }

  .service-box:hover .number-hidden-container {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .service-box:hover .service-box-icon svg,
  .extra-box:hover .extra-svg-container svg {
    transform: rotate(-135deg);
  }
}

/* Header CSS Ends Here */

/* Hero Section CSS Starts Here */

#hero-section {
  background-image: url("/wp-content/uploads/2025/07/title-and-deed-hero-min-scaled.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-height: 760px;
  display: flex;
  align-items: center;
  margin-bottom: 90px;
  padding-top: 212px;
}

.hero-main-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* height: 760px; */
  gap: 132.5px;
  width: 100%;
}

@media (min-width: 1025px) {
  .main-container .custom-btn:hover,
  .form-submit-btn:hover {
    background-color: #263a76;
  }

  .form-submit-btn:hover {
    color: #fff;
  }
}

.hero-content-section {
  max-width: 768px;
}

.hero-content-section h1 {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 700;
  font-size: 94px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 13px;
  margin-top: 0px;
}

.hero-content-section p {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.005em;
  color: #ffffff;
  margin-bottom: 20px;
  margin-top: 0px;
}

.hero-cta-section {
  padding-bottom: 40px;
}

.cta-logo-col img {
  width: 130px;
  height: 33.83px;
}

.hero-cta-section {
  max-width: 235px;
  min-height: 64.24px;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.cta-icon-col {
  padding-top: 16.5px;
  width: 34px;
  height: 34px;
}

.cta-logo-col {
  padding-top: 16.5px;
}

.custom-btn {
  width: 153px;
  height: 50px;
  border-radius: 50px;
}

/* Hero Section CSS Ends Here */

/* Our Services Section CSS Starts Here */

.services-header-col {
  display: flex;
  align-items: center;
  gap: 131px;
  border-bottom: 1px solid #c4c4c4;
  padding-bottom: 37px;
}

.services-header-col h2 {
  width: 100%;
}

.services-header-col p {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.005em;
  color: #586a72;
  margin: 0px;
}

#our-services-section h3 {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 800;
  font-size: 62px;
  line-height: 110%;
  letter-spacing: -0.01em;
  margin: 0px;
  color: #333333;
}

.services-content-col {
  padding-top: 0px;
}

.service-box {
  background-color: unset !important;
}

.service-box-header p {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.002em;
  color: #333333;
  margin: 0px;
  margin-top: 23px;
  transition: 0.5s;
}

.service-box {
  background-color: unset;
  display: flex;
  flex-direction: column;
  /* min-width: 430px; */
  position: relative;
  box-sizing: border-box;
}

.service-divider {
  border-bottom: 1px solid rgba(196, 196, 196, 0.5);
  width: auto;
}

.service-divider-mid {
  border-left: 1px solid rgba(196, 196, 196, 0.5);
  height: 425px;
}

.services-content-col.col-top {
  padding-bottom: 11px;
}

@media (min-width: 1025px) {
  .service-box {
    width: 50%;
  }
}

.service-buying img {
  width: 210px;
  height: 165px;
}

.service-selling img {
  width: 229.87px;
  height: 134.88px;
}

.service-refinancing img {
  width: 200px;
  height: 168px;
}

.service-box-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.services-content-col {
  display: flex;
  gap: 10px;
}

.service-buying .default-desc {
  padding-right: 62px;
}

.service-box-header {
  padding-top: 38px;
  padding-left: 27px;
  padding-right: 21px;
}

.service-buying .service-box-header {
  padding-bottom: 37px;
  padding-left: 0px;
}

.service-selling .service-box-header {
  padding-bottom: 81.06px;
}

.service-refinancing .service-box-header {
  padding-bottom: 45px;
  padding-top: 44px;
  padding-left: 0px;
}

.service-box-footer {
  padding-left: 0px;
}

.service-buying .service-box-footer .service-box-img {
  padding-right: 35.29px;
}

.service-buying .service-box-img {
  padding-bottom: 50px;
}

.service-selling .service-box-footer .service-box-img {
  padding-right: 0px;
}

.service-selling .service-box-img {
  padding-bottom: 59.06px;
}

.service-buying .service-box-header {
  padding-top: 46px;
}

.service-selling .service-box-header {
  padding-top: 45px;
}

.service-refinancing .service-box-footer .service-box-img {
  padding-right: 31px;
}

.service-selling .service-box-header {
  padding-right: 0px;
  padding-left: 37px;
}

.service-selling .service-box-footer {
  padding-left: 37px;
}

.service-migration .service-box-header {
  padding-top: 45px;
  padding-left: 37px;
  padding-right: 0px;
  padding-bottom: 64px;
}

.service-migration .service-box-footer {
  padding-left: 37px;
}

.service-migration .service-box-img img {
  width: 236.7px;
  height: 139px;
  padding-bottom: 43px;
}

.service-refinancing .service-box-img {
  padding-bottom: 34px;
}

.service-box-icon {
  padding-bottom: 50px;
}

.services-main-container {
  margin-bottom: 55px;
}

/* .service-box-hidden-content p:first-child
{
bottom: 210px;
} */

.service-box-hidden-content {
  position: absolute;
  /* bottom: 100px; */
  opacity: 0;
  visibility: hidden;
  /* transition: bottom ease-in-out 0.5s, opacity ease-in-out 0.4s, visibility ease-in-out 0.4s; */
  max-width: 100%;
  top: 90%;
  z-index: 11;
  transition: 0.5s;
}

.service-box-hidden-content p {
  font-family: "Inter Tight";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.005em;
  color: #333333;
}

.number-hidden-container p {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 135%;
  text-align: right;
  letter-spacing: -0.002em;
  margin: 0px;
}

.number-hidden-container .text-bold {
  font-weight: 900;
}

.text-bottom {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 135%;
  text-align: right;
  letter-spacing: -0.002em;
  color: #263a76;
}

.service-box-content-container {
  position: relative;
}

.service-box-hidden-content p:first-child {
  margin-bottom: 0px;
  margin-top: 0px;
}

.number-hidden-container {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 39px;
  right: 34px;
  width: max-content;
  z-index: 11;
}

.number-hidden {
  font-family: "Inter Tight";
  font-weight: 800;
  font-size: 45px;
  line-height: 110%;
  letter-spacing: -0.01em;
  color: #253a76;
  transition: 0.5s;
  margin: 0px;
  text-align: right;
  position: unset;
  padding: 0px;
  margin-bottom: 5px;
  opacity: 1;
  visibility: visible;
}

.number-lending-b {
  position: absolute;
  top: 0;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: 0.5s;
  right: 0;
}

.number-active .number-lending-b {
  opacity: 1 !important;
  visibility: visible !important;
}

.number-active .number-default {
  opacity: 0 !important;
  visibility: hidden !important;
}

.number-default {
  transition: 0.5s;
}

.service-box .service-box-img img {
  transition: 0.5s;
}

.service-box-img {
  position: unset;
  display: flex;
  box-sizing: border-box;
}

.service-box-icon svg {
  transition: 0.5s;
}

.service-box-icon {
  width: 50px;
  height: 50px;
  z-index: 11;
}

.lending-content {
  display: flex;
  gap: 6px;
  align-items: stretch;
  top: 55px;
  transition: 0.5s;
  position: absolute;
}

.hidden-background-container {
  background: white;
  display: block;
  height: 170px;
  position: absolute;
  width: 100%;
  z-index: 1;
  bottom: 1%;
  height: 0;
  transition: 0.3s;
}

@media (min-width: 1025px) {
  .service-box:hover .hidden-background-container {
    height: 200px;
  }
}

.lending-content p {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  /* identical to box height */
  letter-spacing: -0.002em;
  margin: 0px;
  transition: 0.5s;
  color: #253a76;
}

@media (min-width: 1025px) {
  .service-refinancing:hover .lending-content {
    top: 0 !important;
  }

  .service-refinancing:hover .service-box-hidden-content {
    top: 62%;
  }
}

.col-bottom .service-divider-mid {
  height: 420px !important;
}

.toggle-button-container {
  background-color: #182d5b;
  position: relative;
  height: 43px;
  display: flex;
  align-items: center;
  border-radius: 100px;
  justify-content: center;
  padding-left: 47px;
  padding-right: 20px;
  cursor: pointer;
  transition: 0.5s;
}

.toggle-button-text h4 {
  margin: 0px;
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  /* identical to box height */
  letter-spacing: -0.002em;
  transition: 0.5s;
  color: #ffffff;
}

.toggle-button-circle {
  display: flex;
  align-items: center;
  width: 30px;
  height: 30px;
  background-color: #fff;
  box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.25);
  border-radius: 100px;
  position: absolute;
  left: 8px;
  transition: 0.5s;
}

.service-heading-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle-btn-active .toggle-button-circle {
  left: 111px;
  background-color: #77868c;
}

.toggle-btn-active {
  background-color: #cbe9f1;
}

.heading-hidden {
  position: absolute;
  top: 11px;
  left: 0px;
  opacity: 0;
  visibility: hidden;
  color: #77868c !important;
}

.toggle-btn-active .heading-default {
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
}

.toggle-btn-active .heading-hidden {
  left: 18px;
  opacity: 1;
  visibility: visible;
}

.lending-text-hidden {
  position: absolute;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

.lending-text-default {
  transition: 0.5s;
}

.lending-active .lending-text-default {
  opacity: 0;
  visibility: hidden;
}

.lending-active .lending-text-hidden {
  opacity: 1;
  visibility: visible;
}

.lending-content-container {
  position: relative;
}

.service-box-content-container p {
  margin-top: 0px;
}

.service-box-content-container {
  margin-top: 23px;
}

.service-box-hidden-content p {
  margin-top: 15px;
}

@media (min-width: 1025px) {
  .service-box:hover .service-box-content-container .default-desc {
    opacity: 0;
    visibility: hidden;
  }
}

/* Our Services Section CSS Ends Here */

/* Why Choose Us Section CSS Starts Here */

.why-choose-main-container h2 {
  padding-bottom: 35px;
}

.why-choose-main-container br {
  display: none;
}

.choose-content-main {
  display: flex;
  flex-direction: column;
}

.why-choose-col {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #c4c4c4;
  padding-top: 35px;
  padding-bottom: 63px;
}

.why-choose-img img {
  width: 137px;
  height: 137px;
}

.why-choose-content {
  max-width: 692px;
}

.why-choose-content p {
  font-family: "Inter Tight";
  font-weight: 400;
  font-size: 22px;
  line-height: 115%;
  letter-spacing: 0.01em;
  color: #586a72;
  margin: 0px;
}

.why-choose-content h3 {
  margin-bottom: 30px !important;
}

.number-container p {
  font-family: "Inter Tight";
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.002em;
  color: #586a72;
  margin: 0px;
}

.number-container {
  border: 1px solid #586a72;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  box-sizing: border-box;
}

.why-choose-col:last-child {
  padding-bottom: 0px;
}

.why-choose-main-container {
  margin-bottom: 109px;
}

/* Why Choose Us Section CSS Ends Here */

/* Why We Work Section CSS Starts Here */

#contactForm .error-message {
  color: #ffdba4 !important;
  font-family: "Inter Tight" !important;
  width: 100%;
}

#contactForm .success-message {
  color: white !important;
  font-family: "Inter Tight" !important;
  width: 100%;
}

#why-we-work {
  background: url("assets/images/why-we-work-bg.svg");
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #7f9297;
}

.work-main-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 579px;
}

#why-we-work .work-content-col h2 {
  font-family: "Inter Tight";
  font-weight: 800;
  font-size: 62px;
  line-height: 110%;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0px;
}

.work-content-col p {
  font-family: "Inter Tight";
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.002em;
  color: #ffffff;
  margin-top: 23px;
  margin-bottom: 23px;
}

.work-content-col {
  max-width: 544px;
  padding-top: 81px;
}

.work-footer-logo-col img {
  
      height: 140px;
    margin-top: 25px;
}

.work-footer-logo-col p {
  font-family: "Inter Tight";
  font-weight: 300;
  font-size: 14px;
  line-height: 135%;
  color: #d9d9d9;
  margin-top: 24px;
}

.work-footer-col {
  display: flex;
  justify-content: space-between;
}

#why-we-work .footer-heading h2 {
  font-family: "Inter Tight";
  font-weight: 800;
  font-size: 45px;
  line-height: 105%;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0px;
}

.work-footer-cta-col {
  background: url("assets/images/work-footer-bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 227.5px;
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 619.9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 30px;
  padding-top: 27px;
  padding-bottom: 25.47px;
  box-sizing: border-box;
}

.work-footer-cta-col .footer-heading {
  width: 363px;
}

.footer-heading svg {
  vertical-align: middle;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 7.51px;
}

.footer-phone-number a {
  font-family: "Inter Tight";
  font-weight: 600;
  font-size: 14px;
  line-height: 120%;
  color: #ffffff;
  text-decoration: none;
}

/* Why We Work Section CSS Ends Here */

/* Popup CSS Starts Here  */

.contact-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: flex-start;
  /* Align popup content at the top */
  align-items: center;
  overflow: hidden;
  z-index: 5;
}

.contact-popup-content {
  background-color: #fff;
  padding-top: 55px;
  padding-left: 30px;
  padding-right: 33px;
  padding-bottom: 72px;
  border-radius: 10px;
  width: 664px;
  background: url("assets/images/popop-bg.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: -100%;
  /* Start off-screen */
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.contact-popup-content h2 {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 700;
  font-size: 45px;
  line-height: 105%;
  letter-spacing: -0.01em;
  margin: 0px;
  color: #ffffff;
  margin-bottom: 2px;
}

.contact-popup-content p {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.002em;
  color: #ffffff;
  margin: 0px;
}

.popup-contact-form {
  padding-top: 62px;
}

.form-input-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-input-container label {
  font-family: "Inter Tight";
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  color: #ffffff;
}

.popup-contact-form form {
  display: flex;
  flex-wrap: wrap;
  row-gap: 23px;
  column-gap: 20px;
}

.full-input {
  width: 99%;
}

.half-input {
  width: 48%;
}

.form-input-container input,
.form-input-container textarea {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  background-color: transparent;
  font-family: "Inter Tight";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.8);
  outline: unset !important;
}

.form-input-container ::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.form-input-container input {
  min-height: 52px;
  padding-left: 15px;
}

.form-input-container textarea {
  min-height: 119px;
  padding-left: 15px;
  padding-top: 12px;
}

@keyframes slideDown {
  from {
    top: -100%;
  }

  to {
    top: 15%;
    /* Visible position */
  }
}

@keyframes slideUp {
  from {
    top: 15%;
    /* Visible position */
  }

  to {
    top: -100%;
  }
}

.contact-popup-open-animation {
  animation: slideDown 0.5s ease-in-out 0s forwards;
}

.contact-popup-close-animation {
  animation: slideUp 0.5s ease-in-out 0s forwards;
}

.contact-close-btn {
  position: absolute;
  cursor: pointer;
  color: #aaa;
  top: 9%;
  right: 5%;
  border: 1px solid white;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-submit-btn {
  border: unset !important;
  border-radius: 50px;
  background-color: #cbe9f1;
  width: 136px;
  height: 50px;
  font-family: "Inter Tight";
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  text-align: center;
  cursor: pointer;
  color: #000000;
  margin-top: 17px;
  transition: 0.5s;
}

.popup-cta {
  cursor: pointer;
}

/* Popup CSS Ends Here */

/* Responsive CSS Starts Here */

@media (max-width: 1024px) {
  .main-container,
  .header-main-container {
    max-width: 100%;
    width: unset;
  }

  .extra-number-hidden h4 {
    font-size: 36px !important;
    line-height: 110% !important;
  }

  .number-text-small {
    font-size: 12px !important;
    line-height: 135% !important;
    /* or 16px */
    letter-spacing: -0.002em !important;
  }

  .extra-box-active .extra-right img {
    top: 20px !important;
    right: -14px !important;
    transform: scale(0.6) !important;
  }

  .extra-svg-container,
  .extra-box svg {
    width: 45px !important;
    height: 45px !important;
  }

  #other-and-extras h3 {
    font-size: 16px !important;
    line-height: 120% !important;

    letter-spacing: -0.002em !important;
  }

  .extra-box {
    width: auto !important;
  }

  .extra-box-main {
    padding-bottom: 41px;
  }

  #other-and-extras h2 {
    font-size: 43px !important;
    line-height: 110% !important;
    letter-spacing: -0.01em !important;
    color: #333333 !important;
    margin-bottom: 27px !important;
    padding-left: 18px;
    padding-right: 20px;
  }

  #other-and-extras {
    margin-bottom: 93px !important;
  }

  .custom-btn a {
    font-weight: 600;
    margin-top: 1px;
  }

  .footer-phone-number a {
    font-weight: 500;
  }

  .footer-heading svg {
    width: 40px;
    height: 40px;
    box-sizing: border-box;
  }

  .hero-main-container {
    max-width: 100%;
    height: auto;
    padding-top: 0px;
    gap: 132.5px;
  }

  .hero-content-section {
    max-width: 500px;
  }

  #hero-section {
    min-height: auto;
    padding-top: 212px;
  }

  .hero-main-container {
    margin: unset;
  }

  #main-header {
    width: 100%;

    padding-top: 27px;
    padding-bottom: 26.54px;
    z-index: 111;
  }

  .header-main-container {
    padding-left: 20.05px;
    padding-right: 14.08px;
  }

  .services-header-col,
  .services-content-col {
    flex-direction: column;
  }

  .header-phone-col {
    display: none;
  }

  .main-container {
    padding-left: 18px;
    padding-right: 20px;
  }

  .extras-main-container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .service-box,
  .service-box-hidden-content,
  .why-choose-content,
  .work-footer-cta-col .footer-heading {
    max-width: 100%;
  }

  .hero-cta-section {
    max-width: 199px;
  }

  .hero-content-section h1 {
    font-size: 55px;
    line-height: 105%;
    letter-spacing: -0.008em;
    margin-bottom: 15px;
    margin-top: 0px;
  }

  .hero-content-section p {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .hero-cta-section {
    padding-bottom: 36.5px;
  }

  .cta-logo-col img,
  .cta-logo-col svg {
    width: 110.09px;
    height: 28.14px;
  }

  .cta-icon-col,
  .cta-icon-col svg {
    width: 28.79px;
    height: 28.79px;
  }

  .header-logo img {
    width: 168.15px;
    height: 35.72px;
  }

  .header-btn .custom-btn {
    width: 121px !important;
  }

  .cta-logo-col {
    padding-top: 15.36px;
  }

  .cta-icon-col {
    padding-top: 13.97px;
  }

  #container-box h2 {
    font-size: 55px;
    line-height: 105%;
    letter-spacing: -0.008em;
  }

  .services-header-col {
    gap: 15px;
  }

  .services-header-col p {
    font-size: 16px;
    letter-spacing: 0px;
  }

  .services-header-col {
    padding-bottom: 25px;
  }

  .services-content-col {
    padding-top: 37px;
    padding-bottom: 0px !important;
  }

  #container-box h3 {
    font-size: 36px;
    line-height: 110%;
    letter-spacing: 0px;
  }

  .service-box-header p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 120%;
  }

  .service-box-header {
    padding-top: 25px;
    padding-left: 19px;
  }

  .service-box-active .service-box-hidden-content {
    visibility: visible;
    opacity: 1;
    top: 0%;
  }

  .service-box-hidden-content {
    top: 90%;
  }

  .service-box-hidden-content p:first-child {
    margin-bottom: 0px !important;
  }

  .service-refinancing .service-box-hidden-content p:first-child {
    margin-top: 33px !important;
  }

  .service-box-active .lending-content {
    top: 0px !important;
  }

  .service-box .service-box-hidden-content p {
    transition: 0.5s;
  }

  .service-box-active .service-box-hidden-content p:first-child {
    margin-bottom: 0px;
  }

  .service-buying .service-box-img {
    padding-bottom: 26.69px;
  }

  .service-box-icon {
    padding-bottom: 31px;
  }

  .service-buying .service-box-header {
    margin-bottom: 49.49px;
  }

  .service-divider-mid {
    display: none;
  }

  .service-selling .service-box-footer,
  .service-selling .service-box-header {
    padding-left: 0px;
  }

  .service-selling .service-box-header {
    padding-top: 37px !important;
    padding-bottom: 101px !important;
  }

  .service-selling .service-box-img {
    padding-bottom: 31.16px;
  }

  .service-refinancing .service-box-img {
    padding-bottom: 10px;
  }

  .service-buying .service-box-header {
    padding-bottom: 0px;
  }

  .service-buying img {
    width: 203.12px;
    height: 159.82px;
  }

  .service-box-icon,
  .service-box-icon svg {
    width: 45px;
    height: 45px;
  }

  .service-box-footer {
    padding-left: 0px;
  }

  .service-buying .service-box-footer .service-box-img {
    padding-right: 17px;
  }

  .service-heading-container {
    display: flex;
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .toggle-button-circle {
    width: 20px;
    height: 20px;
    left: 5px;
  }

  .toggle-button-container {
    padding-left: 32px;
    padding-right: 10px;
    height: 29px;
  }

  .heading-hidden {
    top: 4px;
  }

  .toggle-button-text h4 {
    font-size: 16px;

    letter-spacing: -0.002em;
  }

  .toggle-btn-active .toggle-button-circle {
    left: 90px;
  }

  .toggle-btn-active .heading-hidden {
    left: 13px;
  }

  .lending-content-container {
    font-size: 16px;
    line-height: 120%;
    /* or 19px */
    letter-spacing: -0.002em;
  }

  .service-refinancing .service-box-header {
    padding-bottom: 79.92px !important;
  }

  .lending-content {
    top: 70px;
  }

  .lending-content-container p {
    margin-top: 0px !important;
  }

  .service-selling .service-box-header {
    padding-bottom: 0px;
  }

  .service-selling img {
    width: 208.63px;
    height: 121.84px;
    object-fit: contain;
  }

  .service-selling .service-box-footer .service-box-img {
    padding-right: 0px;
  }

  .service-box {
    height: 397px;
    justify-content: space-between;
  }

  .service-refinancing .service-box-header {
    padding-bottom: 0px;
  }

  .service-refinancing img {
    width: 197.1px;
    height: 169.74px;
  }

  /* .service-migration .service-box-header,
    .service-migration .service-box-footer {
        padding-left: 0px !important;

    } */

  .service-migration .service-box-img img {
    width: 209.45px;
    height: 123px;
    padding-bottom: 27px;
  }

  .service-migration .service-box-header {
    padding-top: 37px !important;
  }

  .service-refinancing .service-box-footer .service-box-img {
    padding-right: 0px;
  }

  .services-main-container {
    margin-bottom: 40px !important;
  }

  .why-choose-main-container h2 {
    padding-bottom: 16px;
  }

  .why-choose-col {
    padding-top: 32px;
    padding-bottom: 45px;
  }

  .why-choose-col {
    flex-wrap: wrap;
  }

  .why-choose-content {
    order: 1;
    padding-top: 30px;
  }

  .why-choose-img img {
    width: 90px;
    height: 90px;
  }

  .why-choose-content h3 {
    margin-bottom: 22px !important;
  }

  .why-choose-content p {
    font-size: 18px;
    line-height: 125%;
    letter-spacing: 0.005em;
  }

  .number-container {
    width: 45px;
    height: 45px;
  }

  .number-container p {
    font-size: 16px;
    line-height: 120%;
  }

  .why-choose-main-container {
    margin-bottom: 100px !important;
  }

  #why-we-work .work-content-col h2 {
    font-weight: 700;
    font-size: 43px;
  }

  .work-content-col p {
    font-size: 16px;
    line-height: 120%;
    margin-top: 20px;
    margin-bottom: 25px;
  }

  .work-footer-col {
    flex-direction: column-reverse;
  }

  .work-footer-cta-col {
    min-width: 100%;
  }

  #why-we-work .footer-heading h2 {
    font-size: 36px;
    line-height: 110%;
    letter-spacing: 0px;
  }

  .work-content-col {
    max-width: 100%;
  }

  .work-main-container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .work-content-col {
    padding-left: 18px;
    padding-right: 20px;
    padding-bottom: 229px;
    padding-top: 52px;
  }

  .work-footer-cta-col {
    position: unset;
  }

  .work-footer-logo-col {
    margin-top: 33.83px;
    padding-left: 18px;
    padding-right: 20px;
    padding-bottom: 31px;
  }

  .work-footer-logo-col p {
    margin-bottom: 0px;
    margin-top: 23px;
    font-size: 12px;
    line-height: 120%;
  }

  #why-we-work {
    background-image: url("assets/images/office-footer-bg.svg");
    background-position: center right !important;
  }

  .work-footer-cta-col {
    padding-top: 21px;
    padding-left: 19px;
    padding-right: 61px;
    padding-bottom: 27.23px;
  }

  .work-footer-cta-col {
    background: url("assets/images/work-footer-mobile.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  html * {
    -webkit-tap-highlight-color: transparent;
  }

  .service-box {
    overflow: hidden;
  }

  .service-box-active .service-box-img img {
    visibility: hidden;
    opacity: 0;
  }

  .service-box-hidden-content p {
    transition: top ease-in-out 0.5s, visibility ease-in-out 0.5s,
      opacity ease-in-out 0.5s;
    bottom: unset;
    top: 60%;
    width: 100%;
  }

  .number-hidden-container p,
  .text-bottom {
    font-size: 11px;
    line-height: 135%;
    /* identical to box height, or 15px */
    text-align: right;
    letter-spacing: -0.002em;
  }

  .service-box-active .service-box-header .default-desc {
    opacity: 0;
    visibility: hidden;
  }

  .service-box-hidden-content {
    width: 90%;
  }

  .service-box-active .number-hidden-container {
    visibility: visible;
    opacity: 1;
  }

  .service-box-active .service-box-icon svg {
    transform: rotate(135deg);
  }

  .service-box-hidden-content p {
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0px;
  }

  .number-hidden {
    font-weight: 700;
    font-size: 43px;
  }

  /* .service-buying.service-box-active .service-box-hidden-content {
        top: 14%;
    }

    .service-selling.service-box-active .service-box-hidden-content {
        top: 15%;
    }


    .service-refinancing.service-box-active .service-box-hidden-content {
        top: 17%;
    } */

  .contact-popup-content {
    width: 90%;
    height: auto;
  }

  .half-input {
    width: 100%;
  }

  .contact-popup-content h2 {
    font-size: 36px;
    line-height: 110%;
    letter-spacing: 0px;
    margin-bottom: 4px;
  }

  .contact-popup-content p {
    font-size: 16px;
    line-height: 120%;
  }

  .popup-contact-form {
    padding-top: 32px;
  }

  .form-input-container label {
    font-size: 15px;
  }

  .form-input-container input,
  .form-input-container textarea {
    font-size: 16px;
    letter-spacing: 0px;
  }

  .popup-contact-form form {
    row-gap: 20px;
  }

  .form-submit-btn {
    margin-top: 5px;
  }

  .contact-popup-content {
    padding-top: 31px;
    padding-bottom: 47px;
    padding-left: 32px;
    padding-right: 31px;
  }

  .contact-close-btn {
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    top: 6%;
  }

  .contact-close-btn svg {
    width: 14.71px;
    height: 14.71px;
  }

  .footer-phone-number {
    margin-top: -3px;
  }

  .service-box-active .hidden-background-container {
    height: 200px;
  }

  .number-hidden-container {
    bottom: 22px;
    right: 23px;
  }

  .service-refinancing .service-box-hidden-content {
    margin-top: 15px;
  }

  .extra-box-active .extra-svg-container svg {
    transform: rotate(-135deg);
  }

  .box-gift.extra-box-active .extra-right img {
    transform: scale(0.7807) !important;
  }

  .service-refinancing .service-box-footer {
    padding-top: 10px;
  }
}

@media (min-width: 360px) and (max-width: 370px) {
  .service-selling img {
    width: 208.63px;
    height: 121.84px;
    object-fit: contain;
  }
}

/* Responsive CSS Ends Here */

@media (max-width: 767px) {
  #hero-section {
    background: url("/wp-content/uploads/2025/07/title-and-deed-hero-mobile-min.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 43px;
    padding-top: 181px;
    /* min-height: 760px; */
  }

  .why-choose-main-container br {
    display: block;
  }

  .hero-main-container {
    max-height: 852px;
    gap: 250px;
  }

  .hero-content-section {
    max-width: 100%;
  }
}

@media (min-width: 600px) and (max-width: 800px) {
  #hero-section {
    background: url("/wp-content/uploads/2025/07/title-and-deed-hero-mobile-min.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}


@media (min-width: 801px) and (max-width: 1024px) {
  #hero-section {
    background: url("/wp-content/uploads/2025/07/title-and-deed-hero-min-scaled.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media (min-width: 360px) and (max-width: 377px) {
  .hero-button-container .custom-btn.popup-cta {
    width: 122px !important;
  }
}

@media (max-width: 1330px) {
  /* .main-container {
        width: unset;
        margin: unset;
    } */

  /* .services-main-container {
        margin-bottom: 129px !important;
    }

    .why-choose-main-container {
        margin-bottom: 109px;
    } */

  .service-box-hidden-content {
    width: 100%;
  }

  /* .why-choose-main-container {
        margin-bottom: 100px !important;
    } */
}

@media (min-width: 1025px) and (max-width: 1356px) {
  /* .service-box-header p {
        font-size: 16px;
    } */

  /* .service-box-footer {
        margin-top: auto;
    }

    .service-refinancing .number-hidden {
        top: 51%;
    }


    .service-selling .number-hidden {
        top: 49%;
    }

    .service-selling img {
        width: 217px;
        height: 131px;
    }

    .service-buying img {
        width: 205.68px;
        height: 159.04px;
    }

    .service-refinancing img {
        width: 217px;
        height: 172px;
    }

    .number-hidden {
        font-size: 50px;
        top: 54%;
    } */
}

@media (min-width: 1025px) and (max-width: 1140px) {
  /* .service-buying img {
        width: 175.68px;
        height: 129.04px;
    }

    .service-selling img {
        width: 177px;
        height: 101px;
    }

    .service-refinancing img {
        width: 177px;
        height: 142px;
    } */

  /* .service-box-hidden-content p {
        font-size: 16px;
    } */

  #container-box h3 {
    font-size: 30px;
  }

  /* .service-box:hover .service-box-hidden-content {

        top: 15%;
    }

    .service-box {

        min-height: 461px;
    }

    .number-hidden {

        font-size: 43px;
    } */
}

@media (min-width: 1025px) and (max-width: 1140px) {
  .service-divider-mid,
  .col-bottom .service-divider-mid {
    height: 450px !important;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  #our-services-section h3 {
    font-size: 45px;
  }
}

@media (min-width: 820px) and (max-width: 1024px) {
  #why-we-work {
    background-size: 50%;
  }
}

@media (max-width: 1456px) {
  #why-we-work {
    background-position: unset;
  }
}

@media (max-height: 679px) {
  @keyframes slideDown {
    from {
      top: -100%;
    }

    to {
      top: 5%;
      /* Visible position */
    }
  }

  @keyframes slideUp {
    from {
      top: 5%;
      /* Visible position */
    }

    to {
      top: -100%;
    }
  }
}

.call-btn {
  align-items: center;
  gap: 8px;
}

.call-svg-container {
  background-color: #1e3b7a;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  border-radius: 100px;
  transition: 0.5s;
}

.call-btn {
  width: unset;
  padding-left: 20px;
  padding-right: 26px;
}

.hero-button-container {
  display: flex;
  gap: 15px;
}

.call-svg-container svg path {
  transition: 0.5s;
}

.call-btn a {
  position: relative;
  overflow: visible;
}

.call-btn .phone-number {
  position: absolute;
  width: max-content;
  left: -84%;
  opacity: 0;
  visibility: hidden;
}

.call-btn .call-text,
.call-btn .phone-number {
  transition: 0.5s;
}

.call-btn .phone-number {
  color: #fff;
}

@media (min-width: 1025px) {
  .call-btn:hover .call-svg-container {
    background-color: #cbe9f1;
  }

  .call-btn:hover .call-svg-container svg path {
    fill: #1e3b7a;
  }

  .call-btn:hover .call-text {
    opacity: 0;
    visibility: hidden;
  }

  .call-btn:hover .phone-number {
    left: 0px;
    opacity: 1;
    visibility: visible;
  }

  .call-btn:hover {
    padding-right: 78px;
  }
}

/* Other and Extras CSS Starts Here */

#other-and-extras h2 {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 800;
  font-size: 62px;
  line-height: 110%;
  letter-spacing: -0.01em;
  color: #333333;
  margin-top: 0px;
  margin-bottom: 30px;
}

#other-and-extras {
  margin-bottom: 110px;
}

.extra-box-main {
  display: flex;
  gap: 20px;
  padding-bottom: 66px;
  border-bottom: 1px solid #e1e1e1;
}

.extra-box {
  background-color: #eff8fb;
  height: 153px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 21px;
  padding-top: 28px;
  width: 296px;
}

#other-and-extras h3 {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.002em;
  color: #333333;
  margin: 0px;
}

.extra-left,
.extra-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.extra-right {
  justify-content: flex-end;
}

.extra-right img {
  align-items: flex-end;
  transform: scale(1);
  transition: 0.5s;
  transform-origin: top;
}

.box-payout img {
  padding-right: 21px;
  padding-bottom: 24.54px;
}

.extra-box svg {
  transition: 0.5s;
}

.extra-svg-container {
  padding-bottom: 25px;
  width: 50px;
  height: 50px;
}

.box-gift img {
  padding-bottom: 22px;
  padding-right: 20px;
}

.box-easement img {
  padding-bottom: 27.87px;
  padding-right: 20px;
}

.box-mortgage img {
  padding-bottom: 25px;
  padding-right: 21px;
}

.extra-box {
  position: relative;
}

.extra-box .extra-right img {
  position: absolute;
  right: 0;
  top: 42%;
}

.extra-number-hidden h4 {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 800;
  font-size: 45px;
  line-height: 105%;
  text-align: right;
  letter-spacing: -0.01em;
  margin: 0px;
  color: #253a76;
  display: flex;
  align-items: center;
}

.extra-number-hidden {
  padding-right: 20px;
  padding-bottom: 0px;
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  right: 0;
}

.number-text-small {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 135%;
  /* or 16px */
  letter-spacing: -0.002em;
  color: #000000;
  align-self: flex-end;
}

.extra-box-main .owl-stage {
  display: flex;
  padding-left: 0px !important;
}

.extras-main-container {
  overflow: hidden;
}

.extra-box-main .owl-nav,
.extra-box-main .owl-dots {
  display: none;
}

@media (min-width: 1025px) {
  .extra-box:hover .extra-right img {
    transform: scale(0.65);
  }

  .extra-box:hover .extra-right img {
    top: 28px;
    padding-right: 0px !important;
  }

  .extra-box:hover .extra-number-hidden {
    padding-bottom: 25.5px;
    opacity: 1;
    visibility: visible;
  }
}

.extra-box-active .extra-right img {
  transform: scale(0.7);
}

.extra-box-active .extra-right img {
  top: 28px;
}

.extra-box-active .extra-number-hidden {
  padding-bottom: 25.5px;
  opacity: 1;
  visibility: visible;
}

/* Other and Extras CSS Ends Here */

@media (max-width: 1024px) {
  .service-buying .service-box-header {
    padding-top: 0px;
  }

  #our-services-section h3 {
    font-family: "Inter Tight";
    font-style: normal;
    font-weight: 700;
    font-size: 43px;
    line-height: 110%;
    letter-spacing: -0.01em;
    color: #333333;
  }

  .extra-box-main .owl-stage-outer {
    min-width: 100vw;
    overflow: hidden;
  }

  .col-bottom {
    padding-top: 42px !important;
  }

  .service-refinancing .service-box-header {
    padding-top: 0px !important;
  }

  .extra-box img {
    width: 94px !important;
    height: 77px !important;
  }

  .call-text {
    visibility: hidden;
    opacity: 0;
    display: none;
  }

  .custom-btn {
    height: 46px;
    max-width: 139px;
  }

  .call-btn .phone-number {
    position: unset;
    opacity: 1;
    visibility: visible;
    color: #000;
    font-size: 15px;
    line-height: 120%;
    /* identical to box height, or 18px */
    text-align: center;
  }

  .service-box-header,
  .default-desc {
    padding-right: 0px !important;
  }

  .service-box-content-container {
    margin-top: 20px;
  }

  .service-box {
    height: unset !important;
  }

  .extra-box-main {
    padding-bottom: 41px;
    padding-left: 18px;
  }

  .lending-content svg {
    margin-top: -2px;
  }

  .services-main-container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .services-header-col,
  .service-box-header,
  .service-box-footer {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .heading-default {
    margin-left: 1px !important;
  }
}

@media (max-width: 1330px) {
  .extra-box {
    width: auto;
  }
}

@supports (font: -apple-system-body) {
  #other-and-extras h3,
  .toggle-button-text h4 {
    font-weight: 500;
  }

  .custom-btn a,
  .lender-text-bold {
    font-weight: 600;
  }
}

@media (min-width: 886px) and (max-width: 1024px) {
  .lending-content {
    top: 34px;
  }
}

.service-box-footer {
  margin-top: auto;
  position: relative;
}

@media (min-width: 1201px) and (max-width: 1452px) {
  .service-divider-mid {
    height: 440px !important;
  }
}

@media (min-width: 1201px) and (max-width: 1419px) {
  .col-bottom .service-divider-mid {
    height: 440px !important;
  }
}

.lender-text-bold {
  font-weight: 700;
}

@media (max-width: 466px) {
  .service-refinancing .lending-active ~ .service-box-hidden-content {
    margin-top: 0px;
  }
}

@media (min-width: 1025px) and (max-width: 1127px) {
  .service-refinancing .lending-active ~ .service-box-hidden-content {
    margin-top: 0px !important;
  }

  .service-refinancing .service-box-hidden-content {
    margin-top: 15px;
  }
}

@media (min-width: 1025px) and (max-width: 1356px) {
  .service-refinancing .number-hidden {
    top: 0%;
  }
}

#hero-section::after {
  content: "";
  display: block;
  background: linear-gradient(to left, rgba(255, 0, 0, 0), rgb(89 107 115));
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.hero-main-container {
  z-index: 1;
}

#hero-section {
  position: relative;
}

@media (max-width: 767px) {
  #hero-section::after {
    content: "";
    display: block;
    background: linear-gradient(to top, rgba(255, 0, 0, 0), rgb(89 107 115));
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
  }
}
