/* ==========================================================================
   SERVICES ONE SECTION (Responsive from 300px to Large Screens)
   ========================================================================== */
.services-one {
  position: relative;
  display: block;
  background-color: var(--Freshflow-secondary);
  padding: clamp(50px, 7vw, 120px) 0 clamp(40px, 6vw, 95px);
  counter-reset: count;
  overflow: hidden;
  z-index: 2;
}

.services-one__shape-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.8;
  z-index: -1;
}

.services-one__shape-1 {
  position: absolute;
  width: 537px;
  height: 502px;
  left: -268px;
  bottom: -130px;
  background: rgba(17, 149, 255, 0.39);
  filter: blur(150px);
  border-radius: 50%;
  z-index: -1;
}

.services-one__shape-2 {
  position: absolute;
  width: 439px;
  height: 410px;
  right: -113px;
  top: 33px;
  background: rgba(17, 149, 255, 0.39);
  filter: blur(150px);
  border-radius: 50%;
  z-index: -1;
}

.services-one__shape-3 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.services-one__shape-3 img,
.services-one__shape-4 img {
  width: auto;
  max-width: 100%;
}

.services-one__shape-4 {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}

/* Header Top Content */
.services-one__top {
  position: relative;
  display: block;
  margin-bottom: clamp(30px, 4vw, 55px);
}

.services-one__top-left {
  position: relative;
  display: block;
}

.services-one__top-left .section-title {
  margin-bottom: 0px;
}

.services-one__top-left .section-title__title {
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.25;
}

.services-one__top-right {
  position: relative;
  display: block;
  margin-top: 16px;
}

.services-one__top-text {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.65;
  color: var(--Freshflow-gray);
}

.services-one__bottom {
  position: relative;
  display: block;
  width: 100%;
}

/* Card Links */
.services-one__bottom a {
  text-decoration: none;
  color: inherit;
  display: flex;
  height: 100%;
  width: 100%;
}

/* ==========================================================================
   SERVICE CARDS (Clean Grid, Scaled Padding, Hover Effects)
   ========================================================================== */
.service-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: #ffffff;
  border-radius: clamp(16px, 2vw, 26px);
  padding: clamp(25px, 3.5vw, 45px) clamp(18px, 2.5vw, 32px);
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f3f7;
  transition:
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    transform 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--Freshflow-primary, #0364e0);
  z-index: -1;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  box-shadow: 0 20px 45px rgba(3, 100, 224, 0.28);
  transform: translateY(-5px);
}

.service-card:hover::before {
  transform: translateY(0);
}

