/*
 Theme Name:  Divi Child Theme Custom CSS
 Theme URI:    https://divilife.com
 Description:  Child Theme for Divi
 Author:       Ryan Short
 Author URI:   https://divilife.com
 Template:     Divi
 Version:      1.0.0
*/

/* PLACE ALL CUSTOM CSS WITHIN THIS STYLESHEET */

.et_pb_number_counter.et_block_module.et_pb_with_title .percent, div.percent {
    margin-bottom: -20px !important;
}

/* mobile submenu accordions */
@media only screen and (max-width: 980px) {

  .et_mobile_menu li.menu-item-has-children {
    position: relative;
  }

  .et_mobile_menu li.menu-item-has-children > a {
    padding-right: 55px;
  }

  .et_mobile_menu .submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    z-index: 10;
    appearance: none;
    -webkit-appearance: none;
  }

  .et_mobile_menu .submenu-toggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -65%) rotate(45deg);
    transition: transform 0.25s ease;
    pointer-events: none;
  }

  .et_mobile_menu .submenu-toggle[aria-expanded="true"] span {
    transform: translate(-50%, -35%) rotate(225deg);
  }

  .et_mobile_menu .submenu-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
  }
}

/* prevent divi animations to allow lottie animations to work properly */
/* .et_pb_section .et_pb_module, .et_animated {
    animation-name: none !important;
    -webkit-animation-name: none !important;
    opacity: 1 !important;
    transform: translate3d(0px, 0px, 0px) !important;
}
 */

div.percent span{
	font-size: 56px !important;
}

div.et_pb_number_counter{
	margin-bottom: 0 !important;
}

div.et_pb_number_counter div.et_pb_text{
	margin-top: 0 !important;
}


body h1,
h2.gelica-font:has(span){
	font-size: 42px !important;
}

body h2{
	font-size: 34px !important;
}

body h3{
	font-weight: bold !important;
	font-size: 20px !important;
}



body p:not(footer p),
body li{
	font-size: 18px !important;
}

body div.razz-accordion-list label{
	font-size:20px;
}

@media screen and (max-width:980px){
	body h1{
	    font-size: 32px !important;
    }
}



body.single ul{
	padding-left: 3em !important;
}

body.single ul li{
	margin-bottom: 10px !important;
}



/* prevent overflow due to the large number of sliders/carousels */
div#page-container{
	overflow-x: hidden !important;
}

/* category hero animation */
div.hero-category-anim svg{
	width: 160% !important;
	margin-left: -30% !important;
}


@media screen and (max-width:980px){
	div#hero-banner-row{
		flex-direction: column-reverse !important;
	}
}

/* Circular logo animation */
.circular-logo-loop {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.circular-logo-loop svg {
  display: block;
  width: 100%;
  height: auto;
}

/* apartment animation */
.apartment-panel {
  display: none;
}

.apartment-panel.is-active {
  display: block;
}

.apartment-panel h2,
.apartment-panel span{
	font-size:42px;
	line-height: 60px;
}


span.orange-oval{
  border-radius: 35px;
  padding: 6px 15px;
  color: white;
  white-space: nowrap;
}

span.orange-oval{
  background: #F79520;
}

.apartment-nav-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 35px;
  justify-content: center;
}

.apartment-arrow-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid #ff8f0f;
  border-radius: 50%;
  background: transparent;
  color: #ff8f0f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

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


div#apartment-lottie svg{
	width:115% !important;
}



@media screen and (max-width: 980px){
	div.apartment-nav-buttons{
		justify-content: center !important;
	}
	div.apartment-intro-panel h2{
		text-align: center !important;
	}
}


.apartment-arrow-btn svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apartment-arrow-btn:hover {
  background: #ff8f0f;
  color: #ffffff;
  transform: translateY(-2px);
}

.apartment-arrow-btn:focus {
  outline: none;
}

.apartment-arrow-btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 143, 15, 0.25);
}

.apartment-arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.apartment-panel-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.apartment-panel {
  opacity: 0;
  visibility: hidden;

  position: absolute;
  inset: 0;

  width: 100%;
  min-width: 0;
  box-sizing: border-box;

  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.apartment-panel.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.apartment-card {
  width: 100%;
  max-width: 520px;
  min-width: 0;
  box-sizing: border-box;

  padding: 30px 34px 32px;

  background: #ffffff;
  border: 4px solid #65cf28;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.apartment-card h3 {
  margin: 0 0 14px;

  color: #000000;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 700;
}

.apartment-card p {
  margin: 0 0 22px;

  color: #6a6a6a;
  font-size: 18px;
  line-height: 1.75;
}

.apartment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin: 0 0 24px;
  padding: 0 0 25px !important;

  list-style: none !important;
}

.apartment-tags li {
  padding: 7px 13px;

  border: 1.203px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;

  color: #333333;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.apartment-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 12px 22px;
  margin: 18px 0 0;
  padding-top: 14px;

  border-top: 1px solid #cfcfcf;
}

.apartment-brand-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.apartment-brand-row img {
  display: block;

  width: auto;
  height: auto;
  max-width: 135px;
  max-height: 44px;
}

.apartment-card a.midnight-btn {
  display: flex;
  max-width: 100%;
  box-sizing: border-box;

  margin: 0 auto;

  text-align: center !important;
  white-space: normal;
}

.apartment-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 10px 22px;
  box-sizing: border-box;

  border-radius: 999px;
  background: #ff8f0f;

  color: #ffffff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;

  transition: transform 0.2s ease, background 0.2s ease;
}

