/* Apply Now Button */
.apply-now-btn .elementor-button {
    transition: all 0.18s ease-in-out;
}

.apply-now-btn .elementor-button:hover {
    background-color: #d09944; /* slightly darker gold */
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
/* Client Login Button (Default) */
.client-login-btn .elementor-button {
    border: 1.5px solid #FFFFFF;
    background-color: transparent;
    color: #FFFFFF;
    transition: all 0.2s ease-in-out;
}

/* Hover */
.client-login-btn .elementor-button:hover {
    border-color: #E6AA50;
    color: #E6AA50;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}
/* Base transition */
.ims-post-card {
  transition: transform .28s ease, box-shadow .28s ease;
  will-change: transform;
}

/* Card lift + shadow */
.ims-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Subtle image zoom */
.ims-post-card img {
  transition: transform .4s ease;
}

.ims-post-card:hover img {
  transform: scale(1.04);
}

/* Button nudge (if using Elementor button) */
.ims-post-card .elementor-button {
  transition: transform .25s ease;
}

.ims-post-card:hover .elementor-button {
  transform: translateX(5px);
}
.ims-post-card {
  border: 1px solid transparent;
}

.ims-post-card:hover {
  border-color: rgba(0, 90, 156, 0.15); /* adjust to brand blue */
}
/* Base transition */
.service-card {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
}

/* Lift + depth */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 45px rgba(0,0,0,.12);
}

/* Subtle gold border accent on hover */
.service-card:hover {
  border-color: rgba(230,170,80,.6);
}

/* Icon circle subtle scale */
.service-card .elementor-icon,
.service-card .elementor-image img {
  transition: transform .3s ease;
}

.service-card:hover .elementor-icon,
.service-card:hover .elementor-image img {
  transform: scale(1.05);
}

/* Button interaction */
.service-card .elementor-button {
  transition: transform .25s ease;
}

.service-card:hover .elementor-button {
  transform: translateY(-2px);
}
/* ===== Base Card ===== */
.award-card{
  position: relative;
  padding: 34px 26px;
  border-radius: 22px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(35,42,69,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.04);
  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s ease,
    background .35s ease,
    border-color .35s ease;
  overflow: hidden;
}

/* Hover Card */
.award-card:hover{
  transform: translateY(-8px);
  background: rgba(255,255,255,.8);
  border-color: rgba(230,170,80,.25);
  box-shadow:
    0 18px 38px rgba(0,0,0,.07),
    0 0 0 1px rgba(230,170,80,.18);
}

/* Trophy styling */
.award-card .elementor-icon{
  color: #E6AA50;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease;
  position: relative;
}

/* Subtle lift */
.award-card:hover .elementor-icon{
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 10px 18px rgba(230,170,80,.18));
}

/* ===== Shimmer Sweep ===== */
.award-card .elementor-icon::after{
  content:"";
  position:absolute;
  top:-30%;
  left:-80%;
  width:60%;
  height:160%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.6) 45%,
    rgba(255,255,255,0) 70%
  );
  transform: rotate(12deg);
  opacity: 0;
  pointer-events:none;
}

.award-card:hover .elementor-icon::after{
  opacity: .9;
  animation: awardShimmer .75s ease-out 1;
}

@keyframes awardShimmer{
  from { left: -80%; }
  to   { left: 140%; }
}
background: rgba(255,255,255,.75);
backdrop-filter: blur(6px);
border: 1px solid rgba(255,255,255,.6);
@media (max-width: 1024px){
  .elementor-nav-menu--dropdown .sub-arrow svg,
  .elementor-nav-menu--dropdown .sub-arrow svg path{
    fill:#E6AA50 !important;
  }
}
/* Force the chevron SVG to inherit link color */
  .elementor-nav-menu--dropdown .elementor-item .sub-arrow svg,
  .elementor-nav-menu--dropdown .menu-item > a .sub-arrow svg{
    fill: currentColor !important;
    color: currentColor !important;
  }

  /* Some themes target the path directly */
  .elementor-nav-menu--dropdown .sub-arrow svg path{
    fill: currentColor !important;
  }

/* ==========================================================
   IMS Pre-Approval Benefits — Brand-Aligned Version
   Section: ims-benefits
   Card: ims-benefit
   ========================================================== */

:root{
  --ims-navy: #232A45;
  --ims-gold: #E6AA50;
  --ims-border: rgba(35,42,69,.10);
  --ims-border-hover: rgba(35,42,69,.18);
  --ims-shadow: 0 8px 24px rgba(35,42,69,.06);
  --ims-shadow-hover: 0 18px 44px rgba(35,42,69,.14);
}

/* Base Card */
.ims-benefits .ims-benefit{
  position: relative;
  background: #fff;
  border: 1px solid var(--ims-border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--ims-shadow);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  will-change: transform, box-shadow;

  opacity: 0;
  transform: translateY(14px);
  animation: imsFadeUp .7s ease forwards;
}