/* Icon Box */
img.service-icon,
.service-card .service-icon {
  width: clamp(52px, 4vw, 68px);
  height: clamp(52px, 4vw, 68px);
  object-fit: contain;
  border-radius: 14px;
  background-color: #29b6f6;
  padding: clamp(10px, 1vw, 14px);
  margin-bottom: clamp(20px, 2.5vw, 30px);
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.service-card:hover img.service-icon,
.service-card:hover .service-icon {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
  filter: brightness(0) invert(1);
  transform: scale(1.05);
}

/* Card Typography */
.service-title {
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 700;
  color: #111827;
  margin-bottom: clamp(10px, 1.2vw, 15px);
  line-height: 1.35;
  width: 100%;
  transition: color 0.35s ease;
  word-break: break-word;
}

.service-desc {
  font-size: clamp(13px, 0.95vw, 14.5px);
   font-family: var(--Freshflow-font);
  color: var(--Freshflow-gray);
  line-height: 1.65;
  width: 100%;
  margin-bottom: 0;
  transition: color 0.35s ease;
  word-break: break-word;
}

.service-card:hover .service-title {
  color: #ffffff;
}

.service-card:hover .service-desc {
  color: rgba(255, 255, 255, 0.92);
}

/* ==========================================================================
   SERVICES TWO SECTION
   ========================================================================== */
.services-two {
  position: relative;
  display: block;
  background-color: var(--Freshflow-secondary);
  counter-reset: count;
  padding: clamp(60px, 8vw, 140px) 0 clamp(50px, 6vw, 100px);
  overflow: hidden;
  z-index: 1;
}

.services-two__shape-bg-1,
.services-two__shape-bg-2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.services-two__shape-bg-1 {
  mix-blend-mode: plus-lighter;
  opacity: 0.1;
}

.services-two__shape-bg-2 {
  opacity: 0.2;
  animation: topBottom 3s ease-in-out infinite;
}

.services-two__shape-bg-3 {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 39px;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 1;
}

.services-two__shape-1 {
  position: absolute;
  top: 30px;
  left: 0;
  z-index: -1;
}

.services-two__shape-2 {
  position: absolute;
  top: 280px;
  right: 0;
  z-index: -1;
}

.services-two__shape-3,
.services-two__shape-4,
.services-two__shape-5 {
  position: absolute;
  filter: blur(150px);
  border-radius: 50%;
  z-index: -1;
}

.services-two__shape-3 {
  width: 546px;
  height: 584px;
  left: -295.78px;
  top: -83.54px;
  background: rgba(255, 255, 255, 0.39);
}

.services-two__shape-4 {
  width: 546px;
  height: 584px;
  left: -309px;
  top: 410.54px;
  background: rgba(17, 149, 255, 0.39);
}

.services-two__shape-5 {
  width: 546px;
  height: 584px;
  right: -250px;
  top: -115px;
  background: rgba(17, 149, 255, 0.39);
}

.services-two__services-list {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}

.services-two__services-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--Freshflow-white);
  border: 1px solid #f1f1f2;
  box-shadow: 0px 4px 15px rgba(3, 4, 28, 0.04);
  border-radius: 14px;
  padding: clamp(14px, 1.8vw, 22px) clamp(16px, 2vw, 24px);
  margin-bottom: 18px;
  transition: all 0.35s ease;
}

.services-two__services-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0px 10px 25px rgba(3, 4, 28, 0.08);
}

.services-two__icon-and-title-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 45px);
  max-width: 480px;
  width: 100%;
}

.services-two__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 4vw, 60px);
  height: clamp(48px, 4vw, 60px);
  background-color: #f0ffd9;
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 500ms ease;
}

.services-two__services-list li:hover .services-two__icon {
  background-color: var(--Freshflow-base);
}
.services-two__services-list li:nth-child(2) .services-two__icon {
  background-color: #ffecc5;
}
.services-two__services-list li:nth-child(3) .services-two__icon {
  background-color: #d9eaf9;
}
.services-two__services-list li:nth-child(4) .services-two__icon {
  background-color: rgba(254, 100, 111, 0.2);
}
.services-two__services-list li:nth-child(5) .services-two__icon {
  background-color: rgba(123, 237, 191, 0.25);
}

.services-two__icon span {
  font-size: clamp(24px, 2.5vw, 36px);
  color: var(--Freshflow-black);
  transition: all 500ms ease;
}

.services-two__services-list li:hover .services-two__icon span {
  color: var(--Freshflow-white);
  transform: scale(0.9);
}

.services-two__title-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.services-two__count {
  position: relative;
  display: inline-block;
}

.services-two__count::before {
  font-size: 15px;
  font-weight: 600;
  color: var(--Freshflow-gray);
  font-family: var(--Freshflow-font);
  counter-increment: count;
  content: "0" counter(count);
}

.services-two__title {
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.services-two__title a {
  color: var(--Freshflow-black);
}

.services-two__title a:hover {
  color: var(--Freshflow-base);
}

.services-two__text-and-btn-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 645px;
  width: 100%;
}

.services-two__text {
  font-size: clamp(14px, 1vw, 16.5px);
  line-height: 1.55;
  margin: 0;
  color: var(--Freshflow-gray);
}

.services-two__btn-box a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  color: var(--Freshflow-gray);
  border: 1.5px solid #f1f1f2;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.services-two__btn-box a:hover {
  color: var(--Freshflow-white);
  background-color: var(--Freshflow-base);
  border-color: var(--Freshflow-base);
}

/* ==========================================================================
   SERVICES THREE SECTION
   ========================================================================== */
