/* Extracted from about-us.html */
/* === Saniklear "Why Homeowners Like Us" cards – dark glass always === */

.feature-layout1 .feature-item {
  position: relative;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Base state: ALWAYS dark glassy blue */
.feature-layout1 .feature__body {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: rgba(1, 36, 74, 0.94) !important;
  /* dark blue before and after hover */
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Replace original white overlay with a subtle yellow glow */
.feature-layout1 .feature__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(254, 224, 35, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

/* Hover: stronger glow + shadow, still dark blue */
.feature-layout1 .feature-item:hover .feature__body {
  background: rgba(1, 36, 74, 0.98) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
  border-color: rgba(254, 224, 35, 0.65);
}

.feature-layout1 .feature-item:hover .feature__body::before {
  opacity: 1;
}

/* Text colours so nothing disappears */
.feature-layout1 .feature__title,
.feature-layout1 .feature__desc,
.feature-layout1 .feature__body .btn__link span {
  color: #ffffff !important;
}

.feature-layout1 .feature__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Icon bubble so it stands out on dark glass */
.feature-layout1 .feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fee023;
  /* yellow bubble */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-layout1 .feature__icon i {
  font-size: 26px;
  color: #01244a;
  /* dark blue icon inside yellow */
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Hover: green bubble, yellow rim, white icon */
.feature-layout1 .feature-item:hover .feature__icon {
  background: #4CAF50;
  /* green */
  border-color: #fee023;
  /* yellow ring */
  transform: translateY(2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.65);
}

.feature-layout1 .feature-item:hover .feature__icon i {
  color: #ffffff;
  transform: rotate(4deg);
}

/* Outlined arrow circle on the buttons */
.feature-layout1 .btn__link .icon-outlined {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Keep the "Read More / Check It Now" button at the bottom of each card */
.feature-layout1 .feature__body .btn__link {
  margin-top: auto;
}

/* === Saniklear "Easy Steps" cards – upgraded styling === */
/* Palette:
       yellow:   #fee023
       white:    #ffffff
       green:    #4CAF50
       dark blue:#01244a
    */

.work-process-layout2 {
  position: relative;
  z-index: 1;
}

.work-process-layout2 .process-row {
  position: relative;
  margin-top: 10px;
}

/* Connecting line between steps on desktop */
@media (min-width: 992px) {
  .work-process-layout2 .process-row::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.32),
        rgba(255, 255, 255, 0));
    z-index: 0;
  }
}

.work-process-layout2 .process-item {
  position: relative;
  background: rgba(1, 36, 74, 0.92);
  /* dark blue glass */
  border-radius: 18px;
  padding: 30px 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 1;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.work-process-layout2 .process-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(254, 224, 35, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.work-process-layout2 .process-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
  border-color: rgba(254, 224, 35, 0.65);
  /* yellow accent */
}

.work-process-layout2 .process-item:hover::before {
  opacity: 1;
}

/* Step number badge (kept for legacy HTML but visually hidden below) */
.work-process-layout2 .process__number {
  position: relative;
  top: 0;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fee023;
  /* yellow */
  border: 2px solid #ffffff;
  /* white ring */
  color: #01244a;
  /* dark blue text */
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Checkmark badge (appears on hover) */
.work-process-layout2 .check__icon {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) scale(0.6);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #4CAF50;
  /* green */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.work-process-layout2 .process-item:hover .check__icon {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.work-process-layout2 .process__title {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 8px;
}

.work-process-layout2 .process__desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

/* Bottom icon bubble */
.work-process-layout2 .process__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(1, 36, 74, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.work-process-layout2 .process__icon i {
  font-size: 28px;
  color: #ffffff;
  /* white */
  transition: color 0.2s ease, transform 0.2s ease;
}

.work-process-layout2 .process-item:hover .process__icon {
  background: #fee023;
  /* yellow */
  border-color: #fee023;
  /* yellow rim */
  transform: translateY(3px) rotate(-4deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.work-process-layout2 .process-item:hover .process__icon i {
  color: #01244a;
  transform: rotate(4deg);
}

@media (max-width: 767.98px) {
  .work-process-layout2 .process-item {
    margin-bottom: 20px;
  }
}

/* Modern step badges (Step · tag) */
.work-process-layout2 .process__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(1, 36, 74, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.work-process-layout2 .process__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.3);
  flex-shrink: 0;
}

.work-process-layout2 .process__badge-label {
  font-weight: 700;
  opacity: 0.9;
}

.work-process-layout2 .process__badge-tag {
  font-weight: 500;
  opacity: 0.85;
}

.work-process-layout2 .process-item:hover .process__badge-dot {
  background: #fee023;
  box-shadow: 0 0 0 5px rgba(254, 224, 35, 0.45);
}

/* Hide old circular numbers visually if the HTML still contains them */
.work-process-layout2 .process__number {
  display: none !important;
}

/* === About page small CTA banner – match "Easy Steps" card design === */

.about-layout1 .about__img .cta__banner {
  position: absolute;
  left: 30px;
  /* tweak these if you want to move it */
  bottom: 30px;
  max-width: 260px;
  /* similar width to your screenshot */
  background: rgba(1, 36, 74, 0.92);
  /* dark blue glass */
  border-radius: 18px;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 3;
}

/* yellow glow like the Easy Steps cards */
.about-layout1 .about__img .cta__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top,
      rgba(254, 224, 35, 0.18),
      transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

/* hover effect – lift + stronger glow + yellow border */
.about-layout1 .about__img .cta__banner:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
  border-color: rgba(254, 224, 35, 0.65);
  /* yellow accent */
}

.about-layout1 .about__img .cta__banner:hover::before {
  opacity: 1;
}

/* icon bubble (reuse Easy Steps icon style) */
.about-layout1 .about__img .cta__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(1, 36, 74, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.about-layout1 .about__img .cta__icon i {
  font-size: 28px;
  color: #fee023;
  /* yellow */
  transition: color 0.2s ease, transform 0.2s ease;
}

/* hover: green bubble, yellow rim, white icon – same as process__icon */
.about-layout1 .about__img .cta__banner:hover .cta__icon {
  background: #4CAF50;
  /* green */
  border-color: #fee023;
  /* yellow rim */
  transform: translateY(3px) rotate(-4deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.about-layout1 .about__img .cta__banner:hover .cta__icon i {
  color: #ffffff;
  transform: rotate(4deg);
}

/* text colours like Easy Steps card */
.about-layout1 .about__img .cta__desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0;
}

/* small dots at bottom of slider inside banner */
.about-layout1 .about__img .cta__banner .slick-dots li button {
  background: rgba(255, 255, 255, 0.35);
}

.about-layout1 .about__img .cta__banner .slick-dots li.slick-active button {
  background: #fee023;
}

/* === Saniklear Pricing Packages – modern cards === */

.pricing-layout2 .packages-wrapper {
  margin-top: 10px;
}

.pricing-layout2 .packages-wrapper>[class*="col-"] {
  margin-bottom: 30px;
}

/* Whole card */
.pricing-layout2 .pricing-package {
  position: relative;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

/* Thin accent line at the top */
.pricing-layout2 .pricing-package::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fee023, #4CAF50);
}

/* Inner body area */
.pricing-layout2 .package__body {
  padding: 30px 24px 24px;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.98),
      rgba(1, 36, 74, 0.03));
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

/* Titles */
.pricing-layout2 .package__subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #01244a;
  opacity: 0.7;
  margin-bottom: 6px;
}

.pricing-layout2 .package__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #01244a;
  margin-bottom: 18px;
}

/* Description text */
.pricing-layout2 .package__desc {
  font-size: 0.95rem;
  color: rgba(1, 36, 74, 0.85);
  margin-bottom: 16px;
}

/* List with custom check bullets */
.pricing-layout2 .package__list {
  margin: 0;
  padding: 0;
}

.pricing-layout2 .package__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 6px;
  color: rgba(1, 36, 74, 0.9);
  font-size: 0.95rem;
}

/* UPDATED: dark blue checks for ALL packages */
.pricing-layout2 .package__list li::before {
  content: "\f00c";
  /* fa-check */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #01244a;
  /* dark blue bullet */
  color: #ffffff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon bubbles row (top icons you already have) */
.pricing-layout2 .package__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #01244a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

/* UPDATED: icons are white and do NOT change color on hover */
.pricing-layout2 .package__icon i {
  font-size: 26px;
  color: #ffffff;
  /* always white */
  transition: transform 0.2s ease;
  /* removed color from transition */
}

/* Footer strip (price + button) */
.pricing-layout2 .package__footer {
  align-items: stretch;
}

.pricing-layout2 .package__footer .bg-img {
  opacity: 0.9;
}

.pricing-layout2 .package__price {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #01244a;
}

.pricing-layout2 .package__price span {
  color: #01244a;
}

.pricing-layout2 .package__period {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Hover states – subtle lift + color shift (bubble only) */
.pricing-layout2 .pricing-package:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.pricing-layout2 .pricing-package:hover .package__body {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.99),
      rgba(254, 224, 35, 0.18));
}

/* bubble still animates, but icon remains white */
.pricing-layout2 .pricing-package:hover .package__icon {
  background: #4CAF50;
  border-color: #fee023;
  transform: translateY(3px) rotate(-4deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

/* UPDATED: no color change on hover, only slight rotation if you like */
.pricing-layout2 .pricing-package:hover .package__icon i {
  color: #ffffff;
  /* stays white */
  transform: rotate(4deg);
}

/* Portfolio description text - limit to 2 lines by default, expand on click */
.portfolio-item .portfolio__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}

.portfolio-item.expanded .portfolio__desc {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

/* === Saniklear "Industries We Serve" portfolio cards === */
.portfolio-layout1 .carousel-container {
  /* extra bottom padding so cards don't appear cut off */
  padding-bottom: 70px;
}

/* Whole slide/card */
.portfolio-layout1 .portfolio-item {
  position: relative;
  border-radius: 22px;
  overflow: visible !important;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  padding-bottom: 24px;
  transform-origin: center center;
}

/* Image wrapper */
.portfolio-layout1 .portfolio__img {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.portfolio-layout1 .portfolio__img img {
  width: 100%;
  height: auto;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

/* Overlay body: keep content but remove white card and shadow */
/* 覆盖 style.css 中的 margin-bottom: -70px */
.portfolio-layout1 .portfolio__body {
  position: relative;
  margin: -24px 0 0 !important;
  padding: 16px 24px;
  box-sizing: border-box;
  background: transparent;
  border-radius: 8px;
  box-shadow: none;
  min-height: auto;
  display: flex;
  flex-direction: column;
  z-index: 2;
  color: #01244a;
  opacity: 0.92;
  transition: opacity 0.3s ease !important;
}

/* Thin yellow–green accent bar at the top of the body */
.portfolio-layout1 .portfolio__body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fee023, #4CAF50);
}

/* Text styles */
.portfolio-layout1 .portfolio__title {
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #01244a;
}

.portfolio-layout1 .portfolio__desc {
  font-size: 0.95rem;
  color: rgba(1, 36, 74, 0.85);
  margin-bottom: 10px;
}

.portfolio-layout1 .portfolio__body .btn__link,
.portfolio-layout1 .portfolio__body .btn {
  margin-top: auto;
}

/* Hover effects: Option 1 Enhanced - 简洁淡入效果 + 光泽扫过 */
/* 覆盖 style.css 中的 translateY 效果，防止卡片向上移动 */
.portfolio-layout1 .portfolio-item:hover .portfolio__body,
.portfolio-layout1 .portfolio-item:hover .portfolio__img {
  transform: none !important;
  -webkit-transform: none !important;
}

/* 卡片整体轻微放大效果 */
.portfolio-layout1 .portfolio-item {
  transition: all 0.3s ease;
  transform-origin: center center;
  overflow: visible !important;
}

.portfolio-layout1 .portfolio-item:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* 图片容器 - 添加光泽扫过效果 */
.portfolio-layout1 .portfolio__img {
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.portfolio-layout1 .portfolio-item:hover .portfolio__img {
  opacity: 0.95;
}

.portfolio-layout1 .portfolio__img img {
  display: block;
  width: 100%;
}

/* 光泽扫过效果 */
.portfolio-layout1 .portfolio__img::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: 2;
}

.portfolio-layout1 .portfolio-item:hover .portfolio__img::after {
  transform: translateX(100%);
}

/* 内容区域淡入 */
.portfolio-layout1 .portfolio__body {
  transition: all 0.3s ease !important;
}

.portfolio-layout1 .portfolio-item:hover .portfolio__body {
  opacity: 1;
}

/* 标题变绿色 */
.portfolio-layout1 .portfolio__title {
  transition: color 0.3s ease;
}

.portfolio-layout1 .portfolio-item:hover .portfolio__title {
  color: #4CAF50;
}

/* 描述文字保持不变 */
.portfolio-layout1 .portfolio__desc {
  transition: all 0.3s ease;
}

/* Read More按钮文字变绿色 */
.portfolio-layout1 .portfolio__body .btn__primary.btn__link {
  transition: color 0.3s ease;
}

.portfolio-layout1 .portfolio-item:hover .btn__primary.btn__link {
  color: #4CAF50;
}

.portfolio-layout1 .portfolio-item:hover .btn__primary.btn__link span {
  color: #4CAF50;
}

/* 按钮箭头效果 */
.portfolio-layout1 .portfolio__body .btn__primary.btn__link .icon-filled {
  background-color: #01244a;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.portfolio-layout1 .portfolio-item:hover .btn__primary.btn__link .icon-filled {
  background-color: #4CAF50;
  transform: translateX(3px);
}

/* === FIXES REQUESTED === */

/* 1) Third pricing package list bullets must be dark blue (override any yellow) */
.pricing-layout2 .packages-wrapper>div:nth-child(3) .package__list li::before {
  background: #01244a !important;
}

/* 2) No more hover color effect on icons – keep base colors */

/* Feature cards: keep icon dark blue on hover */
.feature-layout1 .feature-item:hover .feature__icon i {
  color: #01244a !important;
}

/* Work process cards: keep icon dark blue on hover */
.work-process-layout2 .process-item:hover .process__icon i {
  color: #01244a !important;
}

/* About CTA banner: keep icon yellow on hover */
.about-layout1 .about__img .cta__banner:hover .cta__icon i {
  color: #fee023 !important;
}

/* Override the hover effect on the icon bubble (.package__icon) to keep its original dark blue background and border color. */
.pricing-layout2 .pricing-package:hover .package__icon {
  background: #01244a !important;
  /* Original dark blue background */
  border-color: rgba(255, 255, 255, 0.3) !important;
  /* Original border color */
}

/* Ensure the icon itself (.package__icon i) stays white on hover, overriding any other rule. */
.pricing-layout2 .pricing-package:hover .package__icon i {
  color: #ffffff !important;
  /* Original white icon color */
}

/* Extra bottom space so curved edges of the overlay body are visible (kept inside slick-track) */
.portfolio-layout1 .carousel-container {
  padding-bottom: 90px;
}

/* 移除重复的 padding-bottom 设置，使用上面 .portfolio-item 的 24px */

.portfolio-layout1 .slick-slide {
  padding-bottom: 40px;
}

/* Slightly larger radius for visible curve */
.portfolio-layout1 .portfolio__body {
  border-radius: 12px;
}