/* Container / Section layouts via sequential type checking */
section:nth-of-type(1) {
  padding: 60px 0;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

section:nth-of-type(1) > div {
  /* max-width: 1200px; */
  margin: 0 auto;
  text-align: center;
  padding: 10px 25px;
}

section:nth-of-type(1) > div > span {
  text-transform: uppercase;
  color: #005d30;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 14px;
}

section:nth-of-type(1) > div > h1 {
  font-size: 42px;
  margin: 10px 0 20px 0;
  color: #1a1a1a;
}

section:nth-of-type(1) > div > p {
  font-size: 18px;
  /* max-width: 800px; */
  margin: 0 auto 30px auto;
  color: #555;
  line-height: 1.6;
}

section:nth-of-type(1) > div > div {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

section:nth-of-type(1) > div > div > a {
  padding: 12px 0;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  color: #fff;
}

section:nth-of-type(1) > div > div > a:nth-of-type(1) {
  background: #005d30;
  padding: 10px;
}

section:nth-of-type(1) > div > div > a:nth-of-type(2) {
  background: #28a745;
  padding: 10px;
}

/* Services section mapping */
section:nth-of-type(2) {
  padding: 60px 0;
  /* max-width: 1200px; */
  margin: 0 auto;
}

section:nth-of-type(2) > div:nth-of-type(1) {
  text-align: center;
  margin-bottom: 40px;
}

section:nth-of-type(2) > div:nth-of-type(1) > p {
  color: white;
}

section:nth-of-type(2) > div:nth-of-type(2) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

section:nth-of-type(2) > div:nth-of-type(2) > div {
  border: 1px solid #eee;
  padding: 25px 25px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

section:nth-of-type(2) > div:nth-of-type(2) > div > h3 {
  color: #005d30;
  margin-top: 0;
}

section:nth-of-type(2) > div:nth-of-type(2) > div > p {
  color: white;
  line-height: 1.5;
}

/* Brochure Block */
section:nth-of-type(3) > div {
  /* max-width: 900px; */
  margin: 0 auto;
  line-height: 1.7;
}

/* Horizontal Rule Divider */
hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 40px 0;
}

/* Map & Location Trust Block */
section:nth-of-type(4) {
  padding: 60px 0;
  /* max-width: 1200px; */
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

section:nth-of-type(4) > div {
  flex: 1;
  min-width: 300px;
}

section:nth-of-type(4) > div:nth-of-type(1) > h2 {
  margin-top: 0;
}

section:nth-of-type(4) > div:nth-of-type(1) > p {
  color: white;
  line-height: 1.6;
}

section:nth-of-type(4) > div:nth-of-type(1) > ul {
  padding-left: 0;
  color: white;
  line-height: 1.8;
}

section:nth-of-type(4) > div:nth-of-type(2) {
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
  background: #e5e3df;
  position: relative;
}

section:nth-of-type(4) > div:nth-of-type(2) > iframe {
  border: 0;
}