:root {
  --bg: #f6fafc;
  --card-bg: #ffffff;
  --accent: #2d7aef;
  --muted: #6d6d6d;
  --shadow: 0 8px 24px rgba(18, 24, 40, 0.06);
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  margin: 0;
  background: var(--bg);
  color: #122028;
}

.section-wrap {
  max-width: 1200px;
  margin: 48px auto;
  padding: 28px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: 28px;
  margin: 0;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Grid: desktop 2 cards shown per row */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Card */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-shadow: var(--shadow);
  transform: translateY(8px);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.35s;
  opacity: 0;
  will-change: transform, opacity;
}
.card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(18, 24, 40, 0.08);
}

.card-media {
  flex: 0 0 45%;
  min-width: 220px;
  height: 240px;
  overflow: hidden;
  position: relative;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-title {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
}
.card-desc {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  font-size: 14px;
}

/* Ensure all cards same height */
.card {
  min-height: 240px;
}

/* Animation: slide left/right */
.slide-left {
  transform: translateX(-48px) translateY(8px);
  opacity: 0;
}
.slide-right {
  transform: translateX(48px) translateY(8px);
  opacity: 0;
}
.in-view.slide-left,
.in-view.slide-right {
  transform: translateX(0) translateY(0);
  opacity: 1;
  transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.5s;
}

/* Alternate pattern: odd -> left, even -> right */
.grid .card:nth-child(odd) {
  /* left */
}
.grid .card:nth-child(even) {
  /* right */
}

/* Responsive styling */
@media (max-width: 991px) {
  .section-wrap {
    padding: 18px;
  }
  .card-media {
    height: 200px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    flex-direction: column;
  }
  .card-media {
    width: 100%;
    flex-basis: auto;
    height: 220px;
  }
}

/* Small visual tweaks */
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #41c179);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
}

/* ======================================== why choose css ===========================================================*/
.why-choose-us {
  padding: 80px 0;
  background: #f7fdf9;
}

.why-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.05);
}

.why-box i {
  font-size: 42px;
  color: #39b54a;
  margin-bottom: 15px;
  transition: 0.3s ease;
}

.why-box h4 {
  font-weight: 600;
  margin: 10px 0;
  font-size: 18px;
}

.why-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Hover Effect */
.why-box:hover {
  transform: translateY(-10px);
  box-shadow: 0px 14px 35px rgba(0, 0, 0, 0.12);
  border-color: #39b54a;
}

.why-box:hover i {
  transform: scale(1.18);
  color: #2c8d3a;
}

@media (max-width: 768px) {
  .why-box {
    min-height: auto;
    padding: 25px;
  }
}

