.home-page {
  color: #153d57;
}

.home-page .hero h1 {
  line-height: 1.5;
  text-shadow: 0 3px 20px #003b6080;
}

.home-page .hero-subtitle {
  max-width: 660px;
  line-height: 2;
  text-shadow: 0 2px 10px #003b6080;
}

.home-page .section {
  padding-block: clamp(56px, 6vw, 88px);
}

.home-page main .quick-access {
  background-color: #fff;
  background-image: linear-gradient(to bottom, #fff 0, rgba(255, 255, 255, 0.985) 36px, rgba(255, 255, 255, 0.965) 100px), url("body-contours.svg?v=2");
  background-size: auto, 640px 480px;
  background-repeat: repeat;
}

.home-page .section-heading {
  margin-bottom: 32px;
}

.home-page :is(.section-heading, .about-copy, .contact-info) h2 {
  color: #153d57;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.5;
}

.home-page .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid #d9eaf1;
  border-radius: 999px;
  color: #08798c;
  background: #edf8fc;
  font-family: inherit;
  font-size: 0.8rem;
  line-height: 1.7;
  letter-spacing: normal;
}

.home-page .api-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.home-page .api-section-heading > div {
  flex: 1;
  width: auto;
  margin: 0;
}

.home-page :is(.api-view-more, .text-link, .api-about-link) {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid #c8e4ef;
  border-radius: 12px;
  color: #0066cc;
  background: #fff;
  font-weight: 500;
  text-decoration: none;
}

.home-page :is(.api-view-more, .text-link, .api-about-link):hover {
  color: #007f9a;
  background: #edf8fc;
}

.home-page .service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-page .service-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 18px;
  row-gap: 4px;
  min-height: 132px;
  padding: 24px;
  border-color: #dfedf3;
  border-radius: 18px;
  box-shadow: 0 6px 24px #064b9208;
}

.home-page .service-card:hover {
  transform: translateY(-4px);
  border-color: #96d2e5;
  box-shadow: 0 16px 36px #064b9218;
}

