/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Root colors and typography */
:root {
  --primary-color: #003366; /* Dark blue */
  --secondary-color: #008cba; /* Light blue */
  --background-color: #f9f9f9; /* Light gray */
  --text-color: #333333;
  --overlay-color: rgba(0, 0, 0, 0.6); /* Overlay color for readability */
}

/* Background styling for entire page */
body {
  background-image: url('image/clean image.webp'); /
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  color: #ffffff;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--overlay-color);
  z-index: 1;
}

body * {
  position: relative;
  z-index: 2;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  font-size: 2.2em;
}

header p {
  font-size: 1.2em;
}

/* Navigation */
nav {
  background-color: var(--secondary-color);
  padding: 10px 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  transition: background 0.3s;
  border-radius: 5px;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Sections */
section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
  color: #f1f1f1;
}

section h2 {
  color: var(--secondary-color);
  font-size: 2em;
  margin-bottom: 20px;
}

section p {
  margin-bottom: 25px;
  font-size: 1.1em;
}

/* Services Section */
#services ul {
  list-style: none;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

#services li {
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  color: var(--text-color);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services li:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3);
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: auto;
}

form label {
  font-weight: bold;
  color: var(--primary-color);
}

form input, form textarea, form button {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form input:focus, form textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
}

form button {
  background-color: var(--secondary-color);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9em;
}

footer p {
  margin: 5px 0;
}

footer p:last-of-type {
  font-size: 0.9em;
  color: #f1f1f1;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
      flex-direction: column;
      padding: 10px;
  }
  
  #services ul {
      grid-template-columns: 1fr;
  }
}
