/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #fff9f7;
  color: #222;
  line-height: 1.6;
}

/* Header and Navigation */
header {
  background: linear-gradient(to right, #ff416c, #ff4b2b);
  padding: 20px;
  text-align: center;
  color: #fff;
}

header h1 {
  margin-bottom: 10px;
  font-size: 28px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #ffeaea;
  padding: 10px 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #800000;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #b30000;
}

/* Main Layout */
main {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
}

section {
  margin-bottom: 50px;
}

section h2 {
  color: #c0392b;
  margin-bottom: 15px;
  border-bottom: 2px solid #ff6f61;
  padding-bottom: 5px;
}

/* Form Styling */
form {
  background-color: #ffe6e1;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 500;
}

form select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #c0392b;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #a93226;
}

#result {
  margin-top: 15px;
  font-weight: bold;
  font-size: 1.1em;
  color: #a93226;
}

/* List Styling */
ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.product-card {
  background-color: #fff2ef;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 10px rgba(192, 57, 43, 0.1);
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.product-card h3 {
  margin: 10px 0 5px;
  color: #c0392b;
}

.product-card p {
  font-size: 0.95em;
  color: #444;
}

.product-card a {
  display: inline-block;
  margin-top: 10px;
  background-color: #c0392b;
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.product-card a:hover {
  background-color: #a93226;
}

/* Responsive */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 5px 0;
  }
}
/* problem and solution */

.muscle-fitness-problems {
  padding: 50px 20px;
  background-color: #f7f7f7;
  font-family: 'Segoe UI', sans-serif;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

.problem-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 40px;
  padding: 20px;
}

.problem-content h3 {
  color: #1a1a1a;
  margin-bottom: 15px;
}

.problem-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

.text-left {
  flex: 1;
  padding-right: 20px;
  min-width: 220px;
}

.text-left p {
  margin-bottom: 8px;
  font-size: 16px;
  color: #333;
}

.image-right {
  flex: 1;
  text-align: right;
  min-width: 200px;
}

.image-right img {
  max-width: 180px;
  border-radius: 10px;
}

.treatment-box {
  background: #e8f5e9;
  padding: 15px;
  border-left: 4px solid #4caf50;
  border-radius: 8px;
}

.treatment-box h4 {
  margin-top: 0;
  color: #2e7d32;
}

.product-card {
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: 15px;
}

.product-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.product-card div {
  font-size: 14px;
  color: #444;
}