/* Homepage-only refinements. */
.home-refined .expert-stats-navy {
  
  padding: 52px 0 !important;
}
.home-refined .stats-container { max-width: 1240px !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px !important; }
.home-refined .stat-box { --stat-color: #46b9ff; background: #ffffff06 !important; border: 1px solid #ffffff20 !important; border-radius: 16px !important; padding: 20px 16px !important; box-shadow: none !important; }
.home-refined .stat-box:nth-child(2) { --stat-color: #ffba65; }
.home-refined .stat-box:nth-child(3) { --stat-color: #ba98ff; }
.home-refined .stat-box:nth-child(4) { --stat-color: #42d6ac; }
.home-refined .stat-box:hover { transform: translateY(-3px) !important; background: #ffffff0b !important; border-color: #ffffff40 !important; }
.home-refined .stat-icon-circle { width: 52px !important; height: 52px !important; color: var(--stat-color) !important; background: #ffffff0d !important; border: 1px solid #ffffff18; border-radius: 15px !important; margin-bottom: 12px !important; transform: none !important; }
.home-refined .stat-val { font-size: clamp(32px, 3.3vw, 46px) !important; font-variant-numeric: tabular-nums; }
.home-refined .stat-val::after { color: var(--stat-color) !important; }
.home-refined .stat-label { color: #c5d4e4 !important; font-size: 11px !important; letter-spacing: 1px !important; margin-top: 10px !important; margin-bottom: 0 !important; }
.home-refined .home-products { padding: 68px 24px !important;  }
.home-products > div { max-width: 1200px !important; }
.home-products h1 { background: none !important; -webkit-text-fill-color: #fff !important; animation: none !important; font-size: clamp(26px, 3vw, 36px) !important; }
.home-products h1 + div { margin-top: 10px !important; margin-bottom: 0 !important; }
.home-products h1 ~ p { color: #c5d5e5 !important; opacity: 1 !important; letter-spacing: 0.3px !important; }
.home-products .cyber-grid-container { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.home-products .cyber-card-compact { min-width: 0; min-height: 112px; padding: 10px 8px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid #ffffff24; border-radius: 14px; background: #ffffff07; box-shadow: none; transition: border-color 180ms, background 180ms; }
.home-products .cyber-card-compact:hover { background: #ffffff10; border-color: #8cafcc; transform: translateY(-3px); box-shadow: none; }
.home-products .icon-box-small { display: grid; place-items: center; width: 46px; height: 46px; margin: 0; border-radius: 13px; background: #5eaeff20; font-size: 25px; }
.home-products .cyber-card-compact:nth-child(3n+2) .icon-box-small { background: #c48cff20; }
.home-products .cyber-card-compact:nth-child(3n) .icon-box-small { background: #ffc77720; }
.home-products .card-label { color: #f0f5fc; margin: 0; font-size: 14px; line-height: 1.5; font-weight: 600; text-align: center; }
.home-products a[href^="tel:"] { box-shadow: 0 8px 24px #0002; }
.home-refined .testimonial-section { padding: 68px 24px; background: #f6f8fc; }
.home-refined .testimonial-card { max-width: 1200px; margin: 30px auto 0; border: 1px solid #e0e7f0; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 14px 40px #193a5c0a; }
.home-refined .testimonial-section .content-container { background: radial-gradient(ellipse at 100% 0%, #eef5ff, transparent 65%), #fff; padding: 36px 40px; }
.home-refined .testimonial-section .card-slant { display: none; }
.home-refined .testimonial-section .quote-icon { color: #e63946; opacity: 0.28; }
.home-refined .testimonial-text { color: #40536c; font-size: 16px; line-height: 1.85; }
.home-refined .home-insights { position: relative; padding: 64px 24px !important;  }
.home-insights .bg-animation-wrapper { display: none; }
.home-insights .display { font-size: clamp(25px, 2.6vw, 34px); line-height: 1.3; }
.home-insights .text-white-50 { color: #c0cfe0 !important; line-height: 1.7; }
.home-insights .bento-card { border: 1px solid #ffffff26; border-radius: 18px; box-shadow: none; transition: border-color 180ms, transform 180ms; }
.home-insights .blog-gradient { background: radial-gradient(ellipse at 100% 100%, #34658255, transparent 70%), #ffffff08; }
.home-insights .secondary-glass { background: #ffffff06; border-left: 1px solid #ffffff26 !important; }
.home-insights .bento-card:hover { transform: translateY(-3px); border-color: #91b0ce; box-shadow: 0 8px 22px #0001; }
.home-insights .btn-outline-light { width: 38px; height: 38px; display: inline-grid; place-items: center; border-color: #ffffff50; }
.home-insights .btn-light { color: #143652; background: #fff; font-weight: 600; }
.home-refined .home-clients { background: #fff; padding: 48px 0; border-bottom: 1px solid #edf0f5; }
.home-clients .logos-container { padding: 0; }
.home-clients .logos-heading { margin-bottom: 28px; color: #163456; font-size: 28px; }
.home-clients .logos-slider { padding: 16px 0; background: #fff; }
.home-clients .logos-slide img { object-fit: contain; border: 1px solid #e5eaf1; border-radius: 10px; box-shadow: 0 4px 12px #17345009; background: #fff; }
.home-refined #contact.home-contact-section { padding: 64px 24px; background: radial-gradient(ellipse at 0% 0%, #eaf2fc, transparent 55%), #f8fafc !important; }
.home-refined #contact.home-contact-section::before { display: none; }
.home-refined #contact .contact-grid { gap: 32px; align-items: center; }
.home-refined #contact .contact-grid > .reveal:first-child { padding: 32px; background: #fff; border: 1px solid #e0e7ef; border-radius: 18px; box-shadow: 0 10px 32px #193a5c08; }
.home-refined #contact .form-input { min-height: 46px; padding: 12px 14px; border: 1px solid #d9e3ee; border-radius: 8px; background: #fbfcfe; font-size: 14px; }
.home-refined #contact .form-input:focus { outline: 2px solid #c7ddf7; outline-offset: 1px; border-color: #568bca; box-shadow: none; }
.home-refined #contact select.form-input { appearance: auto !important; }
.home-refined #contact .form-label { color: #435670; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.home-refined #contact .btn-submit { padding: 13px 24px; border-radius: 9px; box-shadow: 0 5px 12px #e639461c; }
.home-refined #contact .contact-info-card { border: 1px solid #dce6f0; border-radius: 18px; padding: 30px; background: #fff; box-shadow: 0 10px 32px #193a5c08; }
.home-refined #contact .contact-info-card::before, .home-refined #contact .contact-info-card::after { display: none; }
.home-refined #contact .contact-info-item { padding: 16px; border: 1px solid #e5ebf3; border-radius: 12px; background: #f8fafd; margin-bottom: 12px; }
.home-refined #contact .contact-info-icon { color: #2680d9; background: #e6f2ff; border-radius: 11px; flex-shrink: 0; }
.home-refined #contact .contact-info-address .contact-info-icon { color: #d9546b; background: #ffebf0; }
.home-refined #contact .contact-info-item:last-child .contact-info-icon { color: #8a57c5; background: #f0e9fb; }
@media (max-width: 991px) {
  .home-products .cyber-grid-container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-refined .stats-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .home-refined .testimonial-section .content-container { padding: 28px; }
}
@media (max-width: 575px) {
  .home-refined .home-products, .home-refined .home-insights, .home-refined .testimonial-section, .home-refined #contact.home-contact-section { padding: 40px 16px !important; }
  .home-products .cyber-grid-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-refined .stats-container { gap: 12px !important; }
  .home-refined .stat-box { padding: 18px 10px !important; }
  .home-refined .stat-label { font-size: 10px !important; letter-spacing: 0.5px !important; }
  .home-refined #contact .contact-grid > .reveal:first-child, .home-refined #contact .contact-info-card { padding: 20px; }
  .home-refined .testimonial-section .content-container { padding: 24px; }
}

/* Keep the reference background flat, without the previous glow overlay. */
.home-insights > .container > .position-absolute { display: none; }

/* One reference palette and decorative treatment for every navy home section. */
.home-refined {
  --home-navy: #032a58;
  --home-blue-design: url('../image/home-navy-pattern.svg?v=4');
}
.home-refined .iparable-dba-section,
.home-refined .dba-cta-full-width,
.home-refined .expert-stats-navy,
.home-refined .home-products,
.home-refined .home-insights,
.home-refined .site-footer {
  background: var(--home-navy) var(--home-blue-design) center / cover no-repeat !important;
}
.home-refined .site-footer::before {
  display: none;
}
.home-refined .about-section {
  background: linear-gradient(135deg, transparent 42%, #f8fafc 42%, #fff 100%), var(--home-navy) var(--home-blue-design) center / cover no-repeat !important;
}
@media (max-width: 992px) {
  .home-refined .about-section {
    background: linear-gradient(180deg, transparent 38%, #fff 38%), var(--home-navy) var(--home-blue-design) center / cover no-repeat !important;
  }
}


/* A single balanced enquiry panel with a dedicated contact column. */
.home-refined #contact.home-contact-section { padding: 52px 24px; background: #f4f7fb !important; }
.home-refined #contact .contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; align-items: stretch; max-width: 1120px; margin: 0 auto; background: #fff; border: 1px solid #e0e7ef; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 40px #18324e0b; }
.home-refined #contact .contact-grid > .reveal:first-child { padding: 32px; border: 0; border-radius: 0; box-shadow: none; background: #fff; backdrop-filter: none; transform: none; }
.home-refined #contact .contact-grid > .reveal:first-child::before { display: none; }
.home-refined #contact .subtitle { font-size: 11px; margin-bottom: 8px; }
.home-refined #contact .title { font-size: clamp(26px, 2.5vw, 32px); line-height: 1.2; margin: 0 0 10px; }
.home-refined #contact .form-grid { gap: 16px; }
.home-refined #contact .form-group { margin-bottom: 16px; min-width: 0; }
.home-refined #contact .form-label { display: block; margin-bottom: 6px; font-size: 12px; }
.home-refined #contact .form-input { width: 100%; min-height: 44px; padding: 10px 12px; background: #f8fafc; box-shadow: none; }
.home-refined #contact .btn-submit { width: 100%; min-height: 46px; padding: 11px 20px; margin-top: 4px; font-size: 14px; background: #ed3549; box-shadow: none; }
.home-refined #contact .contact-info-card { height: 100%; min-height: 0; padding: 32px; border: 0; border-radius: 0; background: #092d54; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 24px; box-shadow: none !important; transform: none; }
.home-refined #contact .contact-info-list { gap: 0; }
.home-refined #contact .contact-info-item { padding: 14px 0; gap: 12px; margin: 0; border: 0; border-top: 1px solid #ffffff20; border-radius: 0; background: transparent; }
.home-refined #contact .contact-info-icon { flex: 0 0 38px; width: 38px; height: 38px; font-size: 16px; background: #ffffff10 !important; color: #8ec5f5 !important; border-radius: 10px; }
.home-refined #contact .contact-info-card .loc-text { font-size: 13px; line-height: 1.7; color: #c7d5e5; }
.home-refined #contact .contact-info-card .loc-text strong { display: inline-block; color: #fff; font-size: 13px; margin-bottom: 3px; }
.home-refined #contact .contact-info-link { color: #f3f7fc; font-size: 14px; font-weight: 600; }
.home-refined #contact .contact-info-link:hover { color: #8ec5f5; }
.home-refined #contact .contact-info-link:focus-visible { outline: 2px solid #8ec5f5; outline-offset: 4px; }
@media (max-width: 767px) {
  .home-refined #contact .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .home-refined #contact .contact-grid > .reveal:first-child,
  .home-refined #contact .contact-info-card { padding: 24px; }
}
@media (max-width: 420px) {
  .home-refined #contact .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Decorative navy contact background; retain the original contact content. */
.home-refined #contact .title { margin-bottom: 24px; }
.home-refined #contact .contact-info-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, transparent 0 34%, #164d7b55 34% 48%, transparent 48% 73%, #164d7b33 73% 84%, transparent 84%), linear-gradient(145deg, #08294c, #0b365f);
}
.home-refined #contact .contact-info-card::before {
  content: "";
  display: block;
  position: absolute;
  width: 320px;
  height: 320px;
  inset: auto -190px -180px auto;
  border: 1px solid #91c9f52b;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 32px #91c9f509, 0 0 0 64px #91c9f508, 0 0 0 96px #91c9f507;
  pointer-events: none;
  z-index: -1;
}
.home-refined #contact .contact-info-card::after {
  content: "";
  display: block;
  position: absolute;
  top: 24px;
  right: 24px;
  width: 66px;
  height: 46px;
  background: radial-gradient(circle, #9fcff54d 1.5px, transparent 2px) 0 0 / 14px 14px;
  pointer-events: none;
  z-index: -1;
}
.home-refined #contact .contact-info-list { gap: 16px; }
.home-refined #contact .contact-info-list > div:last-child { display: grid; gap: 16px; }
.home-refined #contact .contact-info-item {
  padding: 18px 16px;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  background: #07244280;
}
@media (max-width: 420px) {
  .home-refined #contact .contact-info-item { padding: 14px 12px; }
}


/* Contact hover and keyboard feedback. */
.home-refined #contact .contact-info-item {
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.home-refined #contact .contact-info-icon {
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}
.home-refined #contact .btn-submit {
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}
.home-refined #contact .contact-info-item:focus-within {
  background: #154875;
  border-color: #8ec5f580;
  box-shadow: 0 8px 20px #03172b33;
}
.home-refined #contact .btn-submit:focus-visible {
  outline: 3px solid #f5a7b0;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .home-refined #contact .contact-info-item:hover {
    transform: translateY(-3px);
    background: #154875;
    border-color: #8ec5f580;
    box-shadow: 0 8px 20px #03172b33;
  }
  .home-refined #contact .contact-info-item:hover .contact-info-icon {
    transform: scale(1.08);
    background: #8ec5f52b !important;
    color: #fff !important;
  }
  .home-refined #contact .form-input:hover { border-color: #8baacb; }
  .home-refined #contact .btn-submit:hover {
    transform: translateY(-2px);
    background: #d82439;
    box-shadow: 0 8px 18px #ed354933;
  }
}
.home-refined #contact .btn-submit:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .home-refined #contact .contact-info-item,
  .home-refined #contact .contact-info-icon,
  .home-refined #contact .btn-submit { transition: none; }
  .home-refined #contact .contact-info-item:hover,
  .home-refined #contact .contact-info-item:hover .contact-info-icon,
  .home-refined #contact .btn-submit:hover { transform: none; }
}