/* Gold accent top line (subtle + elegant) */
.ims-benefits .ims-benefit::before{
  content:"";
  position:absolute;
  left:24px;
  right:24px;
  top:0;
  height:3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(
    90deg,
    rgba(230,170,80,0),
    rgba(230,170,80,.75),
    rgba(230,170,80,0)
  );
}

/* Hover effect */
.ims-benefits .ims-benefit:hover{
  transform: translateY(-6px);
  border-color: var(--ims-border-hover);
  box-shadow: var(--ims-shadow-hover);
}

/* Icon Badge */
.ims-benefits .ims-benefit .elementor-icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(35,42,69,.05);
  border: 1px solid rgba(35,42,69,.12);
  transition: all .28s ease;
}

/* Icon color */
.ims-benefits .ims-benefit .elementor-icon i,
.ims-benefits .ims-benefit .elementor-icon svg{
  font-size: 28px;
  color: var(--ims-navy);
  fill: var(--ims-navy);
}

/* Icon hover — subtle gold shift */
.ims-benefits .ims-benefit:hover .elementor-icon{
  background: rgba(230,170,80,.12);
  border-color: rgba(230,170,80,.35);
  transform: translateY(-2px);
}

.ims-benefits .ims-benefit:hover .elementor-icon i,
.ims-benefits .ims-benefit:hover .elementor-icon svg{
  color: var(--ims-gold);
  fill: var(--ims-gold);
}

/* Title */
.ims-benefits .ims-benefit .elementor-icon-box-title{
  margin-top: 14px;
  color: var(--ims-navy);
}

/* Description */
.ims-benefits .ims-benefit .elementor-icon-box-description{
  color: rgba(35,42,69,.75);
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

/* Stagger (optional) */
.ims-benefits .ims-delay-1{ animation-delay: .05s; }
.ims-benefits .ims-delay-2{ animation-delay: .15s; }
.ims-benefits .ims-delay-3{ animation-delay: .25s; }
.ims-benefits .ims-delay-4{ animation-delay: .35s; }

@keyframes imsFadeUp{
  to{ opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 767px){
  .ims-benefits .ims-benefit{ padding: 20px 18px; }
  .ims-benefits .ims-benefit .elementor-icon{ width: 52px; height: 52px; }
}

.ims-trust-item{
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.ims-trust-item > .elementor-widget-wrap{
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  height: 100%;
}

.ims-trust-item:hover > .elementor-widget-wrap{
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.68);
}

.ims-trust-item .elementor-icon{
  transition: transform .25s ease, color .25s ease;
}

.ims-trust-item:hover .elementor-icon{
  transform: scale(1.08);
}
.ims-trust-item{
  padding: 10px;
}

.ims-trust-item > .elementor-widget-wrap{
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  height: 100%;
}

.ims-trust-item:hover > .elementor-widget-wrap{
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.68);
}

/* ================================
   IMS Testimonial Spotlight (V4)
   ================================ */

.ims-testimonial-spotlight{
  position: relative;
  background: #1f2740;
  padding: 110px 20px;
  margin: 100px 0;
  border-top: 4px solid #e6aa50;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.ims-testimonial-spotlight:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* Soft gold glow */
.ims-testimonial-spotlight::after{
  content:"";
  position:absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 28%, rgba(230,170,80,0.14), transparent 62%);
  pointer-events:none;
  z-index: 0;
}

/* Giant quote mark behind the paragraph (left side) */
.ims-testimonial-spotlight::before{
  content: "“";
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-580px);

  font-size: clamp(440px, 38vw, 680px);
  line-height: 0.68;
  color: #e6aa50;
  opacity: 0.12;
  font-family: Georgia, serif;

  pointer-events: none;
  z-index: 1;
}

