/* ===== Global Font: Manrope ===== */
body,
p,
h1, h2, h3, h4, h5, h6,
a,
button,
input,
select,
textarea {
    font-family: 'Manrope', sans-serif !important;
}


#header .porto-block {
    justify-content: center;
}

/* ===== MENU ITEM COLORS ===== */
#menu-main-menu .menu-item > a {
      font-family: 'Manrope', sans-serif !important;
    color: #1B2539 !important;     
    background: transparent !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 160%;
    text-transform: capitalize;
    transition: color 0.3s ease;
}


#menu-main-menu .menu-item:hover > a,
#header .main-menu > li.menu-item.active > a {
    color: #B1945C !important;     
    background: transparent !important;
}


/* Hide on desktop, show on mobile + tablet */
.contact-us-mobile {
  display: none!important;
}

@media (max-width: 991.98px) { 
  .contact-us-mobile {
    display: block !important;
  }
}



.text-left-important {
  text-align: left !important;
  justify-content: flex-start !important;
}


/* Hide process-container on mobile */
@media (max-width: 767px) {
  .process-container {
    display: none !important;
  }
}

/* Mobile-only image height, centered content */
@media (max-width: 767px) {
  .img-mobile-480 {
    height: 380px !important;
    width: 100%;       
    object-fit: auto!important;        
    object-position: center!important;  
    display: block;
  }
}

/* Porto Sticky Header */
#header {
  position: sticky;   /* stays at top while scrolling */
  top: 0;
  z-index: 1000;
  background-color: transparent; /* transparent by default */
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease ;
}

/* When scrolled (Porto compatible smooth transition) */
#header.sticky-header {
  background-color: #E8F9FF;   
          /* shrink */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(0)!important; /* slide down smoothly */
}



/* === Wrapper for each step === */
.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}

/* === Number circle === */
.number-with-line {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-right: 20px; /* desktop gap from text */
  flex-shrink: 0;
}

/* === Horizontal line (desktop) === */
.number-with-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* === Mobile layout === */
@media (max-width: 767px) {
  .step {
    flex-direction: column;
    align-items: flex-start;
  }

  .number-with-line {
    margin-bottom: 3rem; /* extra gap after number + border */
    margin-right: 0;
  }

  .number-with-line::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    margin-top: 10px;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .step-content {
    margin-top: 20px; /* ✅ gap between border and content */
    padding-left: 0;
    text-align: left;
  }
}


/* === Desktop Layout (default) === */
.step-wrapper {
  display: flex;
  align-items: flex-start; /* align number with heading */
  gap: 20px; /* space between number and content */
}

/* Number circle */
.step-wrapper .wp-block-image img {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #fff;
  object-fit: cover;
}

/* Vertical gradient line under the number */
.step-wrapper .wp-block-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.step-wrapper .wp-block-image::after {
  content: '';
  position: absolute;
  top: 100%;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 100%);
}

/* Content wrapper */
.step-wrapper .wp-block-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* === Mobile Layout (≤767px) === */
@media (max-width: 767px) {
  .step-wrapper {
    flex-direction: column;     /* stack number above content */
    align-items: flex-start;    /* align left */
    gap: 16px;                  /* gap between number and content */
  }

  .step-wrapper .wp-block-image::after {
    top: auto;
    bottom: -60px;  /* adjust if you want the line to drop below */
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Mobile Steps UI - Two Columns */
.steps-mobile {
  display: none; /* hidden on desktop */
}

.steps-mobile .step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
}

/* Column: Number */
.steps-mobile .number-col {
  position: relative;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 1rem;
  width: 60px; /* keep text aligned across steps */
}

.steps-mobile .number-col img {
  width: 48px;
  height: 48px;
  display: block;
}

/* Gradient line under number */
.steps-mobile .number-col::after {
  content: "";
  position: absolute;
  top: 48px;            /* starts right below the SVG */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  bottom: -60px;        /* extend below the step-item */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.8) 0%,
    rgba(255,255,255,0) 100%
  );
}

.steps-mobile .step-item:last-child .number-col::after {
  bottom: -60px; /* same spacing as other steps */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.8) 0%,
    rgba(255,255,255,0) 100%
  );
}

/* Column: Text */
.steps-mobile .text-col h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.steps-mobile .text-col p {
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
  margin: 0;
}

/* === Show only on mobile === */
@media (max-width: 767px) {
  .steps-mobile {
    display: block;
  }
}



/* ================= Border Gradients ================= */
.border-gradient-bottom,
.border-gradient-bottom-dark,
.border-gradient-bottom-2,
.border-gradient-bottom-2-white,
.border-gradient-bottom-2-reverse,
.border-gradient-bottom-3,
.border-gradient-left,
.border-gradient-top,
.border-gradient-bottom-centered-dark,
.border-gradient-top-2,
.border-gradient-top-bottom,
.border-gradient-bottom-2-white-footer,
.border-gradient-bottom-2-mobile-hidden,

.border-gradient-full-white {
  position: relative;
}

/* Top + Bottom Border Gradient */
.border-gradient-top-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #1B2539 0%, rgba(255, 255, 255, 0) 100%);
}

.border-gradient-top-bottom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #1B2539 0%, rgba(255, 255, 255, 0) 100%);
}

/* Bottom White */
.border-gradient-bottom::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

/* Bottom Centered Dark */
.border-gradient-bottom-centered-dark::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px; /* adjust thickness */
  background: linear-gradient(
    to right,
    rgba(27, 37, 57, 0) 0%,
    #1B2539 50%,
    rgba(27, 37, 57, 0) 100%
  );
}

/* Bottom Dark */
.border-gradient-bottom-dark::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #1B2539 0%, rgba(255, 255, 255, 0) 100%);
}

/* Bottom 2 */
.border-gradient-bottom-2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #1B2539 0%, rgba(255, 255, 255, 0) 100%);
}

/* Bottom 2 Reverse */
.border-gradient-bottom-2-reverse::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to left, #173252 0%, rgba(255, 255, 255, 0) 100%);
}

/* Bottom 2 White */
.border-gradient-bottom-2-white::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}


.border-gradient-bottom-2-white-footer::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%; /* default widescreen + desktop */
  height: 1px;
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 1024px) {
  .border-gradient-bottom-2-white-footer::after {
    display: none !important;
  }
}

/* Full White Centered */
.border-gradient-full-white::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    white 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Bottom Red */
.border-gradient-bottom-3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #E03F3F 0%, rgba(255, 255, 255, 0) 100%);
}

/* Left Border */
.border-gradient-left::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, #173252 0%, rgba(255, 255, 255, 0) 100%);
}

