/* CIAMSS Homepage Gold Master v1.0.6 */
:root {
  --navy: #062f5f;
  --navy-dark: #031f42;
  --navy-mid: #0a4278;
  --gold: #f2cb67;
  --cream: #fbf8f2;
  --panel: #f5f8fc;
  --text: #182230;
  --muted: #4d5968;
  --border: #d8e0ea;
  --white: #fff;
  --purple: #6c2f8d;
  --green: #356d31;
  --shadow: 0 8px 22px rgba(3,31,66,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #eef2f6 url('../images/bkgrd.jpg');
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover, a:focus { color: #7d273b; }
.container { width: min(1180px, calc(100% - 34px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: .75rem 1rem;
  background: #fff;
  color: #000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Keep the shared header transparent and separate from homepage content. */
.ciamss-site-header { padding-top: 20px; }
.ciamss-logo img { width: 580px; max-width: 100%; }

/* Homepage hero */
.hero {
  position: relative;
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 48%, rgba(23,93,155,.50) 0 2%, transparent 2.5%),
    repeating-radial-gradient(circle at 84% 48%, rgba(35,103,162,.24) 0 2px, transparent 3px 28px),
    repeating-conic-gradient(from 4deg at 84% 48%, rgba(38,112,177,.18) 0 4deg, transparent 4deg 15deg),
    linear-gradient(105deg, #052b57 0%, #07396e 58%, #041f42 100%);
  border: 1px solid #113f70;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(121,176,223,.20);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(28,91,148,.08), 0 0 0 95px rgba(28,91,148,.06), 0 0 0 150px rgba(28,91,148,.05);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 20px 0 22px; }
.hero-copy { max-width: 720px; }
.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,.20);
}
.hero p {
  max-width: 760px;
  margin: 9px 0 0;
  color: #eef5fb;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 16px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.button:hover, .button:focus { transform: translateY(-1px); text-decoration: none; }
.button-gold { background: var(--gold); color: #062b56; }
.button-gold:hover, .button-gold:focus { background: #ffdc82; color: #062b56; }
.button-outline { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(3,31,66,.26); }
.button-outline:hover, .button-outline:focus { color: #fff; background: rgba(255,255,255,.12); }
.text-link { color: var(--gold); font-weight: 700; text-decoration: none; }
.text-link:hover, .text-link:focus { color: #ffe39a; }

main > section { padding: 42px 0; }
.section-title {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.15;
  text-align: center;
}
.section-intro { max-width: 860px; margin: 12px auto 0; color: var(--text); font-size: 1.05rem; text-align: center; }

.welcome { padding-bottom: 44px; }
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 30px; }
.path-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 20px 20px 22px;
  border: 1px solid #e4d8b8;
  border-top: 4px solid #c8a45a;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbf6ea 0%, #f7efdd 100%);
  box-shadow: 0 7px 18px rgba(3,31,66,.09);
  text-align: center;
}
.icon-circle { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; background: var(--navy); }
.path-card:nth-child(2) .icon-circle { background: var(--purple); }
.path-card:nth-child(3) .icon-circle { background: var(--green); }
.icon-circle svg { width: 38px; height: 38px; fill: currentColor; }
.path-card h3 { margin: 12px 0 4px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.path-card p { flex: 1; max-width: 270px; margin: 4px 0 16px; }
.button-navy { min-width: 190px; background: var(--navy); color: #fff; }
.button-navy:hover, .button-navy:focus { background: var(--navy-dark); color: #fff; }

.benefits { padding-top: 24px; }
.ruled-title { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.ruled-title::before, .ruled-title::after { content: ""; height: 1px; background: #8ba7c7; }
.benefit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 20px; }
.benefit { padding: 0 20px; border-right: 1px solid #adc0d6; text-align: center; }
.benefit:last-child { border-right: 0; }
.benefit-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; background: #9aafd0; color: #fff; font-size: 1.55rem; font-weight: 700; }
.benefit h3 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; }
.benefit p { margin: 5px 0 0; font-size: .94rem; }

.president-wrap { padding-top: 68px; }
.president-card {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 28px;
  align-items: center;
  padding: 24px 30px;
  border-radius: 7px;
  background: linear-gradient(110deg, #f5f8fc, #eaf1f8);
}
.president-card h2 { margin: 0 0 8px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.president-card p { margin: 0 0 10px; }
.president-symbol { display: flex; align-items: center; justify-content: center; gap: 36px; padding-left: 28px; border-left: 1px solid #8ea8c6; }
.president-symbol img { width: 138px; height: 138px; flex: 0 0 138px; object-fit: contain; object-position: center; border: 2px solid #315f91; border-radius: 50%; background: #dbe8f3; }
.president-symbol blockquote { max-width: 285px; margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; font-style: italic; font-weight: 700; line-height: 1.45; }
.president-symbol small { display: inline-block; margin-top: 7px; }

.faq-callout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 14px; padding: 16px 28px; border-radius: 7px; background: linear-gradient(110deg, #f5f8fc, #eaf1f8); }
.faq-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 5px solid #8ba4c8; border-radius: 50%; color: var(--navy); font-size: 2rem; font-weight: 700; }
.faq-callout h2 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.faq-callout p { margin: 2px 0 0; }

.journey { padding: 24px 0 26px; color: #fff; background: linear-gradient(100deg, #052b57, #073f78); text-align: center; }
.journey h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.85rem; }
.journey p { margin: 5px 0 15px; color: #edf4fa; }
.journey-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.journey .button { min-height: 38px; padding: 7px 15px; font-size: .9rem; }

.president-message { background: var(--cream); }
.president-message .container { max-width: 900px; }
.president-message p { margin: 13px 0 0; }

.site-footer { color: #fff; background: #042651; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 28px; padding: 28px 0 22px; }
.site-footer h2 { margin: 0 0 8px; font-size: 1rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { text-decoration: underline; }
.site-footer p { margin: 0; }
.copyright { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.18); text-align: center; font-size: .86rem; }

@media (max-width: 900px) {
  .path-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .benefit:nth-child(2) { border-right: 0; }
  .president-card { grid-template-columns: 1fr; }
  .president-symbol { padding: 20px 0 0; border-top: 1px solid #8ea8c6; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { width: min(100% - 16px, 1180px); border-radius: 12px; }
  .hero-inner { padding: 18px 0 20px; }
  .hero h1 { font-size: 2.25rem; }
  main > section { padding: 34px 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid #adc0d6; }
  .benefit:last-child { border-bottom: 0; }
  .president-symbol { flex-direction: column; text-align: center; }
  .faq-callout { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover, .button:focus { transform: none; }
}
@media print {
  .ciamss-primary-navigation, .hero-actions, .journey, .site-footer { display: none !important; }
  .hero { color: #000; background: #fff; border: 1px solid #999; box-shadow: none; }
  .hero p { color: #000; }
  .path-card, .president-card, .faq-callout { box-shadow: none; break-inside: avoid; }
}
