.main {
  margin-top: 107px;
}

html{
  scroll-padding-top:125px;
}

/* ---------------------------------------------------- */

.sub-title,
.main-title,
.second-title {
  color: #272727;
  font-weight: bold;
}
 
.sub-title span,
.main-title span,
.second-title span {
  color: var(--color-primary);
}

.main-title {
  font-size: var(--fz-80);
  line-height: 85px;
}

/* ---------------------------------------------------- */

.second-title {
  font-size: 55px;
  line-height: 60px;
}

/* ---------------------------------------------------- */

.sub-title {
  font-size: var(--fz-45);
  line-height: 55px;
}

/* ---------------------------------------------------- */

.home-banner {
  width: 100%;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.home-banner::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background:#ffffff url(../images/home-banner.jpg);
  background-size: cover;
  background-position: bottom right;
  background-repeat: no-repeat;
  height: 100%;
  z-index: -1;
  /* animation: run 5s linear 1 forwards; */
}

/* @keyframes run {
  0% {
    left: 5%;
  }
  100% {
    left: 0;
  }
} */

.home-banner .container {
  display: flex;
  align-items: center;
  height: 100vh;
}

.home-banner-content h1 {
  line-height: 1.1;
  margin-bottom: 30px;
  position: relative;
  width: fit-content;
}
/* .home-banner-content h1 span {
  display: inline-block;
  background: var(--color-primary);
  width: 15px;
  height: 15px;
  border-radius: 50%;
} */
.home-banner-content p {
  margin: 0;
  color: #272727;
}

.banner-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.banner-buttons a {
  width: 240px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  border-radius: 100px;
}

.banner-buttons .fill-button {
  color: #ffffff;
  background: var(--color-primary);
}
.banner-buttons .fill-button:hover {
  background: #272727;
}

.banner-buttons .fill-button,
.banner-buttons .line-button {
  transition: background 0.4s ease-in-out, border-color var(--time) ease-in-out;
}

.banner-buttons .line-button {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  /* background: #ffffff; */
}

.banner-buttons .line-button:hover {
  color: #ffffff;
  background: #272727;
  border-color: #272727;
}

/* ---------------------------------------------------------- */

.why-choose .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 120px;
  row-gap: 30px;
  align-items: center;
}
.why-choose .content h2 {
  margin: 0;
}
.why-choose .content img {
  margin-left: -12px;
}
.why-choose .content p {
  margin: 0;
  color: #272727;
}
.why-choose .content .link {
  margin-top: 30px;
  display: inline-block;
  color: #ffffff;
  background: var(--color-primary);
  height: 48px;
  line-height: 48px;
  padding-inline: 30px;
  text-align: center;
  transition: background 0.4s ease-in-out;
  border-radius: 100px;
}
.why-choose .content .link:hover {
  background: #272727;
}

/* .why-choose .image img {
  width: 100%;
} */

.why-choose .image .inside {
  position: relative;
  padding-bottom: 150px;
}

.why-choose .image .inside img:nth-child(1) {
  margin-left: auto;
}

.why-choose .image .inside img:nth-child(2),
.why-choose .image .inside img:nth-child(3) {
  position: absolute;
}

.why-choose .image .inside img:nth-child(2) {
  margin-bottom: -40px;
  left: 0;
  bottom: 0;
}

.why-choose .image .inside img:nth-child(3) {
  z-index: 2;
  left: 310px;
  bottom: 100px;
}

/* ---------------------------------------------------------- */

.we-offer-title {
  text-align: center;
  margin-bottom: 60px;
}
.we-offer-title h2 {
  margin-bottom: 20px;
}

/* ---------------------------------------------------------- */

.hm-blog {
  padding: 70px 0;
}
.hm-blog .title {
  margin-bottom: 60px;
}
.hm-blog .title h2 {
  margin-bottom: 30px;
}
.hm-blog .title p {
  margin: 0;
  color: #272727;
}