.apartment-card-btn:hover {
  background: #e97f08;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Individual card border colors */

.apartment-card-marketing {
  border-color: #65cf28;
}

.apartment-card-risk {
  border-color: #8d51ff;
}

.apartment-card-insurance {
  border-color: #0058f6;
}

.apartment-card-property {
  border-color: #1abce8;
}

.apartment-card-operations {
  border-color: #f2c751;
}

.apartment-card-talent {
  border-color: #f92dab;
}



  .apartment-card h3 {
    font-size: 34px !important;
    overflow-wrap: anywhere;
  }

@media (max-width: 980px) {
  .apartment-panel-wrap,
  .apartment-panel,
  .apartment-panel.is-active {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .apartment-card {
    /* Leaves 20px of space on each side of the viewport */
    width: calc(100vw - 40px) !important;
    max-width: 520px !important;
    min-width: 0 !important;

    margin-right: auto !important;
    margin-left: auto !important;
    padding: 16px 14px;

    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* Prevent card contents from forcing the card wider */
  .apartment-card * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .apartment-card h3 {
    font-size: 24px !important;
    overflow-wrap: anywhere;
  }

  .apartment-card p {
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .apartment-tags {
    width: 100%;
    min-width: 0;
  }

  .apartment-tags li {
    min-width: 0;
    max-width: 100%;

    white-space: normal;
    overflow-wrap: anywhere;
  }

  .apartment-card a.midnight-btn {
    max-width: 100% !important;
    min-width: 0 !important;

    margin-right: auto !important;
    margin-left: auto !important;

    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.3;
  }

  .apartment-brand-row {
    width: 100%;
    min-width: 0;
  }

  .apartment-brand-row a,
  .apartment-brand-row img {
    min-width: 0;
    max-width: 100%;
  }
}

/* home hero animation */
.home-hero-anim {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.home-hero-anim svg,
.home-hero-anim canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
}


/* Home new releases carousel */
.glass-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    background: transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.12);
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

/* home logo carousel */
div.home-logo-carousel img{
	opacity: 0.8;
}


.logo-carousel-group img{
 opacity:0.8 !important;
 filter: grayscale(1) !important;
}

.logo-carousel {
  width: 100%;
  overflow: hidden;
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.logo-carousel-track {
  display: flex;
  width: max-content;
  animation: logo-carousel-scroll 28s linear infinite;
  will-change: transform;
}

.logo-carousel-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 80px;
  padding-right: 80px;
}

.logo-carousel-group img {
  display: block;
  width: auto;
  height: 55px;
  max-width: 190px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-carousel:hover .logo-carousel-track {
  animation-play-state: paused;
}

@keyframes logo-carousel-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Slightly smaller logos and gaps on mobile */
@media (max-width: 767px) {
  .logo-carousel {
    padding: 18px 0;

    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%
    );

    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%
    );
  }

  .logo-carousel-track {
    animation-duration: 22s;
  }

  .logo-carousel-group {
    gap: 45px;
    padding-right: 45px;
  }

  .logo-carousel-group img {
    height: 42px;
    max-width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-carousel-track {
    animation-play-state: paused;
  }
}


/* carousel arrow button overrides */

body.home span.et_pb_group_carousel_arrow span.et-pb-icon{
    background: rgb(255, 255, 255, .10) !important;
    border-radius: 50% !important;
    padding: 7px !important;
	color: white !important;
}


/* background scroll animations */
.lottie-scroll-bg {
  position: relative;
  overflow: hidden;
}

.lottie-scroll-bg .et_pb_row {
  position: relative;
  z-index: 2;
}

.background-anim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.background-anim svg,
.background-anim canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}


/* gradient background animation */

div.mesh-gradient-bg{
	background: black !important;
}

.mesh-gradient-bg {
  position: relative;
  overflow: hidden;
}

.mesh-gradient-bg .et_pb_row {
  position: relative;
  z-index: 2;
}

.mesh-gradient-anim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.mesh-gradient-anim svg,
.mesh-gradient-anim canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
/* .css-mesh-bg {
  position: relative;
  overflow: hidden;
  background: #07183f;
}

.css-mesh-bg::before,
.css-mesh-bg::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.css-mesh-bg::before {
  z-index: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 157, 26, 0.9) 0%, rgba(255, 157, 26, 0.25) 18%, rgba(255, 157, 26, 0) 36%),
    radial-gradient(circle at 78% 18%, rgba(170, 92, 255, 0.95) 0%, rgba(170, 92, 255, 0.35) 22%, rgba(170, 92, 255, 0) 45%),
    radial-gradient(circle at 25% 78%, rgba(0, 95, 255, 0.9) 0%, rgba(0, 95, 255, 0.4) 24%, rgba(0, 95, 255, 0) 48%),
    radial-gradient(circle at 82% 82%, rgba(0, 180, 190, 0.85) 0%, rgba(0, 180, 190, 0.3) 20%, rgba(0, 180, 190, 0) 42%),
    radial-gradient(circle at 10% 58%, rgba(225, 33, 148, 0.8) 0%, rgba(225, 33, 148, 0.28) 24%, rgba(225, 33, 148, 0) 48%),
    linear-gradient(135deg, #07183f 0%, #061139 45%, #020814 100%);
  filter: blur(34px);
  transform: scale(1.08);
  animation: meshGradientDrift 4s ease-in-out infinite alternate;
}

.css-mesh-bg::after {
  z-index: 1;
  background:
    radial-gradient(circle at 45% 38%, rgba(124, 65, 255, 0.55) 0%, rgba(124, 65, 255, 0.22) 28%, rgba(124, 65, 255, 0) 58%),
    radial-gradient(circle at 72% 58%, rgba(255, 145, 45, 0.45) 0%, rgba(255, 145, 45, 0.18) 22%, rgba(255, 145, 45, 0) 46%),
    radial-gradient(circle at 34% 62%, rgba(0, 10, 35, 0.65) 0%, rgba(0, 10, 35, 0.35) 24%, rgba(0, 10, 35, 0) 52%);
  filter: blur(46px);
  opacity: 0.85;
  transform: scale(1.12);
  animation: meshGradientSwell 5s ease-in-out infinite alternate;
}

.css-mesh-bg .et_pb_row {
  position: relative;
  z-index: 2;
}

@keyframes meshGradientDrift {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1.08);
  }

  50% {
    transform: translate3d(3%, 2%, 0) scale(1.16);
  }

  100% {
    transform: translate3d(-1%, 4%, 0) scale(1.1);
  }
}

@keyframes meshGradientSwell {
  0% {
    transform: translate3d(4%, 3%, 0) scale(1.08) rotate(0deg);
    opacity: 0.75;
  }

  50% {
    transform: translate3d(-3%, -2%, 0) scale(1.22) rotate(3deg);
    opacity: 0.95;
  }

  100% {
    transform: translate3d(2%, -4%, 0) scale(1.14) rotate(-2deg);
    opacity: 0.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .css-mesh-bg::before,
  .css-mesh-bg::after {
    animation: none;
  }
} */

/* Featured brandss carousel */
div.featured-brands-carousel div.et_pb_group_carousel_slide div.et_pb_group div.et_pb_group div.et_pb_group{
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 76px;
}

@media screen and (max-width:980px){
  div.featured-brands-carousel div.et_pb_group_carousel_slide div.et_pb_group div.et_pb_group div.et_pb_group{
    flex-direction: column;
  }
}



/* Category page testimonials */

div.simple-testimonial br{
	display: none !important;
}

.simple-testimonial {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 28px;
  color: #152347;
  text-align: left !important;
}

.simple-testimonial,
.simple-testimonial * {
  box-sizing: border-box;
  text-align: left !important;
}

.simple-testimonial-icon {
  flex: 0 0 88px;
  width: 88px;
  max-width: 88px;
  height: auto;
  display: block;
  margin-top: 4px;
}

.simple-testimonial-content {
  flex: 1;
  min-width: 0;
}

.simple-testimonial-quote {
  margin: 0 !important;
  color: #152347;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.simple-testimonial-border {
  width: 395px;
  max-width: 65%;
  height: 3px;
  margin: 24px 0 20px;
  background: #f5ba00;
}

.simple-testimonial-name {
  color: #152347;
  font-size: 16px !important;
  line-height: 1.25;
  font-weight: 800;
}

p.simple-testimonial-position {
  margin: 0 !important;
  color: #F79520 !important;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
}

/* Helps override extra slider/module spacing */
.simple-testimonial-content p:last-child {
  margin-bottom: 0 !important;
}


.simple-testimonial-caption-logo-container{
  display: flex;
  flex-direction: row;
  gap: 20px;
}


/* div.simple-testimonial-empty-container{
 flex: 0 0 25%;
}

div.simple-testimonial-logo{
 flex: 0 0 30%;
}

div.simple-testimonial-caption-text{
  flex: 0 0 25%;
} */



/* Responsive */
@media (max-width: 700px) {
  .simple-testimonial {
    gap: 20px;
  }

  .simple-testimonial-icon {
    flex-basis: 62px;
    width: 62px;
    max-width: 62px;
  }

/*   .simple-testimonial-quote,
  .simple-testimonial-name,
  .simple-testimonial-position {
    font-size: 21px;
  } */

  .simple-testimonial-border {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .simple-testimonial {
    flex-direction: column;
    gap: 14px;
  }

  .simple-testimonial-icon {
    flex-basis: auto;
    width: 70px;
    max-width: 70px;
    margin-top: 0;
  }
}


@media screen and (max-width:980px){
  body.home p.simple-testimonial-quote{
    font-size: 14px !important;
  }
}






/* Form animation */

div.form-container {
  transition: transform 0.3s ease;
}

div.form-container.shrink-effect {
  transform: scale(0.95) !important;
}



/* footer link color */
footer.et-l--footer a{
	transition: transform all 0.5s !important;
}

footer.et-l--footer a:hover{
	color: #F79520 !important;
}


/* global line height */
html body p{
	line-height: 1.4em !important;
}

sup {
	font-size:.6em;
}

div.center-justify-content{
	display: flex;
	flex-direction: row;
	align-items: center;
}

@media screen and (max-width:980px){
	div.center-justify-content{
	  flex-direction: column;
	  align-items: center;
  }
}

.gelica-font,
div.percent span,
body.single h1.entry-title{
	font-family: "gelica", "sans-serif" !important;
	font-weight: 500 !important;
}


body.page-id-7448 .dmpro_carousel .swiper-dmpro-container .dmpro_carousel_child{
	justify-content: center !important;
}


div.micro-testimonial span.et_pb_testimonial_author{
	border-top: 1px solid #EFB600;
	padding-top: 10px;
}



/* Color Pill Shapes */



span.blue-pill,
h1.blue-pill,
span.dark-blue-pill,
h1.dark-blue-pill,
span.white-pill,
h1.white-pill,
span.green-pill,
h1.green-pill,
span.yellow-pill,
h1.yellow-pill,
span.purple-pill,
h1.purple-pill,
span.pink-pill,
h1.pink-pill,
a.transparent-btn{
	padding: 8px 12px;
  border-radius: 30px;
  font-size: 16px !important;
  color: black;
	font-weight: bold !important;
  display: inline-flex;
}


span.blue-pill,
h1.blue-pill{
  background: #1abce8;

}

span.dark-blue-pill,
h1.dark-blue-pill{
	background: #0058f6;
	color: white;
}

span.white-pill,
h1.white-pill{
  background: white;
}

span.green-pill,
h1.green-pill{
	background: #87cf36;
	color: #122144;
}


span.yellow-pill,
h1.yellow-pill{
	background: #efb600;
	color: #122144;
}

span.purple-pill,
h1.purple-pill{
	background: #8d51ff;
	color: white;
}

span.pink-pill,
h1.pink-pill{
	background:#f92dab;
	color: #122144;
}



/* Category page brand cards */

div.brand-solution-cards div.et_pb_column{
	display: flex;
	flex-direction: column;
}

div.brand-solution-cards-btn,
div.brand-solution-cards-stat{
	margin-top: auto;
}

div.brand-solution-cards div.et_pb_main_blurb_image img{
	min-height: 200px;
	max-height: 200px;
}

div.brand-solution-cards div.et_pb_main_blurb_image{
	margin-bottom: 0 !important;
	width: 100% !important;
}

.brand-solution-cards > .et_pb_column {
  transition: transform 0.3s ease;
  transform-origin: center;
}

.brand-solution-cards > .et_pb_column:hover {
  transform: scale(1.03);
  z-index: 2;
}

/* 
div#association-slider div.dmpro-carousel-main img{
	max-height: 40px !important;
	max-width: 80%;
} */




/* Glass testimonial carousel — home page only */

body.home
.testimonial-slider-container
.et_pb_group_carousel_slide
.et_pb_code {
  height: auto;
}

body.home
.testimonial-slider-container
.et_pb_group_carousel_slide
.et_pb_code_inner {
  width: 100%;
  height: auto;
}

body.home
.testimonial-slider-container
.hero-lottie-wrap {
  display: flex;
  width: 100%;
  height: auto;
  min-width: 0;
}

body.home
.testimonial-slider-container
.glass-card--lottie {
  display: flex;
  align-items: stretch;

  width: 100%;
  min-width: 0;
  height: auto;
  box-sizing: border-box;

  border-radius: 50px;
}

/* Remove unwanted line breaks inserted by Divi */
body.home div.simple-testimonial br {
  display: none !important;
}

/* Main testimonial layout */
body.home .simple-testimonial {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  justify-content: flex-start;
  gap: 28px;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  margin: 0 auto;

  color: #fff;
  text-align: left !important;
}

body.home .simple-testimonial,
body.home .simple-testimonial * {
  box-sizing: border-box;
}

/* Quote icon */
body.home .simple-testimonial-icon {
  display: block;
  flex: 0 0 88px;
  align-self: flex-start;

  width: 88px;
  max-width: 88px;
  height: auto;

  margin-top: 4px;
}

/* Main text column */
body.home .simple-testimonial-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;

  width: 100%;
  min-width: 0;
}

/* Quote */
body.home .simple-testimonial-quote {
  margin: 0 !important;

  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  text-align: left !important;
}

/*
 * Pushes the divider and caption toward the bottom of
 * equal-height desktop cards.
 */
body.home .simple-testimonial-border {
  flex: 0 0 auto;

  width: 100%;
  max-width: 100%;
  height: 3px;

  margin: auto 0 20px;
  background: #f5ba00;
}

/* Caption typography */
body.home .simple-testimonial-name {
  margin: 0 0 5px;

  color: #fff;
  font-size: 16px !important;
  line-height: 1.25;
  font-weight: 800;
}

body.home p.simple-testimonial-position {
  margin: 0 !important;

  color: #f79520 !important;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
}

/* New logo and caption row */
body.home .simple-testimonial-caption-logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;

  width: 100%;
  min-width: 0;
}

/*
 * Three equal columns keep the logo centered across the
 * full content area while the caption remains on the right.
 */
body.home .simple-testimonial-empty-container,
body.home .simple-testimonial-logo,
body.home .simple-testimonial-caption-text {
  flex: 1 1 0;
  min-width: 0;
}

/* Center column */
body.home .simple-testimonial-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.home .simple-testimonial-logo img {
  display: block;

  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 65px;
}

/* Right column */
body.home .simple-testimonial-caption-text {
  text-align: right !important;
}

body.home
.simple-testimonial-caption-text
.simple-testimonial-name,
body.home
.simple-testimonial-caption-text
.simple-testimonial-position {
  text-align: right !important;
}

/* Remove extra Divi paragraph spacing */
body.home .simple-testimonial-content p:last-child {
  margin-bottom: 0 !important;
}

/* Tablet/mobile */
@media screen and (max-width: 980px) {
  /*
   * The JavaScript also removes desktop equal heights here.
   * These rules ensure every wrapper sizes naturally.
   */
  body.home
  .testimonial-slider-container
  .et_pb_group_carousel_slide
  .et_pb_code,
  body.home
  .testimonial-slider-container
  .et_pb_group_carousel_slide
  .et_pb_code_inner,
  body.home
  .testimonial-slider-container
  .hero-lottie-wrap,
  body.home
  .testimonial-slider-container
  .glass-card--lottie {
    height: auto !important;
    min-height: 0 !important;
  }

  body.home
  .testimonial-slider-container
  .glass-card--lottie {
    padding: 24px;
    border-radius: 35px;
  }

  body.home .simple-testimonial {
    gap: 20px;
  }

  body.home .simple-testimonial-icon {
    flex: 0 0 62px;
    width: 62px;
    max-width: 62px;
  }

  body.home p.simple-testimonial-quote {
    font-size: 14px !important;
  }

  /* No automatic bottom spacing on mobile */
  body.home .simple-testimonial-border {
    margin: 24px 0 20px;
  }

  body.home .simple-testimonial-logo img {
    max-width: 180px;
    max-height: 55px;
  }
}

/* Stack the logo and caption */
@media screen and (max-width: 700px) {
  body.home .simple-testimonial-caption-logo-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  body.home .simple-testimonial-empty-container {
    display: none;
  }

  body.home .simple-testimonial-logo,
  body.home .simple-testimonial-caption-text {
    flex: 0 0 auto;
    width: 100%;
  }

  body.home .simple-testimonial-caption-text,
  body.home
  .simple-testimonial-caption-text
  .simple-testimonial-name,
  body.home
  .simple-testimonial-caption-text
  .simple-testimonial-position {
    text-align: center !important;
  }
}

/* Small phones */
@media screen and (max-width: 480px) {
  body.home
  .testimonial-slider-container
  .glass-card--lottie {
    padding: 22px 18px;
    border-radius: 28px;
  }

  body.home .simple-testimonial {
    flex-direction: column;
    gap: 14px;
  }

  body.home .simple-testimonial-icon {
    flex: 0 0 auto;
    width: 70px;
    max-width: 70px;
    margin-top: 0;
  }

  body.home .simple-testimonial-logo img {
    max-width: 170px;
  }
}


body.home .simple-testimonial-logo {
  transform: translateX(-58px);
}

@media screen and (max-width: 980px) {
  body.home .simple-testimonial-logo {
    transform: translateX(-41px);
  }
}

@media screen and (max-width: 700px) {
  body.home .simple-testimonial-logo {
    transform: none;
  }
}


body.home div.testimonial-slider-container .et_pb_group_carousel_arrow.et_pb_group_carousel_arrow_prev{
  position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    left: 45%;
}

body.home div.testimonial-slider-container .et_pb_group_carousel_arrow.et_pb_group_carousel_arrow_next{
      position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    right: 45%;
}

@media screen and (max-width:980px){
  body.home div.testimonial-slider-container .et_pb_group_carousel_arrow.et_pb_group_carousel_arrow_prev{
    left: 40%;
  }

  body.home div.testimonial-slider-container .et_pb_group_carousel_arrow.et_pb_group_carousel_arrow_next{
    right: 40%;
  }
}


@media screen and (max-width:400px){
  body.home div.testimonial-slider-container .et_pb_group_carousel_arrow.et_pb_group_carousel_arrow_prev{
    left: 100px !important;
  }

  body.home div.testimonial-slider-container .et_pb_group_carousel_arrow.et_pb_group_carousel_arrow_next{
    right: 60px !important;
  }
}



/**********************************************************************/

/* custom glass card testimonial slider for home page */
.custom-testimonial-carousel,
.custom-testimonial-carousel * {
  box-sizing: border-box;
}

.custom-testimonial-carousel {
  width: 100%;
  overflow: hidden;
}

.custom-testimonial-viewport {
  width: 100%;
  overflow: hidden;
  padding: 10px 0 18px;
}

.custom-testimonial-track {
  display: flex;
  align-items: stretch;
  gap: 40px;
  width: max-content;
  will-change: transform;
}

/* Glass card */
.custom-testimonial-card {
  position: relative;
  flex: 0 0 72vw;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  padding: 52px 44px 40px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.1);

  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);

  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 55px;

  box-shadow:
    0 18px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);

  color: #ffffff;
}

