:root {
  --blue-primary: #2f5d8c;
  --blue-soft: #6b8fb3;
  --gold-accent: #c9a24d;
  --bg-cream: #f8f6f2;
  --text-dark: #444444;
  --white: #ffffff;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.7;
}

.head-btn {
  margin-top: 2rem;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--blue-primary);
}

.page-hero {
  background: linear-gradient(rgba(47, 93, 140, 0.85), rgba(47, 93, 140, 0.85)),
    #2f5d8c;
  color: var(--white);
  padding: 4rem 3rem;

  text-align: center;
}

.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.95;
}

.service {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: center;
}

.services {
  padding: 4rem 3rem;
}

.service:nth-child(even) {
  grid-template-columns: 2fr 1fr;
}

.service-image {
  height: 100%;
  width: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 8px 8px hsl(0deg 0% 0% / 0.38);
}

.service h2 {
  font-family: "Playfair Display", serif;
  color: var(--blue-primary);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.service ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.service li {
  margin-bottom: 0.5rem;
}

.cta-section {
  background: var(--white);
  padding: 4rem 3rem;
  text-align: center;
  border-radius: 16px;
  margin: 5rem auto;
  width: 75%;
  /* max-width: 75%; */
  box-shadow: 4px 8px 8px hsl(0deg 0% 0% / 0.38);
}

.cta-section h3 {
  font-family: "Playfair Display", serif;
  color: var(--blue-primary);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .cta-section {
    width: 95%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .service {
    display: grid;
    grid-template-columns: 1fr !important; /* force single column */
    gap: 1.5rem;
  }

  .services {
    padding-bottom: 0rem;
  }

  /* Make sure images are always first, text second */
  .service > .service-image {
    order: 1;
    margin-bottom: 1rem; /* spacing between image and text */
  }

  .service > div:not(.service-image) {
    order: 2;
  }

  /* Override even-child desktop zig-zag */
  .service:nth-child(even) {
    grid-template-columns: 1fr !important;
  }

  .page-hero {
    padding: 3rem 0.5rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .page-hero p {
    font-size: 1rem;
  }
}
