

/* ================= FEATURE SECTION ================= */

.services-feature-section {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  text-align: center;
}

/* Title */
.sf-title {
  font-size: 36px;
  font-weight: 600;
 margin-bottom:10px;
   color: rgb(62, 70, 73);
}

.sf-subtitle {
  font-size: 15px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* Top layout */
.sf-top {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 80px;
}

.accordion-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

/* ---------------- BUTTON STYLE ---------------- */
.acc-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 18px;
  padding: 15px 0;
  font-weight: 600;
  cursor: pointer;
   color: rgb(62, 70, 73);
  transition: 0.3s;
  position: relative;
  padding-right: 40px;
  padding-right: 40px;
  /* room for arrow */
}

/* Arrow inside button */
.acc-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  font-size: 20px;
  transform: translateY(-50%) rotate(0deg);
  transition: 0.3s ease;
}

/* Rotate arrow UP when active */
.acc-item.active .acc-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* Active title color */
.acc-item.active .acc-btn {
  color: #000;
}

/* ---------------- CONTENT BOX ---------------- */
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0;
}

.acc-desc {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: left;
}

/* ---------------- ROW: H3 + ICON ---------------- */
.acc-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 10px;
}

/* Green H3 */
.acc-title-row h3 {
  color: #7bb72f;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

/* Icon bubble */
.acc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.acc-icon img {
  width: 20px;
}

/* FORCE image to always fill wrapper */
.sf-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
.sf-img {
  width: 540px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  flex-shrink: 0;
}



.sf-img img {
  transform: scale(1);
  transition: transform 0.6s ease;
}

.sf-img:hover img {
  transform: scale(1.12);
}


/* Safe encoded FAQ arrow */
.acc-btn::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 18px;
  height: 12px;
  transition: 0.3s ease;
  background-repeat: no-repeat;

  /* SAFE URL-ENCODED SVG (won't break VS Code) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 18 10'%3E%3Cpath d='M1 1l8 8 8-8' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.acc-item.active .acc-btn::after {
  transform: translateY(-50%) rotate(180deg);
}




/* Section Title #2 */
.sf-title2 {
  margin-top: 30px;
  font-size: 60px;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.sf-subtitle2 {
  font-size: 15px;
  color: #666;
  margin: 0 auto 50px;
  max-width: 700px;
}

/* Cards Row */
.sf-card-row {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* Individual Card */
.sf-card {
  width: 300px;
  background: #fff;
  border-radius: 22px;
  padding-bottom: 20px;
  box-shadow: 0 0 0 1px #e6e6e6 inset;
  text-align: center;
  position: relative;
  transition: 0.3s;
}

.sf-card:hover {
  transform: translateY(-5px);
}

/* Top Image */
.sf-card-img img {
  width: 100%;
  height: 200px;
  border-radius: 22px 22px 0 0;
  object-fit: cover;
}

/* Icon in bubble */
.sf-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
}

.sf-card-icon img {
  width: 26px;
}

/* Card text */
.sf-card h4 {
  font-size: 18px;
  margin-top: 35px;
  font-weight: 600;
  color: #000;
}

.sf-card p {
  font-size: 14px;
  color: #666;
  padding: 0 20px;
  line-height: 1.5;
}


   @media (max-width: 768px) {

  .services-feature-section {
    padding: 40px 20px 20px !important;
    /* reduced bottom gap */
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 0% !important;
  }

  /* ---------- TITLE ---------- */
  .sf-title {
    font-size: 30px !important;
    font-weight: 600 !important;
    margin: 0 0 0px 0 !important;
    /* removed extra gap */
  }

  .sf-subtitle {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin: 0 !important;
    /* no gap below subtitle */
  }

  /* ---------- STACK LAYOUT ---------- */
  .sf-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    /* removed accordion → image gap */
  }

  /* ---------- ACCORDION ---------- */
  .accordion-section {
    width: 100% !important;
    text-align: left !important;
    margin-bottom: 0 !important;
  }

  .acc-item {
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 0 !important;
  }

  /* Accordion Button */
  .acc-btn {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    text-align: left !important;
    padding: 14px 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #3e4649; !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    padding-top: 24px;
    /* pushes text BELOW arrow */
    line-height: 1.4;
  }

  /* Accordion Content */
  .acc-content {
    display: none !important;
    padding: 0 0 14px 0 !important;
    border: none !important;
  }

  /* Show content */
  .acc-item.active .acc-content {
    display: block !important;
  }

  /* Prevent double borders */
  .acc-item.active {
    border-bottom: 1px solid #e5e5e5 !important;
  }

  .acc-item.active .acc-btn {
    border-bottom: none !important;
  }

  .acc-item * {
    border-top: none !important;
  }

  /* Accordion Text */
  .acc-desc {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #555 !important;
    margin-bottom: 12px !important;
  }

  /* Accordion Title Row */
  .acc-title-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .acc-title-row h3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #8FC24B !important;
    margin: 0 !important;
  }

  /* Accordion Icon */
  .acc-icon img {
    width: 22px !important;
    height: auto !important;
   
  }

  /* ---------- IMAGE ---------- */
  .sf-img {
    width: 100% !important;
    order: 2 !important;
    margin-top: 20px !important;
     margin-top: 0px !important;
  }

  .sf-img img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
  }




  /* ===== TITLE ===== */
  .sf-title2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
  }

  .sf-subtitle2 {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 28px !important;
    color: #555 !important;
  }

  /* ===== STACK CARDS ===== */
  .sf-card-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  .sf-card {
    width: 100% !important;
    text-align: center !important;
  }

  /* ===== IMAGE ===== */
  .sf-card-img {
    position: relative !important;
  }

  .sf-card-img img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    display: block !important;
  }

  /* ===== ICON (FIXED – INSIDE CIRCLE) ===== */
  .sf-card-icon {
    width: 44px !important;
    height: 44px !important;
    background: #fff !important;
    border-radius: 50% !important;
    margin: -22px auto 12px auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    /* IMPORTANT FIX */
  }

  .sf-card-icon img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* ===== CARD TEXT ===== */
  .sf-card h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
  }

  .sf-card p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #555 !important;
  }

  /* MOBILE FIX ONLY */

    .acc-btn {
      display: block !important;
      /* ⬅️ stop flex on mobile */
      padding-right: 44px !important;
      /* reserve space for arrow */
      line-height: 1.4 !important;
    }
  }
  
  @media (max-width: 768px) {

  /* Reduce space BEFORE the title */
  .services-feature-section {
    margin-top: 0px !important;
    padding-top: 0px !important;
  }

  /* Reduce space ABOVE & BELOW the title */
  .sf-title {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
  }

  /* Reduce space AFTER the title (accordion start) */
  .accordion-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom:0 !important;
  }

}

/* =========================
   TABLET VIEW (768px – 1024px)
   ========================= */
@media (min-width: 768px) and (max-width: 1024px) {

  .services-feature-section {
    max-width: 100%;
    margin: 20px auto;
    padding: 0 24px;
  }

  /* Title */
  .sf-title {
    font-size: 30px;
    line-height: 1.3;
  }

  .sf-subtitle {
    font-size: 14px;
    margin-bottom: 40px;
  }

  /* MAIN ROW */
  .sf-top {
    gap: 35px;
    align-items: flex-start;
    margin-bottom: 60px;
  }



  /* LEFT – Accordion */
  .accordion-section {
    max-width: 55%;
    margin: 0;
    padding: 0;
  }

  .acc-btn {
    font-size: 16px;
    padding: 14px 0;
  }

  .acc-desc {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .acc-title-row h3 {
    font-size: 18px;
  }

  /* RIGHT – Image */
  .sf-img {
    width: 45%;
    max-width: 420px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .sf-img img {
    border-radius: 16px;
  }

  /* Cards Section (if visible on tablet) */
  .sf-card-row {
    gap: 20px;
    flex-wrap: wrap;
  }

  .sf-card {
    width: 280px;
  }
}

