/* General Body Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

/* Header and Navigation */
header {
  background: #fff;
  color: #333;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
}

header h1 a {
  color: #333;
  text-decoration: none;
}

header nav {
  display: flex;
  gap: 15px;
}

header nav a {
  color: #555;
  text-decoration: none;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

header nav a:hover {
  background-color: #f0f0f0;
  color: #000;
}

/* Main Content */
main {
  padding: 20px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

h3 {
  font-size: 1.8rem;
  color: #444;
  text-align: center;
  margin-bottom: 30px;
}

h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  color: white;
  margin-bottom: 40px;
}

.hero img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  filter: brightness(0.6);
}

.hero .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fff;
  border-bottom: none;
}

.hero p {
  font-size: 1.2rem;
  color: #f0f0f0;
}

/* Call to Action (CTA) Button */
.cta {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta:hover {
  background: #0056b3;
  text-decoration: none;
}

/* Products Section */
#products {
  padding: 40px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.product-card a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

.product-card a:hover {
  background-color: #218838;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  margin: 40px 0;
  border-radius: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background: #333;
  color: #fff;
}

footer p {
  margin: 0;
  color: #ccc;
}