:root {
  --blue: #1a85ba;
  --cream: #f7f5f0;
  --mist: #eaeeed;
  --ink: #304254;
  --olive: #3d4218;
  --forest: #3b5345;
  --navy: #304254;
}

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

html {
  scroll-padding-top: 84px;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  z-index: 10;
  border-bottom: 1px solid rgba(48, 66, 84, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  gap: 1.5rem;
}

.header-branding {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo-link {
  width: 58px;
  height: 52px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nav-logo-link img {
  width: 130px;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.branding-text h1 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.tagline {
  font-size: 0.8rem;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 0.95rem;
}

.nav-links a.active {
  font-weight: 600;
  color: var(--blue);
}

.main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

@media (min-width: 900px) {
  .main-layout {
    grid-template-columns: 3fr 1fr;
  }
}

.sidebar {
  background: var(--mist);
  padding: 1.5rem;
  border-radius: 8px;
}

.sidebar-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(48, 66, 84, 0.1);
}

.sidebar-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-item h3 {
  color: var(--blue);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.sidebar-item p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 1rem;
}

.newsletter-form button,
.sidebar-item .button {
  display: block;
  width: 100%;
  padding: 0.8rem;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.newsletter-form button:hover,
.sidebar-item .button:hover {
  background: var(--forest);
}

footer {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  color: var(--cream);
  text-decoration: none;
  margin: 0 0.5rem;
  font-size: 1.2rem;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  color: var(--forest);
}

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  padding: clamp(1.6rem, 4vw, 3.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.6rem;
  color: var(--forest);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(148, 203, 223, 0.7) 0%,
    rgba(148, 203, 223, 0.45) 32%,
    rgba(148, 203, 223, 0.18) 58%,
    rgba(148, 203, 223, 0) 78%
  );
  pointer-events: none;
}

.hero-logo {
  width: clamp(150px, 18vw, 220px);
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 340px;
  position: relative;
  z-index: 1;
}

.hero-text p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  color: var(--forest);
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  color: var(--forest);
}

.mission {
  background: var(--blue);
  color: var(--cream);
  padding: 4.8rem 0 5rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3.5rem;
  align-items: center;
}

.mission-circle {
  width: min(320px, 70vw);
  height: min(320px, 70vw);
  background: var(--cream);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.mission-circle img {
  width: 75%;
  height: auto;
}

.mission-copy h2 {
  color: var(--cream);
  font-size: clamp(2.4rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}

.mission-copy p {
  color: var(--cream);
  font-size: 1.02rem;
  max-width: 520px;
}

.services {
  background: var(--mist);
  padding: 4.5rem 0 4rem;
}

.services h2 {
  font-size: clamp(2.1rem, 3.4vw, 2.7rem);
  margin-bottom: 3.2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  justify-items: center;
}

.service {
  text-align: center;
  max-width: 320px;
}

.service-image {
  width: 220px;
  height: 220px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(14, 19, 24, 0.18);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forest);
  margin-bottom: 0.8rem;
}

.service p {
  color: #4f5b52;
}

.blog {
  background: var(--blue);
  color: var(--cream);
  padding: 4rem 0 5.2rem;
}

.blog h2 {
  color: var(--cream);
  font-size: clamp(2.2rem, 3.6vw, 2.8rem);
  margin-bottom: 2.8rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--mist);
  border-radius: 22px;
  padding: 1.7rem;
  color: var(--forest);
  display: grid;
  gap: 1rem;
  min-height: 340px;
}

.blog-card h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card img {
  border-radius: 10px;
  height: 140px;
  object-fit: cover;
  width: 100%;
}

.trust {
  background: #ffffff;
  padding: 4.2rem 0 4.6rem;
}

.trust h2 {
  color: var(--blue);
  font-size: clamp(2.1rem, 3.4vw, 2.7rem);
  margin-bottom: 2.7rem;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2.4rem;
  align-items: center;
  justify-items: center;
}

.trust-logos img {
  max-height: 84px;
  object-fit: contain;
}

.contact {
  background-color: var(--blue);
  background-image: url("assets/contact-bg.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  padding: 4.6rem 0;
}

.contact-grid {
  display: flex;
  justify-content: flex-start;
}

.contact-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 2.6rem;
  max-width: 420px;
  width: 100%;
  color: var(--forest);
}

.contact-card h2 {
  font-size: clamp(2.2rem, 3.6vw, 2.9rem);
  margin-bottom: 2rem;
}

.contact-pill {
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-pill span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--forest);
}

.contact-pill strong {
  font-weight: 500;
  font-size: 1rem;
}

.contact-social {
  text-align: center;
  margin-top: 1.5rem;
}

.contact-social span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.7rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--forest);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.service li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
  text-align: left;
  color: #4f5b52;
}

.service li::before {
  content: "\2022"; /* Unicode character for a bullet */
  color: var(--blue); /* Color of the bullet */
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

@media (max-width: 800px) {
  .hero {
    min-height: 50vh;
  }

  .hero-overlay {
    position: relative;
    padding: 1.5rem;
  }

  .hero-photo {
    min-height: 50vh;
  }

  .contact-grid {
    justify-content: center;
  }
}
