@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&display=swap');

/* Global typography and polish */
body {
  font-family: Georgia, "Times New Roman", serif;
  color: #2A2A2A;
  background-color: #FFFFFF;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", serif;
  color: #1F2A3A;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.navbar,
.navbar a,
.btn,
.card__meta,
.site-footer,
.home-hero__subtitle {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  color: #2C3E55;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #1F2A3A;
  text-decoration: underline;
}

/* Home page polish */
.home-hero {
  padding: 1.5rem 0 0.75rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.home-hero__title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1F2A3A;
}

.home-hero__subtitle {
  font-size: 1.15rem;
  color: #6C8AA6;
  margin-top: 0.4rem;
}

.home-hero__blurb {
  font-size: 1.08rem;
  line-height: 1.75;
  margin-top: 1.2rem;
  max-width: 52rem;
}

.home-cta {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  background-color: #2C3E55;
  border-color: #2C3E55;
  color: #FFFFFF;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #1F2A3A;
  border-color: #1F2A3A;
  color: #FFFFFF;
}

.btn-outline-primary {
  color: #2C3E55;
  border-color: #2C3E55;
  background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #2C3E55;
  border-color: #2C3E55;
  color: #FFFFFF;
}

/* Sections */
.home-section {
  max-width: 1000px;
  margin: 2.5rem auto;
}

.home-section h2 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  color: #1F2A3A;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid rgba(31, 42, 58, 0.10);
  border-radius: 14px;
  padding: 1.1rem;
  background-color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(31, 42, 58, 0.06);
}

.card__title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1F2A3A;
}

.card__meta {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: #6C8AA6;
}

.card__text {
  margin-top: 0.7rem;
  line-height: 1.6;
}

.card__links {
  margin-top: 0.85rem;
}

/* Lists */
.home-bullets {
  line-height: 1.9;
  padding-left: 1.2rem;
}

/* About page */
.about-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0 2.5rem 0;
  gap: 1.25rem;
}

.about-profile__image-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.about-profile__img {
  width: 165px;
  height: 165px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid #2C3E55;
  background: #FFFFFF;
  box-shadow: 0 10px 24px rgba(31, 42, 58, 0.14);
}

.about-profile__quote {
  position: relative;
  max-width: 640px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1px solid rgba(44, 62, 85, 0.10);
  border-radius: 18px;
  padding: 1.6rem 1.8rem 1.35rem 1.8rem;
  box-shadow: 0 10px 24px rgba(31, 42, 58, 0.07);
  text-align: center;
}

.about-profile__quote-mark {
  position: absolute;
  top: -18px;
  left: 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.2rem;
  line-height: 1;
  color: rgba(44, 62, 85, 0.16);
}

.about-profile__quote-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.65;
  color: #1F2A3A;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.about-profile__quote-attrib {
  margin-top: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.85rem;
  color: #6C8AA6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Optional circular image styling elsewhere */
.hero-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
  margin-bottom: 1rem;
  border: 2px solid #2C3E55;
  box-shadow: 0 4px 16px rgba(31, 42, 58, 0.12);
}

/* Responsive */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .home-hero__title {
    font-size: 2.3rem;
  }

  .about-profile__quote {
    padding: 1.35rem 1.15rem 1.15rem 1.15rem;
  }

  .about-profile__quote-text {
    font-size: 1.12rem;
  }
}
