@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

/* ===================== CSS VARIABLES ===================== */
:root {
  --primary: #D0C8A9;
  /* Muted Gold/Beige */
  --primary-light: #F2E3B6;
  /* Warm Beige */
  --secondary: #F2EBC4;
  /* Pale Yellow/Cream */
  --ivory: #FEF8DC;
  /* Ivory */
  --off-white: #FCFBF4;
  /* Off White */

  --text-dark: #2c2a25;
  /* Dark Charcoal for headings/text */
  --text-mid: #5c5a53;
  /* Mid Gray/Brown for body */
  --text-light: #8a877d;
  /* Light Gray/Brown for meta */
  --border: #e8e4d9;
  --card-bg: #ffffff;
  --section-bg: #FCFBF4;
  --section-alt-bg: #FEF8DC;

  --white: #ffffff;
  --red-accent: #c0392b;
  --shadow-sm: 0 2px 8px rgba(44, 42, 37, 0.05);
  --shadow-md: 0 6px 24px rgba(44, 42, 37, 0.08);
  --shadow-lg: 0 16px 48px rgba(44, 42, 37, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===================== TYPOGRAPHY ===================== */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(252, 251, 244, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(208, 200, 169, 0.3);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(252, 251, 244, 0.99);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-main-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.nav-main-logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 60%;
}

.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  width: 60%;
}

/* ===================== NAV DROPDOWN ===================== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: default;
  position: relative;
  user-select: none;
}

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger.active {
  color: var(--primary);
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown-trigger.active::after {
  width: 60%;
}

.nav-dropdown-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.3s ease;
  margin-left: 2px;
}

.nav-dropdown:hover .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(208, 200, 169, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(44, 42, 37, 0.12), 0 4px 12px rgba(44, 42, 37, 0.06);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Invisible bridge between trigger and menu to prevent losing hover */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none; /* override the nav-links a::after underline */
}

.nav-dropdown-menu a:hover {
  background: rgba(208, 200, 169, 0.15);
  color: var(--text-dark);
  padding-left: 1.15rem;
}

.nav-dropdown-menu a .dropdown-icon {
  font-size: 1rem;
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.nav-dropdown-divider {
  height: 1px;
  background: rgba(208, 200, 169, 0.3);
  margin: 0.35rem 0.75rem;
}

.nav-dropdown-label {
  padding: 0.5rem 1rem 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  pointer-events: none;
}

/* Mobile dropdown */
.nav-mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(44, 42, 37, 0.05);
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
}

.nav-mobile-dropdown-trigger:hover,
.nav-mobile-dropdown-trigger.active {
  color: var(--primary);
}

.nav-mobile-dropdown-trigger .mobile-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.3s ease;
}

.nav-mobile-dropdown-trigger.open .mobile-chevron {
  transform: rotate(180deg);
}

.nav-mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
  border-left: 2px solid rgba(208, 200, 169, 0.4);
  margin-bottom: 0.25rem;
}

.nav-mobile-dropdown-menu.open {
  display: flex;
}

.nav-mobile-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-mid);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 0.5rem;
  border-bottom: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-mobile-dropdown-menu a:hover {
  color: var(--primary);
  background: rgba(208, 200, 169, 0.1);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--ivory);
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(208, 200, 169, 0.2);
}

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

.nav-mobile a {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(44, 42, 37, 0.05);
  transition: var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary);
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(254, 248, 220, 0.92) 0%, rgba(252, 251, 244, 0.85) 50%, rgba(254, 248, 220, 0.95) 100%),
    url('images/mission-building.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--off-white) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10rem 1rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(208, 200, 169, 0.2);
  border: 1px solid rgba(208, 200, 169, 0.5);
  color: var(--text-dark);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.7s ease forwards;
}

.hero-title {
  color: var(--white);
  margin-bottom: 0.5rem;
  animation: fadeInLeft 0.8s ease 0.2s both;
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-subtitle {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInLeft 0.8s ease 0.3s both;
}

.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 2.5rem;
  animation: fadeInLeft 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInLeft 0.8s ease 0.5s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(208, 200, 169, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #B8A068;
  color: #B8A068;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
  background: #B8A068;
  border-color: #B8A068;
  color: var(--text-dark);
  transform: translateY(-2px);
  text-shadow: none;
}

.hero-image-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.9s ease 0.3s both;
}

.hero-img-main {
  width: 100%;
  max-width: 420px;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(208, 200, 169, 0.4);
}

.hero-stats {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  border: 1px solid rgba(208, 200, 169, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  gap: 2rem;
  box-shadow: var(--shadow-md);
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-num {
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
}

.hero-stat-label {
  color: var(--text-mid);
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-mid), transparent);
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 5rem 1rem;
}

