/* Reset defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  display: block;
  width: 100%;
  margin: 0 auto;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  text-align: center;
  padding: 30px 20px;
  background: #ffffff;
  border-bottom: 2px solid #eee;
}

header h1 {
  font-size: 2.2em;
  color: #2c3e50;
}

/* Main content */
main {
  max-width: 1000px;
  margin: auto;
  padding: 2em;
}

main h2 {
  text-align: center;
  font-size: 1.8em;
  color: #34495e;
  margin-bottom: 10px;
}

main p {
  text-align: center;
  margin-bottom: 20px;
  color: #555;
}

/* Product grid */
.product-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Product cards */
.product-card {
  flex: 0 1 300px;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card h3 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}

.product-card p {
  color: #666;
  font-size: 0.95em;
  margin-bottom: 10px;
}

/* CTA buttons */
.cta {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2980b9;   /* primary blue */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}

.cta:hover {
  background-color: #1f6391;   /* darker blue on hover */
  transform: translateY(-2px);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  font-size: 14px;
  color: #777;
  background: #f9f9f9;
  border-top: 2px solid #eee;
}

/* Reset defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  display: block;
  width: 100%;
  margin: 0 auto;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  text-align: center;
  padding: 30px 20px;
  background: #ffffff;
  border-bottom: 2px solid #eee;
}
/* Navigation styling */
nav {
  margin-top: 15px;
}

nav a {
  color: #2980b9;              /* same blue as CTA */
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #1f6391;              /* darker blue on hover */
  text-decoration: underline;  /* subtle hover effect */
}
