/* Base styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #fff;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background: #000;
  color: #fff;
  padding: 1em 0;
}



.logo {
  font-size: 1.8em;
}

/* Navigation */
.nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5em;
  font-weight: bold;
}

.nav-links li {
  margin: 0;
}



.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 0.5em 0.75em;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.nav-links a:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero section */
.hero {
  background: #f5f5f5;
  padding: 3em 0;
  text-align: center;
}

.hero h2 {
  font-size: 2em;
}

.btn {
  background: #0073e6;
  color: white;
  padding: 0.75em 1.5em;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  margin-top: 1em;
}

/* Content sections */
.products, .benefits, .newsletter {
  padding: 0em 0;
}

.product-grid, .benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
  margin-top: 0;
}

.product-card, .benefit {
  background: #fafafa;
  padding: 0em;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
}

.product-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
}

/* Newsletter */
.newsletter form {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
  margin-top: 1em;
  font-style:normal;
  font-size: 100%;
}

.newsletter input {
  padding: 0.75em;
  font-size: 1em;
  width: 100%;
  max-width: 250px;
  font-style:normal;
  font-size: 100%;
}

.newsletter button {
  padding: 0.75em 1.5em;
  background: #0073e6;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-style:normal;
  font-size: 100%;
}

.site-footer {
  background: #000;
  color: white;
  padding: 1em 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1em;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  text-align: center;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

/* Responsive images */
.home-product-image,
.home-svc-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* Sign in/Register page */
.auth-wrapper {
  background: #f5f5f5;
  padding: 0em 0;
  text-align: center;
}

.auth-container {
  background: #fff;
  max-width: 400px;
  margin: auto;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.auth-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2em;
  border-bottom: 1px solid #ddd;
}

.auth-tabs button {
  flex: 1;
  padding: 1em;
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 80%;
}

.auth-tabs button.active {
  border-bottom: 3px solid #0073e6;
  color: #0073e6;
}

.auth-form {
  display: none;
  text-align: left;
}

.auth-form.active {
  display: block;
}

.auth-form input {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1.2em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-weight: bold;
  font-size: 80%;
}

.auth-form button {
  width: 100%;
  padding: 0.75em;
  background: #0073e6;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 80%;
  margin-top: 10px;
}

.auth-form button:hover {
  background: #005bb5;
}

/* Product filter tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin: 2em 0;
  flex-wrap: wrap;
}

.filter-tabs button {
  padding: 0.6em 1.2em;
  border: 1px solid #ccc;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.filter-tabs button.active {
  background: #0073e6;
  color: white;
  border-color: #0073e6;
}

/* Product cards */
.product-card {
  background: #fafafa;
  padding: 1em;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Promo banner */
.promo-banner {
  background-color: yellow;
  color: black;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  font-size: 1.1rem;
  border-bottom: 2px solid #ccc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .site-header, .hero, .products, .benefits, .newsletter {
    padding: 2em 1em;
  }

  .hero h2 {
    font-size: 1.5em;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }

  .newsletter form {
    flex-direction: column;
    align-items: center;
    font-weight: bold;

  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .auth-container {
    margin: 1em;
  }
}


.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

#contact-form {
  max-width: 400px;
  margin: 0 auto; /* center the form horizontally */
  display: flex;           
  flex-direction: column;
}

#contact-form input,
#contact-form textarea,
#contact-form button {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1em;
  font-size: 16px;
  font-family: Arial, sans-serif;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box; /* ensures padding doesn't affect width */
}

#contact-form button {
  background-color: #0073e6;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

#contact-form button:hover {
  background-color: #333;
}


/* Base Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* Header */
.site-header {
  background: #000;
  padding: 1em 0;
  text-align: center;
}

.site-header img.center {
  max-width: 200px;
  margin: 0 auto;
}

nav .nav-links {
  list-style: none;
  padding: 0;
  margin: 1em 0 0;
  display: flex;
  justify-content: center;
  gap: 1.5em;
  flex-wrap: wrap;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #aaa;
}

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2em 1em;
}

/* Section Title */
.section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
  color: #111;
}

.section-intro {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 2em;
  text-align: justify;
}

/* Benefit Grid */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
}

.benefit-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 1.5em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card h4 {
  margin-bottom: 0.5em;
  color: #222;
  font-size: 1.2em;
}

.benefit-card p {
  color: #555;
  font-size: 1em;
}

/* Footer */
.site-footer {
  background: #000;
  color: white;
  padding: 1.5em 1em;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-left, .footer-center, .footer-right {
  flex: 1;
  text-align: center;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

/* Responsive */
@media (max-width: 600px) {
  .section-title {
    font-size: 1.8em;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-left, .footer-right {
    text-align: center;
  }
}