.section-alt {
  background: var(--section-alt-bg);
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-mid);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 620px;
}

.staff-photo-block {
  margin: 2rem auto 2.5rem;
  max-width: 980px;
  text-align: center;
}

.staff-group-photo {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.staff-photo-caption {
  color: var(--text-mid);
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

/* ===================== STAFF GALLERY ===================== */
.staff-gallery {
  margin: 1.5rem auto 2rem;
  max-width: 980px;
}

.staff-row.staff-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.staff-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  padding: 0;
  border: 1px solid var(--border);
}

.staff-card img.staff-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.staff-card figcaption {
  padding: 0.6rem 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.staff-role {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 0.25rem;
}

.staff-card.empty img {
  background: linear-gradient(90deg, #f6f6f6, #efefef);
  opacity: 0.25;
  height: 180px;
  object-fit: cover;
}

.staff-photo-placeholder {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f3ee, #ede9df);
}

.staff-photo-placeholder svg {
  width: 90px;
  height: 90px;
  opacity: 0.35;
  color: var(--text-mid);
}

@media (max-width: 900px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .staff-row.staff-two,
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .staff-card img.staff-photo {
    height: 260px;
  }
}

.section-header-centered {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header-centered .section-tag,
.section-header-centered .section-desc {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* DIVIDER */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

.gold-divider.centered {
  margin: 1rem auto 1.5rem;
}

/* ===================== CARDS & GRIDS ===================== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

/* ===================== QUICK LINKS (HOME) ===================== */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.quick-link-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(208, 200, 169, 0.3);
  cursor: pointer;
}

.quick-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(44, 42, 37, 0.08);
  border-color: var(--primary);
}

.quick-link-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--primary);
}

.quick-link-card h3 {
  color: var(--text-dark);
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.quick-link-card p {
  color: var(--text-mid);
  font-size: 0.82rem;
}

/* ===================== ABOUT / HISTORY ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  margin-top: 3rem;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(208, 200, 169, 0.3);
}

.about-img-badge {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-dark);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-img-badge .year {
  font-size: 2rem;
  display: block;
}

.about-img-badge .label {
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.faith-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.faith-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faith-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--text-dark);
}

.faith-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.faith-card h4 {
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ===================== VISION & MISSION (BENTO) ===================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.bento-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border);
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.bento-img {
  padding: 0;
  background-size: cover;
  background-position: center;
  min-height: 350px;
  border: none;
}

.bento-vision {
  background: linear-gradient(135deg, var(--white) 0%, var(--ivory) 100%);
}

.bento-mission {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-dark);
  border: none;
}

.bento-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
  color: var(--text-mid);
}

.bento-mission .bento-tag {
  color: rgba(44, 42, 37, 0.7);
}

.bento-item h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.bento-item p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-mid);
}

.bento-mission p {
  color: rgba(44, 42, 37, 0.85);
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-img {
    order: -1; /* move images up or down */
  }
}

/* ===================== DEPARTMENTS ===================== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}

.dept-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  text-align: center;
  border: 1px solid rgba(208, 200, 169, 0.3);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.dept-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.dept-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.dept-card h3 {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

/* ===================== TABLES ===================== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

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

thead {
  background: var(--section-alt-bg);
}

thead th {
  color: var(--text-dark);
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background: rgba(208, 200, 169, 0.1);
}

tbody tr:nth-child(even) {
  background: rgba(252, 251, 244, 0.5);
}

tbody tr:nth-child(even):hover {
  background: rgba(208, 200, 169, 0.1);
}

tbody td {
  padding: 0.85rem 1.25rem;
  color: var(--text-mid);
  vertical-align: top;
}

tbody td:first-child {
  color: var(--text-light);
  font-size: 0.8rem;
}

.table-badge {
  display: inline-block;
  background: rgba(208, 200, 169, 0.2);
  color: var(--text-dark);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
}

.status-active {
  color: #059669;
  font-weight: 600;
  font-size: 0.82rem;
}

.status-returned {
  color: var(--text-light);
  font-size: 0.82rem;
}

.status-stopped {
  color: var(--red-accent);
  font-size: 0.82rem;
}

/* search */
.table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.table-search {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: white;
  width: 280px;
  transition: var(--transition);
  outline: none;
}

.table-search:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(208, 200, 169, 0.2);
}

