/* ============================================================
   Custom Properties
   ============================================================ */
:root {
  --navy:        #1e3a5f;
  --navy-dark:   #142a47;
  --navy-light:  #2a4f7c;
  --gold:        #c9a84c;
  --gold-light:  #e0c070;
  --white:       #ffffff;
  --off-white:   #f7f8fa;
  --light-gray:  #e9ecef;
  --border:      #dee2e6;
  --text:        #2c3e50;
  --text-muted:  #6c757d;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.08);
  --shadow:      0 2px 10px rgba(0,0,0,0.10);
  --shadow-lg:   0 4px 20px rgba(0,0,0,0.14);
  --radius:      4px;
  --ease:        0.25s ease;
  --navbar-h:    70px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.3;
  color: var(--navy);
}

a { color: var(--navy); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--gold); }

.position-link { text-decoration: underline; }
/* .position-link { color: var(--gold); text-decoration: underline; } */
/* .position-link:hover { color: var(--navy); } */

address { font-style: normal; }

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

ul { list-style: none; }

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section       { padding: 4.5rem 0; }
.section-alt   { background: var(--off-white); }
.text-center   { text-align: center; }

.section-header { margin-bottom: 2.75rem; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.divider {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 0.7rem 0 1.25rem;
  border-radius: 2px;
}

.text-center .divider { margin-left: auto; margin-right: auto; }

.intro-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.85;
  max-width: 760px;
}

/* ============================================================
   Grid
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 1;
  transition: opacity var(--ease);
}

.navbar-brand:hover { opacity: 0.8; }

.navbar-logo {
  height: 44px;
  width: auto;
  display: block;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.navbar-nav a {
  display: block;
  padding: 0.45rem 0.9rem;
  font-size: 0.93rem;
  color: var(--text);
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}

.navbar-nav a:hover { color: var(--navy); background: var(--off-white); }

.navbar-nav a.active {
  color: var(--gold);
  font-weight: 600;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 6.5rem 0 5rem;
  margin-top: var(--navbar-h);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 2rem;
}

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.72rem 1.85rem;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background var(--ease), color var(--ease),
              border-color var(--ease), transform var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

/* ============================================================
   Stats bar
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: Georgia, serif;
  font-size: 2.25rem;
  font-weight: bold;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.85rem;
  line-height: 1;
}

.card-icon img {
  width: 2rem;
  height: 2rem;
  display: block;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p { color: var(--text); font-size: 0.95rem; }

/* Why choose us card (dark) */
.card-dark {
  background: var(--navy);
  border-color: var(--navy);
}

.card-dark h3 { color: var(--gold-light); font-size: 1.1rem; margin-bottom: 1rem; }

.card-dark .check-list { list-style: none; padding: 0; }

.card-dark .check-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
}

.card-dark .check-list li:last-child { border-bottom: none; }

/* ============================================================
   Page Header (inner pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 5rem 0 3rem;
  margin-top: var(--navbar-h);
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
}

.page-header p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-top: 0.65rem;
  max-width: 540px;
}

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

/* ============================================================
   Team cards
   ============================================================ */
.team-section-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease);
}

.team-card:hover { box-shadow: var(--shadow); }

.team-card .name {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.team-card .role {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.team-card .bio {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.team-card .contact-details {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.team-card .contact-details a { color: var(--navy); }
.team-card .contact-details a:hover { color: var(--gold); }

.team-card .name a { color: inherit; text-decoration: none; }
.team-card .name a:hover { color: var(--gold); }

/* ============================================================
   Team member profile pages
   ============================================================ */
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
}
.back-link:hover { color: var(--gold); }

.profile {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.profile-photo {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 3px solid var(--border);
}

.profile-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.profile-body .contact-details {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.9;
}

.profile-body .contact-details a { color: var(--navy); }
.profile-body .contact-details a:hover { color: var(--gold); }

@media (max-width: 600px) {
  .profile { grid-template-columns: 1fr; }
  .profile-photo { width: 140px; height: 140px; margin: 0 auto; }
}

.team-photo-link {
  display: block;
  width: 140px;
  margin: 0 auto 1.25rem;
}

.team-photo {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
}

.team-photo-placeholder {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; }

.contact-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-block h3 {
  font-size: 1rem;
  color: var(--navy);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 1rem;
}

.contact-block p,
.contact-block address { color: var(--text-muted); font-size: 0.95rem; line-height: 1.9; }

.contact-block a { color: var(--navy); }
.contact-block a:hover { color: var(--gold); }

.contact-block h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin: 1.5rem 0 0.6rem;
}

.contact-block h4:first-of-type { margin-top: 0; }

.contact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.contact-table th {
  text-align: left;
  color: var(--navy);
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.contact-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--light-gray);
  color: var(--text-muted);
}

.contact-table tbody tr:last-child td { border-bottom: none; }

.contact-table tbody tr:hover td { background: var(--off-white); }

.contact-table a { color: var(--navy); }
.contact-table a:hover { color: var(--gold); }

/* ============================================================
   About two-column
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--navy-dark);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

.footer-col h4 {
  font-size: 0.82rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.footer-col p,
.footer-col address,
.footer-col li { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.9; }

.footer-col a { color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* ============================================================
   Responsive — Tablet (≤ 992px)
   ============================================================ */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsive — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .navbar-nav {
    display: none;
    position: absolute;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 0.5rem 1.5rem 1rem;
    gap: 0;
  }

  .navbar-nav.open { display: flex; }

  .navbar-nav a {
    width: 100%;
    padding: 0.75rem 0.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1rem;
  }

  .navbar-nav a:last-child { border-bottom: none; }

  .hero { padding: 5rem 0 3.5rem; }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .section { padding: 3rem 0; }

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

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

  .contact-table th:last-child,
  .contact-table td:last-child { display: none; }
}

/* ============================================================
   Responsive — Small mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .btn { width: 100%; text-align: center; }
  .btn-group { flex-direction: column; }
}
