/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container for layout consistency */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background: #333;
  color: #fff;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 50px;
  margin-right: 10px;
}

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

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Hero Section */
.hero {
  background: url('hero-background.jpg') no-repeat center center/cover;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

/* About, Services, Approach, and Contact Sections */
section {
  padding: 4rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

section p, section ul {
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

.services ul {
  list-style: none;
  padding: 0;
}

.services ul li {
  padding: 0.5rem 0;
}

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

form label {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

form input, form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

/* Services Section: Service Box Styling */
.service-box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}

.service-box {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 280px;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-box img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.service-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-box p {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}


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

form label {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

form input, form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px; /* Softer, rounded edges for text boxes */
}

form button {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 8px; /* Rounded corners for the button */
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #444;
}



/* Service Boxes Layout */
.service-box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}

.service-box {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 280px;
  height: 420px; /* fixed height to ensure all boxes match */
  text-align: center;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.service-box img {
  width: 100%;
  height: 160px; /* fixed height for all images */
  object-fit: cover; /* ensures image fills box without stretching */
  border-radius: 6px;
  margin-bottom: 1rem;
}

.service-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-box p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #555;
  flex-grow: 1;
}

@media (max-width: 600px) {
  .service-box {
    width: 100%;
    height: auto;
  }

  .service-box img {
    height: 200px;
  }
}
