/* ---------------- Global Reset ---------------- */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  line-height: 1.6;
}

/* ---------------- Container ---------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Header ---------------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
  background-color: #fff;
}

.logo-container img {
  max-width: 180px;
  height: auto;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

nav ul li a:hover {
  color: #004d80;
}

/* ---------------- Hero/Header Image ---------------- */
.header-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 768px) {
  .header-image {
    max-height: 250px;
  }
}

/* ---------------- About Section ---------------- */
.section {
  padding: 2rem 1rem;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
}

/* ---------------- Services Section ---------------- */
.services {
  padding: 4rem 1rem;
  background: #f9f9f9;
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card img.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Tablet: 2 columns */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------------- Service Detail Pages ---------------- */
.service-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* horizontal breathing room */
}

.service-detail img.service-large-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.service-detail .service-text {
  max-width: 700px;
}

@media (min-width: 1024px) {
  .service-detail {
    flex-direction: row; /* side by side on desktop */
    align-items: flex-start;
  }

  .service-detail img.service-large-image {
    width: 50%;
  }

  .service-detail .service-text {
    width: 50%;
    padding-left: 2rem;
  }
}

/* ---------------- Footer ---------------- */
footer {
  background: #333;
  color: #fff;
  padding: 3rem 1rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-column h3 {
  margin-bottom: 1rem;
}

.footer-column a {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}
