:root {
  --jd-blue: #061a8e;
  --jd-blue-bright: #1236c4;
  --jd-navy: #07133a;
  --jd-ink: #111827;
  --jd-silver: #858791;
  --jd-soft: #f3f5fb;
}

/* Logo */
.rs-header .logo-area {
  display: flex;
  align-items: center;
  min-height: 82px;
}

.full-width-header .rs-header .menu-area .logo-area img.jdpower-logo {
  width: 188px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.rs-footer .jdpower-footer-logo {
  width: 210px;
  height: auto;
  padding: 8px 12px;
  background: #fff;
  border-radius: 6px;
}

/* Brand color refinements */
.toolbar-area,
.rs-footer,
.rs-footer.footer-main-home,
.rs-counter.counter-style1,
.rs-choose.choose-style1 .video-item {
  background-color: var(--jd-navy);
}

.readon,
.readon.more,
.readon.more.contact,
.readon.more.submit,
.rs-header .menu-area .navbar ul li a::before,
#scrollUp i,
.rs-project.project-style1 .project-item .project-content,
.rs-services.services-main-home .services-item:hover .services-icon {
  background-color: var(--jd-blue);
}

.readon:hover,
.readon.more:hover,
.readon.more.contact:hover,
.readon.more.submit:hover {
  background-color: var(--jd-blue-bright);
}

/* Keep calls to action readable on photographs and brand-colored surfaces. */
.readon,
.readon.more,
.readon.more.contact,
.readon.more.submit,
.rs-slider.slider-style1 .slider-item .slider-inner .content-part .readon {
  color: #fff !important;
  border-color: var(--jd-blue) !important;
  text-shadow: none;
}

.rs-slider.slider-style1 .slider-item .slider-inner .content-part {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 34px 38px;
  background: rgba(255, 255, 255, 0.88);
  border-left: 5px solid var(--jd-blue);
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(7, 19, 58, 0.2);
  backdrop-filter: blur(2px);
}

.rs-slider.slider-style1 .slider-item .slider-inner .content-part .sl-title,
.rs-slider.slider-style1 .slider-item .slider-inner .content-part .sl-desc {
  color: #0b1024 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rs-slider.slider-style1 .slider-item .slider-inner .content-part .sl-subtitle {
  color: var(--jd-blue) !important;
  font-weight: 800;
}

.rs-faq.faq-style1 .accordion .card .card-header .card-link {
  color: #fff !important;
  background: var(--jd-blue) !important;
}

.rs-faq.faq-style1 .accordion .card .card-header .card-link.collapsed {
  color: #fff !important;
  background: var(--jd-navy) !important;
}

.rs-faq.faq-style1 .accordion .card .card-body {
  color: #263047;
  background: #f7f8fc;
}

.rs-cta.bg4 {
  position: relative;
}

.rs-cta.bg4::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 19, 58, 0.76);
}

.rs-cta.bg4 .container {
  position: relative;
  z-index: 1;
}

.rs-cta.bg4 .sec-title .sub-text,
.rs-cta.bg4 .sec-title .title,
.rs-cta.bg4 .sec-title .desc {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.rs-services.services-main-home .services-item .services-wrap .services-content,
.rs-project.project-style1 .project-item .project-content {
  box-shadow: 0 10px 30px rgba(7, 19, 58, 0.2);
}

.rs-services.services-main-home .services-item .services-wrap .services-content .title a,
.rs-project.project-style1 .project-item .project-content .title a,
.rs-project.project-style1 .project-item .project-content .category a {
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

a:hover,
.rs-header .menu-area .main-menu .rs-menu ul.nav-menu li.current-menu-item > a,
.rs-header .menu-area .main-menu .rs-menu ul.nav-menu li a:hover,
.sec-title .sub-text,
.sec-title .sub-text.yellow-color,
.rs-services.services-main-home .services-item .services-content .title a:hover,
.rs-footer .footer-top .site-map li a:hover {
  color: var(--jd-blue-bright);
}

/* Product showcase */
.jd-products {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(18, 54, 196, 0.11), transparent 27%),
    linear-gradient(180deg, #ffffff 0%, var(--jd-soft) 100%);
}

.jd-products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--jd-blue), var(--jd-blue-bright), #7b8190);
}

.jd-sub-text {
  display: inline-block;
  padding: 7px 14px;
  margin-bottom: 13px;
  color: var(--jd-blue) !important;
  background: rgba(6, 26, 142, 0.09);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jd-products-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.jd-products .sec-title {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.jd-product-card {
  height: 100%;
  min-height: 470px;
  padding: 0 30px 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e6f2;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(7, 19, 58, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.jd-product-image {
  height: 215px;
  margin: 0 -30px 26px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.jd-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.45s ease;
}

.jd-product-card:hover .jd-product-image img {
  transform: scale(1.06);
}

.jd-product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(6, 26, 142, 0.38);
  box-shadow: 0 20px 46px rgba(7, 19, 58, 0.14);
}

.jd-product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 25px;
  color: #fff;
  background: linear-gradient(145deg, var(--jd-blue-bright), var(--jd-blue));
  border-radius: 9px;
  box-shadow: 0 9px 20px rgba(6, 26, 142, 0.24);
}

.jd-product-icon i {
  font-size: 25px;
}

.jd-product-card h3 {
  margin-bottom: 14px;
  color: var(--jd-ink);
  font-size: 21px;
  line-height: 1.35;
}

.jd-product-card p {
  min-height: 78px;
  margin-bottom: 18px;
  color: #5e6677;
}

.jd-product-card a {
  color: var(--jd-blue);
  font-weight: 700;
}

.jd-product-card a i {
  margin-left: 7px;
  transition: transform 0.25s ease;
}

.jd-product-card a:hover i {
  transform: translateX(5px);
}

.jd-product-card--cta {
  color: #fff;
  background: linear-gradient(145deg, var(--jd-navy), var(--jd-blue));
  border-color: transparent;
}

.jd-product-card--cta h3,
.jd-product-card--cta p,
.jd-product-card--cta a {
  color: #fff;
}

.jd-product-card--cta .jd-product-icon {
  color: var(--jd-blue);
  background: #fff;
}

.jd-product-card--cta .jd-product-image {
  background: #fff;
}

@media only screen and (max-width: 991px) {
.full-width-header .rs-header .menu-area .logo-area img.jdpower-logo {
    width: 160px;
    height: auto;
    max-height: 58px;
  }
}

@media only screen and (max-width: 575px) {
  .rs-slider.slider-style1 .slider-item .slider-inner .content-part {
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.92);
  }

  .jd-product-card {
    min-height: 0;
  }

  .jd-product-image {
    height: 200px;
  }

  .jd-product-card p {
    min-height: 0;
  }
}
