@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quattrocento:wght@700&display=swap');

/* colors */
:root {
  --white: #fff;
  --black: #000;
  --blue: #235FB7;
  --lightblue: #628CCA;
  --ctalightblue: #C6DDFE;
  --extralightblue: rgba(35, 95, 183, 0.1);
  --green: #28A745;
  --red: #f44336;
  --box-shadow: 0 4px 8.5px 6px rgba(35, 95, 183, 0.2);
}

html, body{
  margin: 0;
  padding: 0 !important;
  font-family: "Poppins", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
}
a:hover {
  color: #000000;
}
/*pop-up*/
.popup {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.20);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup-content {
  background: var(--white);
  padding: 40px 30px;
  width: 90%;
  max-width: 380px;
  border-radius: 16px;
  text-align: center;
  position: relative;
}
.popup-content .logo {
  margin-bottom: 30px;
}
.popup-content h3 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 10px;
}
.popup-content p {
  line-height: 1.2;
  font-size: 14px;
  font-weight: 600;
  text-wrap: balance;
  margin: 0;
}
.popup-content button {
  min-width: 200px;
  height: 40px;
  border: none;
  border-radius: 50px;
  background: var(--green);
  padding: 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-top: 20px;
  transition: all 0.6s ease;
}
.popup-content button img {
  margin-right: 10px;
}
.popup-content button:hover {
  transform: scale(1.1);
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: var(--black);
  transition: all 0.6s ease;
}
.close-btn:hover {
  transform: scale(1.1);
}
/* bg house */
.content {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.house {
  position: absolute;
  right: 0;
  bottom: -25%;
  overflow: hidden;
  z-index: -1;
}
/* navbar */
.nav {
  padding: 25px 0;
  margin-top: 30px;
}
.ty-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  height: 50px;
}
.call-icon {
  cursor: pointer;
  transition: all 0.6s ease;
}
.call-icon:hover {
  transform: scale(1.1);
}
.main {
  padding: 0 0 30px 0;
}
/* message */
.thanks-message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--blue);
  margin: 40px 0;
}
.thanks-message p {
  font-size: 16px;
  line-height: 1.1;
  margin: 8px 0;
}
.thanks-message p:last-of-type {
  font-weight: 700;
}
.message-cta button {
  min-width: 200px;
  height: 45px;
  border: none;
  border-radius: 16px;
  background: var(--green);
  padding: 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  transition: all 0.6s ease;
}
.message-cta button:hover {
  transform: scale(1.1);
}
.offers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.offer-box {
  width: 49%;
  height: 115px;
  background: var(--white);
  padding: 15px 25px;
  border-radius: 16px;
  border: 1px solid var(--blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.offer-info {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}
.offer-logo {
  width: 110px;
  margin-bottom: 10px;
}
.offer-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.offer-list p {
  margin: 0 5px;
  line-height: 1;
  font-size: 13px;
  font-weight: 500;
}
.offer-price {
  text-align: right;
}
.offer-price h5 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--blue);
}
.offer-price h6 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  margin: 5px 0 0 0;
}
.offer-cta {
  text-align: center;
  margin-top: 40px;
}
.openpopup {
  min-width: 200px;
  height: 45px;
  border: none;
  padding: 0 20px;
  border-radius: 16px;
  background: var(--blue);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  transition: all 0.6s ease;
}
.openpopup:hover {
  transform: scale(1.1);
  color: var(--blue);
  background: var(--ctalightblue);
}
@media (max-width: 1240px) {
  .thanks-message p {
    font-size: 14px;
  }
  .offer-list p {
    font-size: 9.5px;
  }
  .message-cta button {
    min-width: 180px;
    font-size: 14px;
  }
}
@media (max-width: 1080px) {
  .thanks-message p {
    font-size: 12px;
  }
  .offer-list p {
    font-size: 8px;
  }
  .offer-price h5 {
    font-size: 20px;
  }
  .offer-box {
    width: 48%;
  }
  .message-cta button {
    min-width: 180px;
    font-size: 12px;
  }
}
@media (max-width: 880px) {
  .message-txt {
    max-width: 55%;
  }
}
@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }
  .offer-box {
    width: 100%;
    height: 130px;
  }
  .offer-list p {
    font-size: 12px;
  }
  .offer-price h5 {
    font-size: 26px;
  }
  .thanks-message p {
    text-wrap: balance;
  }
  .thanks-message {
    flex-direction: column;
  }
  .message-txt {
    max-width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }
  .message-txt p {
    font-size: 14px;
  }
}
@media (max-width: 475px) {
  .offer-box {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 25px;
  }
  .offer-price {
    text-align: center;
  }
  .offer-list {
    justify-content: center;
    margin: 5px 0;
  }
  .offer-info {
    align-items: center;
    margin-bottom: 20px;
  }
  .popup-content h3 {
    font-size: 34px;
  }
}
@media (max-width: 375px) {
  .offer-list p {
    font-size: 11px;
  }
  .popup-content h3 {
    font-size: 30px;
  }
}