.blog-swiper .swiper-slide {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
}
.blog-swiper .content {
  pointer-events: none;
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 23px;
  width: 100%;
  min-height: 300px;
  background: linear-gradient(transparent, #08090a);
  display: flex;
  align-items: flex-end;
  z-index: 1;
}
.blog-swiper .content span {
  font-size: 14px;
  color: var(--color-primary);
}
.blog-swiper .content p {
  color: #ffffff;
  font-size: var(--fz-18);
  line-height: 24px;
  font-weight: 600;
}
.blog-swiper .content .more {
  margin-top: 30px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}
.blog-swiper .content .more:hover {
  color: var(--color-primary);
}
.blog-swiper .content .more:hover img {
  filter: invert(58%) sepia(17%) saturate(7031%) hue-rotate(328deg)
    brightness(96%) contrast(96%);
}

.blog-swiper .swiper-slide img {
  transition: transform var(--time) ease-in-out;
}
.blog-swiper .swiper-slide:hover a > img {
  transform: scale(1.1);
}

/* ---------------------------------------------------------- */

.faq-section {
  padding: 110px 100px;
  background: #eaeaf3;
  max-width: 1610px;
  margin: auto;
  border-radius: 30px;
}
.faq-section .container {
  display: grid;
  grid-template-columns: 650px 1fr;
  column-gap: 100px;
  row-gap: 30px;
}

.faq-section-left p {
  margin: 20px 0 35px 0;
}

.accordion-item {
  padding-block: 20px;
}
.accordion-item:not(:first-child) {
  border-top: 1px solid #999999;
}

.accordion-title {
  font-size: 21px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  padding-right: 30px;
}
.accordion-title img {
  position: absolute;
  right: 0;
  top: 5px;
}
.accordion-title.active {
  color: var(--color-primary);
}
.accordion-content {
  display: none;
  padding-top: 15px;
}
.accordion-title.active img {
  transform: rotate(180deg);
}

.faq-section .view-all {
  margin-top: 40px;
}

.accordion-title.active img {
  filter: invert(46%) sepia(39%) saturate(1824%) hue-rotate(330deg) brightness(101%) contrast(88%); 
}

/* ---------------------------------------------------------- */

.our-happy .title {
  margin-bottom: 25px;
}
.our-happy .title h2 {
  margin-bottom: 30px;
}
.our-happy .title p {
  margin: 0;
  color: #272727;
}
.our-happy .title img {
  margin-left: -12px;
}

/* ---------------------------------------------------------- */

/* .rating-swiper::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ffffff);
  z-index: 2;
} */

.rating-swiper .swiper-slide {
  padding: 24px;
  height: auto;
  background-color: #ffffff;
  border-radius: 20px;
}

.rating-swiper .content p {
  color: #272727;
}
.rating-swiper .heading {
  display: grid;
  align-items: center;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  margin-bottom: 30px;
}
.rating-swiper .heading span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #eaeaf3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: #ffffff;
}

/* ---------------------------------------------------------- */

.custom-mortgage {
  padding-top: 70px;
  position: relative;
  z-index: 0;
}
.custom-mortgage::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 77%;
  background-color: var(--color-primary);
  z-index: -1;
}

.custom-mortgage .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.custom-mortgage-content {
  color: #ffffff;
  padding: 40px 0 0 75px;
}
.custom-mortgage-content h2 {
  font-size: 50px;
  line-height: 60px;
  margin-bottom: 30px;
}

.custom-mortgage-content p {
  margin: 0;
}

.custom-mortgage-content .button {
  margin-top: 20px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  padding: 0 30px;
  border: 1px solid #ffffff;
  border-radius: 100px;
  display: inline-block;
  transition: background var(--time) ease-in-out,
    border-color var(--time) ease-in-out;
}
.custom-mortgage-content .button:hover {
  background: #272727;
  border-color: #272727;
}

/* ---------------------------------------------------------- */

.oru-partners {
  padding: 70px 0;
}

