:root {
  --navy: #0d2255;
  --gold: #c8922a;
  --cream: #faf7f0;
  --white: #ffffff;
  --text: #1a1a2e;
  --muted: #5a5a72;
  --border: #e0d8c8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Lato", sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 34, 85, 0.97);
  backdrop-filter: blur(8px);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 2px solid var(--gold);
}

/* ── LOGO AREA ── */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/*
    ╔══════════════════════════════════════════════════════════════╗
    ║  YOUR LOGO GOES HERE                                         ║
    ║  Replace the <div class="logo-placeholder"> block below      ║
    ║  with: <img src="your-logo.png" alt="Logo" class="nav-logo">║
    ║  Then add to CSS:  .nav-logo { height: 48px; width: auto; } ║
    ╚══════════════════════════════════════════════════════════════╝
    */
.logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-placeholder i {
  color: var(--white);
  font-size: 1.3rem;
}

.nav-brand-text {
  font-family: "Playfair Display", serif;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  max-width: 220px;
}

.nav-brand-text span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.2s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: white;
  display: block;
  transition: 0.3s;
}

/* ── HERO ── */
#home {
  min-height: 100vh;
  background: linear-gradient(155deg, #0a1a45 0%, #1a3a80 45%, #0d2255 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}

/* Hero background image overlay */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1548625149-720754816674?w=1600&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8922a' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#home::after {
  content: "\f00d";
  /* fa-times / cross shape */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  font-size: 28rem;
  color: rgba(200, 146, 42, 0.04);
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-block;
  background: rgba(200, 146, 42, 0.18);
  border: 1px solid rgba(200, 146, 42, 0.4);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  font-weight: 700;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 12px;
  font-weight: 800;
}

.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  margin-top: 60px;
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 800;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* ── SECTION BASE ── */
section {
  padding: 90px 5%;
}

section:nth-child(even) {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
}

.section-line {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 18px auto 0;
}

/* ── ABOUT ── */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* About image block */
.about-image-block {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(13, 34, 85, 0.15);
  margin-bottom: 28px;
  position: relative;
}

.about-image-block img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.about-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13, 34, 85, 0.85));
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  padding: 20px 14px 10px;
  letter-spacing: 0.04em;
}

.about-text p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-vision {
  background: var(--navy);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.about-vision::before {
  content: "\f132";
  /* fa-shield-halved, acts as decorative cross */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -10px;
  top: -20px;
  font-size: 9rem;
  color: rgba(200, 146, 42, 0.07);
  line-height: 1;
}

.about-vision h3 {
  font-family: "Playfair Display", serif;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.about-vision p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.98rem;
}

.values-list {
  list-style: none;
}

.values-list li {
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.values-list li .fa-star {
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 4px;
}

/* ── PILLARS ── */
#pillars .pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Pillar card image */
.pillar-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
  display: block;
  margin: -36px -30px 20px;
  width: calc(100% + 60px);
}

.pillar-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 6px;
  padding: 36px 30px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13, 34, 85, 0.1);
}

.pillar-card.has-img {
  border-top: none;
}

.pillar-card.has-img .pillar-img {
  margin-bottom: 24px;
}

.pillar-num {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: rgba(200, 146, 42, 0.18);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.pillar-icon-fa {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.pillar-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.pillar-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.pillar-features {
  list-style: none;
  flex: 1;
}

.pillar-features li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px dashed var(--border);
}

.pillar-features li:last-child {
  border-bottom: none;
}

.pillar-features li .fa-arrow-right {
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 3px;
}

.pillar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 11px 26px;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 2px solid var(--navy);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.pillar-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.pillar-cta i {
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.pillar-cta:hover i {
  transform: translateX(3px);
}

/* ── GOALS ── */
#goals {
  background: var(--navy);
}

#goals .section-title {
  color: var(--white);
}

/* Goals image strip */
.goals-img-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto 48px;
  border-radius: 8px;
  overflow: hidden;
}

.goals-img-strip img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  filter: brightness(0.6) saturate(0.7);
  transition: filter 0.3s;
}

.goals-img-strip img:hover {
  filter: brightness(0.8) saturate(1);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.goal-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 28px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: background 0.2s;
}

.goal-item:hover {
  background: rgba(200, 146, 42, 0.12);
}

.goal-num {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.goal-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── STRUCTURE ── */
#structure .org-wrap {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.org-tier {
  position: relative;
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.org-connector {
  width: 2px;
  height: 28px;
  background: var(--gold);
  margin: 0 auto;
}

.org-depts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 6px;
}

.org-dept {
  background: var(--cream);
  border: 1.5px solid var(--gold);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ── CONTACT ── */
#contact {
  background: linear-gradient(135deg, var(--cream) 0%, #efe9d8 100%);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* Contact image */
.contact-img-block {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13, 34, 85, 0.12);
  margin-bottom: 28px;
}

.contact-img-block img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.contact-info h3 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  color: var(--navy);
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-detail-text span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--gold);
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: 8px;
  padding: 44px;
  box-shadow: 0 4px 40px rgba(13, 34, 85, 0.08);
}

.contact-form h3 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: #fefefe;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 0.9rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  background: #f0faf0;
  border: 1px solid #b3e0b3;
  border-radius: 4px;
  color: #2a7a2a;
  margin-top: 12px;
}

/* ── FOOTER ── */
footer {
  background: #06112e;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 36px 5%;
  font-size: 0.85rem;
}

footer strong {
  color: var(--gold);
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

footer .footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: var(--gold);
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 860px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0a1a45; /* slightly deeper than nav */
    flex-direction: column;
    padding: 8px 0 16px;
    gap: 0;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    display: flex;
  }

  /* Every link becomes a full-width tap target */
  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }

  .nav-links a::after {
    content: "›";
    font-size: 1.1rem;
    opacity: 0.35;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(200, 146, 42, 0.1);
    color: var(--gold);
    border-left-color: var(--gold);
  }

  /* Sign In button gets its own treatment */
  .nav-links #navAuthBtn a,
  .nav-links #navDashBtn a {
    margin: 12px 20px 0;
    padding: 13px 20px;
    background: var(--gold);
    color: white;
    border-radius: 4px;
    border-left: none;
    justify-content: center;
    letter-spacing: 0.08em;
  }

  .nav-links #navAuthBtn a::after,
  .nav-links #navDashBtn a::after {
    content: "";
  }

  .nav-links #navAuthBtn a:hover,
  .nav-links #navDashBtn a:hover {
    background: #b07a20;
    border-left: none;
  }

  /* Logout link stays subtle */
  .nav-links #navLogoutBtn a {
    padding: 10px 20px;
    font-size: 0.75rem;
    justify-content: center;
    border-left: none;
    color: rgba(255, 255, 255, 0.35);
  }

  .nav-links #navLogoutBtn a::after {
    content: "";
  }

  .nav-links #navLogoutBtn a::after {
    content: "";
  }

  /* ── rest of mobile rules ── */
  #about .about-grid {
    grid-template-columns: 1fr;
  }

  .goals-img-strip {
    grid-template-columns: 1fr 1fr;
  }

  .goals-img-strip img:last-child {
    display: none;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .contact-form {
    padding: 28px 20px;
  }
}