.home-page .service-card .icon {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 16px;
  color: #007f9a;
  background: linear-gradient(135deg, #eaf7fc, #e1f7f2);
  border: 1px solid #cce8ef;
  box-shadow: none;
}

.home-page .service-card .icon svg {
  stroke: currentColor;
}

.home-page .service-card h3 {
  margin: 0;
  color: #153d57;
  line-height: 1.6;
}

.home-page .service-card p {
  margin: 0;
  color: #5d788a;
  font-size: 0.85rem;
}

.home-page .about-layout {
  gap: clamp(28px, 5vw, 64px);
}

.home-page .image-panel {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 12px 36px #064b9218;
}

.home-page .image-badge {
  border-radius: 16px;
  background: linear-gradient(110deg, #0066cc, #008d9e);
}

.home-page .mission-grid article,
.home-page .stat-card {
  border: 1px solid #dfedf3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 24px #064b9208;
}

.home-page .mission-grid article {
  padding: 20px;
  border-inline-start: 3px solid #76bddb;
}

.home-page .stat-card strong {
  color: #0066cc;
}

.home-page .api-member-card,
.home-page .news-card,
.home-page .featured-news {
  overflow: hidden;
  border: 1px solid #dfedf3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px #064b920a;
}

.home-page .api-member-card:hover,
.home-page .news-card:hover {
  transform: translateY(-4px);
  border-color: #96d2e5;
  box-shadow: 0 16px 36px #064b9218;
}

.home-page .api-member-role {
  background: linear-gradient(110deg, #0066cc, #008d9e);
  font-weight: 500;
}

.home-page .news-layout {
  gap: 26px;
}

.home-page .news-grid {
  gap: 22px;
}

.home-page .news-card .news-media-link {
  margin: 0;
}

.home-page .news-image-placeholder {
  background: linear-gradient(135deg, #eaf7fc, #e1f7f2);
}

.home-page .news-card h3,
.home-page .featured-news h3 {
  line-height: 1.7;
}

.home-page .news-card .news-date,
.home-page .featured-news .news-date {
  color: #5d788a;
  font-weight: 400;
  font-size: 0.8rem;
}

.home-page .news-read-more {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 10px;
  background: #edf8fc;
  font-size: 0.85rem;
}

.home-page .gallery-item {
  border: 1px solid #dfedf3;
  border-radius: 18px;
  box-shadow: 0 8px 28px #064b920a;
}

.home-page .contact-card,
.home-page .contact-form {
  border: 1px solid #dfedf3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 24px #064b9208;
}

.home-page .contact-form .btn-primary {
  border-radius: 12px;
  background: linear-gradient(110deg, #0066cc, #008d9e);
}

@media (max-width: 860px) {
  .home-page .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .api-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .home-page .image-panel,
  .home-page .image-panel img {
    min-height: 300px;
  }

  .home-page .news-layout {
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .home-page .service-grid {
    gap: 12px;
  }

  .home-page .service-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    justify-items: center;
    text-align: center;
    gap: 10px;
    min-height: 172px;
    padding: 18px 14px;
  }

  .home-page .service-card .icon {
    grid-row: auto;
  }

  .home-page .hero h1 {
    line-height: 1.35;
  }

  .home-page .hero-subtitle {
    line-height: 1.8;
  }
}

.home-page .contact-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 32px; }
.home-page .contact-info { gap: 16px; }
.home-page .contact-info > .eyebrow { width: fit-content; justify-self: start; margin: 0; padding: 6px 14px; border-radius: 999px; }
.home-page .contact-info h2 { color: #153d57; margin-bottom: 8px; }
.home-page .contact-card { position: relative; padding: 22px 24px; border: 1px solid #dcebf3; border-inline-start: 3px solid #008d9e; border-radius: 16px; background: #ffffffed; box-shadow: 0 6px 24px #064b9206; }
.home-page .contact-card strong { color: #087d98; font-weight: 400; font-size: .85rem; }
.home-page .contact-card p { margin-top: 8px; color: #31566e; line-height: 1.9; overflow-wrap: anywhere; }
.home-page .contact-card a { display: inline-block; direction: ltr; font-family: system-ui,sans-serif; color: #075779; }
.home-page .contact-card a:hover { color: #0066cc; text-decoration: underline; }
.home-page .contact-form { padding: clamp(24px,3vw,38px); border: 1px solid #d4e8f1; border-radius: 22px; background: #fff; box-shadow: 0 12px 36px #064b920c; gap: 20px; }
.home-page .contact-form-heading { border-bottom: 1px solid #e2eef4; padding-bottom: 20px; }
.home-page .contact-form-heading h3 { margin: 0 0 8px; color: #153d57; font-size: 1.8rem; }
.home-page .contact-form-heading p { margin: 0; color: #527086; font-size: .9rem; line-height: 1.9; }
.home-page .contact-form label { gap: 8px; color: #31566e; font-weight: 400; }
.home-page .contact-form input,.home-page .contact-form textarea { border-color: #c8e4ef; border-radius: 12px; background: #f8fcfe; min-height: 50px; }
.home-page .contact-form input[type=email] { font-family: system-ui,sans-serif; text-align: left; }
.home-page .contact-form :is(input,textarea):focus { outline: 3px solid #008d9e18; outline-offset: 0; border-color: #008d9e; }
.home-page .contact-form .btn { border-radius: 12px; min-height: 50px; background: linear-gradient(110deg,#0066cc,#008d9e); box-shadow: none; }
.home-page .contact-section .google-map { border: 1px solid #d4e8f1; border-radius: 20px; box-shadow: 0 8px 28px #064b920a; }
@media(max-width:800px) {
  .home-page .contact-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .home-page .contact-card { padding: 20px; }
  .home-page .contact-info > :is(.eyebrow,h2) { text-align: center; }
  .home-page .contact-info > .eyebrow { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .service-card,
  .home-page .api-member-card,
  .home-page .news-card {
    transition: none;
    transform: none !important;
  }
}