/* ---------------------------------------------------------- */

.advantage {
  margin-top: 100px;
  /* padding: 50px 95px; */
  background: url(../images/opacity.png) no-repeat;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  row-gap: 30px;
  border-radius: 20px;
  /* box-shadow: -7px -4px 10px #ffffff; */
  box-shadow: rgb(255 255 255) -7px -5px 12px 7px, rgb(151 142 142 / 52%) 6px 6px 11px 0px;
}

.advantage-content {
  padding: 20px 0 0 95px;
  max-width: 530px;
}

.advantage-content h2 {
  margin-bottom: 25px;
}

.advantage-list-item h4 {
  font-weight: 400;
  font-size: 35px;
  margin-bottom: 12px;
  line-height: 38px;
}

.advantage-list {
  padding-left: 50px;
  position: relative;
}

.advantage-list-item h4 span {
  font-weight: bold;
  color: var(--color-primary);
}

.advantage-list-item:not(:first-child) {
  margin-top: 50px;
}

.vertical-swiper::before {
  content: "";
  position: absolute;
  right: 0;
  top: -1px;
  width: calc(100% - 50px);
  height: 200px;
  background: linear-gradient(0deg, transparent, #f5f5f7);
  z-index: 2;
  border-radius: 20px;
}
.vertical-swiper::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0 !important;
  top: auto !important;
  width: calc(100% - 50px);
  height: 200px;
  background: linear-gradient(180deg, transparent, #f5f5f7);
  z-index: 2;
}

.vertical-swiper .swiper-pagination {
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 0 !important;
  height: 100%;
  display: flex;
  margin-left: -60px !important;
  justify-content: space-between;
  flex-direction: column;
  transform: translate3d(0px, -100%, 0) !important;
  /* display: none; */
}

.vertical-swiper .swiper-pagination::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 7px;
  width: 2px;
  height: 97%;
  background: #999999;
  z-index:-1;
}

.vertical-swiper .swiper-pagination .swiper-pagination-bullet {
  width: 22px;
  height: 22px;
  background: #ffffff;
}

.vertical-swiper .swiper-pagination .swiper-pagination-bullet-active{
  background: var(--color-primary);
}

/* ---------------------------------------------------------- */

.mortgage-calculator {
  padding: 50px;
  display: grid;
  margin-top: 100px;
  background: #eaeaf0;
  border-radius: 30px;
}

.mortgage-calculator-header,
.mortgage-calculator-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}
.mortgage-calculator-body {
  margin-top: 60px;
}

.mortgage-calculator-left h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

.mortgage-calculator-right {
  padding-top: 60px;
}

.resident-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  column-gap: 10px;
  margin-bottom: 30px;
}

.resident-tab {
  height: 48px;
  line-height: 48px;
  color: #272727;
  text-align: center;
  cursor: pointer;
  transition: background var(--time) ease-in-out, color var(--time) ease-in-out;
  font-weight: 500;
  border: 1px solid #272727;
  background: transparent;
  position: relative;
  border-radius: 8px;
}

.resident-tab.active {
  color: #ffffff;
  background: #272727;
}

.resident-tab.active::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url(../images/check.svg) no-repeat center center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}


.result-section {
  display: flex;
  justify-content: space-between;
}

.mortgage-calculator-group {
  margin-bottom: 25px;
}

.mortgage-calculator-group input {
  text-align: right;
}

.mortgage-calculator-head{
  display: flex;
  justify-content: space-between;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}
.form-label span {
  display: block;
  font-size: 12px;
  color: #9e9e9e;
  font-style: italic;
}

.input-group {
  position: relative;
}

.currency-label-text {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 15px 15px 15px 50px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
}

.slider-container {
  margin-top: 10px;
}

.slider {
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #ddd;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff6b6b;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff6b6b;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.slider-value {
  font-weight: 600;
  color: #333;
}

.slider-range {
  font-size: 0.9rem;
  color: #666;
}

