/* === General Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
  background-color: #f4f6f8;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* === Header === */
header {
  background-color: #003b73;
  color: #fff;
  text-align: center;
  padding: 25px 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 2em;
  letter-spacing: 0.5px;
}

/* === Navigation === */
nav {
  background-color: #005c99;
  text-align: center;
  border-bottom: 3px solid #004a80;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 15px 22px;
  display: inline-block;
  font-weight: 500;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #003b73;
}

/* === Hero Section === */
.hero {
  background: url('https://via.placeholder.com/1600x500?text=Home+Appliance+Care') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
  background-attachment: fixed;
  border-bottom: 4px solid #004a80;
}

.hero h1 {
  font-size: 2.4em;
  background: rgba(0,0,0,0.55);
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
}

.hero p {
  background: rgba(0,0,0,0.4);
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  border-radius: 6px;
  font-size: 1.1em;
}

/* === Section Styling === */
section {
  background-color: #fff;
  max-width: 1100px;
  margin: 30px auto;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

section h2 {
  color: #004a80;
  font-size: 1.8em;
  border-bottom: 2px solid #004a80;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

section h3 {
  color: #005c99;
  margin-top: 20px;
  font-size: 1.3em;
}

section p {
  margin-bottom: 15px;
}

/* === Contact Section === */
#contact strong {
  color: #004a80;
}

#contact p {
  font-size: 1em;
}

/* === Footer === */
footer {
  background-color: #003b73;
  color: #fff;
  text-align: center;
  padding: 30px 15px;
  margin-top: 40px;
  border-top: 4px solid #005c99;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s;
}

footer a:hover {
  color: #cce6ff;
}

footer p {
  margin: 8px 0;
  font-size: 0.95em;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  nav a {
    display: block;
    border-bottom: 1px solid #004a80;
  }

  .hero {
    padding: 70px 15px;
  }

  section {
    margin: 20px 10px;
    padding: 30px 15px;
  }

  section h2 {
    font-size: 1.6em;
  }

  footer {
    font-size: 0.9em;
  }
}