/* Additional glass highlight */
.custom-testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

/* Quote area */
.custom-testimonial-quote-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
}

.custom-testimonial-quote-icon {
  flex: 0 0 auto;
  display: block;
  width: 55px;
  height: auto;
  margin-top: 4px;
}

.custom-testimonial-quote {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}

/* Full-width divider */
.custom-testimonial-divider {
    width: 100%;
    height: 2px;
    margin: 40px 0 10px;
    background: #f9c900;
}

/* Footer */
.custom-testimonial-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 90px;
  margin-top: auto;
}

/* Centered against the entire card */
.custom-testimonial-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 215px;
  max-width: 26%;
  height: auto;
  transform: translate(-50%, -50%);
}

/* Right-aligned customer details */
.custom-testimonial-details {
  width: 300px;
  max-width: 34%;
  text-align: right;
}

.custom-testimonial-details h3 {
  margin: 0 0 2px;
  padding: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.custom-testimonial-details p {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.3;
}

.custom-testimonial-details .custom-testimonial-customer {
  margin-top: 2px;
  color: #ff991c;
}

/* Navigation */
.custom-testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 58px;
  width: 100%;
  margin-top: 22px;
}

.custom-testimonial-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.custom-testimonial-arrow:hover,
.custom-testimonial-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: scale(1.08);
}