.result-title {
  font-size: 1rem;
  color: #272727;
  font-weight: bold;
}

.result-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff6b6b;
}

.currency {
  font-size: 26px;
  font-weight: bold;
  color: var(--color-primary);
  display: flex;
  align-items: center;
}

.form-section {
  margin-top: 30px;
}

.form-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.form-input-simple {
  width: 100%;
  height: 48px;
  padding-inline: 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

.form-input-simple:focus {
  outline: none;
  border-color: #667eea;
}

.phone-input-group {
  display: flex;
  margin-bottom: 15px;
}

.country-code {
  padding: 15px;
  border: 2px solid #e1e5e9;
  border-right: none;
  border-radius: 10px 0 0 10px;
  background: #f8f9fa;
  font-weight: 600;
  min-width: 100px;
}

/* .phone-input {
  flex: 1;
  padding: 15px;
  border: 2px solid #e1e5e9;
  border-radius: 0 10px 10px 0;
  font-size: 1rem;
} */

.phone-input:focus {
  outline: none;
  border-color: #667eea;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cost-breakdown-btn {
  color: #ff6b6b;
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
}

/* ---------------------------------------------------------- */

.banner-section {
  padding-top: var(--space-100);
}

.banner-section .container:first-child {
  display: grid;
  grid-template-columns: 745px 1fr;
  column-gap: 80px;
}

.banner-content p {
  margin: 35px 0 0 0;
  color: #272727;
  max-width: 570px;
}

.banner-section .tick-list {
  margin-top: 30px;
}
.banner-section .map {
  margin-top: 75px;
}

.banner-about {
  display: flex;
  flex-wrap: wrap;
}
.banner-about .our-vision-content {
  margin-top: auto;
}
/* ---------------------------------------------------------- */

.accordion-block {
  margin-top: 30px;
  padding: 50px;
  background: #f5f5f7 0% 0% no-repeat padding-box;
  border: 1px solid #ffffff;
  border-radius: 30px;
  box-shadow: -7px -4px 10px #ffffff;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-list-item {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
}
.blog-list-item .content {
  pointer-events: none;
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 23px;
  width: 100%;
  min-height: 300px;
  background: linear-gradient(transparent, #08090a);
  display: flex;
  align-items: flex-end;
  z-index: 1;
}
.blog-list-item .content span {
  font-size: 14px;
  color: var(--color-primary);
}
.blog-list-item .content p {
  margin: 0;
  color: #ffffff;
  font-size: var(--fz-18);
  line-height: 24px;
  font-weight: 600;
}

.blog-list-item .content .more {
  margin-top: 30px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}
.blog-list-item .content .more:hover {
  color: var(--color-primary);
}
.blog-list-item .content .more:hover img {
  filter: invert(58%) sepia(17%) saturate(7031%) hue-rotate(328deg)
    brightness(96%) contrast(96%);
}

.blog-list-item > a > img {
  transition: transform var(--time) ease-in-out;
}
.blog-list-item > :hover > img {
  transform: scale(1.1);
}

/* ---------------------------------------------------------- */

.blog-detail-section .container {
  max-width: 1200px;
}

.blog-detail-section h1 {
  font-size: var(--fz-45);
  line-height: 60px;
  font-weight: bold;
  color: #272727;
  margin: 30px 0;
}
.blog-detail-section p {
  color: #272727;
}

/* ---------------------------------------------------------- */

.banner-form {
  padding: 34px;
  background: #f5f5f7 0% 0% no-repeat padding-box;
  box-shadow: -7px -4px 10px #ffffff;
  border: 1px solid #ffffff;
  border-radius: 30px;
}
.banner-form li + li {
  margin-top: 11px;
}

.banner-form input {
  border-radius: 8px;
}
.banner-form textarea {
  height: 248px;
}
.banner-form button {
  height: 48px;
  line-height: 48px;
  color: #ffffff;
  width: 100%;
  margin-top: 34px;
  text-align: center;
  background: var(--color-primary);
  transition: background var(--time) ease-in-out;
  border-radius: 8px;
}
.banner-form button:hover {
  background: #272727;
}

/* ---------------------------------------------------------- */

.our-vision {
  margin-top: 100px;
}

.our-vision .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 160px;
  row-gap: 30px;
}

.our-vision-content span {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--color-primary);
}
.our-vision-content h2 {
  margin-bottom: 30px;
}

