.hero-container {
  height: 90lvh;
}

.hero {
  background-image: url(../images/hero.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.logo-img {
  width: 200px;
}

.ib-hero {
  width: 60%;
}

.ib-header {
  /* font-size: 4.5rem; */
  max-width: 450px;
  line-height: 4rem;
}

.ib-hero-dark-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.ib-hero-btn {
  padding: 1rem 4rem !important;
  font-size: 1.5rem !important;
  background-color: #ff7d00;
  color: #432007 !important;
  font-weight: 600;
}

.ib-hero-btn span {
  margin-right: 1rem;
}

.ib-hero-btn img {
  font-size: 1.5rem;
}

.ib-path h2 {
  font-size: 2.4rem;
  text-align: start;
}

.ib-footer {
  border-top: 6px var(--ibom-orange) solid;
  background-color: #013000;
  background-image: url(../images/Group\ 2.png);
  background-repeat: no-repeat;
  background-position: right bottom;
}

.ib-card {
  background: url(../images/hand-card.png), url(../images/Vector.png);
  background-position: bottom, bottom right;
  background-size: 300px;
  background-repeat: no-repeat;
  height: 550px;
}

.ib-1 {
  background-image: url(../images/storeybuilding.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.ib-financing {
  background-image: url(../images/financing.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.ib-model {
  background-image: url(../images/model-house.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.ib-home {
  background-image: url(../images/home-loans.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

/* .ib-static-h2 {
  font-size: 40px;
} */

.ib-static {
  background-color: rgba(1, 81, 43, 0.8);
  color: rgba(212, 212, 212, 1);
}

.ib-static-logo {
  font-size: 2.4rem;
}

.ib-stat {
  color: rgba(244, 180, 0, 1);
  /* font-size: 55px; */
  font-weight: 500;
}

.ib-stat-yr {
  font-size: 30px;
}

.ib-ren-com {
  max-width: 100%;
  width: 900px;
}

.ib-card-content {
  background-color: rgba(255, 216, 178, 1);
  color: #333;
}

.ib-ren {
  transform: translateY(55px);
}

.ib-rental {
  background-color: rgba(1, 81, 43, .05);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(1, 81, 43);
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 16px;
}

.ib-news-btn {
  background-color: rgba(1, 81, 43, 1);
  color: #fff;
  padding: 0.5rem 3.5rem 0.5rem 3.5rem !important;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ib-community-span {
  background-color: #fff;
  color: rgba(0, 0, 0, 1) !important;
  font-size: 1.5rem;
}
.ib-community h2 {
  color: rgba(0, 0, 0, 1) !important;
  font-size: 3.5rem;
}
.ib-span {
  color: rgba(1, 81, 43, 1);
}

.ib-star {
  margin-bottom: 20px;
  font-size: 3rem;
}

.mortgage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  grid-template-areas: "debit mobile mobile" "debit ussd internet";
}

.mortgage .debit {
  grid-area: debit;
  background-color: #051314;
  background-image: url(../images/bcard.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size:contain;
  min-height: 400px;
}
.mortgage .debit div:first-child, .ussd p:first-child{
  color: #FF7D00;
}

.mortgage .mobile {
  grid-area: mobile;
  background-color: #F0F0F0;
  /* padding: 12px; */
}

.mortgage .ussd {
  grid-area: ussd;
  background-color: #F0F0F0;
}
.phone-wrapper{
  background-image: url(../images/iphone.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size:contain;
  min-height: 150px;
}
.internet-wrapper{
  background-image: url(../images/Group\ 4.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  min-height: 150px;
  /* background-size:contain; */
}
.news-housing {
  background-image: url(../images/news_image_1.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}
.news-report {
  background-image: url(../images/news_image_2.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}
.news-interest-rates {
  background-image: url(../images/news_image_3.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}
.news-home-buying {
  background-image: url(../images/news_image_4.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}

.mortgage .internet {
  grid-area: internet;  
  background-color: #F0F0F0;
}

.address{
  max-width: 250px;
}
.mortgage-card-overlay {
  position: relative;
  overflow: hidden;
}
.mortgage-card-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 30, 30, 0.03) 0%,
    rgba(20, 20, 20, 0.85) 100%
  );
  z-index: 0;
  pointer-events: none;
}
.mortgage-card-overlay > * {
  position: relative;
  z-index: 1;
}
.slant-bar-section {
  position: relative;
  overflow: hidden;
}

.slant-bar-section::before,
.slant-bar-section::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 40px;
  background: rgba(1, 81, 43, 1);
  z-index: 2;
  border-radius: 8px;
  pointer-events: none;
}

.slant-bar-section::before {
  top: 28px;
  left: 0;
  transform: rotate(-35deg) translateX(-55px);
}

.slant-bar-section::after {
  bottom: 28px;
  right: 0;
  transform: rotate(-35deg) translateX(55px);
}

@media (max-width: 900px) {
  .ib-hero {
    width: 100%;
  }
.ib-header {
  font-size: 2.5rem;
  max-width: 250px;
  line-height: 3rem;
}
.ib-hero-btn {
  padding: 1rem 2rem !important;
  font-size: 1.2rem !important;
}
  .mortgage {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "debit" "mobile" "ussd" "internet";
  }
  .footer-flex {
    flex-direction: column;
  }
  .address, .max-w-sm {
    max-width: 100%;
  }
  .sm\:flex-col {
    flex-direction: column;
  }
  .sm\:justify-center {
    justify-content: center;
  }
  .sm\:items-center {
    align-items: center;
  }
  .sm\:grid-cols-1 {
    grid-template-columns: 1fr;
  }
  .sm\:text-6xl {
    font-size: 2.75rem;
    line-height: 1;
  }
  .sm\:text-5xl {
    font-size: 2rem;
    line-height: 1; 
  }
}
