* {
  box-sizing: border-box;
}

:root {
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-title: "Big Shoulders Display", "Arial Narrow", Arial, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: #fff;
  color: #222;
}

.header {
  background: #15203c;
  padding: 0.8rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.35rem 2rem;
}

/* shared centered container used by hero and features */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.logo {
  height: 42px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-link {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  text-transform: uppercase;
}

.menu-link:hover {
  color: #b0b8c9;
}

.member-area-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #15203c;
  background: #fff;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    transform 0.2s;
}

.member-area-btn:hover {
  background: #f1f3f8;
  transform: translateY(-1px);
}

.member-area-btn svg {
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.menu-toggle-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-toggle-inner::before,
.menu-toggle-inner::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-toggle-inner::before {
  top: -7px;
}

.menu-toggle-inner::after {
  top: 7px;
}

.menu-toggle.is-open .menu-toggle-inner {
  background: transparent;
}

.menu-toggle.is-open .menu-toggle-inner::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-inner::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .header {
    position: relative;
    z-index: 20;
  }

  .header-content {
    gap: 1rem;
    padding: 0.35rem 1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #15203c;
    padding: 0.75rem 1rem 1rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
    z-index: 40;
  }

  .menu.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-link {
    display: block;
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menu-link:last-of-type {
    border-bottom: none;
  }

  .member-area-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.75rem;
  }
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: url("../img/hero-1.jpg") right top/cover no-repeat;
  padding: 6rem 0;
}

.hero-image {
  display: none;
}

.hero-content {
  display: flex;
  align-items: flex-start;
}

.hero-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 620px;
  color: #15203c;
}

.hero-text h1 {
  font-family: var(--font-title);
  color: #15203c;
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-text p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #333;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #15203c;
  color: #fff;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  padding: 1.2rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    transform 0.2s;
}

.cta-btn svg {
  flex: 0 0 auto;
  fill: #fff;
  width: 12px;
  margin-left: 4px;
}

.cta-btn:hover {
  background: #22305a;
  transform: translateY(-1px);
}

.accent-line {
  width: 72px;
  height: 6px;
  background: linear-gradient(90deg, #caa95a, #d9b66a);
  margin: 1rem 0 1.25rem 0;
  border-radius: 4px;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
}

.secondary-link {
  display: inline-block;
  background: transparent;
  color: #22305a;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  padding: 1.2rem 2.5rem;
  border: 1px solid #22305a;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    transform 0.2s;
}

.secondary-link:hover {
  transition:
    background 0.2s,
    transform 0.2s;
  border-color: #22305a;
  transform: translateY(-1px);
}

/* About section */
.about {
  padding: 10rem 0 5.5rem;
  background: transparent;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-image {
  flex: 0 0 450px;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1;
  color: #15203c;
}

.about-text h2 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: #15203c;
}

.about-text p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
}

.about-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.benefits {
  padding: 5.5rem 0;
  background: #f9f9f9;
}

.benefits-content {
  display: block;
}

.benefits-text {
  color: #15203c;
  text-align: center;
}

.benefits-text h2 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 0.9rem;
}

.benefits-text p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: #333;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 0 2.75rem;
  text-align: left;
}

.benefit-card {
  min-height: 245px;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid rgba(21, 32, 60, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(21, 32, 60, 0.08);
  color: #333;
  font-family: var(--font-body);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.benefit-card:hover {
  border-color: rgba(202, 169, 90, 0.45);
  box-shadow: 0 20px 44px rgba(21, 32, 60, 0.12);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: #caa95a;
  color: #15203c;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.benefit-card h3 {
  margin: 0 0 0.65rem;
  color: #15203c;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.benefit-card p {
  max-width: none;
  margin: 0;
  color: #3f4655;
  font-size: 0.96rem;
  line-height: 1.58;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.75rem;
  text-align: center;
  color: #15203c;
}

.section-heading h2 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 0.9rem;
}

.section-heading p {
  margin: 0;
  color: #333;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

.partners {
  padding: 5.5rem 0;
  background: #fff;
}

.partners-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 150px;
  background: #fff;
  border: 1px solid rgba(21, 32, 60, 0.08);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(21, 32, 60, 0.08);
}

.partner-logo img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.board {
  padding: 5.5rem 0;
  background: #f9f9f9;
}

.board-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.board-slider-btn {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #15203c;
  border-radius: 999px;
  background: transparent;
  color: #15203c;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.board-slider-btn:hover,
.board-slider-btn:focus {
  background: #15203c;
  color: #fff;
  outline: none;
}

.board-slider-btn:disabled,
.board-slider-btn[disabled] {
  opacity: 0.45;
  cursor: default;
  border-color: #cfcfcf;
  color: #cfcfcf;
  background: transparent;
}

.board-slider-btn svg {
  width: 1rem;
  height: 1rem;
}

.board-track-wrapper {
  overflow: hidden;
}

.board-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1.25rem;
  transition: transform 0.4s ease;
  will-change: transform;
}

.board-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(21, 32, 60, 0.08);
  transition: border-color 0.2s;
}