.custom-testimonial-arrow:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* Tablet */
@media screen and (max-width: 1100px) {
  .custom-testimonial-track {
    gap: 28px;
  }

  .custom-testimonial-card {
    flex-basis: 82vw;
    padding: 42px 36px 36px;
    border-radius: 45px;
  }

  .custom-testimonial-logo {
    width: 190px;
  }

  .custom-testimonial-details {
    width: 260px;
    max-width: 38%;
  }

  .custom-testimonial-details h3 {
    font-size: 18px;
  }

  .custom-testimonial-details p {
    font-size: 16px;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .custom-testimonial-track {
    align-items: flex-start;
    gap: 18px;
  }

  .custom-testimonial-card {
    flex-basis: calc(100vw - 40px);
    height: auto;
    align-self: flex-start;
    padding: 34px 24px 30px;
    border-radius: 32px;
  }
  .custom-testimonial-viewport {
    padding-top: 6px;
  }

  .custom-testimonial-track {
    gap: 18px;
  }

  .custom-testimonial-card {
    flex-basis: calc(100vw - 40px);
    padding: 34px 24px 30px;
    border-radius: 32px;
  }

  .custom-testimonial-quote-row {
    flex-direction: column;
    gap: 18px;
  }

  .custom-testimonial-quote-icon {
    width: 48px;
  }

  .custom-testimonial-quote {
    font-size: 16px;
    line-height: 1.4;
  }

  .custom-testimonial-divider {
    margin: 28px 0 24px;
  }

  .custom-testimonial-footer {
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    min-height: 0;
  }

  .custom-testimonial-logo {
    position: static;
    width: 190px;
    max-width: 75%;
    transform: none;
  }

  .custom-testimonial-details {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .custom-testimonial-details h3 {
    font-size: 18px;
  }

  .custom-testimonial-details p {
    font-size: 16px;
  }

  .custom-testimonial-controls {
    gap: 44px;
    margin-top: 16px;
  }
}



/**********************************************************************/




/* Custom Tabs */
div.tabs-cont{
  display: flex;
  flex-direction: row;
	gap: 40px;
}

div.tabs-col-1, div.tabs-col-2{
  width: 50%;
}

div.tabs-col-2{
	display: flex;
	justify-content: center;
}

div.tabs-cont img{
  border-radius: 20px;
	margin: 0 auto;
}

.dmpro_advanced_tabs_0.dmpro_advanced_tabs .nav-pills .nav-link.active{
	background: transparent !important;
	border: 1px solid white;
	border-radius: 40px !important;
}


/* Custom "arrow" flow chart */
.razz-process-flow {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 40px;
}

/* center line */
.razz-process-flow:before {
  content: "";
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 50%;
  width: 3px;
  background: #efb600;
  transform: translateX(-50%);
  z-index: 1;
}

.razz-process-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  align-items: center;
  margin-bottom: 10px;
  z-index: 2;
}

.razz-process-step:last-child {
  margin-bottom: 0;
}

/* left & right placement */
.razz-step-left .razz-step-card {
  grid-column: 1 / 2;
}

.razz-step-right .razz-step-card {
  grid-column: 3 / 4;
}

.razz-step-node {
  grid-column: 2 / 3;
  justify-self: center;
  position: relative;
  width: 18px;
  height: 18px;
/*   border: 3px solid #efb600; */
  background: #ffffff;
  border-radius: 50%;
  z-index: 3;
}

/* down arrowa */
.razz-process-step:not(:last-child) .razz-step-node:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 12px;
  height: 12px;
  margin-top: 26px;
  border-right: 3px solid #efb600;
  border-bottom: 3px solid #efb600;
  transform: translateX(-50%) rotate(45deg);
}

/* card styling */
.razz-step-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 32px 36px;
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.08);
}

/* line from card to center line*/
.razz-step-card:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  border-top: 3px solid #efb600;
  transform: translateY(-50%);
}

.razz-step-left .razz-step-card:after {
  left: 100%;
}

.razz-step-right .razz-step-card:after {
  right: 100%;
}

/* card llayout */
.razz-step-inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.razz-step-icon {
  flex: 0 0 auto;
  font-size: 30px;
  line-height: 1;
  color: #efb600;
  font-weight: 700;
  margin-top: 2px;
}

.razz-step-content h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  color: #122144;
  font-weight: 700;
}

.razz-step-content p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #676767;
}


@media (max-width: 980px) {
  
  .razz-process-flow:before {
  	top: 60px;
  	bottom: 60px;
  }
  .razz-process-flow {
    padding: 20px 0 30px;
  }

  .razz-process-flow:before {
    left: 20px;
    transform: none;
    top: 30px;
    bottom: 30px;
  }

  .razz-process-step {
    grid-template-columns: 40px 1fr;
    column-gap: 20px;
    margin-bottom: 45px;
  }

  .razz-step-node {
    grid-column: 1 / 2;
    justify-self: center;
  }

  .razz-step-left .razz-step-card,
  .razz-step-right .razz-step-card {
    grid-column: 2 / 3;
  }

  .razz-step-card:after {
    width: 20px;
    right: 100% !important;
    left: auto !important;
  }

  .razz-process-step:not(:last-child) .razz-step-node:after {
    margin-top: 16px;
  }
}

@media (max-width: 600px) {
  .razz-step-card {
    padding: 24px 22px;
    border-radius: 20px;
  }

  .razz-step-inner {
    gap: 14px;
  }

  .razz-step-icon {
    font-size: 26px;
  }

  .razz-step-content h3 {
    font-size: 21px;
  }

  .razz-step-content p {
    font-size: 16px;
  }
}

/* Custom accordion tabs */