/* Scroll Animation Base */
.why-box {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

/* When visible */
.why-box.show {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delay */
.why-box:nth-child(1) {
  transition-delay: 0.1s;
}
.why-box:nth-child(2) {
  transition-delay: 0.2s;
}
.why-box:nth-child(3) {
  transition-delay: 0.3s;
}
.why-box:nth-child(4) {
  transition-delay: 0.4s;
}
.why-box:nth-child(5) {
  transition-delay: 0.5s;
}
.why-box:nth-child(6) {
  transition-delay: 0.6s;
}
.why-box:nth-child(7) {
  transition-delay: 0.7s;
}
.why-box:nth-child(8) {
  transition-delay: 0.8s;
}
.why-box:nth-child(9) {
  transition-delay: 0.9s;
}
.why-box:nth-child(10) {
  transition-delay: 1s;
}
.why-box:nth-child(11) {
  transition-delay: 1.1s;
}
.why-box:nth-child(12) {
  transition-delay: 1.2s;
}

/* 🔥 OPTIONAL — Smooth Glow Hover (Premium Feel) */
.why-box:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0px 18px 40px rgba(57, 181, 74, 0.25);
}

/* What Makes Unique Section */

.unique-features {
  padding: 80px 0;
  background: #f9fff9;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #222;
}

.uf-box {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: 0.4s;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0px 6px 25px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.uf-box img {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto 20px;
  transition: 0.3s;
}

.uf-box h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.uf-box p {
  font-size: 15px;
  color: #555;
}

/* Hover Effects */
.uf-box:hover {
  transform: translateY(-12px);
  border-color: #39b54a;
  box-shadow: 0px 20px 45px rgba(57, 181, 74, 0.25);
}

.uf-box:hover img {
  transform: scale(1.12);
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
  .uf-box {
    min-height: auto;
  }
}

.faq-section {
  background: #f4fff6;
  padding: 60px 0;
}

.faq-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #00a651;
  margin-bottom: 30px;
}

.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 166, 81, 0.15);
  padding: 0;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.faq-item.active {
  box-shadow: 0 6px 20px rgba(0, 166, 81, 0.3);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  background: #ffffff;
  color: #000;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}

.faq-question:after {
  content: "+";
  font-size: 24px;
  color: #00a651;
  position: absolute;
  right: 20px;
  top: 14px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question:after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 16px;
  color: #333;
  transition: max-height 0.4s ease-in-out, padding 0.3s;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 10px 20px 20px;
}

/* 🔹 Hero Airpurifier - Mobile Fix */
@media only screen and (max-width: 768px) {
  .hero-airpurifier {
    padding: 50px 0 30px;
    text-align: center;
    overflow: hidden;
    position: relative;
  }

  .hero-airpurifier .title2 {
    margin-top: 55px !important;
  }

  .hero-airpurifier h1 {
    font-size: 26px !important;
    line-height: 32px !important;
    font-weight: 700;
  }

  .hero-airpurifier h6 {
    font-size: 14px;
    line-height: 22px;
  }

  .hero-airpurifier .btn2_group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-airpurifier .illas_wrap img {
    width: 260px !important;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-airpurifier .illas_box {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: relative !important;
    text-align: center;
    margin-top: 20px;
  }
}

.product-section {
  padding: 60px 0;
}

.product-box {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease-in-out;
}

.product-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.product-box:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(103, 193, 59, 0.85); /* Theme Overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s ease;
}

.product-box:hover .overlay {
  opacity: 1;
}

.overlay h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.product-btn {
  background: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #67c13b;
  transition: 0.3s;
}

.product-btn:hover {
  background: #000;
  color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
  .product-box {
    height: 350px;
    margin-bottom: 30px;
  }
  .overlay h2 {
    font-size: 22px;
  }
}

/* about css */
.feature-area {
  background: #fff;
}

.feature-heading {
  color: #ed7679;
  font-weight: 700;
  margin-bottom: 18px;
}

.feature-text {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.feature-btn {
  background: #ed7679;
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  transition: 0.3s;
}

.feature-btn:hover {
  background: #c85a64;
  transform: translateY(-3px);
}

/* Image Animation — Subtle Floating + Hover Movement */
.feature-img {
  width: 100%;
  max-width: 600px;
  animation: floatImg 5s ease-in-out infinite;
  transition: transform 0.4s;
}

.feature-img:hover {
  transform: scale(1.05) rotate(-1deg);
}

@keyframes floatImg {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.dual-image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  /* space between images */
  padding: 50px 0;
  width: 100%;
}

.image-box {
  width: 600px;
  height: 600px;
  overflow: hidden;
  border-radius: 10px;
  /* optional rounded corners */
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* maintain quality without distortion */
  transition: 0.4s ease-in-out;
}

.image-box:hover img {
  transform: scale(1.05);
  /* smooth zoom effect */
}

/* Responsive Mobile */
@media (max-width: 992px) {
  .dual-image-section {
    flex-wrap: wrap;
  }

  .image-box {
    width: 100%;
    height: auto;
  }

  .image-box img {
    height: auto;
  }
}

.cta_area {
  text-align: left;
}

.cta_btn {
  background: #0f8a2d;
  /* Your theme green */
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
  text-decoration: none;
}

.cta_btn:hover {
  background: #0c6d23;
  /* Darker hover */
  transform: translateY(-2px);
}

.cta-sub {
  font-size: 14px;
  margin-top: 8px;
  color: #fff;
}

/* Mobile */
@media (max-width: 576px) {
  .cta_btn {
    width: 100%;
  }
}