/* Top Border White */
.border-gradient-top::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

/* Top Border Dark */
.border-gradient-top-2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #1B2539 0%, rgba(27,37,57,0) 100%);
}


/* Bottom 2 — Mobile Hidden */
.border-gradient-bottom-2-mobile-hidden::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #1B2539 0%, rgba(255, 255, 255, 0) 100%);
}

/* Hide on mobile */
@media (max-width: 767px) {
  .border-gradient-bottom-2-mobile-hidden::after {
    display: none;
  }
}

/* Active (center) → white gradient (force override) */
.owl-item.center .border-gradient-top-2::after,
.border-gradient-top-2.active::after {
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%) !important;
}


/* basic info content */
.basic-info-content > div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.basic-info-content div > .basic-info-left,
.basic-info-content div > .basic-info-right {
    width: 100%;
}

.basic-info-content div > .basic-info-left > div,
.basic-info-content div > .basic-info-right div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.basic-info-content div > .basic-info-right.center-items div {
    align-items: center;
    justify-content: center !important;
}

.basic-info-content div > .basic-info-right.no-gap div {
    gap: 0;
    justify-content: flex-start;
}

.basic-info-content div > .basic-info-right {
	display: flex;
	justify-content: flex-end;
}

.basic-info-content div > .basic-info-right.no-gap {
    justify-content: flex-start;
}

.basic-info-right.pop-up-img {
    position: relative;
}


.in-page-banner-wrapper-2,
.in-page-banner-wrapper-2-left,
.in-page-banner-wrapper--2right {
    position: relative;
    min-height: auto;
    width: 100%;
    display: flex;
    align-items: center !important; 
    overflow: hidden; 
}

/* Wrapper makes whole block clickable */
.in-page-banner-card {
 
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit; /* keep text white */
}

/* Image */
.in-page-banner-card img {
  width: 100%;
  height: 100%!important;
  
  transition: transform 0.9s ease;
}
/* Hover effects only on desktops/tablets */
@media (hover: hover) and (pointer: fine) {
  .in-page-banner-card:hover img {
    transform: scale(1.1);
  }
}


/* Bottom gradient overlay (blends with content) */
.in-page-banner-wrapper::after,
.in-page-banner-wrapper-left::after,
.in-page-banner-wrapper-right::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%; /* increase for smoother blending */
    background: linear-gradient(
        to top,
        rgba(27, 37, 57, 0.95) 0%,   /* darkest bottom */
        rgba(27, 37, 57, 0.7) 40%,   /* medium fade */
        rgba(27, 37, 57, 0) 100%     /* fully transparent */
    );
    z-index: 1; 
    pointer-events: none; 
}

.in-page-banner-card .in-page-banner-content {
  position: absolute;  
  bottom: 0;          
  left: 0;
  right: 0;
  z-index: 2;           
  padding: 1.5rem;     
  color: #fff;         
}


.in-page-banner-wrapper,
.in-page-banner-wrapper-left,
.in-page-banner-wrapper-right {
    position: relative;
    min-height: auto;
    width: 100%;
    display: flex;
    align-items: end!important;
}



.in-page-banner-wrapper {
    justify-content: start!important;
}

.in-page-banner-wrapper-left {
	justify-content: start;
}

.in-page-banner-wrapper-right {
	justify-content: center;
}

.in-page-banner-bg img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%!important;
	object-fit: cover;
	z-index: 0;
}

.page-wrapper [class*=wp-container-].double-list-section {
    display: flex;
    flex-wrap: nowrap !important;
    flex-direction: column;
    align-items: flex-start;
}

.page-wrapper [class*=wp-container-].double-list-section .left-content-list {
    padding-left: 0;
}

.wp-block-list.check-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 0;
}

.wp-block-list.check-list li {
  list-style: none;
  position: relative;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}


.menu-section-3 .btn-contact-header {
    display: none !important;
}

.menu-section-3 .mobile-toggle {
    display: block !important;
}

.custom-logo-link img {
    width: 100%;
    height:60px!important;
    max-width: 170px !important;
    min-width: 170px !important;
}

.desktop-menu {
    display: grid !important;
    grid-template-columns: 2fr 8fr !important;
}

.menu-section-2 {
    display: none;
    justify-content: center;
}

.menu-section-3 {
    display: flex;
    justify-content: flex-end;
}

/* Override Porto's justify-content-end for FAQ wrapper */
.wp-block-group.d-flex.justify-content-end {
    justify-content: flex-start !important;
}


#header .main-menu > li.menu-item > a {
    font-size: 16px;
    font-weight: 600;
    line-height: 160%;
    text-transform: capitalize;
}

#header.sticky-header .logo {
    max-width: 150px;
}

.show-after-1200 {
    display: block;
}

#side-nav-panel>.menu-wrap {
    padding-top: 0;
}
/* ===== Home Heading ===== */
.home-heading {
    font-family: 'Manrope', sans-serif;
    font-weight: 700 !important;
    font-style: normal;
    text-transform: uppercase;  
    text-align: center;
    line-height: 110%; /* ~1.1 */
    letter-spacing: -2%; 
    font-size: 3rem;
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
    .home-heading {
        font-size: 1.9rem!important; 
        line-height: 80%; 
        text-transform: none;        
            letter-spacing: -5%9
    }
}


/* ===== Home Heading ===== */
.home-heading-2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700 !important;
    font-style: normal;
    text-transform: uppercase;  
    text-align: center;

    font-size: 4rem;
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
    .home-heading-2 {
        font-size: 1.9rem!important; 
        line-height: 80%; 
        text-transform: none;        
            letter-spacing: -5%9
    }
}



.home-page-banner,
.inside-page-banner { 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 0;
}

/* Use dvh first, fallback to vh */
.home-page-banner,
.background-img img {
    min-height: 95dvh !important; /* dynamic viewport height */
    min-height: 95dvh !important;  /* fallback */
    object-fit: cover !important;
}

.inside-page-banner {
    min-height: 500px;
}

.inside-page-banner.contact-us-banner {
    min-height: 250px;
}

.home-page-banner > div,
.inside-page-banner > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 4rem;
}


.home-page-banner .main-content-container > div, .inside-page-banner .main-content-container > div {
	display: flex;
    flex-direction: column!important;
}

/* Dark overlay from bottom to top */
.home-page-banner::after,
.inside-page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%; /* adjust to control how far overlay reaches */
    background: linear-gradient(
        to top,
        rgba(27, 37, 57, 0.95) 0%,   /* dark at bottom */
        rgba(27, 37, 57, 0.6) 40%,   /* medium fade */
        rgba(27, 37, 57, 0) 100%     /* transparent top */
    );
    z-index: 1; 
    pointer-events: none; /
}


