/* Basic styles */
:root {
  --dark-bg: #0f2027;
  --mid-dark: #203a43;
  --mid-light: #2c5364;
  --text-color: #e1e1e1;
  --highlight-color: #f0a500;
  --shadow-color: rgba(240, 165, 0, 0.7);
  --error-color: #d9534f;
  --success-color: #a8e6cf;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark-bg);
  background: linear-gradient(135deg, var(--mid-light), var(--mid-dark), var(--dark-bg));
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 15px 10px 30px;
}

header {
    text-align: center;
    margin-bottom: 20px; /* Space below header */
}

h1 {
  font-size: 1.8rem;
  color: var(--highlight-color);
  margin: 0 0 5px;
  text-align: center;
  text-shadow: 0 2px 6px var(--shadow-color);
}

h2 {
  font-size: 1.1rem;
  font-weight: 400;
  color: #ffffffcc;
  margin: 0; /* Remove margin-bottom here, header margin controls space */
  text-align: center;
}

main {
    width: 100%; /* Allow main to take full width up to max-width */
    display: flex; /* Use flexbox for main sections */
    flex-direction: column; /* Stack sections vertically */
    align-items: center; /* Center sections */
}


.container {
  background: rgba(32, 58, 67, 0.85);
  max-width: 400px; /* Max width for content containers */
  width: 100%;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  margin-bottom: 20px; /* Space between containers */
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.services-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #3d6a7c;
  font-size: 1rem;
  align-items: center;
}
 .services-list li:last-child {
  border-bottom: none;
 }

.service-name {
  flex-grow: 1;
  margin-right: 15px;
}

.service-price {
  font-weight: 600;
  color: var(--highlight-color);
  flex-shrink: 0;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--highlight-color);
}

input[type="text"],
input[type="email"],
textarea {
  padding: 10px 12px;
  border: 1px solid #555;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  background-color: #e8e8e810;
  color: var(--text-color);
  transition: border-color 0.3s ease;
}
 input[type="text"]:focus,
 input[type="email"]:focus,
 textarea:focus {
   outline: none;
   border-color: var(--highlight-color);
   background-color: #e8e8e820;
 }

textarea {
  min-height: 90px;
}

button {
  background-color: var(--highlight-color);
  color: var(--dark-bg);
  border: none;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px var(--shadow-color);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}

button:hover,
button:focus {
  background-color: #c57e00;
  box-shadow: 0 6px 15px rgba(240, 165, 0, 0.9);
}

.thank-you {
  display: none;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  background-color: var(--mid-dark);
  border-radius: 10px;
  font-size: 1.2rem;
  color: var(--success-color);
  font-weight: 600;
}

.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: -15px;
    margin-bottom: 15px;
    display: none;
}

/* New Sections Styling */
.section-title {
    color: var(--highlight-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
}
 .about-text, .service-description, .testimonial {
     font-size: 1rem;
     line-height: 1.6;
     margin-bottom: 15px;
     color: #e1e1e1aa;
 }
 .testimonials-list {
     list-style: none;
     padding: 0;
 }
 .testimonials-list li {
     background: rgba(44, 83, 100, 0.5);
     padding: 15px;
     border-radius: 8px;
     margin-bottom: 15px;
     border-left: 4px solid var(--highlight-color);
 }
  .testimonial-author {
      font-weight: 600;
      color: var(--highlight-color);
      margin-top: 10px;
      display: block;
  }

footer {
  margin-top: 40px;
  font-size: 0.9rem;
  text-align: center;
  color: #e1e1e180;
  width: 100%;
}

@media (max-width: 400px) {
  h1 { font-size: 1.6rem; }
  .container { padding: 18px 20px 22px; }
  button { font-size: 1rem; padding: 10px; }
  .section-title { font-size: 1.3rem; }
}