.md-custom-code {
  margin-bottom: 0px !important;
}

@media (min-width: 1200px) {
  .container {
    width: 1200px;
    position: relative;
    margin: 0 auto;
  }
}

.mg-container {
  width: auto !important;
}
* {
  margin: 0px;
  padding: 0px;
}
a {
  text-decoration: none;
}
.md-custom-code {
  margin-bottom: 0px !important;
}
.spacediv {
  min-height: 100px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: BebasNeue-Regular;
}

@font-face {
  font-family: BebasNeue-Regular;
  src: url(assets/bebas_neue/BebasNeue-Regular.ttf);
}
@font-face {
  font-family: Montserrat-Regular;
  src: url(assets/montserrat/static/Montserrat-Regular.ttf);
}
@font-face {
  font-family: Montserrat-Light;
  src: url(assets/montserrat/static/Montserrat-Light.ttf);
}
@font-face {
  font-family: Montserrat-Bold;
  src: url(assets/montserrat/static/Montserrat-Bold.ttf);
}


/*section 1*/
.header_inner {
  background: url('client_success/Rectangle23-min.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
}
.headingdiv {
  text-align: center;
  width: 60%;
  margin: auto;
}
.headingdiv img{width: 55%;}
.headingdiv h1{
  color: #FFF;
  text-align: center;
  font-size: 90px;
  font-style: normal;
  font-weight: 700;
  line-height: 80px;
}
.headingdiv p{
    color: #FFF;
    text-align: center;
    font-family: Montserrat-Light;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 120% */
    margin: 30px 0px 40px 0px;
}


/*section 2*/
.testimonials-masonry{
  column-count: 5;  
  column-gap: 14px; 
  padding: 30px 0px;
  max-width: 85%;
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
}

/* card basics */
.card{
  display: inline-block; 
  vertical-align: middle;
  width: 100%;
  margin: 0 0 14px;
  box-sizing: border-box;
  break-inside: avoid;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  padding: 30px;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.5;
}

.card.photo{
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 18px;
}

.card.photo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

/* Text cards: author style */
.card.text h4{
    margin-top: 14px;
    color: #000;
    font-size: 16px;
    font-style: italic;
    font-weight: 700;
    line-height: 20px; 
}

.minhght{
    min-height: 390px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.minhght2{
    min-height: 505px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.minhght3{
    min-height: 580px;
}

/* Quote cards */
.card.quote{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 28px;
  min-height: 313px;
}
.card.quote p{
color: #02B8BC;
  text-align: center;
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: 29px;
}

/* rounded colored boxes and borders seen in screenshot */
.rounded { border-radius: 18px; }

/* color variations */
.light-teal{ background: #e6f6f6; color:#000; }
.teal{ background: #CDEAEC; color:#000; }
.teal-strong{ background: #2b8f8f; color:#fff; }
.teal-strong2{ background: #2b8f8f; color:#fff; }
.teal-strong2 p{
    color: #FFF !important;
    text-align: center;
    font-family: Montserrat-Light;
 }

.blue{ background: #dff1f8; color:#000; }
.light-blue{ background: #e9f7fb; color:#000; }
.teal-medium{ background: #95D5D5; color:#000; }
.lightstrong{ background: #76CBCB; color:#000;padding: 43px 30px; }

.bordered{
  background: #ffffff;
  border: 1px solid #76CBCB
}

.boxed{
  background: #fff;
  border: 1px solid #76CBCB;
  color: #0b8c8a;
}

.card.photo.small img{ border-radius: 14px; }

.card p{
    margin: 0;
    color: #000;
    font-family: Montserrat-light;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 22px;
}

@media (max-width: 1200px){
  .testimonials-masonry{ column-count: 3; padding: 28px; column-gap: 18px; }
}
@media (max-width: 900px){
  .testimonials-masonry{ column-count: 2; padding: 20px; column-gap: 16px; }
}
@media (max-width: 520px){
  .testimonials-masonry{ column-count: 1; padding: 16px; column-gap: 0; }
  .card{ margin-bottom: 18px; }
}

.card h4{ font-family: 'Montserrat', sans-serif; font-size: 13px; margin-top: 12px; }



/*section 5*/
.section5{
  background: url('assets/images/Rectangle\ 230-min.png');
  padding-bottom: 70px;
}

.results-section {
  background: url('assets/images/bgseagreen.png');
  padding: 60px 20px;
  background-size: cover;
  position: relative;
  border-radius: 15px 0px 0px 15px;
  justify-content: center;
  width: 93%;
  margin-left: auto;
}

.results-container {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  padding: 0px;
}

.results-title {
  width: 100%;
  color: #FFF;
  font-size: 50px;
  font-style: normal;
  text-align: center;
  font-weight: normal;
  line-height: normal;
  margin-bottom: 40px;
}

.results-stats {
  width: 70%;
}

.stat h3 {
  color: #FFF;
  text-align: center;
  font-size: 50px;
  font-style: normal;
  font-weight: normal;
  line-height: normal;
}

.inner-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}

.stat {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.border1{
  border-right: 1px solid rgba(255, 255, 255, 0.30);
  border-bottom: 1px solid rgba(255, 255, 255, 0.30);
}
.border2{
border-bottom: 1px solid rgba(255, 255, 255, 0.30);
}
.border3{
  border-right: 1px solid rgba(255, 255, 255, 0.30);
}

.stat p {
  color: #FFF;
  text-align: center;
  font-family: Montserrat-light;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 133.333% */
  margin-top: 5px;
}


.badge {
  flex-shrink: 0;
  width: 30%;
}

.badge img {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/*section 4 */
.real-estate-section {
  max-width: 95%;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.main-image {
  position: relative;
  grid-row: span 2;
  border-radius: 12px;
}

.main-image img {
  width: 100%;
  height: 100%;
  border-radius: 0 20px 20px 0;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  bottom: 70px;
  right: -170px;
  padding: 30px 40px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.90);
  z-index: 20000;
}

.overlay-text h2 {
    color: #02B8BC;
    font-size: 45px;
    font-style: normal;
    font-weight: normal;
    text-transform: uppercase;
    line-height: 50px;
}

.quote-box {
  background: #CDEAEC;
  border-radius: 12px;
  padding: 40px 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-mark {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 10px;
  line-height: 1;
}

.quote-text {
  color: #000;
  text-align: center;
  font-family: 'Montserrat-Light';
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  line-height: 35px;
}

.small-image img,
.bottom-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.bottom-image {
  grid-column: 2;
}

.inlineflx{display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


/* Responsive Grids and Text */
@media (min-width: 1600px) {
.card p{font-size: 19px;}
.card.text h4{font-size: 19px;}
}

@media (max-width: 1100px) {
  .grid-container { grid-template-columns: 1fr; }
  .main-image { grid-row: auto; }
  .bottom-image { grid-column: auto; }
  .overlay-text { right: auto; left: auto; }
  .overlay-text h2 { font-size: 1.1rem; line-height: 23px; }
  .results-stats { width: 100%; }
    .results-container {
    align-items: center;
    justify-content: center;
 }
 .badge img,.badge{width: 70%;text-align: center;}
  .inner-flex { grid-template-columns: 1fr; }
  .headingdiv{font-size: 70px;}
}
@media (max-width: 520px) {
  .headingdiv img { width: 80%; }
  .headingdiv h1 { font-size: 32px; line-height: 36px; }
  .headingdiv p { font-size: 14px; line-height: 18px; }

  .results-container {
    align-items: center;
    justify-content: center;
 }
 .quote-text{font-size: 20px;}
  .headingdiv{font-size: 70px;}
 .badge img,.badge{width: 70%;}
}