.background-img img,
.background-img {
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    z-index: 0;
}

.main-content-container {
	display: flex;
	justify-content: center!important;
}

.main-content-container,
.in-page-banner-content,
.in-page-banner-content-left,
.in-page-banner-content-right,
.z-2 {
  position: relative !important;
  z-index: 2;
}

.main-content-container {
	display: flex;
	justify-content: center;
}

.blog-page-banner,
.inside-page-banner-1,
.inside-page-banner-2,
.inside-page-banner-3,
.in-page-banner-content > div,
.in-page-banner-content-left > div,
.in-page-banner-content-right > div { 
    display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.in-page-banner-wrapper,
.in-page-banner-wrapper-left,
.in-page-banner-wrapper-right {
    position: relative;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
}

.in-page-banner-wrapper {
    justify-content: center;
}

.in-page-banner-wrapper-left {
	justify-content: start;
}

.in-page-banner-wrapper-right {
	justify-content: center;
}

.background-img img,
.background-img,
.in-page-banner-bg img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 600px !important;
	object-fit: cover;
	z-index: 0;
}

.main-content-container,
.in-page-banner-content,
.in-page-banner-content-left,
.in-page-banner-content-right,
.z-2 {
  position: relative;
  z-index: 2;
}

.main-content-container {
	display: flex;
	justify-content: center !important;
}

.blog-page-banner,
.inside-page-banner-1,
.in-page-banner-content > div { 
    align-items: start;
}

.inside-page-banner-1, .inside-page-banner-1 .background-img img {
    min-height: 600px!important;
}

.in-page-banner-content-left > div,
.in-page-banner-content-right > div {
	align-items: start;
}

/* font colors */
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p,
.text-white a,
.text-white {
	color: #ffffff !important;
}

.testimonials-slide .owl-stage-outer .owl-stage {
    display: flex;
    align-items: center;
}

.btn {
    font-size: 16px;
    font-weight: 500;
    text-align: left;
}

.btn-primary, .btn-secondary, .btn-light {
    padding: 12px 32px;
    border-radius: 99px;
    font-weight: 500;
}

/* Mobile (≤767px) → reduce horizontal padding */
@media (max-width: 767px) {
  .btn-primary, .btn-secondary, .btn-light {
      padding: 12px 13px;
  }
}


.btn-light {
    color: #4F7CA5;
}

.btn-tertiary {
    padding: 0;
    background: transparent;
    border: none;
}

.btn-tertiary:hover {
    background: transparent;
    border: none;
}

.btn-dark {
    color:#1B2539;
    padding: 0;

    border: none;
}

.btn-dark:hover {
    color:#1B2539;
    background: transparent;
    border: none;
}

/*min-height*/
.mh-950 {
    min-height: 950px;
}

.mh-850 {
    min-height: 850px;
}

.mh-800 {
    min-height: 800px;
}

.mh-500 {
    min-height: 500px;
}

.mh-500-md-400 {
    min-height: 400px;
}

.mh-400 {
    min-height: 400px;
}

.mh-400-md-200 {
    min-height: 200px;
}

/*alignments*/
.content-center {
    display: flex;
    justify-content: center;
}

.content-center > div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.content-center.lg-left > div {
    align-items: center;
}

.content-end > div {
    display: flex;
    justify-content: end;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/*grids*/
.page-wrapper [class*=wp-container-].grid-four-columns,
.page-wrapper [class*=wp-container-].footer-five-columns {
    gap: 12px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: space-between;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .page-wrapper [class*=wp-container-].footer-five-columns > *:nth-child(1),
  .page-wrapper [class*=wp-container-].footer-five-columns > *:nth-child(2) {
    grid-column: span 2; /* make them full width */
  }
}


.page-wrapper [class*=wp-container-].footer-four-columns {
    justify-content: space-between;
}

.page-wrapper [class*=wp-container-].grid-two-columns {
    gap: 12px !important;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}1

.page-wrapper [class*=wp-container-].grid-two-columns.small-gap {
    gap: 8px !important;
}

.page-wrapper [class*=wp-container-].grid-two-columns.no-gap {
	gap: 0 !important;
}

.page-wrapper [class*=wp-container-].grid-two-columns.no-gap-md,
.page-wrapper [class*=wp-container-].grid-two-columns.gap-60-md-0 {
	gap: 0 !important;
}

.page-wrapper [class*=wp-container-].gap-24-12 {
    gap: 12px !important;
}

.page-wrapper [class*=wp-container-].gap-24 {
    gap: 24px !important;
}

.page-wrapper [class*=wp-container-].gap-24-lg-0 {
    gap: 24px !important;
}


/* two columns no gap */
.page-wrapper [class*=wp-container-].grid-two-columns-no-gap {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0 !important;
}

/* Tablet breakpoint (>=768px) → 2 equal columns */
@media (min-width: 768px) {
    .page-wrapper [class*=wp-container-].grid-two-columns-no-gap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.img-section-bg {
	position: relative;
}

.img-section-bg img {
	position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: auto;
    z-index: 0;
}

/*background*/
.bg-tertiary {
    background-color: #F9F4EB;
}

/*background*/
.bg-faqs {
    background-color: #F0F0F0;
}

.testimonial-container > div {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;

}

.testimonial-item-left {
	height: 100%;
/*     max-height: 500px; */
    display: flex;
    align-items: center;
}

.testimonial-item-left > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Make Owl items align at the start and have equal height */
.custom-testimonial-container .owl-stage {
  display: flex;
  align-items: stretch !important; /* ensures equal height */
  margin-left: 0 !important;
}

.custom-testimonial-container .owl-item {
  display: flex;
  align-items: stretch !important; /* match item heights */
  flex: 1 0 0%; /* equal width */
}

/* Adjust navigation button spacing */
.custom-testimonial-container.owl-carousel.show-nav-title .owl-nav .owl-prev {
  left: -70px;
}

/* Make each testimonial card stretch evenly */
.testimonial-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  height: 100%;
  min-height: 450px;
}

/* Ensure inner content also stretches uniformly */
.testimonial-container > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* distribute text and footer evenly */
  flex: 1;
  height: 100%;
}

/* Wrapper for nav buttons */
/* Shared styles for both navs */
.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.testimonial-nav button {
  width: 60px;
  height: 60px;
  border: 1px solid #B7B6C2;
  border-radius: 50%;
  background: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  color: #1B2539;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-nav button:hover {
  background: #B3945E;
  border-color: #B3945E;
  color: #fff;
}

/* ✅ Desktop & Tablet only */
.desktop-nav {
  display: flex;
}
@media (max-width: 767px) {
  .desktop-nav {
    display: none !important;
  }
}