.razz-accordion-tabs {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.razz-accordion-control {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.razz-accordion-layout {
  display: flex;
  align-items: center;
  gap: 76px;
}

/* =========================================
   Left Accordion Column
========================================= */

.razz-accordion-list {
  flex: 0 1 550px;
  min-width: 0;
}

.razz-accordion-item {
  border-top: 3px solid #efb600;
}

.razz-accordion-item:last-child {
  border-bottom: 3px solid #efb600;
}

.razz-accordion-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 68px;
  padding: 15px 0;
  box-sizing: border-box;
  color: #122144;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s ease;
}

.razz-accordion-title:hover {
  color: #152347;
}

.razz-accordion-title::after {
  content: "+";
  flex: 0 0 auto;
  color: #efb600;
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
}

/* Collapsed content */

.razz-accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.35s ease,
    opacity 0.25s ease,
    visibility 0s linear 0.35s;
}

.razz-accordion-content-inner {
  min-height: 0;
  overflow: hidden;
}

.razz-accordion-copy {
  padding: 0 42px 36px 0;
}

.razz-accordion-copy p {
  margin: 0 0 20px;
  color: #152347;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
}

.razz-accordion-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 44px;
  padding: 10px 28px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #152347;
  color: #ffffff !important;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.razz-accordion-button:hover {
  background: #24375f;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* =========================================
   Active Accordion States
========================================= */

#razz-accordion-1:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-1
  .razz-accordion-title,
#razz-accordion-2:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-2
  .razz-accordion-title,
#razz-accordion-3:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-3
  .razz-accordion-title,
#razz-accordion-4:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-4
  .razz-accordion-title {
  color: #152347;
}

#razz-accordion-1:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-1
  .razz-accordion-title::after,
#razz-accordion-2:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-2
  .razz-accordion-title::after,
#razz-accordion-3:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-3
  .razz-accordion-title::after,
#razz-accordion-4:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-4
  .razz-accordion-title::after {
  content: "−";
}

#razz-accordion-1:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-1
  .razz-accordion-content,
#razz-accordion-2:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-2
  .razz-accordion-content,
#razz-accordion-3:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-3
  .razz-accordion-content,
#razz-accordion-4:checked
  ~ .razz-accordion-layout
  .razz-accordion-item-4
  .razz-accordion-content {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

/* =========================================
   Right Image Column
========================================= */

.razz-accordion-media {
  position: relative;
  flex: 1 1 620px;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
}

.razz-accordion-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition:
    opacity 0.35s ease,
    transform 0.45s ease,
    visibility 0s linear 0.35s;
}

#razz-accordion-1:checked
  ~ .razz-accordion-layout
  .razz-accordion-image-1,
#razz-accordion-2:checked
  ~ .razz-accordion-layout
  .razz-accordion-image-2,
#razz-accordion-3:checked
  ~ .razz-accordion-layout
  .razz-accordion-image-3,
#razz-accordion-4:checked
  ~ .razz-accordion-layout
  .razz-accordion-image-4 {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}

/* =========================================
   Keyboard Focus
========================================= */

#razz-accordion-1:focus-visible
  ~ .razz-accordion-layout
  label[for="razz-accordion-1"],
#razz-accordion-2:focus-visible
  ~ .razz-accordion-layout
  label[for="razz-accordion-2"],
#razz-accordion-3:focus-visible
  ~ .razz-accordion-layout
  label[for="razz-accordion-3"],
#razz-accordion-4:focus-visible
  ~ .razz-accordion-layout
  label[for="razz-accordion-4"] {
  outline: 3px solid #f79420;
  outline-offset: 5px;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 980px) {
  .razz-accordion-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .razz-accordion-list,
  .razz-accordion-media {
    flex-basis: auto;
    width: 100%;
  }

  .razz-accordion-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 600px) {
  .razz-accordion-layout {
    gap: 30px;
  }

  .razz-accordion-title {
    min-height: 62px;
    font-size: 19px;
  }

  .razz-accordion-title::after {
    font-size: 30px;
  }

  .razz-accordion-copy {
    padding: 0 20px 28px 0;
  }

  .razz-accordion-copy p {
    font-size: 16px;
    line-height: 1.5;
  }

  .razz-accordion-button {
    min-width: 170px;
    font-size: 16px;
  }

  .razz-accordion-media {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }
}


/* Microsite buttons */


div.btn-container{
	display: flex;
	gap: 10px;
}


.micro-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    /* flex-wrap: wrap; */
}

.micro-button {
    width: unset;
    max-width: 100%;
    height: 53px;
    /* flex: 0 0 360px; */
    padding: 0 40px!important;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    box-sizing: border-box;
    color: #092454;
    line-height: 1;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 4px rgba(0,0,0,0.28);
    transition: transform 0.2s ease,box-shadow 0.2s ease;
}

.micro-button-text {
  display: block;
  flex-shrink: 0;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-2px);
}

.micro-button-orange {
  background: #ff991f;
}

.micro-button-tan {
  padding-left: 52px !important;
  padding-right: 28px !important;
  justify-content: space-between;
  gap: 30px;
  background: #f3f1df;
}

.micro-button-arrow {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  box-sizing: border-box;
  background: #f5c000;
  color: #092454;
  font-size: 37px;
  line-height: 1;
  transform: translateY(-1px);
}

.micro-button:hover {
  color: #092454;
  transform: translateY(-2px);
  box-shadow: 0 6px 7px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
  .micro-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .micro-button {
    width: 100%;
    max-width: 360px;
    height: 64px;
    flex: 0 0 64px;
    padding: 0 28px !important;
  }

  .micro-button-tan {
    padding-left: 34px !important;
    padding-right: 18px !important;
  }

  .micro-button-arrow {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 32px;
  }
}




a.green-btn, a.blue-btn, a.purp-btn, a.yellow-btn, a.pink-btn, a.orange-btn, a.dark-blue-btn, a.midnight-btn, a.transparent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
    border: 2px solid transparent;
    color: white;
    font-weight: 600 !important;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 40px;
    transition: all 0.4s;
}

a.green-btn{
	background: #87cf36;
}

a.green-btn:hover{
	background: transparent;
	border: 2px solid #87cf36;
	color: #87cf36;
}

a.transparent-btn{
	border: 2px solid #122144;
	color: #122144;
}
a.transparent-btn:hover{
	color: white;
	background: #122144;
}

a.blue-btn{
	background:#04a6e1;
}
a.blue-btn:hover{
	background: transparent;
	border: 2px solid #04a6e1;
	color: #04a6e1;
}

a.purp-btn{
	background: #8C51FF;
}
a.purp-btn:hover{
	background: transparent;
	border: 2px solid #8C51FF;
	color: #8C51FF;
}

a.yellow-btn{
	background: #efb600;
}
a.yellow-btn:hover{
	background: transparent;
	border: 2px solid #efb600;
	color: #efb600;
}

a.pink-btn{
	background: #f92dab;
}
a.pink-btn:hover{
	background: transparent;
	border: 2px solid #f92dab;
	color: #f92dab;
}

a.orange-btn{
	background: #F79520;
	color: #122144 !important;
}

a.orange-btn:hover{
	background: transparent;
	border: 2px solid #F79520;
	color: #F79520 !important;
}

a.dark-blue-btn{
	background: #0058f6;
}

a.dark-blue-btn:hover{
	color: #0058f6;
	border: 2px solid #0058f6;
	background: transparent;
}


a.midnight-btn{
	background: #122144;
}

a.midnight-btn:hover{
	border: 2px solid #122144;
	color: #122144;
	background: transparent;
}


li.menu-button{
    display: flex !important;
    align-items: center !important;
}

li.menu-button a{
    color: #122144;
    background: orange;
    padding: 10px !important;
    justify-content: center;
    align-items: center;
	border: 2px solid transparent !important;
    border-radius: 20px;
/* 	height: 10px; */
}

li.menu-button a:hover{
     background: transparent !important;
    border: 2px solid #F79520 !important;
    color: #F79520 !important;
}

@media screen and (max-width:980px){
	ul#mobile_menu1 li.menu-button a{
		padding: 5px !important;
		margin-top: 10px !Important;
	}
}


.frosted-pill-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3),
    rgba(137, 82, 255, 0.2)
  );

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 6px 18px rgba(32, 17, 75, 0.14);

  color: #1b103d;
  line-height: 1;
}


/* Risk Management */
div.risk-management-number-counters .et_pb_number_counter_4 .percent-value::after {
  content: "M+";
}

