* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Ubuntu", system-ui;
  font-weight: 300;
  font-style: normal;
  box-sizing: border-box;
  /* background-color: #f4f4f4; */
}

hr {
  margin: 2rem 0;
}

/* Header Section */
header {
  text-align: center;
  background-color: white;
  color: #004d40;
  padding: 2rem 0;
  background-image: url(./assets/product-background.gif);
  height: 70vh;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 70vh;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 90%);
  border-bottom: 2px solid black;
}

header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 40, 117, 0.2);
  border-bottom: 2px solid black;

}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
}

.fitness-products-section {
  padding: 20px; /* Padding for spacing */
  border-radius: 8px; /* Rounded corners */

  margin: 20px auto; /* Centered with margin */
  max-width: 800px; /* Maximum width for readability */
  text-align: justify; /* Centered text */
}

@media (max-width: 768px) {
  .fitness-products-section {
    margin: 20px;
  }
}

.fitness-products-section h2 {
  font-size: 28px; /* Size of the heading */
  margin-bottom: 15px; /* Space below the heading */
  text-align: center; /* Center the heading */
}

.fitness-products-section p {
  font-size: 18px; /* Font size for the paragraph */
  line-height: 1.6; /* Increased line height for readability */
}

/* Category Grid Section */
.category-grid {
  padding: 5% 5%;
  /* padding: 2rem; */
  text-align: center;
  padding-top: 0;
}

.category-grid h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px;
}


@media (max-width: 1200px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

.category-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(10, 10, 0.5);
  text-align: center;
  transition: transform 0.3s ease;
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 10px;
  border-radius: 100px;
}

.category-card h3 {
  font-size: 1.5rem;
  color: #5a9;
  padding-bottom: 1rem;
}

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

.category-card a {
  text-decoration: none;
  color: inherit;
}

/* Product Categories Section */
.category-section {
  padding: 5% 10%;
  text-align: center;
  /* background-color: rgb(217, 225, 228); */
}

.category-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: rgb(56, 55, 55);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.product-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(10, 10, 0.5);
  text-align: center;
  padding: 1.5rem;
}

.product-card img {
  width: 200px;
  height: 100px;
  object-fit: contain;
}

.product-info h4 {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.product-info p {
  font-size: 1rem;
  color: #666;
}

.shop-now {
  margin-top: 10px;
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.shop-now:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.product-info {
  text-align: center;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

/* faq-section */
.faq-section {
  margin: 0 10%;
  /* padding: 2rem; */
  margin-bottom: 2rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-question {
  width: 100%;
  background-color: #f1f1f1;
  border: none;
  outline: none;
  padding: 1rem;
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: #ddd;
}

.faq-answer {
  display: none;
  padding: 1rem;
  background-color: #ffffff;
  border-top: 1px solid #ccc;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-icon {
  font-size: 1.5rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.section {
  padding: 50px 0px;
  text-align: center;
  border-bottom: 2px solid #333;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.section p {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}