/* Base Reset and Variables */
:root {
  --brand: #1e3a8a;
  --accent: #0ea5e9;
  --text: #0f172a;
  --muted: #64748b;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  z-index: 10000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e2e8f0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.brand .logo {
  height: 40px;
  width: auto;
}

.nav {
  position: relative;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  font-weight: 600;
}
.nav-list a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.header-cta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  padding: 0.65rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.25);
}
.btn:hover {
  background: #172554;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  box-shadow: none;
}
.btn-outline:hover {
  background: rgba(30, 58, 138, 0.06);
}
.btn-lg {
  padding: 0.9rem 1.25rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0ea5e9 0%, #1e3a8a 60%, #0f172a 100%);
  color: #fff;
  padding: 5rem 0 4rem;
}
.hero-inner {
  display: grid;
  align-items: center;
}
.hero-content h1 {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.5rem;
}
.tagline {
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  margin: 0 0 1rem;
  color: #e2e8f0;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 0.75rem;
}
.hero-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.hero-meta span {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}
.section-alt {
  background: var(--surface-2);
}
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.section-header h2 {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0;
}
.section-header p {
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Grid Helpers */
.grid {
  display: grid;
  gap: 1.5rem;
}
.two-col {
  grid-template-columns: 1fr 1fr;
}
.three-col {
  grid-template-columns: repeat(3, 1fr);
}
.four-col {
  grid-template-columns: repeat(4, 1fr);
}
.align-center {
  align-items: center;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.cards .card {
  padding: 1.5rem;
}
.card h3 {
  margin-top: 0;
  font-family: "Poppins", "Inter", sans-serif;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: var(--accent);
}

/* About */
.about-aside .facts {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.about-aside .facts li + li {
  margin-top: 0.35rem;
}
.social-links .social-link {
  font-weight: 600;
}

/* Testimonials */
blockquote {
  margin: 0;
}
blockquote p {
  font-size: 1.05rem;
  color: var(--text);
}
blockquote footer {
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Leadership */
.profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.profile-photo {
  width: 280px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  object-fit: cover;
}
.profile-body .muted {
  color: var(--muted);
}

/* Social / Contact */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li + li {
  margin-top: 0.35rem;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.25rem;
  padding: 2rem 1rem;
}
.footer-brand .logo {
  height: 36px;
  width: auto;
}
.footer-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links a {
  color: #cbd5e1;
}
.footer-links a:hover {
  color: #fff;
}
.footer-copy {
  grid-column: 1 / -1;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Instagram embed container fix */
.instagram-media {
  width: 100% !important;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.in-view {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .four-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .three-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-list {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    min-width: 220px;
  }
  .nav.open .nav-list {
    display: flex;
  }
  .header-cta {
    display: none;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .profile {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 4rem 0 3rem;
  }
}

@media (max-width: 560px) {
  .three-col,
  .four-col {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
