/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f6f8;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #0F1F3C;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar ul li a {
  color: white;
  font-weight: 600;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: #6395EE;
}

/* ===== SEARCH ===== */
.search-bar {
  display: flex;
}

.search-bar input {
  padding: 8px 12px;
  border-radius: 6px 0 0 6px;
  border: none;
}

.search-bar button {
  padding: 8px 15px;
  border-radius: 0 6px 6px 0;
  border: none;
  background-color: #6395EE;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.search-bar button:hover {
  background-color: #4f7ed9;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(to right, #6395EE, #4f7ed9);
  color: white;
  text-align: center;
  padding: 70px 20px 50px;
}

.hero h1 {
  font-size: 2.2em;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-logo {
  width: 150px;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  margin-top: 15px;
  background-color: #0F1F3C;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: bold;
}

.btn:hover {
  background-color: #1b2f5a;
}

/* ===== SERVICES ===== */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  background-color: #ffffff;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.service-card h2 {
  margin-bottom: 15px;
  color: #0F1F3C;
}

/* ===== PRODUCTS ===== */
.products {
  padding: 60px 20px;
  text-align: center;
}

.products h2 {
  font-size: 2em;
  margin-bottom: 35px;
  color: #0F1F3C;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background-color: #f5f5f5;
  border-radius: 10px;
  margin-bottom: 15px;
}

.product-card h3 {
  margin-bottom: 8px;
}

.price {
  font-weight: bold;
  color: #0F1F3C;
}

/* ===== NOTICE ===== */
.notice {
  max-width: 700px;
  margin: 40px auto;
  background-color: #eef2f7;
  padding: 20px;
  border-left: 5px solid #0F1F3C;
  font-size: 14px;
}

/* ===== FOOTER ===== */
.footer-contact {
  background-color: #0F1F3C;
  color: white;
  padding: 45px 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section h3 {
  color: #6395EE;
  margin-bottom: 15px;
}

.footer-section a {
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .navbar ul {
    flex-direction: column;
  }

  .product-card {
    width: 90%;
  }
}
.view-appliances-link {
  flex-basis: 100%;       /* makes it full width under the cards */
  text-align: center;     /* centers the link */
  margin-top: 30px;       /* adds space above */
}

.view-appliances-link a {
  color: #6395EE;
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid #6395EE;
  border-radius: 8px;
  transition: all 0.3s;
}

.view-appliances-link a:hover {
  background-color: #6395EE;
  color: white;
  cursor: pointer;
}
