
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  color: #333;
  overflow-x: hidden;
}

main {
  flex: 1;
}

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

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 12px 40px; 
  gap: 24px;

  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}

.navbar a:hover {
  color: #324863;
}

.navbar a[aria-current="page"] {
  color: #324863;
  font-weight: 500;
  border-bottom: 2px solid #324863;
  padding-bottom: 2px;
}


.nav-brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
  color: #333;
}

.nav-brand-name {
  font-size: 20px;
  font-weight: 600;
}

.nav-brand-title {
  font-size: 13px;
  opacity: 0.7;
}

.nav-brand:hover {
  opacity: 0.7;
}


/* HERO */
.hero {
  position: relative;
  min-height: 80vh;
  background: url('StockCake2.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-top: 80px;
 
  
}

#about {
  scroll-margin-top: 50px;
}

#services {
  width: 100%;
  max-width: none;
}


/* ✅ Overlay layer */
.hero::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 40px 20px;
}

 
.hero h1 {
  font-size: 48px;
  letter-spacing: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 auto 14px;
}
.hero h2 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;

  max-width: 800px;
  margin: 10px auto;
  font-weight: 300;

}
.hero h3 {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;

  margin-top: 8px;
  opacity: 0.9;

}

/* BUTTON */
.btn {
  display: inline-block;
  min-width: 260px;
  padding: 14px 28px;
  background: #1f2933;
  color: white;
  text-decoration: none;
  margin-top: 10px;

  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  text-align: center;
}
.btn:hover {
  background: #111827;
}


/* SECTIONS */
.section {
  padding: 32px 20px 48px;
  max-width: 900px;
  margin: auto;
}

.subpage {
  padding-top: 80px;
}

.subpage > section:first-child,
.subpage > .section:first-child {
  padding-top: 16px;
}
 
.center {
  text-align: center;
  margin: auto;
  padding: 10px;
}

/* ABOUT */
.about-section {
  background: #f9fafc;
  padding: 64px 24px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.5fr);
  gap: 44px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.about-copy {
  grid-column: 2;
  grid-row: 1;
  text-align: left;
}

.about-copy h2 {
  color: #1f2933;
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 22px;
}

.about-copy p {
  color: #3f4650;
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-profile {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

.about-photo {
  align-self: center;
  width: 100%;
  max-width: 225px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 4px solid white;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.18);
}

.credentials-list {
  width: 100%;
  margin-top: 28px;
  padding: 20px;
  background: white;
  border: 1px solid #dde4ed;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.06);
}

.credentials-list h3 {
  color: #1f2933;
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 14px;
}

.credential-group + .credential-group {
  margin-top: 14px;
}

.credential-group h4 {
  color: #324863;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 6px;
}

.credential-group ul {
  margin: 0;
  padding-left: 18px;
}

.credential-group li {
  color: #444;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 5px;
}

.credential-group li:last-child {
  margin-bottom: 0;
}

.publications-link {
  display: inline-block;
  margin-top: 12px;
  color: #324863;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.publications-link:hover {
  color: #1f2933;
}

.light {
  background: #eef3f9;
}

#services,
#insurance,
#contact {
  background: #f9fafc;
}

.section p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

#services h2,
#insurance h2,
.contact-section h2 {
  color: #1f2933;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

#services > .section > h2,
#insurance .section:first-child h2,
.contact-section h2 {
  font-size: 34px;
}

.services-meta,
.approach,
.services-copy p,
#insurance p,
.insurance-list li,
.contact-intro {
  font-family: 'Inter', sans-serif;
}

.services-copy {
  max-width: 900px;
  margin: 24px auto 0;
  text-align: left;
}

.services-copy p {
  color: #3f4650;
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.services-copy p:last-child {
  margin-bottom: 0;
}

.services-copy b {
  color: #1f2933;
}

#services h3 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.focus-heading {
  font-size: 19px !important;
  margin-bottom: 30px;
}


/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.card {
  background: white;
  padding: 18px 12px;
  border-radius: 8px;
  border: 1px solid #dde4ed;
  text-align: center;
  width: 100%;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card p {
  margin: 0;
  line-height: 1.4;
}

/* INSURANCE */

#insurance .section:first-child {
  padding-bottom: 8px;
}

#insurance .section + .section {
  padding-top: 0;
}

#insurance p {
  color: #3f4650;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 15px;
}

#insurance .section:first-child p {
  text-align: left;
}

.insurance-list {
  margin-top: 10px;
  padding-left: 20px;
}

.insurance-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #444;
}

/*contact*/
.contact-section {
  padding: 32px 20px 48px;
  text-align: center;
  background: #f9fafc;
}

.contact-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 8vh;
}

.contact-page .contact-section {
  width: 100%;
}

.contact-intro {
  color: #666;
  max-width: none;
  margin: 0 auto 24px;
  line-height: 1.6;
  white-space: nowrap;
}

.contact-button {
  margin-top: 0;
}

/* LOCATIONS */
.locations {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 30px;
}
/* FOOTER */
footer {
  text-align: center;
  padding: 12px 40px;
  background: #eee;

  font-size: 14px;  
  color: #959494;

}

footer p {
  margin: 0;
  line-height: 1.4;
}


@media (max-width: 768px) {
  .navbar {
    position: sticky;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
  }

  .navbar ul {
    justify-content: center;
    gap: 8px 18px;
  }

  .navbar a {
    font-size: 14px;
  }

  .nav-brand {
    align-items: center;
    text-align: center;
  }

  .nav-brand-name {
    font-size: 19px;
  }

  .nav-brand-title {
    font-size: 12px;
  }

  #about {
    scroll-margin-top: 112px;
  }

  .subpage {
    padding-top: 0;
  }

  .navbar a[aria-current="page"] {
    border-bottom: none;
  }

  .about-section {
    padding: 48px 20px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-copy {
    grid-column: auto;
    grid-row: 1;
  }

  .about-copy h2 {
    font-size: 32px;
  }

  .about-profile {
    grid-column: auto;
    grid-row: 2;
    align-items: center;
    justify-content: flex-start;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-photo {
    width: 165px;
  }

  .credentials-list {
    margin-top: 22px;
  }

  .hero {
    min-height: calc(100svh - 96px);
    margin-top: 0;
    padding: 64px 20px 56px;
  }

  .hero-text {
    padding: 0 10px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.3;

    max-width: 90%;
    margin: 0 auto;

  }

  .hero h2 {
    font-size: 18px;
    line-height: 1.6;
    margin: 15px auto;
    max-width: 95%;
    opacity: 0.95;
  }

  .hero h3 {
    font-size: 16px;
    margin-top: 10px;
  }

  .btn {
    margin-top: 20px;
    width: 100%;
    max-width: 320px;
    min-width: 0;
    padding: 14px 18px;
  }

  .contact-button {
    margin-top: 0;
  }

  .contact-intro {
    white-space: normal;
  }

}

@media (max-width: 520px) {
  .navbar ul {
    width: 100%;
    gap: 8px 14px;
  }

  .navbar a {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 29px;
    max-width: 100%;
  }

  .hero h2 {
    font-size: 16px;
  }

  .hero h3 {
    font-size: 15px;
  }

  .section,
  .about-section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .center {
    padding-left: 0;
    padding-right: 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .about-copy h2 {
    font-size: 29px;
  }

  .about-copy p {
    font-size: 15px;
  }

  .about-photo {
    width: 145px;
  }

  .credentials-list {
    padding: 18px;
  }

  .contact-intro {
    font-size: 14px;
  }
}