.ims-testimonial-inner{
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ----------------
   Top: centered
   ---------------- */
.ims-testimonial-top{
  text-align: center;
  margin-bottom: 40px;
}

/* Stars */
.ims-testimonial-stars{
  position: relative;
  display: inline-block;
  line-height: 1;
  margin-bottom: 18px;

  font-size: 24px;
  letter-spacing: 4px;
  color: #e6aa50;

  isolation: isolate;
  white-space: nowrap;
}

/* Shimmer layer inside the stars only */
.ims-testimonial-stars::after{
  content: "★★★★★";
  position: absolute;
  inset: 0;

  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: inherit;

  background: linear-gradient(
    110deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 38%,
    rgba(255,255,255,0.70) 48%,
    rgba(255,255,255,0.95) 50%,
    rgba(255,255,255,0.70) 52%,
    rgba(255,255,255,0) 62%,
    rgba(255,255,255,0) 100%
  );
  background-size: 220% 100%;
  background-position: -200% 0;
  background-repeat: no-repeat;

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  pointer-events: none;
  opacity: 0;
}

/* Trigger shimmer on every testimonial hover */
.ims-testimonial-spotlight:hover .ims-testimonial-stars::after{
  opacity: 1;
  animation: imsStarShimmerHover 1.15s ease-in-out 1;
}

@keyframes imsStarShimmerHover{
  0%{
    background-position: -200% 0;
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  100%{
    background-position: 200% 0;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce){
  .ims-testimonial-spotlight{
    transition: none;
  }

  .ims-testimonial-spotlight:hover{
    transform: none;
    box-shadow: none;
  }

  .ims-testimonial-spotlight:hover .ims-testimonial-stars::after{
    animation: none;
    opacity: 0;
  }
}

/* Headline */
.ims-testimonial-headline{
  color: #ffffff;
  font-size: clamp(30px, 2.8vw, 44px);
  font-weight: 650;
  letter-spacing: 0.02em;
}

/* ----------------
   Quote paragraph: left aligned
   ---------------- */
.ims-testimonial-quote{
  margin: 34px 0 34px 0;

  color: #ffffff;
  font-size: clamp(20px, 2.0vw, 28px);
  line-height: 1.62;
  font-weight: 450;
  text-align: left;

  padding-left: clamp(12px, 5vw, 110px);

  position: relative;
  z-index: 3;
}

/* ----------------
   Bottom: right aligned meta
   ---------------- */
.ims-testimonial-bottom{
  text-align: right;
  padding-left: clamp(12px, 5vw, 110px);
}

.ims-testimonial-author{
  color: #ffffff;
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 8px;
}

.ims-testimonial-role{
  color: #e6aa50;
  font-weight: 500;
  margin-left: 10px;
}

.ims-testimonial-source{
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

@media (max-width: 980px){
  .ims-testimonial-spotlight::before{
    transform: translateX(-52vw);
  }
}

@media (max-width: 760px){
  .ims-testimonial-spotlight{
    padding: 90px 18px;
  }

  .ims-testimonial-spotlight::before{
    top: 90px;
    font-size: clamp(260px, 46vw, 420px);
    transform: translateX(-48vw);
    opacity: 0.10;
  }

  .ims-testimonial-quote,
  .ims-testimonial-bottom{
    padding-left: 18px;
  }

  .ims-testimonial-bottom{
    text-align: left;
  }
}
.service-card > .elementor-widget-wrap{
  height: 100%;
}

.service-card .elementor-widget-container,
.service-card .ekit-wid-con,
.service-card .elementskit-infobox{
  height: 100%;
}

.service-card .elementskit-infobox{
  display: flex;
  flex-direction: column;
}

.service-card .box-body{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.service-card .box-footer{
  margin-top: auto;
}
/* ================================
   IMS Client Services Cards
   ================================ */

/* GRID */
.ims-service-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items: stretch;
}

@media (max-width: 900px){
  .ims-service-grid{
    grid-template-columns: 1fr;
  }
}

/* CARD */
.ims-service-card{
  background: #232a45;
  color: #ffffff;
  border-radius: 16px;
  padding: 34px 38px;

  /* ✅ UNIFORM HEIGHT */
  min-height: 240px;
  height: 100%;

  display: flex;
  align-items: center;
  gap: 34px;

  position: relative;
  overflow: hidden;

  box-shadow: 0 8px 22px rgba(0,0,0,0.08);

  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* HOVER */
.ims-service-card:hover{
  background: #2f3756;
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 18px 42px rgba(0,0,0,0.18);
}

/* GOLD ACCENT LINE */
.ims-service-card::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:4px;
  background:#e6aa50;
  border-radius:0 8px 8px 0;
  transform:scaleY(0);
  transition:transform .3s ease;
}

.ims-service-card:hover::before{
  transform:scaleY(1);
}

/* ICONS (FIXED — NO DISTORTION) */
.ims-service-card img,
.ims-service-card svg,
.ims-service-card .icon{
  flex: 0 0 80px;
  width: 80px;
  height: auto;
  max-width: 100%;
  object-fit: contain;

  display: block;
  opacity: 0.9;

  transition: transform .3s ease, opacity .3s ease;
}

/* ICON HOVER */
.ims-service-card:hover img,
.ims-service-card:hover svg,
.ims-service-card:hover .icon{
  transform: scale(1.08);
  opacity: 1;
}

/* TEXT */
.ims-service-card h3{
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
}

.ims-service-card p{
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  max-width: 560px;
}

/* REMOVE ANY INNER GREY BACKGROUNDS (Elementor fix) */
.ims-service-card:hover *,
.ims-service-card .elementor-widget-container,
.ims-service-card .elementor-image-box-wrapper,
.ims-service-card .elementor-icon-box-wrapper{
  background: transparent !important;
}

/* MOBILE */
@media (max-width: 600px){
  .ims-service-card{
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 18px;
  }

  .ims-service-card::before{
    top: 0;
    bottom: auto;
    left: 24px;
    right: 24px;
    width: auto;
    height: 4px;
    border-radius: 0 0 8px 8px;
    transform: scaleX(0);
  }

  .ims-service-card:hover::before{
    transform: scaleX(1);
  }
}