/* ✅ Mobile only */
.mobile-nav {
  display: none;
}
@media (max-width: 767px) {
  .mobile-nav {
    display: flex !important;
  }
}

/* Shared styles for both buttons */
.testimonial-prev,
.testimonial-next {
  width: 60px; 
  height: 60px;
  border-radius: 50%;      
  border: 1px solid #B7B6C2; 
  background: #fff;         
  color: #1B2539;            
  font-size: 18px;         
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 1;               
  transition: all 0.3s ease;
}

/* Hover effect */
.testimonial-prev:hover,
.testimonial-next:hover {
  background: #B3945E;  /* gold */
  border-color: #B3945E;
  color: #fff;          /* arrow white */
}


.accordion-item, .accordion-button {
    background: transparent !important;
    justify-content:start!important;
}

.accordion-button:not(.collapsed) {
    color: #151414;
    background-color: transparent;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-body {
    padding: 1rem 0;
}

.accordion-body > div {
    color: #3c3d3d;
}

.accordion-header {
	border-bottom: 1px solid #D5D6D7;
}


.footer-wrapper > div {
    display: flex;
    flex-direction: column !important;
}

/*border*/
.border-gradient-full-white {
  position: relative;
}

.border-gradient-full-white::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #575757;
}

/*footer*/
.footer p {
    font-size: 1rem;    
}

.footer-navs {
    background: transparent;
    border: none;
}

.footer-navs ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-navs ul li a {
    border: none !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-transform: capitalize !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
}

.footer-navs ul li:hover {
    background: transparent !important;
    border: none;
}

.footer-navs ul li:hover a, .footer-link:hover {
      color: #B1945C !important;   /* updated */
}

.footer-navs ul li.unlink-tag:hover a {
    color: #ffffff !important;
}

.footer-social-icon {
    background: transparent !important;
}

.footer-social-icon a {
    padding: 0 !important;
}

.footer-navs ul li.text-lowercase a {
    text-transform: lowercase !important;
}

.footer-logo > div {
    display: flex;
    gap: 12px;
}

/* Hide on mobile */
@media (max-width: 768px) {
  .footer-logo > div {
    display: none;
  }
}

/* Force hidden by default (desktop & tablet) */
.footer-logo-mobile {
  display: none !important;
}

/* Show only on mobile */
@media (max-width: 768px) {
  .footer-logo-mobile {
    display: flex !important;
    align-items: center;
  }
}


.footer-wrapper > div {
    display: flex;
    flex-direction: column !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.footer-navs ul .text-transform-none a {
    text-transform: none !important;
}

.w-100-xl-25 {
    width: 100%;
}

.mr-5-cust-1 {
    margin-right: 0;
}

.pr-5-cust-1 {
    padding-right: 0;
}

.text-lg-left-md-center {
    text-align: center !important;
}

.read-more-btn {
    font-size: 12px !important;
}

.show-more-content {
	overflow: hidden;
	height: 145px;
	position: relative;
	transition: height 0.4s ease;
	will-change: height;
}

.show-more-content::after {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 144px;
    content: "";
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
}

.show-more-content.expanded::after,
.show-more-content.nobg::after{
	display: none;
}

.show-more-content > div {
	display: flex !important;
    flex-direction: column !important;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 1rem;
}

.fs-24 .porto-sicon-header p, .fs-24 .porto-sicon-header .porto-sicon-title {
    font-size: 1rem;
}

.porto-sicon-box.fs-24 {
    justify-content: flex-start;
}
/* Target GF select containers */
.contact_us_form .ginput_container_select {
  position: relative;            /* anchor the arrow */
}

/* The custom arrow */
.contact_us_form .ginput_container_select::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;          /* clicks pass through */
  opacity: 0.95;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path fill='white' d='M7 10l5 5 5-5z'/></svg>");
}

/* Make room for the arrow + remove native arrows */
.contact_us_form .ginput_container_select select {
  padding-right: 40px !important;
  background: transparent !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  /* your existing styles can stay: border, color, radius, etc. */
}

/* Hide old Edge/IE arrow */
.contact_us_form .ginput_container_select select::-ms-expand {
  display: none;
}


/* Gravity Forms Placeholders */
.contact_us_form .ginput_container input::placeholder,
.contact_us_form .ginput_container textarea::placeholder,
.contact_us_form .ginput_container select::placeholder {
  font-size: 16px !important;   /* same size as labels */
  color: rgba(255, 255, 255, 0.85); /* keep good contrast */
}

/* Force text input + textarea font size */
.contact_us_form .ginput_container input[type="text"],
.contact_us_form .ginput_container input[type="email"],
.contact_us_form .ginput_container input[type="tel"],
.contact_us_form .ginput_container input[type="number"],
.contact_us_form .ginput_container textarea {
  font-size: 1rem !important;
}


#gform_submit_button_1 {
  display: block;
  width: 100%;
  padding: 16px 32px;       /* increased vertical padding */
  border-radius: 99px;
  font-weight: 600;
  background: #B3945E;
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.4;         /* ensures text is centered vertically */
  cursor: pointer;
  border: none;
  transition: all 0.2s ease-in-out;
}

#gform_submit_button_1:hover {
  background: #a28350;
}

/* Contact Form Section Background - Full Height */
.bg-contact-form {
  position: relative !important;
  background: 
    linear-gradient(to right, rgba(0, 20, 60, 0.8) 0%, rgba(0, 20, 60, 0) 40%),
    url('https://dev.mecurefinance.com.au/wp-content/uploads/2025/09/speak-with-us.jpg') no-repeat center center !important;
  background-size: cover !important;
  min-height: 100vh !important; /* full viewport height */
  width: 100% !important;
  margin: 0 !important; 
  padding: 0 !important;
  z-index: 1 !important;
  display: flex !important;
}

/* ✅ Mobile: swap background (no gradient) */
@media (max-width: 767px) {
  .bg-contact-form {
    background: url('https://dev.mecurefinance.com.au/wp-content/uploads/2025/09/speak-us-mobile-with-gradient.jpg') no-repeat center center !important;
    background-size: cover !important;
  }
}



.contact-info-icon {
    align-items: flex-start !important;
}

.contact-info-icon.address-icon .porto-icon {
    margin-right: 18px;
}

.contact_us_form_wrapper {
    width: 100%;
}

.contact_us_form_wrapper .gform_validation_errors {
    margin-bottom: 24px;
}

.contact_us_form_wrapper .gform_validation_errors .alert {
    margin: 0;
}

.contact_us_form_wrapper .gform_validation_errors .alert .gform_submission_error {
    font-size: 1rem !important;
}

