

/* Tabs Section */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  gap: 0.5rem;
}

.tab-button {
  padding: 0.6rem 1.5rem;
  background: transparent !important;
  border: none;
  cursor: pointer;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 600;
  color: #3c3938;
  transition: background 0.3s, color 0.3s, border-bottom 0.3s;
}

.tab-button.active {
  border-bottom: 2px solid var(--main-bg-color);
  color: var(--main-bg-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Product Card */
.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 2rem;
  font-family: var(--main-font);
  flex-wrap: wrap;
}

.product-card.reverse {
  flex-direction: row-reverse;
}

.product-card .image {
  flex: 1 1 45%;
  min-width: 280px;
}

.product-card .image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}


.product-card .text {
  flex: 1 1 45%;
  min-width: 280px;
  padding: 10px 20px;
}

.product-card .text h3 {
  color: var(--main-bg-color) !important;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 0.8rem;
}

.product-card .text p {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
}


.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.read-more:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.read-more i {
  background-color: var(--main-bg-color);
  color: #000;
  border-radius: 50%;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.read-more:hover i {
  background-color: #e0e0e0;
  transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-card {
    flex-direction: column;
    text-align: center;
  }

  .product-card.reverse {
    flex-direction: column;
  }

  .product-card .text {
    padding: 1rem;
  }

  .tab-button {
    font-size: clamp(0.85rem, 2vw, 1rem);
  }
}

@media (max-width: 768px) {
  .tabs {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .product-card {
    margin-bottom: 1.5rem;
  }

  .product-card .text h3 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }

  .product-card .text p {
    font-size: clamp(0.85rem, 3vw, 0.95rem);
  }

  .read-more {
    font-size: 0.9rem;
    padding: 8px 14px;
  }
}

@media (max-width: 480px) {
  .tab-button {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .product-card .text h3 {
    font-size: 1.2rem;
  }

  .product-card .text p {
    font-size: 0.85rem;
  }

  .read-more {
    font-size: 0.85rem;
    padding: 7px 12px;
  }
}