div.risk-management-number-counters .et_pb_number_counter_5 .percent-value::before,
body.home .et_pb_number_counter_5 .percent-value::before{
  content: "$";
}



div.risk-management-number-counters .et_pb_number_counter_7 .percent-value::after {
  content: "M+";
}


/* Residential Landing Page Buttons */


a.purple-button-outline,
a.white-btn,
a.green-button-outline,
a.green-button-outline,
a.yellow-button-outline,
a.pink-button-outline{
	padding: 10px 15px;
	border-radius: 35px;
	transition: all 0.4s;
	width: 300px;
}

a.purple-button-outline{
	border: 2px solid #8d51ff;
	color: black;
}


a.purple-button-outline:hover{
	background: #8d51ff;
	color: white;
}

a.white-btn{
	border: 2px solid white;
	color: white;

}


a.white-btn:hover{
	background: white;
	color: black;
}

a.green-button-outline{
	border: 2px solid #87cf36;
	color: black;
}

a.yellow-button-outline{
	border: 2px solid #efb600;
	color: black;
}


a.pink-button-outline{
	border: 2px solid #f92dab;
	color: black;
}

a.pink-button-outline:hover{
	background: #f92dab;
	color: white;
}

body.page-id-5761 div.mktoButtonRow span.mktoButtonWrap.mktoSimple button.mktoButton{
	border-radius: 30px !important;
	background: #122144 !important;
	border: 2px solid transparent !important;
}



/* Pillar 'card' hover animations */

.custom-hover-anim .et_pb_column {
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
  transform-origin: center center;
  will-change: transform, box-shadow;
  backface-visibility: hidden;
}


.custom-hover-anim.et_pb_row { overflow: visible; }


.custom-hover-anim .et_pb_column:hover,
.custom-hover-anim .et_pb_column:focus-within {
  transform: scale(1.10);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  z-index: 3;
}

.custom-hover-anim .et_pb_column > .et_pb_module {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .custom-hover-anim .et_pb_column {
    transition: box-shadow .22s ease; 
  }
  .custom-hover-anim .et_pb_column:hover,
  .custom-hover-anim .et_pb_column:focus-within {
    transform: none;
  }
}


@media (max-width: 980px) {
  .custom-hover-anim .et_pb_column:hover,
  .custom-hover-anim .et_pb_column:focus-within {
    transform: scale(1.03);
  }
}

/* HERO + CARD */
.hero-form-wrap{
  position: relative;
  padding: 0 16px;
  overflow: visible;
}


/* Custom Tabs section */

.simple-product-tabs {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Hide radio controls */
.simple-product-tabs input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Top buttons */
.simple-product-tab-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 10px;
/*   flex-wrap: wrap !important; */
}

/* All labels: plain text only */
.simple-product-tab-buttons label {
  position: relative;
  overflow: hidden;
/*   display: inline-flex; */
  align-items: center;
  justify-content: center;
  min-width: 250px;
  padding: 8px 20px;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

/* Optional hover for inactive labels */
.simple-product-tab-buttons label:hover {
  opacity: 0.75;
}

/* Active label */
#simple-product-tab-1:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-1"],
#simple-product-tab-2:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-2"],
#simple-product-tab-3:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-3"],
#simple-product-tab-4:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-4"],
#simple-product-tab-5:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-5"],
#simple-product-tab-6:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-6"],
#simple-product-tab-7:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-7"],
#simple-product-tab-8:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-8"],
#simple-product-tab-9:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-9"],
#simple-product-tab-10:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-10"] {
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 0 rgba(255, 255, 255, 0.1),
    0 8px 23px rgba(14, 30, 59, 0.16);
  color: #ffffff;
  opacity: 1;
  align-content: center;
}

/* Hide the glass border on all inactive labels */
.simple-product-tab-buttons label::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.4) 28%,
    rgba(255, 255, 255, 0.08) 55%,
    rgba(255, 255, 255, 0.35) 100%
  );

  -webkit-mask:
    linear-gradient(#ffffff 0 0) content-box,
    linear-gradient(#ffffff 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#ffffff 0 0) content-box,
    linear-gradient(#ffffff 0 0);
  mask-composite: exclude;

  opacity: 0;
  pointer-events: none;
}

/* Show the gradient border only on the active label */
#simple-product-tab-1:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-1"]::before,
#simple-product-tab-2:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-2"]::before,
#simple-product-tab-3:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-3"]::before,
#simple-product-tab-4:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-4"]::before,
#simple-product-tab-5:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-5"]::before,
#simple-product-tab-6:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-6"]::before,
#simple-product-tab-7:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-7"]::before,
#simple-product-tab-8:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-8"]::before,
#simple-product-tab-9:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-9"]::before,
#simple-product-tab-10:checked ~ .simple-product-tab-buttons label[for="simple-product-tab-10"]::before {
  opacity: 1;
}

/* Panels */
.simple-product-panels {
  position: relative;
}

.simple-product-panel {
  display: none;
}

.simple-product-panel-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.simple-product-copy {
  flex: 1 1 50%;
  min-width: 0;
}

.simple-product-copy a.product-btn{
	margin-top: 25px;
}

.simple-product-eyebrow {
/*   margin: 0 0 18px; */
  color: #F79520 !important;
  font-size: 16px !important;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.simple-product-heading {
/*   margin: 0 0 22px; */
  color: #ffffff;
  font-size: 35px;
  line-height: 1.18;
  font-weight: 500;
}

.simple-product-copy p {
/*   margin: 0 0 14px; */
  color: #ffffff;
  font-size: 18pt;
  line-height: 1.6;
  font-weight: 400;
}

.simple-product-copy p:last-child {
  margin-bottom: 0;
}

.simple-product-image-wrap {
  flex: 1 1 50%;
  min-width: 0;
}

.simple-product-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* Active panel states */
#simple-product-tab-1:checked ~ .simple-product-panels .simple-product-panel-1,
#simple-product-tab-2:checked ~ .simple-product-panels .simple-product-panel-2,
#simple-product-tab-3:checked ~ .simple-product-panels .simple-product-panel-3,
#simple-product-tab-4:checked ~ .simple-product-panels .simple-product-panel-4,
#simple-product-tab-5:checked ~ .simple-product-panels .simple-product-panel-5,
#simple-product-tab-6:checked ~ .simple-product-panels .simple-product-panel-6,
#simple-product-tab-7:checked ~ .simple-product-panels .simple-product-panel-7,
#simple-product-tab-8:checked ~ .simple-product-panels .simple-product-panel-8,
#simple-product-tab-9:checked ~ .simple-product-panels .simple-product-panel-9,
#simple-product-tab-10:checked ~ .simple-product-panels .simple-product-panel-10 {
  display: block;
}

/* Focus states */
#simple-product-tab-1:focus-visible ~ .simple-product-tab-buttons label[for="simple-product-tab-1"],
#simple-product-tab-2:focus-visible ~ .simple-product-tab-buttons label[for="simple-product-tab-2"],
#simple-product-tab-3:focus-visible ~ .simple-product-tab-buttons label[for="simple-product-tab-3"],
#simple-product-tab-4:focus-visible ~ .simple-product-tab-buttons label[for="simple-product-tab-4"],
#simple-product-tab-5:focus-visible ~ .simple-product-tab-buttons label[for="simple-product-tab-5"],
#simple-product-tab-6:focus-visible ~ .simple-product-tab-buttons label[for="simple-product-tab-6"],
#simple-product-tab-7:focus-visible ~ .simple-product-tab-buttons label[for="simple-product-tab-7"],
#simple-product-tab-8:focus-visible ~ .simple-product-tab-buttons label[for="simple-product-tab-8"],
#simple-product-tab-9:focus-visible ~ .simple-product-tab-buttons label[for="simple-product-tab-9"],
#simple-product-tab-10:focus-visible ~ .simple-product-tab-buttons label[for="simple-product-tab-10"] {
  outline: 3px solid #fb9517;
  outline-offset: 5px;
}

/* Responsive */
@media (max-width: 980px) {
  .simple-product-tab-buttons {
    gap: 18px;
    margin-bottom: 34px;
  }

  .simple-product-tab-buttons label {
    min-width: 0;
    flex: 1 1 calc(33.333% - 18px);
    font-size: 16px;
  }

  .simple-product-panel-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
  }

  .simple-product-heading {
    font-size: 36px;
  }

  .simple-product-copy p {
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .simple-product-tab-buttons label {
    flex: 1 1 calc(50% - 18px);
  }
}