.contact_us_form_wrapper .gform_heading {
    display: none;
}

.contact_us_form .gform_fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact_us_form .gform-field-label {
    font-size: 1rem !important;
     color: #fff;
}

.contact_us_form .ginput_container input,
.contact_us_form .ginput_container textarea,
.contact_us_form .ginput_container select {
    padding: 16px 12px;
    height: 100%;
     border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: transparent;
    color: #fff;
      transition: all 0.2s ease-in-out;
  box-sizing: border-box;
}

.contact_us_form .ginput_container select {
    padding: 8px 12px;
    height: 100%;
}


.contact-form-heading h3 {
    font-size: 1.5rem !important;
    color:#ffff!important;
}


/* Select box styling */
.contact_us_form .ginput_container select {
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  font-size: 1rem!important;
  background-color: transparent; /* transparent background */
  color: #fff;
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='18' width='18' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px; /* space for arrow */
}

/* Style the dropdown list (only works in some browsers) */
.contact_us_form .ginput_container select option {
  background-color: #1a1a1a; /* dark background instead of white */
  color: #fff;               /* white text */
}

#gform_submit_button_1 {
  display: block;            /* makes it behave like a block element */
  width: 100%;               /* full width */
  padding: 12px 18px;
  border-radius: 99px;
  font-weight: 500;
  background: #B3945E;
  font-size: 1rem;
  text-align: center;        /* center the text */
  color: #fff;               /* ensure text is visible */
  cursor: pointer;
  border: none;
}

#gform_1_validation_container {
	margin-bottom: 0;
    padding: 0;
    border: none;
}

#gform_1_validation_container .alert-danger {
    margin: 0;
}

#gform_1_validation_container .alert-danger h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600 !important;
}

.gform-theme--foundation .gform_footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.gform-loader {
	display: flex !important;
	align-self: start !important;
}


.yoast-breadcrumbs, .yoast-breadcrumbs span a,
.breadcrumb a span, .breadcrumb li {
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 1rem !important;
    font-weight: 500 !important;
}

.error-404-navs ul {
    gap: 12px;
}

.error-404-navs ul li a span {
    font-weight: 500;
}

.error-404-navs ul li a:hover {
    color: #e35827 !important;
}

@media (min-width: 536px) {
    .h-cricle em:before {
        width: 390px;
        height: 86px;
        display: block;
    }
    
    .h-cricle-2 em:before {
        width: 284px;
        height: 78px;
        display: block;
    }
}

@media (min-width: 768px) {
    .home-page-banner { 
	    padding-bottom: 3rem;
    }
    
    .home-page-banner, .background-img img {
        height: 600px!important;
        position: relative;
        min-height: 92vh;
    }
    
.in-page-banner-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  min-height: 600px; /* full viewport height */
}

/* Make image cover entire wrapper */
.in-page-banner-bg img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 600px!important;
  object-fit: cover; /* keeps aspect ratio & fills wrapper */
  z-index: 0;
}

/* Target heading inside in-page-banner-content */
.in-page-banner-content .porto-heading {
  text-align: start !important;
  margin-left: 0;   /* reset any centering margins */
  justify-content: flex-start; /* if flex-based */
}



.in-page-banner-content {
  position: absolute;       /* overlay on the image */
  inset: 0;                 /* full cover */
  display: flex;            /* enable flexbox */
  flex-direction: column;   /* vertical stack */
  justify-content: flex-end!important;/* push content down */
  align-items: flex-start;  /* keep left aligned */
  padding: 20px;            /* adjust spacing */
  z-index: 2;
}

.in-page-banner-content > div {
  display: flex;
  flex-direction: column;
  gap: 12px; /* space between heading, paragraph, and button */
}

.in-page-banner-content a.contact-link-white {
  align-self: flex-start; /* ⬅️ makes sure button never centers */
}

	
	.page-wrapper [class*=wp-container-].grid-four-columns {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	
	.page-wrapper [class*=wp-container-].gap-24-12 {
		gap: 24px !important;
	}
	
  .page-wrapper [class*=wp-container-].footer-five-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
	.w-100-xl-25 {
        width: 75%;
    }
    
    .h-cricle em:before {
        width: 422px;
        height: 92px;
    }
    
    .h-cricle-2 em:before {
        width: 322px;
        height: 86px;
    }
    
     .clip-a-inverse {
        padding-top: 12rem !important;
    }
    
    .clip-a-2 {
        clip-path: ellipse(176% 96% at top);
        
    }
}