.services-three {
  position: relative;
  display: block;
  background-color: var(--Freshflow-secondary);
  padding: clamp(50px, 7vw, 120px) 0;
  z-index: 1;
}

.services-three__main-tab-box .tab-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(10px, 1.5vw, 18px);
  margin-bottom: 30px;
}

.services-three__main-tab-box .tab-buttons .tab-btn {
  flex: 1 1 calc(20% - 18px);
  min-width: 160px;
}

.services-three__tab-buttons-single {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  padding: clamp(18px, 2vw, 28px) 15px;
  width: 100%;
  border-radius: 14px;
  background-color: var(--Freshflow-white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  z-index: 1;
}

.services-three__tab-buttons-single i {
  font-size: clamp(34px, 3.2vw, 48px);
  color: var(--Freshflow-base);
  transition: all 0.3s ease;
}

.services-three__tab-buttons-single span {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.35;
  color: var(--Freshflow-black);
  font-weight: 600;
  margin-top: 10px;
}

.services-three__main-tab-box
  .tab-buttons
  .tab-btn.active-btn
  .services-three__tab-buttons-single {
  background-color: var(--Freshflow-base);
}

.services-three__main-tab-box
  .tab-buttons
  .tab-btn.active-btn
  .services-three__tab-buttons-single
  i,
.services-three__main-tab-box
  .tab-buttons
  .tab-btn.active-btn
  .services-three__tab-buttons-single
  span {
  color: var(--Freshflow-white);
}

/* ==========================================================================
   SERVICES DETAILS SECTION
   ========================================================================== */
.services-details {
  position: relative;
  display: block;
  padding: clamp(50px, 7vw, 120px) 0 0;
  z-index: 1;
}

.services-details__title-1 {
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.3;
}

.services-details__text-1 {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.7;
  margin: 18px 0 35px;
}

.services-details__title-2,
.services-details__title-3,
.services-details__title-4,
.services-details__title-5 {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  margin: 30px 0 15px;
}

.services-details__points-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(15px, 2.5vw, 35px);
  margin: 20px 0 30px;
}

.services-details__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.services-details__points li p {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  color: var(--Freshflow-black);
  margin: 0;
}

.services-details__right {
  margin-left: 0;
}

.services-details__service-list-box {
  background-color: var(--Freshflow-secondary);
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  padding: clamp(22px, 3vw, 35px) clamp(16px, 2vw, 25px);
  margin-bottom: 40px;
}

.services-details__service-list-title {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  margin-bottom: 18px;
}

.services-details__service-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  padding: 12px 18px;
  border: 1px solid #d5d5ff;
  border-radius: 8px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.services-details__service-list li:hover a,
.services-details__service-list li.active a {
  background-color: var(--Freshflow-base);
  color: #ffffff;
  border-color: var(--Freshflow-base);
}

/* ==========================================================================
   BREAKPOINTS (Responsive Scaling 300px - 991px)
   ========================================================================== */

/* Medium Devices & Tablets (768px - 991px) */
@media (max-width: 991px) {
  .services-two__services-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .services-two__text-and-btn-box {
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .services-three__main-tab-box .tab-buttons .tab-btn {
    flex: 1 1 calc(33.33% - 15px);
  }
}

/* Mobile Devices (Below 768px) */
@media (max-width: 767px) {
  .services-one {
    padding: 50px 0;
  }

  .services-two__icon-and-title-box {
    gap: 16px;
  }

  .services-three__main-tab-box .tab-buttons .tab-btn {
    flex: 1 1 calc(50% - 10px);
  }

  .service-card {
    padding: 26px 20px;
  }
}

/* Small / Ultra-Small Mobiles (300px - 380px) */
@media (max-width: 380px) {
  .services-three__main-tab-box .tab-buttons .tab-btn {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .service-card {
    padding: 20px 16px;
  }

  img.service-icon,
  .service-card .service-icon {
    width: 48px;
    height: 48px;
    padding: 9px;
    margin-bottom: 16px;
  }

  .service-title {
    font-size: 16px;
  }

  .service-desc {
    font-size: 13px;
  }
}
