/* Homepage banner — match hfjnge.com image-layer carousel layout */
.banner-one .banner-carousel .slide-item {
  min-height: 420px;
}

.banner-carousel .slide-item .image-layer {
  position: relative;
  display: block;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

.banner-carousel .slide-item .image-layer a {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-carousel .slide-item .image-layer img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.banner-section .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  margin-top: -25px;
  z-index: 10;
}

.banner-section .owl-nav .owl-prev,
.banner-section .owl-nav .owl-next {
  position: absolute;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.banner-section .owl-nav .owl-prev {
  left: 20px;
}

.banner-section .owl-nav .owl-next {
  right: 20px;
}

@media (max-width: 767px) {
  .banner-one .banner-carousel .slide-item,
  .banner-carousel .slide-item .image-layer,
  .banner-carousel .slide-item .image-layer img {
    min-height: 220px;
    height: 220px;
  }
}

/* About section — stable two-column layout + React slider (no jQuery slick) */
.about_content .tab-content {
  overflow: hidden;
}

.about_content #about01 {
  overflow: hidden;
}

.about_content #about01:before,
.about_content #about01:after {
  content: '';
  display: table;
}

.about_content #about01:after {
  clear: both;
}

/* Stay inside bootstrap col-sm-6 — do not force full row width */
.about_content .about_image {
  overflow: visible;
  max-width: 100%;
  box-sizing: border-box;
  padding-bottom: 28px;
  margin-bottom: 10px;
}

.home-about-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
  /* Image sits above buttons — gap so image doesn't flush into next section */
  padding-bottom: 20px;
}

.home-about-slider__slide {
  display: none;
  width: 100%;
}

.home-about-slider__slide.is-active {
  display: block;
}

/* Fixed 635×474 frame from solar-jc.com — stops height jumping between slides */
.home-about-slider__slide .li {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 74.645%;
  overflow: hidden;
  line-height: 0;
}

.home-about-slider__slide .li > a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-about-slider__slide .li img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Buttons sit at slider bottom — slightly below image edge */
.about_content .about_image .home-about-slider .slick-prev,
.about_content .about_image .home-about-slider .slick-next {
  top: auto;
  bottom: 0;
  margin-top: 0;
  z-index: 3;
}

@media (max-width: 767px) {
  .about_content .about_image .home-about-slider .slick-next {
    left: auto;
    right: 0;
  }
}

/* Solutions section — yndqgroup-style tabs in JCPOWER legacy theme */
.solution_content {
  padding: 70px 0 80px;
  background: #fff;
  position: relative;
  z-index: 4;
}

.solution_content .main_title .text {
  max-width: 760px;
  margin: 15px auto 0;
  color: #808080;
  font-size: 14px;
  line-height: 24px;
}

.solution_content .sol-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 30px;
  padding: 0;
  list-style: none;
  border: none;
}

.solution_content .sol-tabs li {
  float: none;
  margin: 0;
}

.solution_content .sol-tabs button {
  border: 1px solid #ddd;
  background: #f7f7f7;
  color: #333;
  font-family: 'BarlowCondensed', sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.2;
  padding: 12px 22px;
  cursor: pointer;
  transition: all 0.3s;
}

.solution_content .sol-tabs button.active,
.solution_content .sol-tabs button:hover {
  background: #3f377d;
  border-color: #3f377d;
  color: #fff;
}

.solution_content .sol-panel {
  display: none;
  background: #f7f7f7;
  border-radius: 0 0 0 60px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.solution_content .sol-panel.active {
  display: block;
}

.solution_content .sol-panel-inner {
  display: flex;
  flex-wrap: wrap;
}

.solution_content .sol-panel-img {
  flex: 1 1 45%;
  min-width: 280px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.solution_content .sol-panel-img img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.solution_content .sol-panel-body {
  flex: 1 1 55%;
  min-width: 280px;
  padding: 50px 45px;
}

.solution_content .sol-panel-body h3 {
  font-family: 'BarlowCondensed', sans-serif;
  text-transform: uppercase;
  color: #3f377d;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 18px;
}

.solution_content .sol-panel-body p {
  color: #666;
  font-size: 14px;
  line-height: 26px;
  margin-bottom: 22px;
}

.solution_content .sol-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.solution_content .sol-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #444;
  font-size: 14px;
  line-height: 22px;
}

.solution_content .sol-features li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f377d;
}

.solution_content .sol-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.solution_content .sol-actions .main_more {
  margin: 0;
}

.solution_content .sol-actions .main_more.more_con {
  background: transparent;
  color: #3f377d;
  border: 1px solid #3f377d;
}

@media (max-width: 991px) {
  .solution_content .sol-panel-body {
    padding: 30px 24px;
  }

  .solution_content .sol-panel-body h3 {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .solution_content {
    padding: 40px 0 50px;
  }

  .solution_content .sol-tabs button {
    font-size: 14px;
    padding: 10px 14px;
  }

  .solution_content .sol-panel {
    border-radius: 0;
  }
}

/* Fixed contact: icon sits outside <a>; whole row should feel clickable */
.fixed-contact li.online_p,
.fixed-contact li.online_e,
.fixed-contact li.online_w {
  cursor: pointer;
}

/* Footer Contact & advisory — distinct email / WhatsApp icons */
.fot_con li.fot_con02 .wrap > div .icon01.icon01--email,
.fot_con li.fot_con02 .wrap > div .icon01.icon01--whatsapp {
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  line-height: 21px;
}

.fot_con li.fot_con02 .wrap > div .icon01.icon01--whatsapp {
  color: #fff;
}

/* Address | Email | WhatsApp — three matching blocks */
.footer .fot_con {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer .fot_con > li.fot_add,
.footer .fot_con > li.fot_email,
.footer .fot_con > li.fot_whatsapp {
  width: 33.333%;
  padding-right: 20px;
  margin-bottom: 20px;
  float: none;
}

/* Match legacy .fot_con li .icon i (50×50) — white, not brand green */
.footer .fot_con > li .icon.icon--whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer .fot_con > li .icon.icon--whatsapp i {
  background: none !important;
  width: 50px !important;
  height: 50px !important;
  font-size: 48px;
  line-height: 50px !important;
  text-align: center;
  color: #fff !important;
  font-family: FontAwesome;
  font-style: normal;
  display: block;
}

.footer .fot_con > li .icon.icon--whatsapp i:before {
  content: '\f232';
}

/* Footer: Need Help | Solutions | Products | Follow us */
.footer .fot_nav {
  width: 20%;
  padding-right: 20px;
  padding-left: 0;
}

.footer .fot_solutions {
  width: 22%;
  padding-right: 20px;
  padding-left: 0;
}

.footer .fot_solutions ul {
  -moz-column-count: 1;
  -webkit-column-count: 1;
  column-count: 1;
}

.footer .fot_tag {
  width: 36%;
  padding-right: 20px;
}

.footer .fot_products {
  float: left;
  width: 36%;
  padding-right: 20px;
}

.footer .fot_letter {
  width: 22%;
}

@media (max-width: 991px) {
  .footer .fot_con > li.fot_add,
  .footer .fot_con > li.fot_email,
  .footer .fot_con > li.fot_whatsapp {
    width: 100%;
    padding-right: 0;
  }

  .footer .fot_products {
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
  }
}