@media (max-width: 600px) {
  .simple-product-tab-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .simple-product-tab-buttons label {
    width: 100%;
    min-height: 56px;
    font-size: 14px;
  }

  .simple-product-heading {
    font-size: 30px;
  }

  .simple-product-eyebrow,
  .simple-product-copy p {
    font-size: 18px;
  }

  .simple-product-image-wrap img {
    border-radius: 18px;
  }
}


/* custom Flip cards */

.simple-flip-cards {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: nowrap;
}

.simple-flip-card {
  flex: 1 1 0;
  max-width: 385px;
  min-width: 0;
  perspective: 1200px;
  outline: none;
  display: flex;
}

.simple-flip-inner {
  width: 100%;
  flex: 1;
  display: grid;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.simple-flip-card:hover .simple-flip-inner,
.simple-flip-card:focus .simple-flip-inner,
.simple-flip-card:focus-within .simple-flip-inner {
  transform: rotateY(180deg);
}

.simple-flip-front,
.simple-flip-back {
  grid-area: 1 / 1;
  min-height: 100%;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.22);
  backface-visibility: hidden;
}

.simple-flip-front {
  position: relative;
  display: flex;
}

.simple-flip-front img {
  width: 100%;
  height: auto;
  min-height: 100%;
  display: block;
  object-fit: cover;
}

.simple-flip-front::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 40, 0.85),
    rgba(10, 20, 40, 0)
  );
}

.simple-flip-title {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 28px;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 500;
}

.simple-flip-back {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 28px;
  box-sizing: border-box;
  background: #ffffff;
  transform: rotateY(180deg);
}

.simple-flip-back p {
  margin: 0;
  color: #111111;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  text-align: center;
}

/* Tablet: 2x2 */
@media (max-width: 1200px) {
  .simple-flip-cards {
    flex-wrap: wrap;
    gap: 34px;
  }

  .simple-flip-card {
    flex: 0 1 calc(50% - 17px);
    max-width: 385px;
  }
}

/* Smaller tablet adjustments */
@media (max-width: 980px) {
  .simple-flip-card {
    max-width: 330px;
  }

  .simple-flip-title {
    font-size: 25px;
  }

  .simple-flip-back p {
    font-size: 20px;
  }
}

/* Mobile: stacked */
@media (max-width: 600px) {
  .simple-flip-cards {
    gap: 26px;
  }

  .simple-flip-card {
    flex: 0 1 100%;
    max-width: 100%;
  }
}


@media screen and (max-width:980px){
  html body.page h2,
	.apartment-panel h2,
    .apartment-panel span{
	    font-size: 24px !important;
		line-height:1.3em;
  }
}


/* custom video carousel */
.video-showcase {
  width: 100%;
  padding: 20px 10px 0px 10px;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}

.video-showcase h2 {
  margin: 0 20px 45px;
  color: #333;
  font-size: 42px;
  line-height: 1.2;
}

.video-slider {
  position: relative;
}

.video-window {
  position: relative;
  width: 100%;
  height: 34vw;
  max-height: 490px;
  min-height: 300px;
}

.video-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.6);
  transition:
    left 0.5s ease,
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* middle */
.video-slide.is-active {
  left: 50%;
  z-index: 3;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* left*/
.video-slide.is-prev {
  left: 27%;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(0.58);
}

/* right */
.video-slide.is-next {
  left: 73%;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(0.58);
}

.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  padding: 0 0 5px;
  border: 0;
  border-radius: 50%;
  background: #888;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.video-prev {
  left: 25px;
}

.video-next {
  right: 25px;
}

.video-arrow:hover {
  background: #555;
}

@media (max-width: 980px) {
  .video-showcase {
    padding: 50px 0;
  }

  .video-showcase h2 {
    margin-bottom: 35px;
    font-size: 34px;
  }

  .video-window {
    height: 48vw;
    min-height: 260px;
  }

  .video-slide {
    width: 68%;
  }

  .video-slide.is-prev {
    left: 12%;
    transform: translate(-50%, -50%) scale(0.48);
  }

  .video-slide.is-next {
    left: 88%;
    transform: translate(-50%, -50%) scale(0.48);
  }

  .video-arrow {
    width: 38px;
    height: 38px;
    font-size: 32px;
  }

  .video-prev {
    left: 10px;
  }

  .video-next {
    right: 10px;
  }
}

@media (max-width: 600px) {
  .video-showcase h2 {
    font-size: 28px;
  }

  .video-window {
    height: 58vw;
    min-height: 220px;
  }

  .video-slide {
    width: 86%;
  }

  .video-slide.is-prev,
  .video-slide.is-next {
    opacity: 0;
    visibility: hidden;
  }
}




  
  /* ========================================
   MARKETO FORM - MODERNIZED
   ======================================== */

/* ----- SPACING TOKENS (tweak here) ----- */
.mktoForm {
    --opt-pad-y: 12px;        /* container top/bottom padding */
    --opt-pad-left: 14px;     /* space left of the checkbox/radio cards */
    --opt-pad-right: 14px;    /* space right of the cards (matches left) */
    --opt-gap-x: 14px;        /* space between the two columns */
    --opt-gap-y: 10px;        /* space between rows */
    --opt-icon-left: 12px;    /* checkbox/radio square offset inside card */
    --opt-text-left: 40px;    /* card left padding (text start) */
    --opt-scroll-w: 8px;      /* scrollbar width */
}

/* ----- General Content ----- */

.mktoHtmlText,
.mktoHtmlText.mktoHasWidth {
    width: 100% !important;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.5;
}

.mktoHtmlText strong {
    padding: 0 !important;
}

/* Hide unnecessary Marketo elements */
.mktoGutter,
.mktoOffset,
.mktoAsterix {
    display: none !important;
}

/* ========================================
   FORM LAYOUT
   ======================================== */

.mktoForm,
.mktoForm .mktoFormCol,
.mktoForm .mktoFieldWrap {
    width: 100% !important;
}

.mktoFormRow {
    max-width: 100%;
}

.mktoFormRow .mktoFormCol {
    box-sizing: border-box;
}

.mktoForm .mktoClear { display: none; }

/* First four rows are two-column */
.mktoFormRow:nth-child(-n+4) {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: space-between;
}

.mktoFormRow:nth-child(-n+4) .mktoFormCol {
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    padding-right: 0 !important;
}

/* Full-width rows for privacy text and submit button */
.mktoForm .mktoHtmlText,
.mktoForm .mktoButtonRow,
.mktoForm .mktoButtonRow .mktoFormCol,
.mktoForm .mktoButtonRow .mktoFieldWrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
}

/* ========================================
   INPUTS & SELECTS
   ======================================== */

.mktoForm input[type="text"],
.mktoForm input[type="email"],
.mktoForm input[type="tel"],
.mktoForm input[type="number"],
.mktoForm input[type="url"],
.mktoForm input[type="date"],
.mktoForm select.mktoField,
.mktoForm textarea.mktoField {
    width: 100% !important;
    box-sizing: border-box;

    padding: 14px 16px;
    min-height: 50px;

    font-size: 16px !important;
    color: #333333;

    background: #ffffff;
    border: 1px solid #d7dde5 !important;
    border-radius: 10px;

    transition: all 0.2s ease;
}

/* Placeholder styling */
.mktoForm input::placeholder,
.mktoForm textarea::placeholder {
    color: #7a7a7a;
}

/* Textareas */
.mktoForm textarea.mktoField {
    min-height: 120px;
    resize: vertical;
    border-radius: 10px !important;
}

/* Focus States */
.mktoForm input:focus,
.mktoForm select:focus,
.mktoForm textarea:focus {
    outline: none;
    border-color: #122144 !important;
    box-shadow: 0 0 0 3px rgba(18, 33, 68, 0.15);
}

/* Dropdown Styling */
.mktoForm select.mktoField {
    cursor: pointer;
}

/* ========================================
   LABELS
   ======================================== */

.mktoForm .mktoLabel {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;

    padding-top: 5px !important;
    padding-right: 0 !important;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;

    color: #ffffff !important;
    margin-bottom: 6px;

    white-space: normal;
    word-break: normal;
}