.our-vision-content p {
  max-width: 572px;
}
/* ---------------------------------------------------------- */

.form-container {
  padding: 60px 100px;
  width: 100%;
  background: #f5f5f7 0% 0% no-repeat padding-box;
  /* box-shadow: -7px -4px 10px #ffffff; */
  border: 1px solid #ffffff;
  margin-top: 50px;
  border-radius: 30px;
   box-shadow: rgb(255 255 255) -7px -5px 12px 7px, rgb(151 142 142 / 52%) 6px 6px 11px 0px;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.progress-bar::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  max-width: 800px;
  margin: auto;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-circle {
  width: 50px;
  height: 50px;
  border: 2px solid #e0e0e0;
  display: flex;
  background: #f5f5f7;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.step.active .step-circle {
  background: #f0624e;
  border-color: #f0624e;
  color: white;
}

/* .step.completed .step-circle {
  background: white;
  border-color: #52c41a;
  color: #52c41a;
} */

.step-circle svg {
  width: 20px;
  height: 20px;
}

.step-label {
  color: #9e9e9e;
  text-align: center;
}

.step.active .step-label {
  color: #272727;
  font-weight: 600;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group-wrap {
  max-width: 600px;
}

.form-group {
  margin-bottom: 11px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.form-group .help-text {
  font-size: 12px;
  color: #9e9e9e;
  margin-top: 5px;
}

.toggle-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.toggle-btn {
  padding: 12px;
  min-width: 205px;
  border: 1px solid #272727;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #272727;
  background: #f5f5f7;
  position: relative;
  border-radius: 8px;
}

.toggle-btn.selected {
  color: #ffffff;
  border-color: #272727;
  background: #272727;
}

.toggle-btn.selected::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url(../images/check.svg) no-repeat center center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}

.input-group {
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #667eea;
}

.currency-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  max-width: 600px;
}

.currency-label {
  background: #f5f5f5;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  color: #333;
}

.currency-input input {
  height: 48px;
  border: none;
  padding-inline: 10px;
  width: 100%;
  border-radius: 8px;
}

.phone-input {
  display: flex;
  gap: 10px;
}

.country-select {
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 15px;
  min-width: 100px;
}

.button-group {
  display: flex;
  gap: 15px;
  margin-top: 44px;
  justify-content: center;
}

.next-button {
  height: 48px;
  color: #ffffff;
  line-height: 48px;
  width: 240px;
  text-align: center;
  background: var(--color-primary);
  border-radius: 100px;
}

.back-button {
  height: 48px;
  color: var(--color-primary);
  line-height: 48px;
  width: 240px;
  text-align: center;
  border: 1px solid var(--color-primary);
  border-radius: 100px;
}

.btn-submit {
  background: #ff6b6b;
  color: white;
}

.btn-submit:hover {
  background: #ff5252;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.estimated-amount .progress-bar::before {
  margin-top: 5px;
}
.estimated-amount p {
  margin: 0;
  font-weight: 600;
}

.estimated-amount strong {
  color: #ff6b00;
  font-size: var(--fz-18);
}

.step3-header {
  margin-bottom: 30px;
}

.step3-header h2 {
  font-size: 32px;
  color: #272727;
  line-height: 32px;
  margin-bottom: 10px;
}

.step3-header p {
  color: #666;
  font-size: 16px;
}

/* ---------------------------------------------------- */

.team-section {
  padding: 35px;
  margin-top: 100px;
  background: #f5f5f7 0% 0% no-repeat padding-box;
  box-shadow: -7px -4px 10px #ffffff;
  border: 1px solid #ffffff;
  border-radius: 30px;
  box-shadow: rgb(255 255 255) -7px -5px 12px 7px, rgb(151 142 142 / 52%) 6px 6px 11px 0px;
}

.team-header {
  text-align: center;
  margin-bottom: 50px;
}

.team-title {
  font-size: 140px;
  font-weight: 800;
  color: #272727;
  margin-bottom: 10px;
  line-height: 100px;
  padding-top:50px;
}

.team-subtitle {
  font-size: 53px;
  font-weight: 600;
  margin-bottom: 20px;
}

.team-subtitle .red {
  color: #F0624E;
}

.team-description {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  max-width: 775px;
  margin: 0 auto;
  color: #272727;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0 40px 0;
  position: relative;
}

.team-member {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  cursor: pointer;
  border-radius: 30px;
}

.team-member > img {
  transition: transform var(--time) ease;
}

.team-member:hover > img {
  transform: scale(1.1);
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.member-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.member-name {
  line-height: 1;
  font-size: 32px;
  font-weight: bold;
}

.member-role {
  color: var(--color-primary);
}

.member-arrow {
  position: absolute;
  top: 15px;
  right: 15px;
}

.member-arrow path {
  stroke: #ffffff;
  stroke-width: 2;
}

.member-arrow svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  stroke-width: 2;
}

.hidden-members {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0;
}

.hidden-members.show {
  max-height: 3000px;
  margin-bottom: 40px;
}

.hidden-members .team-member {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hidden-members.show .team-member {
  opacity: 1;
  transform: translateY(0);
}

.meet-everyone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  background: transparent;
  border: none;
  font-size: 32px;
  font-weight: 600;
  color: #272727;
  cursor: pointer;
}

.btn-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.btn-arrow svg {
  width: 34px;
  height: 34px;
}

.btn-arrow path {
  stroke: #000000;
  stroke-width: 2;
}

.meet-everyone-btn span {
  color: var(--color-primary);
}

.meet-everyone-btn.expanded .btn-arrow {
  transform: rotate(180deg);
}

.meet-everyone-btn.expanded {
  flex-direction: column-reverse;
}

/* ------------------------------------------------------------  */

.card {
  position: relative;
  perspective: 1200px;
  height: 400px;
  border-radius: 30px;
}

.card-inner {
  position: relative;
  height: 100%;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-style: preserve-3d;
  border-radius: inherit;
}

/* Hover, focus (keyboard), or toggled via JS on touch */
.card:hover .card-inner,
.card:focus-within .card-inner,
.card.is-flipped .card-inner {
  transform: rotateY(180deg);
}

.face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding-inline: 25px;
  justify-content: center;
  border-radius: inherit;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 30px;
  overflow: hidden;
}

