/* === WRAPPER === */
.custom-showcase-wrapper {
  max-width: 1330px !important;
  margin: 0 auto !important;
  padding: 110px 20px 40px 20px !important;
  box-sizing: border-box !important;
  font-family: 'Inter', sans-serif !important;
  background-color: transparent !important;
  overflow: visible !important;
}

/* 3-Column Grid Layout with 420px center width */
.showcase-grid {
  display: grid !important;
  grid-template-columns: 1fr 420px 1fr !important;
  gap: 15px !important;
  align-items: center !important;
  position: relative !important;
  z-index: 2 !important;
  max-width: 1330px !important;
  margin: 0 auto !important;
}

/* Card Column Alignment and Vertical spacing */
.card-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 40px !important;
}

.left-column  { align-items: flex-end !important; }
.right-column { align-items: flex-start !important; }

/* General Card Design */
.showcase-card {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 20px 24px !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 18px !important;
  max-width: max-content;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.showcase-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
}

/* === CARD POSITIONING (DESKTOP) === */
@media (min-width: 992px) {
  .top-left-card     { transform: translateX(40px) translateY(-150px) !important;  border: 1px solid #e6eaf0; }
  .bottom-left-card  { transform: translateX(0px) translateY(-140px) !important;   border: 1px solid #e6eaf0; }
  .top-right-card    { transform: translateX(-40px) translateY(-140px) !important; border: 1px solid #e6eaf0; }
  .bottom-right-card { transform: translateX(10px) translateY(-133px) !important;  border: 1px solid #e6eaf0; }
}

/* Icon Styles */
.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px !important;
  box-shadow: 0 8px 18px -8px rgba(20, 44, 82, .5);
  font-weight: 800 !important;
}

.icon-red    { background-color: #d9383a !important; }
.icon-blue   { background-color: #1E88E5 !important; }
.icon-purple { background-color: #8E5FD6 !important; }
.icon-green  { background-color: #3E8E5B !important; }

/* Card titles (shared styles + individual colours) */
.custom-showcase-wrapper .card-title1,
.custom-showcase-wrapper .card-title2,
.custom-showcase-wrapper .card-title3,
.custom-showcase-wrapper .card-title4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
}
.custom-showcase-wrapper .card-title1 { color: #1E88E5 !important; }
.custom-showcase-wrapper .card-title2 { color: #D9492E !important; }
.custom-showcase-wrapper .card-title3 { color: #8E5FD6 !important; }
.custom-showcase-wrapper .card-title4 { color: #3E8E5B !important; }

.custom-showcase-wrapper .card-desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #000 !important;
  margin: 0 !important;
  font-weight: 400;
}

/* Center Image Container */
.image-column {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  position: relative !important;
  height: 480px !important;
  overflow: visible !important;
}

.center-person-img {
  height: 620px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: bottom center !important;
  position: absolute !important;
  bottom: -45px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 1 !important;
}

/* === HAND-DRAWN ARROWS (DESKTOP) === */
.hand-drawn-arrow {
  position: absolute !important;
  z-index: 15 !important;
  pointer-events: none !important;
}

.arrow-left {
  width: 30px !important;
  height: auto !important;
  left: calc(50% - 240px) !important;
  bottom: 68px !important;
}

.arrow-right {
  width: 80px !important;
  height: auto !important;
  right: calc(50% - 279px) !important;
  bottom: 48px !important;
}

/* Brand Container */
.brand-arch {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 960px !important;
  height: 100px !important;
  background: #ffffff !important;
  border: 1.5px solid #0e54b2 !important;
  border-radius: 24px !important;
  z-index: 11 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
  box-shadow: 0 10px 30px rgba(14, 86, 178, 0.08) !important;
}

/* Dome on top of the brand container */
.brand-trust-dome {
  position: absolute !important;
  bottom: calc(100% - 1.5px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 360px !important;
  height: 140px !important;
  background-color: #ffffff !important;
  border-top: 1.5px solid #0e54b2 !important;
  border-left: 1.5px solid #0e54b2 !important;
  border-right: 1.5px solid #0e54b2 !important;
  border-bottom: none !important;
  border-radius: 180px 180px 0 0 !important;
  z-index: 12 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding-bottom: 24px !important;
  box-sizing: border-box !important;
}

.arch-brand-trust-text {
  font-family: "Gloria Hallelujah", cursive;
  font-size: 22px !important;
  font-weight: 400 !important;
  color: #000000 !important;
  text-align: center !important;
  line-height: 1.5 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.arch-logos {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 880px !important;
  padding: 10px 10px !important;
}

.logo-item {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.logo-item img {
  height: 59px !important;
  width: auto !important;
  max-width: 130% !important;
  object-fit: contain !important;
}

.logo-small-item img {
  height: 39px !important;
}

.logo-divider {
  width: 1px !important;
  height: 30px !important;
  background-color: #cbd5e1 !important;
  margin: 0 10px !important;
}

/* Bottom Banner Gradient */
.banner-section1 {
  background: linear-gradient(100deg, #2050C8 0%, #5A57B0 52%, #d6394a 100%);
  border-radius: 16px !important;
  padding: 35px 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  position: relative !important;
  z-index: 10 !important;
  margin-top: 95px !important;
  box-shadow: 0 26px 60px -24px rgba(90, 87, 176, .55), 0 10px 30px -14px rgba(214, 57, 74, .35);
}

.banner-text {
  color: #ffffff !important;
  max-width: 66% !important;
}

.banner-heading {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}

.banner-para {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  width: 100% !important;
}

/* CTA Quote Button */
.quote-btnn {
  background-color: #fff !important;
  color: #2050c8 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15.5px !important;
  padding: 15px 28px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
  white-space: nowrap !important;
  overflow: hidden;
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, .25) !important;
}

.quote-btnn:hover {
  box-shadow: 0 18px 34px -8px rgba(0, 0, 0, .32);
  background-color: #f3f4f6 !important;
  transform: translateY(-2px) !important;
}

/* === TABLET & MOBILE === */
@media (max-width: 991px) {
  .custom-showcase-wrapper {
    padding: 40px 20px 40px 20px !important;
  }

  .top-left-card, .bottom-left-card, .top-right-card, .bottom-right-card {
    transform: none !important;
  }

  .showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .card-column {
    gap: 20px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .left-column, .right-column {
    align-items: center !important;
  }

  /* Show card 1 before card 2 on smaller screens */
  .left-column .bottom-left-card { order: 1 !important; }
  .left-column .top-left-card    { order: 2 !important; }

  .showcase-card {
    max-width: 100% !important;
  }

  .image-column {
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .center-person-img {
    position: relative !important;
    max-height: 380px !important;
    height: auto !important;
    width: auto !important;
    max-width: 100% !important;
    transform: none !important;
    left: auto !important;
    bottom: auto !important;
  }

  .arrow-left {
    left: calc(50% - 170px) !important;
    top: 245px !important;
    bottom: auto !important;
    width: 38px !important;
  }

  .arrow-right {
    right: calc(50% - 175px) !important;
    top: 235px !important;
    bottom: auto !important;
    width: 50px !important;
  }

  .brand-arch {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 24px !important;
    border: 1.5px solid #0e54b2 !important;
    padding: 24px !important;
    margin: 29px auto 20px auto !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
  }

  .brand-trust-dome {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 300px !important;
    height: 110px !important;
    border-radius: 150px 150px 0 0 !important;
    border: 1.5px solid #0e54b2 !important;
    border-bottom: none !important;
    background-color: #ffffff !important;
    margin: -135px auto 20px auto !important;
    padding-bottom: 15px !important;
  }

  .arch-brand-trust-text {
    font-size: 16px !important;
  }

  .arch-logos {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px 30px !important;
  }

  .logo-divider {
    display: none !important;
  }

  .logo-item {
    flex: none !important;
    width: 28% !important;
    min-width: 80px !important;
  }

  .banner-section1 {
    flex-direction: column !important;
    text-align: center !important;
    padding: 30px 24px !important;
    margin-top: 40px !important;
    gap: 20px !important;
  }

  .banner-text {
    max-width: 100% !important;
  }

  .banner-heading {
    font-size: 19px !important;
  }

  .custom-showcase-wrapper .banner-para {
    width: 100% !important;
  }

  .banner-action {
    width: 100% !important;
  }

  .quote-btnn {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  .custom-showcase-wrapper {
    padding: 0px 15px 40px 15px !important;
  }
}

/* === SMALL MOBILE === */
@media (max-width: 600px) {
  .banner-heading {
    font-size: 19px !important;
  }

  .custom-showcase-wrapper .banner-para {
    margin-top: 20px !important;
    font-size: 14px !important;
  }

  .card-column {
    grid-template-columns: 1fr !important;
  }

  .showcase-card {
    padding: 20px !important;
  }

  .center-person-img {
    max-height: 300px !important;
  }

  .arrow-left {
    left: calc(50% - 150px) !important;
    top: 143px !important;
    bottom: auto !important;
    width: 30px !important;
  }

  .arrow-right {
    right: calc(50% - 162px) !important;
    top: 140px !important;
    bottom: auto !important;
    width: 70px !important;
  }

  .logo-item {
    width: 40% !important;
  }

  .brand-trust-dome {
    width: 260px !important;
    height: 110px !important;
    border-radius: 130px 130px 0 0 !important;
    padding-bottom: 12px !important;
  }

  .arch-brand-trust-text {
    font-size: 14px !important;
  }
}