/* ========================================
   SUBMIT BUTTON
   ======================================== */

.mktoButtonRow,
.mktoButtonWrap {
    width: 100% !important;
    margin-left: 0 !important;
}

.mktoButtonRow {
    text-align: center !important;
}

.mktoButtonWrap {
    display: block !important;
    text-align: center !important;
}

.mktoForm .mktoButton {
    background: #122144 !important;
    background-image: none !important;

    border: 1px solid #fff !important;
    border-radius: 999px;

    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;

    padding: 8px 32px;
    min-width: 180px;
    margin-top: 20px;

    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover */
.mktoForm .mktoButton:hover {
    background: #1d315f !important;
    transform: translateY(-1px);
}

/* Active */
.mktoForm .mktoButton:active {
    transform: translateY(0);
}

/* Focus */
.mktoForm .mktoButton:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(18, 33, 68, 0.2);
}

/* ========================================
   PRIVACY TEXT
   ======================================== */

.mktoHtmlText {
    width: 100% !important;
    max-width: 100% !important;
    color: #ffffff !important;
}

.mktoHtmlText a {
    color: #ffffff !important;
    text-decoration: underline;
}

.mktoHtmlText a:hover {
    opacity: 0.85;
}

/* ========================================
   RESIDENTIAL INTERESTS (CHECKBOXES)
   NOTE: selectors are prefixed with .mktoForm to out-specify
   Marketo's own forms2.css defaults.
   ======================================== */

/* Checkbox Container */
.mktoForm .mktoCheckboxList {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--opt-gap-y) var(--opt-gap-x) !important;

    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 6px 0 0 0 !important;
    float: none !important;

    /* symmetrical padding - forced past Marketo defaults */
    padding: var(--opt-pad-y) var(--opt-pad-right) var(--opt-pad-y) var(--opt-pad-left) !important;

    max-height: 165px;
    overflow-y: auto;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(3px);

    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.40) rgba(255,255,255,.08);
}

/* Restate horizontal padding on its own so it survives
   even if the shorthand above ever gets overridden. */
.mktoForm .mktoCheckboxList {
    padding-left: var(--opt-pad-left) !important;
    padding-right: var(--opt-pad-right) !important;
}

/* Keep left/right identical when the browser uses
   classic (space-consuming) scrollbars, e.g. Windows. */
@supports (scrollbar-gutter: stable both-edges) {
    .mktoForm .mktoCheckboxList {
        scrollbar-gutter: stable both-edges;
    }
}

/* Scrollbar (WebKit) */
.mktoForm .mktoCheckboxList::-webkit-scrollbar {
    width: var(--opt-scroll-w);
}

.mktoForm .mktoCheckboxList::-webkit-scrollbar-track {
    background: rgba(255,255,255,.08);
    border-radius: 20px;
}

.mktoForm .mktoCheckboxList::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.40);
    border-radius: 20px;
    border: 1px solid transparent;
    background-clip: content-box;
}

.mktoForm .mktoCheckboxList::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.60);
    background-clip: content-box;
}

/* Hide native checkbox */
.mktoForm .mktoCheckboxList input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Option Card */
.mktoForm .mktoCheckboxList label {
    position: relative;
    display: flex;
    align-items: center;

    box-sizing: border-box;
    width: auto !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 14px 10px var(--opt-text-left) !important;

    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;

    background: rgba(255,255,255,.06);
    backdrop-filter: blur(3px);

    cursor: pointer;
    transition: all .2s ease;
}

/* Hover */
.mktoForm .mktoCheckboxList label:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.35);
    transform: translateY(-1px);
}

/* Custom Checkbox */
.mktoForm .mktoCheckboxList label::before {
    content: "";

    position: absolute;
    left: var(--opt-icon-left);
    top: 50%;
    transform: translateY(-50%);

    width: 20px;
    height: 20px;

    border-radius: 6px;

    border: 2px solid rgba(255,255,255,.6);
    background: rgba(255,255,255,.1);

    transition: all .2s ease;
}

/* Checkmark (centered on the box: icon-left + 7px) */
.mktoForm .mktoCheckboxList label::after {
    content: "";

    position: absolute;
    left: calc(var(--opt-icon-left) + 7px);
    top: 50%;

    width: 6px;
    height: 10px;

    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;

    transform: translateY(-60%) rotate(45deg);

    opacity: 0;
    transition: opacity .2s ease;
}

/* Checked State */
.mktoForm .mktoCheckboxList input[type="checkbox"]:checked + label {
    background: rgba(18,33,68,.45);
    border-color: #ffffff;
}

.mktoForm .mktoCheckboxList input[type="checkbox"]:checked + label::before {
    background: #122144;
    border-color: #ffffff;
}

.mktoForm .mktoCheckboxList input[type="checkbox"]:checked + label::after {
    opacity: 1;
}

/* Keyboard Accessibility */
.mktoForm .mktoCheckboxList input[type="checkbox"]:focus + label {
    box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}

/* ========================================
   MODERN RADIO BUTTON CARDS
   (spacing mirrors the checkbox list)
   ======================================== */

.mktoForm .mktoRadioList {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--opt-gap-y) var(--opt-gap-x) !important;

    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 6px 0 0 0 !important;
    float: none !important;

    padding: var(--opt-pad-y) var(--opt-pad-right) var(--opt-pad-y) var(--opt-pad-left) !important;
}

.mktoForm .mktoRadioList {
    padding-left: var(--opt-pad-left) !important;
    padding-right: var(--opt-pad-right) !important;
}

/* Hide native radio */
.mktoForm .mktoRadioList input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Radio "Card" */
.mktoForm .mktoRadioList label {
    position: relative;
    display: flex;
    align-items: center;

    box-sizing: border-box;
    width: auto !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 14px 10px var(--opt-text-left) !important;

    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;

    background: rgba(255,255,255,.06);
    backdrop-filter: blur(3px);

    cursor: pointer;
    transition: all .2s ease;
}

/* Hover State */
.mktoForm .mktoRadioList label:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.35);
    transform: translateY(-1px);
}

/* Radio Circle */
.mktoForm .mktoRadioList label::before {
    content: "";

    position: absolute;
    left: var(--opt-icon-left);
    top: 50%;
    transform: translateY(-50%);

    width: 20px;
    height: 20px;

    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.65);

    background: rgba(255,255,255,.10);

    transition: all .2s ease;
}

/* Selected Dot (centered: icon-left + 6px) */
.mktoForm .mktoRadioList label::after {
    content: "";

    position: absolute;
    left: calc(var(--opt-icon-left) + 8px);
    top: 50%;

    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: #ffffff;

    margin-top: -4px;

    transform: scale(0);
    transition: all .2s ease;
}

/* Selected Card */
.mktoForm .mktoRadioList input[type="radio"]:checked + label {
    background: rgba(18,33,68,.45);
    border-color: #ffffff;
}

/* Selected Radio */
.mktoForm .mktoRadioList input[type="radio"]:checked + label::before {
    background: #122144;
    border-color: #ffffff;
}

.mktoForm .mktoRadioList input[type="radio"]:checked + label::after {
    transform: scale(1);
}

/* Keyboard Accessibility */
.mktoForm .mktoRadioList input[type="radio"]:focus + label {
    box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}

/* Residential Interests option text (native select fallback) */
#residentialInterests,
#residentialInterests option {
    color: #333333 !important;
}

#residentialInterests option:checked {
    background: #122144 !important;
    color: #ffffff !important;
}

/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 980px) {

    .mktoFormRow:nth-child(-n+4) {
        display: block;
    }

    .mktoFormRow .mktoFormCol,
    .mktoFormRow:nth-child(-n+4) .mktoFormCol {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px;
    }

    .mktoForm input[type="text"],
    .mktoForm input[type="email"],
    .mktoForm input[type="tel"],
    .mktoForm input[type="number"],
    .mktoForm select.mktoField {
        width: 100% !important;
    }

    .mktoForm .mktoButton {
        width: 100%;
    }

    /* Residential Interests + Radios stack to one column */
    .mktoForm .mktoCheckboxList,
    .mktoForm .mktoRadioList {
        grid-template-columns: 1fr !important;
    }
}
  
  