.back {
  transform: rotateY(180deg);
}

/* ------------------------------------------------------- */

.team-member {
  height: 510px;
  perspective: 1000px;
}

.team-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s ease; 
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.team-member:hover .team-card {
  transform: rotateY(180deg);
}

/* Front Side */
.team-front,
.team-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
}

.team-front {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.team-back {
  height: 100%;
  background: var(--color-primary);
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.team-back .member-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #ecf0f1;
}

/* -------------------------------------------------------------- */

.tb_hc_authorname,
.tb_content_text {
  text-align: left !important;
}

.tb_hc_social_ {
  display: none !important;
}

.tb_hc_author_wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tb_hc_post_info {
  justify-content: flex-start !important;
}

.tb_hc_post_in {
  border-radius: 20px;
}

.tb_hc_post_wrapper {
  padding: 0 !important;
}

.tb_app_wrapper .splide__list {
  column-gap: 20px;
}

.tb_rv_banner_wrap {
  padding: inherit;
  margin-bottom: 60px;
}

.tb_rv_container {
  padding: 0 !important;
}

.tb_rv_wrapper {
  background: transparent !important;
}

.tb_rv_review_total_post.tb-cTBfont-undefined {
  font-size: 18px !important;
  color: #999 !important;
  line-height: 1;
}

.tb_rv_rating {
  padding: 15px;
  background: #fff;
  border-radius: 15px;
}

.tb_rv_banner_btn_wrap {
  display: none;
}

.tb_rv_banner_wrap {
  padding: 0 !important;
}

.tb_rating_ico__ {
  padding: 0 !important;
}

.tb_hc_rating .tb_rating_ico__ {
  font-size: 15px !important;
}

.tb_hc_contant_wrapper,
.tb_hc_content_wrapper__ {
  justify-content: flex-start !important;
}

.tb_hc_rating {
  min-height: unset !important;
  padding-left: 57px;
  justify-content: flex-start !important;
  position: relative;
  top: -25px;
}

.tb_hc_post_info {
  display: none !important;
}

.tb_hc_author_profile {
  margin: 0 !important;
}

.tb_hc_arrow_wrapper_ {
  width: 100%;
  display: flex;
  margin-top: 50px;
  justify-content: flex-end;
  column-gap: 20px;
}

body .tb_hc_arrow {
  position: unset !important;
  transform: unset !important;
}

.tb_hc_arrow {
  width: 60px !important;
  height: 60px !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}

.splide__arrow--prev {
  background: url(https://treohq.com/emortgage/demo/images/prev.png) no-repeat
    center;
}

.splide__arrow--next {
  background: url(https://treohq.com/emortgage/demo/images/next.png) no-repeat
    center;
}

.iti,
.phone-input-group {
  width: 100%;
}

.tb-arrow-right-alt:before,
.tb-arrow-left-alt:before {
  display: none;
}

.tb_hc_arrow_left__,
.tb_hc_arrow_right__{
  box-shadow: unset !important;
}

.splide__slide{
  width: 25% !important;
}

.tb_hc_post_in{
  border-radius: 20px;
  box-shadow: unset !important;
}

.tb_hc_arrow_wrapper_{
  margin-top: 30px !important;
}

/* --------------------------------------------------------------- */

.swiper-vertical {
  height: 600px;
  padding-left: 60px;
  padding-block:50px;
}

.swiper-vertical .swiper-slide {
  height: 200px;
}

.advantage{
  overflow: hidden;
}

.advantage-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
}

.advantage-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  border: 1px solid red;
  border-radius: 30px;
  height: 500px;
}

.right-slides {
  height: 500px;
}

.left-content {
  position: relative;
}

.left-content h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.left-content h2 span {
  color: #f85d4b;
}

.left-content p {
  margin-top: 15px;
  font-size: 16px;
  max-width: 400px;
  color: #555;
}

.buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn-primary {
  background: #f85d4b;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  color: #f85d4b;
  padding: 12px 20px;
  border: 2px solid #f85d4b;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.timeline-container {
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  height: 500px;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #ddd;
}

.timeline-dots {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 420px;
  z-index: 2;
  transition: transform 0.3s ease;
}

.dot {
  width: 14px;
  height: 14px;
  border: 2px solid #f85d4b;
  border-radius: 50%;
  background: white;
  transition: all 0.3s ease;
}

.dot.active {
  background: #f85d4b;
  transform: scale(1.3);
}

.right-slides {
  position: relative;
}

.slide {
  opacity: 0.2;
  transform: translateY(60px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  max-width: 500px;
  padding-bottom: 140px;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
}

.slide h3 {
  font-size: 26px;
  font-weight: 700;
}

.slide h3 span {
  color: #f85d4b;
}

.slide p {
  margin-top: 10px;
  color: #555;
}

.next-section {
  margin-top: 200px;
  padding: 100px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.next-section h2 {
  font-size: 30px;
  color: #333;
}

.next-section p {
  margin-top: 10px;
  max-width: 600px;
  color: #555;
}