.board-card:hover {
  border-color: rgba(202, 169, 90, 0.45);
}

.board-photo {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 6;
  overflow: hidden;
}

.board-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.board-card:hover .board-photo img {
  transform: scale(1.04);
}

.board-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 24%;
  padding: 4rem 1.5rem 1.5rem;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg,
      rgba(21, 32, 60, 0),
      rgba(21, 32, 60, 0.7) 50%,
      rgba(21, 32, 60, 1) 100%);
  color: #fff;
}

.board-overlay h3 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.board-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.testimonials {
  padding: 5.5rem 0;
  background: #15203c;
}

.testimonials .section-heading {
  color: #fff;
}

.testimonials .section-heading h2 {
  color: #fff;
}

.testimonials .section-heading p {
  color: rgba(255, 255, 255, 0.82);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem;
  background: #1c2a4d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.testimonial-card:hover {
  border-color: rgba(202, 169, 90, 0.46);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.testimonial-stars {
  margin-bottom: 1.25rem;
  color: #d9b66a;
  font-size: 1rem;
  letter-spacing: 0.18em;
  line-height: 1;
}

.testimonial-card p {
  margin: 0 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

.testimonial-card div:last-child {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
  font-family: var(--font-body);
}

.testimonial-card strong {
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.testimonial-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.latest-posts,
.blog-archive {
  padding: 5.5rem 0;
  background: #f9f9f9;
}

.latest-posts-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}

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

.post-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(21, 32, 60, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(21, 32, 60, 0.08);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.post-card:hover {
  border-color: rgba(202, 169, 90, 0.45);
  box-shadow: 0 20px 44px rgba(21, 32, 60, 0.12);
  transform: translateY(-3px);
}

.post-card-image {
  display: flex;
  aspect-ratio: 1.55;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #15203c;
  color: #d9b66a;
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s;
}

.post-card:hover .post-card-image img {
  transform: scale(1.04);
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.6rem;
}

.post-card-meta {
  margin-bottom: 0.75rem;
  color: #7a6276;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card h2,
.post-card h3 {
  margin: 0 0 0.75rem;
  color: #15203c;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.32;
}

.post-card h2 a,
.post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.post-card h2 a:hover,
.post-card h3 a:hover,
.post-card-link:hover {
  color: #8b6f2d;
}

.post-card p {
  margin: 0 0 1.4rem;
  color: #3f4655;
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.58;
}

.post-card-link {
  margin-top: auto;
  color: #15203c;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

/* SVG icon inside post link: size and color controlled by CSS */
.post-card-link .icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: text-bottom;
  margin-right: 0.25rem;
  color: inherit;
  /* uses currentColor for fill */
}

.post-card-link .icon svg {
  width: 1.1em;
  height: 1.1em;
  display: block;
  fill: currentColor;
}

.blog-archive-hero,
.single-post-hero {
  padding: 5.5rem 0 4.5rem;
  background: #f8f4ee;
  color: #fff;
}

.blog-archive-heading,
.single-post-heading {
  max-width: 840px;
}

.blog-archive-heading h1,
.single-post-heading h1 {
  margin: 0 0 1rem;
  color: #15203c;
  font-family: var(--font-title);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.08;
}

.blog-archive-heading p {
  max-width: 680px;
  margin: 0;
  color: #333;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

.single-post-heading .post-card-meta {
  color: #333;
}

.single-post-heading .post-card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 2.5rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid #15203c;
  border-radius: 999px;
  background: transparent;
  color: #15203c;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.single-post-heading .post-card-link:hover {
  background: #15203c;
  border-color: #15203c;
  color: #fff;
}

.single-post-image {
  margin: 3.5rem 0 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(21, 32, 60, 0.14);
}

.single-post-image img {
  width: 100%;
  max-height: 620px;
  display: block;
  object-fit: cover;
  object-position: center 25%;
}

.single-post-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 0 5.5rem;
  color: #333;
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.78;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  color: #15203c;
  font-family: var(--font-body);
  line-height: 1.3;
}

.single-post-content a {
  color: #8b6f2d;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
}

.pagination {
  margin-top: 3rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(21, 32, 60, 0.12);
  border-radius: 4px;
  color: #15203c;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.pagination .current,
.pagination .page-numbers:hover {
  background: #15203c;
  color: #fff;
}

.empty-state {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  background: #fff;
  border-radius: 8px;
}

.empty-state h2 {
  margin: 0 0 0.75rem;
  color: #15203c;
  font-family: var(--font-title);
  font-size: 2.4rem;
}

.empty-state p {
  margin: 0;
  color: #333;
}

.contact {
  padding: 5.5rem 0;
  background: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}

.contact-info {
  color: #15203c;
}

.contact-info h2 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 0.9rem;
}

.contact-info p {
  max-width: 460px;
  margin: 0 0 2rem;
  color: #333;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #15203c;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  transition:
    background 0.2s,
    transform 0.2s;
}

.social-link:hover {
  background: #22305a;
  transform: translateY(-1px);
}

.social-link svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.social-link:focus-visible {
  outline: 2px solid rgba(202, 169, 90, 0.65);
  outline-offset: 3px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #15203c;
  text-decoration: none;
  font-family: var(--font-body);
  line-height: 1.4;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #15203c;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f4ee;
  color: #15203c;
  border-radius: 50%;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: #f9f9f9;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row label {
  color: #15203c;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(21, 32, 60, 0.18);
  border-radius: 4px;
  background: #fff;
  color: #15203c;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.95rem 1rem;
}

.form-row textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(202, 169, 90, 0.45);
  border-color: #caa95a;
}

.contact-form .cta-btn {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.footer {
  padding: 1.35rem 0;
  background: #15203c;
  color: rgba(255, 255, 255, 0.72);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.5;
}

.footer a {
  color: #d9b66a;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 182, 106, 0.35);
  transition:
    color 0.2s,
    border-color 0.2s;
}

.footer a:hover,
.footer a:focus {
  color: #fff;
  border-color: #d9b66a;
}

.footer a:focus-visible {
  outline: 2px solid rgba(217, 182, 106, 0.7);
  outline-offset: 3px;
}

.features-wrap {
  width: 100%;
  margin: -45px 0 -45px;
  position: relative;
  z-index: 2;
}

.features {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.12);
  display: flex;
  gap: 2rem;
  padding: 1.25rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.feature {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.feature .icon {
  background: #f8f4ee;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text {
  color: #15203c;
  font-family: var(--font-body);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .features {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .features-wrap {
    margin: -45px 0 -45px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .about-image {
    flex: none;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .about-text {
    padding-left: 0;
  }

  .about-ctas {
    flex-direction: column;
    align-items: center;
  }

  .benefits-text h2 {
    font-size: 2.2rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

  .board-grid,
  .testimonials-grid,
  .post-card-grid,
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-slider {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
  }

  .board-slider>button {
    justify-self: center;
  }

  .board-slider .board-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 1rem;
    width: max-content;
  }

  .board-track-wrapper {
    overflow: hidden;
  }

  .board-card,
  .board-photo,
  .board-photo img {
    min-height: auto;
  }

  .board-slider-btn {
    width: 2.75rem;
    height: 2.75rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-info h2 {
    font-size: 2.2rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .blog-archive-heading h1,
  .single-post-heading h1 {
    font-size: 2.6rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {

  .benefits,
  .board,
  .testimonials,
  .latest-posts,
  .blog-archive {
    padding: 4rem 0;
  }

  .benefits-grid,
  .board-grid,
  .testimonials-grid,
  .post-card-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .board-card,
  .board-photo,
  .board-photo img,
  .testimonial-card {
    min-height: auto;
  }

  .blog-archive-hero,
  .single-post-hero {
    padding: 4rem 0 3.5rem;
  }

  .blog-archive-heading h1,
  .single-post-heading h1 {
    font-size: 2.25rem;
  }

  .single-post-content {
    padding: 3rem 0 4rem;
  }

  .board-photo {
    aspect-ratio: 0.82;
  }

  .board-photo img {
    height: 100%;
  }

  /* Mobile slider layout */
  .board-slider {
    width: 100%;
    display: block;
    position: relative;
  }

  .board-slider>.board-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .board-slider>.board-slider-prev {
    left: 0.5rem;
  }

  .board-slider>.board-slider-next {
    right: 0.5rem;
  }

  .board-track-wrapper {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .board-slider .board-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
  }

  .board-slider .board-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: auto;
  }

  .board-photo {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

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

@media (max-width: 900px) {
  .hero {
    background: url("../img/hero-1.jpg") bottom right/180% no-repeat;
    padding: 3rem 0 18rem;
    background-color: #f7f8fb;
  }

  .board-slider {
    width: 100%;
    display: block;
    position: relative;
  }

  .board-slider .board-track-wrapper {
    min-width: 0;
    overflow: hidden;
  }

  .board-slider .board-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
  }

  .board-slider .board-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: auto;
  }

  .board-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .board-slider-prev {
    left: 0.5rem;
  }

  .board-slider-next {
    right: 0.5rem;
  }

  .board-photo {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

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

  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
  }

  .hero-ctas .cta-btn,
  .hero-ctas .secondary-link {
    width: 100%;
  }

  .hero-image {
    width: 100%;
    max-width: 720px;
  }

  .hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Desktop: fixed hero height and align background image to top */
@media (min-width: 900px) {
  .hero {
    min-height: 540px;
    padding: 60px 0 140px 0;
    justify-content: center;
  }

  .hero-content {
    align-items: center;
  }
}

/* Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
  will-change: opacity;
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-up.is-visible,
.fade-in.is-visible,
.fade-left.is-visible,
.fade-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