@media (min-width: 992px) {
    .page-wrapper [class*=wp-container-].grid-two-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-wrapper [class*=wp-container-].grid-two-columns.no-gap-md {
	    gap: 24px !important;
	}
	
	.page-wrapper [class*=wp-container-].grid-two-columns.gap-60-md-0 {
	    gap: 60px !important;
	}
	
    .page-wrapper [class*=wp-container-].footer-five-columns {
        grid-template-columns: repeat(5, 1fr);
	}
	
	.page-wrapper [class*=wp-container-].gap-24-lg-0 {
        gap: 0 !important;
    }
	
	.h-cricle em:before {
        width: 524px;
        height: 104px;
    }
    
   .h-cricle-2 em:before {
        width: 360px;
        height: 92px;
    }
    
    
    .mh-500-md-400 {
        min-height: 500px;
    }
    
    .mh-400-md-200 {
        min-height: 200px;
    }
    
    .pt-lg-0 {
        padding-top: 0 !important;
    }
    
    .text-lg-left-md-center {
        text-align: left !important;
    }
    
    .content-center.lg-left > div {
        align-items: start;
    }

    .testimonial-container > div {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }
    
    
    .image-overlay-bottom-dark::after {
        background: linear-gradient(0, #4F7CA5 8%, rgba(79, 124, 165, 0.00) 70%);
    }
    
    .inside-page-banner {
        min-height: 700px;
    }
    
    .inside-page-banner.contact-us-banner {
        min-height: 500px;
    }
    
    .inside-page-banner.contact-us-banner > div {
    	padding-bottom: 4rem;
    }
    
    .clip-b {
        clip-path: ellipse(95% 100% at bottom);
        padding-top: 6rem;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px)  {
    
}

@media (min-width: 1199px) {
    .page-wrapper [class*=wp-container-].grid-four-columns {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	
	.desktop-menu {
        display: grid !important;
        grid-template-columns: 1.2fr 3.6fr 1.2fr !important;
    }
	
	.menu-section-2 {
	    display: flex;
	}
	
	.menu-section-3 .btn-contact-header {
	    display: block !important;
	}
	
	.menu-section-3 .mobile-toggle,
	.show-after-1200 {
	    display: none !important;
	}
	
	.custom-logo-link img {
        width: 150px;
    }
    
}

@media (min-width: 1164px) {
    
}

@media (min-width: 1399px) {
	.home-page-banner { 
	    padding-bottom: 0;
    }
    
    .home-page-banner .main-content-container > div, .inside-page-banner .main-content-container > div {
        flex-direction: row;
    }
    
    .home-banner-bottom-dark::after {
        background: linear-gradient(0, #4F7CA5 8%, rgba(79, 124, 165, 0.00) 50%);
        z-index: 1;
    }
    
  .page-wrapper [class*=wp-container-].footer-five-columns {
        grid-template-columns: 20% 20% 20%% 20% 20%;
	}
	
	.w-100-xl-25 {
        width: 25%;
    }
    
    .mr-5-cust-1 {
        margin-right: 3rem;
    }
    
    .pr-5-cust-1 {
        padding-right: 3rem;
    }

    .image-overlay-bottom-dark::after {
        background: linear-gradient(0, #4F7CA5 8%, rgba(79, 124, 165, 0.00) 50%);
    }
}


/* ===== GRID THREE COLUMNS ===== */
.page-wrapper [class*=wp-container-].grid-three-columns {
    gap: 32px !important;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Tablet (≥768px) → 2 columns */
@media (min-width: 768px) {
  .page-wrapper [class*=wp-container-].grid-three-columns {
      grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* Desktop (≥992px) → 3 columns */
@media (min-width: 992px) {
  .page-wrapper [class*=wp-container-].grid-three-columns {
      grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.nav-logo {
  width: 170.44px!important;   /* rounded from 170.4409942626953 */
  height: 60px!important;
  position: relative; /* needed for top offset */

}



/* Default (mobile-first): 1 column */
.page-wrapper [class*=wp-container-].grid-four-columns {
    gap: 24px !important;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Tablet ≥ 768px: 2 columns */
@media (min-width: 768px) {
    .page-wrapper [class*=wp-container-].grid-four-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Large desktop ≥ 1399px: 4 columns */
@media (min-width: 1399px) {
    .page-wrapper [class*=wp-container-].grid-four-columns {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}



/* Default (mobile-first): 1 column */
.page-wrapper [class*=wp-container-].grid-five-columns {
    gap: 24px !important;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Tablet ≥ 768px: 2 columns */
@media (min-width: 768px) {
    .page-wrapper [class*=wp-container-].grid-five-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Desktop ≥ 1199px: 3 columns */
@media (min-width: 1199px) {
    .page-wrapper [class*=wp-container-].grid-five-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Large desktop ≥ 1399px: 5 columns */
@media (min-width: 1399px) {
    .page-wrapper [class*=wp-container-].grid-five-columns {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}


.break-lg { display: inline; }
@media (min-width: 992px) {
  .break-lg { display: block; }
}

/* Default (mobile) → force break */
.break-sm {
  display: block;
}

/* Tablet and up (≥768px) → inline again */
@media (min-width: 768px) {
  .break-sm {
    display: inline;
  }
}


/* ✅ Mobile container with 12px left/right padding */
.mobile-container {
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .mobile-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* 2 Col Gold with Icon Background */
.bg-finance-right {
  background: url('https://dev.mecurefinance.com.au/wp-content/uploads/2025/09/Image-Background.svg') no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.bg-finance-left {
  background: url('https://dev.mecurefinance.com.au/wp-content/uploads/2025/09/Image-Container.svg') no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 1;
}

/* ✅ Mobile Override (≤767px) */
@media (max-width: 767px) {
  .bg-finance-left {
    background: url('https://dev.mecurefinance.com.au/wp-content/uploads/2025/09/Image-Container-1.svg') no-repeat center center !important;
    background-size: cover !important;
  }

  .bg-finance-right {
    background: url('https://dev.mecurefinance.com.au/wp-content/uploads/2025/09/Image-Container-1.svg') no-repeat center center !important;
    background-size: cover !important;
  }
}


/* Loan Section Background */
.bg-loan {
  background: url('https://dev.mecurefinance.com.au/wp-content/uploads/2025/09/dark-blue-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 6rem 0; /* vertical spacing */
  position: relative;
  z-index: 1;
}

/* ✅ Mobile: swap background */
@media (max-width: 767px) {
  .bg-loan {
    background: url('https://dev.mecurefinance.com.au/wp-content/uploads/2025/09/image-background-dark-icon.svg') no-repeat center center;
    background-size: cover;
  }
}

/* Optional overlay if you want to darken the bg */
.bg-loan::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25); /* adjust opacity */
  z-index: -1;
}

/* Layout */
.loan-section .wp-block-columns {
  display: flex;
  align-items: left;
  justify-content: space-between;
  gap: 2rem;
}

.loan-section .wp-block-column {
  flex: 1;
}

/* Left side */
.small-heading {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  color: #fff;
}

.loan-title {
  font-size: 2.25rem;   /* bumped for balance */
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}


.home-button {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center !important;
  background-color: #B3945E; /* gold background */
  color: #1B2539;           /* dark text */

  border-radius: 99px;
  display: inline-block;
  transition: color 0.3s ease;
}

.home-button:hover {
  color: #ffffff !important;   /* turn text white */

}


/* Right side */
.loan-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 1.5rem;
}

.porto-paragraph {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;       /* Regular */
  font-style: normal;     /* Regular style */
  font-size: 1rem;        /* Body size */
  line-height: 150%;      /* 1.5 spacing */
  letter-spacing: 0;      /* Normal tracking */
}


.loan-link {
  display: flex;
  align-items: left!important;
  font-weight: 600 !important;
  border-bottom: 1px solid currentColor !important;
  padding-bottom: 2px !important;
  text-decoration: none !important;
  color: #fff !important;
  background: transparent !important;
  border-radius: 0 !important;
  display: inline-block !important;
  width: auto !important;
  min-width: unset !important;
  transition: color 0.3s ease, border-color 0.3s ease !important;
    font-size:re!important;
}

.loan-link:hover {
  color: #B1945C !important;   /* Finance Gold */
  border-color: #B1945C !important;
  background: transparent !important;

}


/* Responsive */
@media (max-width: 992px) {
  .loan-section .wp-block-columns {
    flex-direction: column;
    text-align: left;
  }
  .loan-section .wp-block-column {
    width: 100%;
  }
  .small-heading {
    margin: 0 auto 1rem;
  }
}


/* === Help Divider Strip === */
.help-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

/* Heading left */
.help-divider h2,
.help-divider .help-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1B2539;
  white-space: nowrap; /* keep on one line */
}

/* Separator in middle */
.help-divider hr,
.help-divider .wp-block-separator {
  flex: 1 1 auto !important;
  height: 1px !important;
  background: linear-gradient(90deg, #9CA9B6 0%, #E8EDF2 100%) !important;
  border: none !important;
  margin: 0 !important;
}

/* Right link */
.help-divider p,
.help-divider .help-link {
  margin: 0 !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.help-divider p a,
.help-divider .help-link a {
  display: inline-flex !important;
  align-items: center !important;
  gap: .4rem !important;
  text-decoration: none !important;
  color: #1B2539 !important;
  font-weight: 600 !important;
}

.help-divider p a::after,
.help-divider .help-link a::after {
  content: "›";
  transform: translateX(0);
  transition: transform .2s ease;
}

.help-divider p a:hover,
.help-divider .help-link a:hover {
  color: #B1945C !important;
}

.help-divider p a:hover::after,
.help-divider .help-link a:hover::after {
  transform: translateX(3px);
}
@media (min-width: 992px) {
 /* basic info content */
	.basic-info-content > div {
		flex-direction: row !important;
	}
	
	.basic-info-content div > .basic-info-left {
		width: 40% !important;
	}

	.basic-info-content div > .basic-info-right {
		width: 50% !important;
	}

/*paddings*/
.py-cust-5 {
    padding-top: 45px;
    padding-bottom: 45px;
}

.pt-cust-5 {
    padding-top: 45px;
}

.pb-cust-5 {
    padding-bottom: 45px;
}
}


/*backgrounds*/
.bg-primary {
    background-color: #B3945E !important;
    color: #ffffff !important;
}


.bg-gray-section {

  background: #F0F0F0;

}

/* Section Wrapper */
.bg-gradient-gray {
  position: relative;
  background: #F0F0F0;
  overflow: visible;
  z-index: 0;
}

/* Gradient Overlay - Desktop & Tablet (left → right) */
.bg-gradient-gray::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(
    to right,
    rgba(240, 240, 240, 1) 0%,
    rgba(240, 240, 240, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
/* Gradient Overlay - Desktop & Tablet (right → left) */
.bg-gradient-gray-rtl::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;   /* ✅ anchor to the right */
  bottom: 0;
  width: 40%;
  background: linear-gradient(
    to left,                                /* ✅ direction flipped */
    rgba(240, 240, 240, 1) 0%,              /* solid gray on right */
    rgba(240, 240, 240, 0) 100%             /* transparent towards left */
  );
  z-index: 1;
  pointer-events: none;
}


/* ✅ Mobile: Gradient bottom → top */
@media (max-width: 767px) {
  .bg-gradient-gray::after {
    top: auto;         /* reset */
    left: 0;
    bottom: 0;
    width: 100%;       /* full width */
    height: 40%;       /* control height of fade */
    background: linear-gradient(
      to top,
      rgba(240, 240, 240, 1) 0%,    /* solid gray at bottom */
      rgba(240, 240, 240, 0) 100%   /* transparent at top */
    );
  }
}

/* ✅ Mobile: Gradient bottom → top (applies to both) */
@media (max-width: 767px) {
  .bg-gradient-gray::after,
  .bg-gradient-gray-rtl::after {
    top: auto;        /* reset */
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;      /* full width */
    height: 40%;      /* control height of fade */
    background: linear-gradient(
      to top,
      rgba(240, 240, 240, 1) 0%,   /* solid gray at bottom */
      rgba(240, 240, 240, 0) 100%  /* transparent at top */
    );
  }
}

/* Content stays on top */
.bg-gradient-gray .content-wrapper {
  position: relative;
  z-index: 2 !important;
}



/* WHITE VARIANT */
.contact-link-white {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between text and arrow */
  font-weight: 600;
  color: #ffffff !important; /* white text */
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link-white::after {
  content: '›'; /* arrow */
  font-size: 1rem;
  transition: color 0.3s ease;
}

.contact-link-white::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #B1945C; /* gold */
  transition: width 0.3s ease;
}

.contact-link-white:hover {
  color: #B1945C !important;
}

.contact-link-white:hover::before {
  width: 100%;
}

.contact-link-white:hover::after {
  color: #B1945C; /* arrow turns gold on hover */
}

/* Hide on mobile */
@media (max-width: 767px) {
  .mobile-hidden-block-cta {
    display: none !important;
  }
}

/* Hide on mobile + tablet */
/*@media (max-width: 1024px) {*/
/*  .mobile-hidden-block-cta {*/
/*    display: none !important;*/
/*  }*/
/*}*/



/* DARK VARIANT */
.contact-link-dark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #1B2539 !important; /* dark navy */
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link-dark::after {
  content: '›';
  font-size: 1rem;
  transition: color 0.3s ease;
}

.contact-link-dark::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #B1945C; /* gold */
  transition: width 0.3s ease;
}

.contact-link-dark:hover {
  color: #B1945C !important;
}

.contact-link-dark:hover::before {
  width: 100%;
}

.contact-link-dark:hover::after {
  color: #B1945C;
}

/* basic info content */
.basic-info-content > div {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
}

.basic-info-content div > .basic-info-left,
.basic-info-content div > .basic-info-right {
    width: 100% !important;
}

.basic-info-content div > .basic-info-left > div,
.basic-info-content div > .basic-info-right div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
}

.basic-info-content div > .basic-info-right.center-items div {
    align-items: center !important;
    justify-content: center !important;
}

.basic-info-content div > .basic-info-right.no-gap div {
    gap: 0 !important;
    justify-content: flex-start !important;
}

.basic-info-content div > .basic-info-right {
	display: flex !important;
	justify-content: flex-end !important;
}

.basic-info-content div > .basic-info-right.no-gap {
    justify-content: flex-start !important;
}

.basic-info-right.pop-up-img {
    position: relative !important;
}


/* ===== Services Section ===== */
.services-section {
    padding: 60px 0;
}

/* Left Heading */
.services-heading {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1B2539 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

/* Add underline (optional) */
.services-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #B1945C; /* gold */
    margin-top: 8px;
}

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

/* Dark overlay */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    transition: background .3s ease;
}

/* Content overlay */
.service-card .service-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: #fff;
}

.service-card .service-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff !important;
}

.service-card .service-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #fff !important;
}

.service-card .service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff !important;
    border-bottom: 1px solid #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card:hover .service-link {
    color: #B1945C !important;
    border-color: #B1945C !important;
}


.clickable-image a, a.clickable-image {
  overflow: hidden;
  display: inline-block;
}

.clickable-image a img, a.clickable-image img {
  transition: transform 0.3s ease;
}

.clickable-image:hover a img, a.clickable-image:hover img {
  transform: scale(1.1);
}


/* Fullscreen Hero */
.hero-section {
  min-height: 100vh; /* full viewport height */
  display: flex;
  align-items: center;    /* vertically center */
  justify-content: flex-start; /* content to the left */
  padding: 60px;          /* spacing from edges */
  background: url('https://dev.mecurefinance.com.au/wp-content/uploads/2025/09/speak-with-us.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  color: #fff;
}

/* Dark overlay */
/*

/* Content sits above overlay */
.hero-section > * {
  position: relative;
  z-index: 1;
  max-width: 500px; /* keeps content from stretching too wide */
}

/* Form styling */
.hero-section input,
.hero-section select,
.hero-section textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
}

.hero-section input::placeholder,
.hero-section textarea::placeholder {
  color: #ddd;
}

.hero-section button,
.hero-section .wp-block-button__link {
  background: #B1945C;
  border: none;
  padding: 14px 20px;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-section button:hover,
.hero-section .wp-block-button__link:hover {
  background: #a1834e;
}


.custom-testimonial-container .owl-item {
    flex: 1 0 0%; /* ✅ makes all items equal width */
    display: flex;
    align-items: stretch;
}

.custom-testimonial-container .testimonial-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* Default style */
.custom-testimonial-container .owl-item {
  background: #fff;
  border: 2px solid #B7B6C2;
  color: #000; /* normal text */
  transition: all 0.3s ease;
  width:auto!important;
}

.custom-testimonial-container .owl-item img {
  filter: none;
  transition: filter 0.3s ease;
}

/* Active Centered Item */
.custom-testimonial-container .owl-item.center {
  background: #B3945E !important; /* gold background */
  border-color: #B3945E !important;
  color: #fff !important; /* text turns white */
}

/* Make all text inside turn white */
.custom-testimonial-container .owl-item.center * {
  color: #fff !important;
}

/* Invert images/icons inside the active item */
.custom-testimonial-container .owl-item.center img {
  filter: brightness(0) invert(1); /* makes icons/images white */
}



.custom-testimonial-item {
    height: 100%;
    min-height: 450px;
    width:100%!important;

}

.custom-testimonial-item > div {
    display: flex;
    flex-direction: column;
    height: 100%;
   
    justify-content: space-around!important;
}

.custom-testimonial-item .testimonial-comment-section > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.d-flex-space-in-between {
    display: flex !important;
    justify-content: space-evenly;
}

.accordion-button {
  color: #151414;
  font-weight: 600;
  font-size: 1rem !important;
  line-height: 1.4;        /* more natural line spacing */
  padding: 0.5rem 0rem; /* reduce padding to lessen overall height */
}

/* Hover / Focus styles */
.accordion-button:hover,
.accordion-button:focus {
  color: #B3945E !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
}


.accordion-button::after {
    background-image: url(https://www.forteinnumbers.com.au/wp-content/uploads/2025/08/material-symbols_open_icon.svg);
}

.accordion-button:not(.collapsed)::after {
	background-image: url(https://www.forteinnumbers.com.au/wp-content/uploads/2025/08/material-symbols_close_icon.svg);
}

.accordion-button:not(.collapsed) {
    color: #151414;
    background-color: transparent;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.custom-accordion {
    gap: 12px;
    display: flex;
    flex-direction: column;
}

/* Grid layout */
.custom-faq-grid {
  display: grid !important;
  gap: 1.5rem !important;
  align-items: start !important;
  justify-content: start !important;
}

/* Mobile: force single column */
@media (max-width: 767.98px) {
  .custom-faq-grid {
    grid-template-columns: 1fr !important;
  }

  /* Hide FAQ items after the 6th one in faq1 */
  .custom-faq-grid .faq-mobile-hidden {
    display: none;
  }

  .custom-faq-grid.faq-expanded .faq-mobile-hidden {
    display: block;
  }

  /* ✅ Force-hide faq2 and faq3 by default on mobile */
  #accordionFlushExample_faq2.custom-faq-grid,
  #accordionFlushExample_faq3.custom-faq-grid {
    display: none !important;
  }

  /* ✅ Show faq2 and faq3 when JS toggles .is-visible */
  #accordionFlushExample_faq2.custom-faq-grid.is-visible,
  #accordionFlushExample_faq3.custom-faq-grid.is-visible {
    display: grid !important;
  }
}

/* Tablet/Desktop: auto columns */
@media (min-width: 768px) {
  .custom-faq-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  }

  .faq-mobile-hidden {
    display: block !important;
  }

  /* ✅ faq2 and faq3 always visible on desktop */
  #accordionFlushExample_faq2,
  #accordionFlushExample_faq3 {
    display: grid !important;
  }
}


/* Mobile only spacing for contact section */
@media (max-width: 767px) {
  .contact-us-spacing-gap {
    margin-top: 336px !important;
  }
}

.testimonial-text {
  position: relative;
  max-height: 160px; /* collapse height */
  overflow: ;
  text-align: left;
  transition: max-height 0.5s ease;
  padding-bottom: 0; /* no overlap space needed */
}

/* When expanded */
.testimonial-text.expanded {
  max-height: 1000px;
}

/* See More button inline under text */
.see-more-btn {
  display: block;
  margin-top: 10px; /* space between text and button */
  background: none;
  border: none;
  color: #b3945e;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  text-decoration: none;
}

/* disable hover underline */
.see-more-btn:hover {
  text-decoration: none;
}


/* Default: mobile first */
.left-show-desktop {
  display: none!important;              /* hidden on mobile & smaller */
}
.right-show-mobile {
  display: block!important;             /* visible on mobile & smaller */
}

/* iPad (768px) and up: show LEFT, hide RIGHT */
@media (min-width: 768px) {
  .left-show-desktop { display: block!important; }   /* desktop, iPad, iPad Pro */
  .right-show-mobile { display: none!important; }
}




/* Style all Gravity Form confirmation messages (force override) */
.gform_confirmation_message {
    background-color: #f0fff4 !important;
    border: 2px solid #38a169 !important;
    color: #2f855a !important;
    padding: 20px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    text-align: center !important;
    animation: fadeIn 0.5s ease-in-out !important;
}

/* Style specifically for Form ID 1 */
.gform_confirmation_message_1 {
    background-color: #ebf8ff !important;
    border-color: #3182ce !important;
    color: #2b6cb0 !important;
}

/* Optional animation */
@keyframes fadeIn {
    from { opacity: 0 !important; transform: translateY(10px) !important; }
    to { opacity: 1 !important; transform: translateY(0) !important; }
}


