body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fffdfd;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  background: linear-gradient(to right, #74ebd5, #acb6e5);
  padding: 20px;
  text-align: center;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #f9f9f9;
  padding: 10px;
  margin: 0;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  text-decoration: none;
  color: #0077b6;
  font-weight: bold;
}

main {
  padding: 20px;
  max-width: 960px;
  margin: auto;
}

section {
  margin-bottom: 40px;
}

section h2 {
  border-bottom: 2px solid #00b4d8;
  padding-bottom: 5px;
  margin-bottom: 15px;
  color: #0077b6;
}

form {
  background: #e0f7fa;
  padding: 20px;
  border-radius: 10px;
}

form select,
form button {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  background-color: #00b4d8;
  color: white;
  border: none;
  font-weight: bold;
}

#result {
  font-size: 1.1rem;
  margin-top: 10px;
  color: #0077b6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: #e0f7fa;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
}

.product-card img {
  width: 100%;
  border-radius: 8px;
}

.product-card h3 {
  color: #0077b6;
}

.product-card a {
  text-decoration: none;
  background-color: #00b4d8;
  color: white;
  padding: 8px 12px;
  display: inline-block;
  margin-top: 10px;
  border-radius: 5px;
}

/* problem and solution */
.oral-dental-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;
}