.table-count {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ===================== GALLERY ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(252, 251, 244, 0.95), transparent);
  padding: 1.5rem 1rem 0.75rem;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ===================== MISSIONARIES MAP-CARD ===================== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.mission-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mission-card-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.mission-card-church {
  color: var(--text-light);
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.mission-card-loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mission-card-term {
  color: var(--text-mid);
  font-size: 0.82rem;
}

.mission-card-status {
  margin-top: 0.75rem;
}

/* ===================== PROJECTS ===================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card-header {
  background: var(--section-alt-bg);
  padding: 2rem;
  text-align: center;
}

.project-card-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.project-card-header h3 {
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.project-card-body {
  padding: 1.5rem;
}

.project-card-body p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===================== CONTACT ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.contact-info-item:hover {
  border-color: var(--primary);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  flex-shrink: 0;
  color: var(--text-dark);
}

.contact-info-label {
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-info-value {
  color: var(--text-dark);
  font-weight: 500;
  margin-top: 0.15rem;
}

.contact-form {
  background: white;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(208, 200, 169, 0.2);
}

.form-textarea {
  min-height: 130px;
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(208, 200, 169, 0.35);
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--ivory);
  color: var(--text-mid);
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.footer-brand-name {
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-tagline {
  color: var(--text-mid);
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 340px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--text-mid);
  font-size: 1rem;
  border: 1px solid rgba(208, 200, 169, 0.5);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.social-btn:hover {
  background: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-mid);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(208, 200, 169, 0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-left {
  color: var(--text-mid);
}

.footer-bottom-right {
  color: var(--text-mid);
}

.footer-bottom a {
  color: var(--primary);
}

/* ===================== PAGE HERO ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--section-bg) 100%);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(208, 200, 169, 0.15) 0%, transparent 60%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-mid);
  font-size: 1.05rem;
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  font-size: 0.82rem;
}

.breadcrumb-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--border);
}

/* ===================== TABS ===================== */
.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-mid);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
}

.tab-btn:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===================== VERSE BANNER ===================== */
.verse-banner {
  background: linear-gradient(135deg, var(--ivory), var(--section-bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem;
  text-align: center;
}

.verse-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.6;
  font-style: italic;
}

.verse-ref {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

.fade-up {
  animation: fadeInUp 0.7s ease both;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-image-stack {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .about-grid .about-img-wrapper {
    order: -1;
    margin-top: 1.5rem !important;
    margin-bottom: 2rem;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .two-col-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  .hero-stats {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .table-search {
    width: 100%;
  }

  .table-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  thead th {
    font-size: 0.72rem;
    padding: 0.75rem 0.9rem;
  }

  tbody td {
    padding: 0.65rem 0.9rem;
    font-size: 0.83rem;
  }
}

@media (max-width: 480px) {
  .quick-links-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .faith-cards {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }
}


/* ===================== NEWS PAGE ===================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.news-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-placeholder-img {
  background: linear-gradient(135deg, var(--ivory), var(--section-alt-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
}

.news-placeholder-img svg {
  width: 56px;
  height: 56px;
  opacity: 0.25;
  color: var(--text-mid);
}

.news-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-cat-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.news-cat-badge.announcement {
  background: rgba(208, 200, 169, 0.25);
  color: var(--text-dark);
}

.news-cat-badge.event {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.news-cat-badge.mission {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.news-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-card-excerpt {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.25rem;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.news-date {
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ===================== GALLERY PAGE ===================== */
.gallery-img-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--ivory), var(--section-alt-bg));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 500;
}

.gallery-img-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.gallery-placeholder-item {
  cursor: default;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.lightbox-content p {
  color: rgba(255,255,255,0.75);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* ===================== DEPARTMENT DETAILS ===================== */
.dept-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.dept-card.hover-clickable {
  cursor: pointer;
  position: relative;
}

.dept-card.hover-clickable:hover {
  border-color: var(--primary);
  background: var(--section-alt-bg);
}

.card-arrow {
  font-size: 0.75rem;
  color: var(--primary);
  opacity: 0.7;
  margin-left: 2px;
  display: inline-block;
  transition: var(--transition);
}

.dept-card.hover-clickable:hover .card-arrow {
  transform: translateY(2px);
  color: var(--text-dark);
}

.dept-details-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.dept-detail-block {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
}

.dept-detail-header {
  margin-bottom: 2rem;
}

.dept-detail-badge {
  display: inline-block;
  background: rgba(208, 200, 169, 0.25);
  color: var(--text-dark);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.dept-detail-header h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
}

.dept-greeting {
  font-size: 1.15rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.dept-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.dept-detail-main p {
  color: var(--text-mid);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.dept-quote {
  background: var(--section-alt-bg);
  border-radius: var(--radius-sm);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
}

.dept-quote p {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.dept-quote cite {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.dept-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-box {
  background: var(--section-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.sidebar-box h4 {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-box p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sidebar-box p:last-child {
  margin-bottom: 0;
}

.sidebar-box.goal-box {
  border-left: 4px solid var(--primary);
  background: var(--section-alt-bg);
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-list li {
  font-size: 0.95rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dept-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

@media (max-width: 900px) {
  .dept-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
