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

:root {
  --primary-deep: hsl(143, 50%, 12%);
  --primary-light: hsl(143, 40%, 96%);
  --secondary-gold: hsl(38, 92%, 52%);
  --accent-clay: hsl(24, 60%, 45%);
  
  --bg-cream: hsl(40, 24%, 98%);
  --bg-card: hsl(0, 0%, 100%);
  --bg-slate: hsl(143, 15%, 93%);
  
  --text-ink: hsl(143, 40%, 8%);
  --text-body: hsl(143, 20%, 24%);
  --text-muted: hsl(143, 8%, 45%);
  --text-white: hsl(40, 20%, 98%);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 20px -2px rgba(11, 28, 18, 0.04);
  --shadow-md: 0 12px 30px -5px rgba(11, 28, 18, 0.08);
  --shadow-lg: 0 24px 50px -10px rgba(11, 28, 18, 0.12);
  --border-radius: 12px;
  --border-radius-sm: 6px;
  
  --nav-height: 84px;
}

/* Nav Meetings Link */
.nav-meetings {
  background: linear-gradient(135deg, #1e3a5f, #2563eb) !important;
  color: #fff !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37,99,235,0.18);
  transition: background 0.25s, box-shadow 0.25s, transform 0.18s;
}
.nav-meetings::after {
  display: none !important;
}
.nav-meetings:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af) !important;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
  transform: translateY(-1px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-cream);
  color: var(--text-ink);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  padding-top: var(--nav-height);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-deep);
  font-weight: 700;
  line-height: 1.22;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(1.85rem, 4.8vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--secondary-gold);
}

h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
}

p, li, a, span {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* LAYOUT & CONTAINER */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-header.center {
  margin: 0 auto 3.5rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--secondary-gold);
  margin-bottom: 0.75rem;
}

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 0.75rem;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  max-width: calc(100% - 54px);
}

.logo span {
  color: var(--secondary-gold);
}

.logo img,
#navbar .logo img {
  height: 68px !important;
  width: auto !important;
  max-width: 350px !important;
  display: block;
  border-radius: 0 !important;
  object-fit: contain !important;
}

.nav-links {
  display: flex;
  gap: 1.05rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-ink);
  padding: 0.5rem 0.15rem;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-gold);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary-deep);
  color: var(--text-white) !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 50px;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(13, 77, 41, 0.2);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--secondary-gold);
  color: var(--primary-deep) !important;
  transform: translateY(-1px);
}

.nav-admin {
  background: rgba(212, 175, 55, 0.12);
  color: #936f16 !important;
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  border-radius: 50px;
  padding: 0.5rem 1rem !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.nav-admin::after {
  display: none !important;
}

.nav-admin:hover {
  background: var(--secondary-gold) !important;
  color: var(--primary-deep) !important;
  border-color: var(--secondary-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.nav-fundraising {
  background: rgba(13, 77, 41, 0.08);
  color: var(--primary-deep) !important;
  border: 1.5px solid rgba(13, 77, 41, 0.4);
  border-radius: 50px;
  padding: 0.5rem 1rem !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.nav-fundraising::after {
  display: none !important;
}

.nav-fundraising:hover {
  background: var(--primary-deep) !important;
  color: #fff !important;
  border-color: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 77, 41, 0.25);
}

.footer-admin-btn {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(13, 77, 41, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
}

.footer-admin-btn:hover {
  background: var(--secondary-gold);
  color: var(--primary-deep);
  border-color: var(--secondary-gold);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-gold);
  color: var(--primary-deep);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 0.9rem 1.85rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  gap: 0.5rem;
  text-align: center;
}

.btn-primary:hover {
  background: #e5b93c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 0.9rem 1.85rem;
  border-radius: 50px;
  border: 2px solid var(--secondary-gold);
  transition: var(--transition-smooth);
  gap: 0.5rem;
  text-align: center;
}

.btn-outline:hover {
  background: var(--secondary-gold);
  color: var(--primary-deep);
}

/* HERO SECTION */
.hero {
  background: var(--primary-deep);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  color: var(--text-white);
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 28, 18, 0.84) 0%, rgba(13, 77, 41, 0.7) 100%);
}

.hero h1 {
  color: var(--text-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 1.25rem 0 2.25rem;
  max-width: 680px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* GRIDS & CARDS */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.grid-2 > *,
.grid-3 > *,
.hero-grid > *,
.footer-main-grid > * {
  min-width: 0;
}

.value-card {
  background: var(--bg-card);
  padding: 2.2rem 1.75rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(13, 77, 41, 0.08);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary-gold);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-gold);
}

.value-card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--primary-deep);
  font-size: 1.5rem;
  font-weight: 700;
}

.value-card h3 {
  margin-bottom: 0.65rem;
}

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

/* FOOTER */
footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.85);
  padding: 4.5rem 0 2rem;
  position: relative;
  border-top: 4px solid var(--secondary-gold);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: stretch;
}

.footer-col {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-top: 4px solid var(--secondary-gold);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
}

.footer-col:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.footer-col h4 {
  color: var(--secondary-gold);
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--secondary-gold);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.footer-col ul li a:hover {
  color: var(--secondary-gold);
  transform: translateX(4px);
}

.footer-contact-list p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0.65rem;
  line-height: 1.6;
}

.footer-contact-list a {
  color: var(--secondary-gold);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-mini-form input,
.footer-mini-form textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
}

.footer-mini-form input::placeholder,
.footer-mini-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-mini-form input:focus,
.footer-mini-form textarea:focus {
  border-color: var(--secondary-gold);
}

.footer-mini-form button {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: var(--secondary-gold);
  color: var(--primary-deep);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.footer-mini-form button:hover {
  background: #e5b93c;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
}

/* PAGE HEADER */
.page-header {
  background: var(--primary-deep);
  padding: 5.5rem 0 4rem;
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  color: var(--text-white);
  margin-bottom: 0.85rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  line-height: 1.75;
}

/* ANIMATIONS */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE NAV BUTTON */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  cursor: pointer;
  border-radius: 10px;
  background: rgba(13, 77, 41, 0.06);
  flex-shrink: 0;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--primary-deep);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.brand-highlight {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--secondary-gold);
}

/* ==========================================================================
   FLOATING LEFT-SIDE LANGUAGE TRANSLATOR WIDGET (MOVES AS USER SCROLLS)
   ========================================================================== */
#lowef-left-translator {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex;
  align-items: center;
  font-family: 'Outfit', 'Inter', sans-serif;
}

.lowef-trans-panel {
  background: rgba(13, 77, 41, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--secondary-gold);
  border-left: none;
  border-radius: 0 16px 16px 0;
  padding: 0.9rem 1rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  color: #fff;
  width: 230px;
  max-height: 80vh;
  overflow-y: auto;
  transition: margin-left 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  margin-left: -230px;
  opacity: 0;
  pointer-events: none;
}

#lowef-left-translator.open .lowef-trans-panel {
  margin-left: 0;
  opacity: 1;
  pointer-events: auto;
}

.lowef-trans-toggle {
  background: linear-gradient(180deg, var(--primary-deep) 0%, #09351c 100%);
  color: #fff;
  border: 2px solid var(--secondary-gold);
  border-left: none;
  border-radius: 0 14px 14px 0;
  padding: 0.75rem 0.55rem;
  cursor: pointer;
  box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
  user-select: none;
}

.lowef-trans-toggle:hover {
  background: var(--secondary-gold);
  color: var(--primary-deep);
  padding-left: 0.75rem;
}

.lowef-trans-toggle .globe-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.lowef-trans-toggle .trans-vertical-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lowef-trans-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 0.65rem;
}

.lowef-trans-header span {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--secondary-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lowef-trans-close {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lowef-trans-select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  border: 1.5px solid var(--secondary-gold);
  background: #fff;
  color: var(--primary-deep);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
  outline: none;
  cursor: pointer;
}

.lowef-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.lowef-lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 7px;
  padding: 0.38rem 0.45rem;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lowef-lang-btn:hover,
.lowef-lang-btn.active {
  background: var(--secondary-gold);
  color: var(--primary-deep);
  border-color: var(--secondary-gold);
  font-weight: 800;
}

/* Hide Google Translate top banner bar so it never pushes navbar down */
iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}
body {
  top: 0px !important;
}
#google_translate_element_hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 680px) {
  #lowef-left-translator {
    top: auto;
    bottom: 78px;
    transform: none;
  }
  .lowef-trans-toggle {
    padding: 0.55rem 0.42rem;
  }
  .lowef-trans-toggle .trans-vertical-label {
    font-size: 0.68rem;
  }
  .lowef-trans-panel {
    width: 215px;
    margin-left: -215px;
  }
}

/* ==========================================================================
   ALL-DEVICE RESPONSIVE BREAKPOINTS (LAPTOPS, TABLETS, PHONES, SMALL PHONES)
   ========================================================================== */

/* Medium-Large Screens / Compact Laptops */
@media (max-width: 1280px) and (min-width: 1121px) {
  .logo img,
  #navbar .logo img {
    height: 60px !important;
    max-width: 285px !important;
  }
  .nav-links {
    gap: 0.75rem;
  }
  .nav-links a {
    font-size: 0.83rem;
  }
  .nav-cta {
    padding: 0.55rem 1rem !important;
  }
}

/* Tablets & Mobile Navigation Drawer */
@media (max-width: 1440px) {
  .nav-links {
    gap: 0.75rem;
  }
  .nav-links a {
    font-size: 0.84rem;
  }
}

@media (max-width: 1280px) {
  :root {
    --nav-height: 74px;
  }
  .logo img,
  #navbar .logo img {
    height: 56px !important;
    max-width: min(295px, 72vw) !important;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100dvh - var(--nav-height));
    background: var(--bg-card);
    padding: 1.5rem 1.5rem 3rem;
    gap: 0.35rem;
    text-align: center;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(13, 77, 41, 0.08);
  }
  .nav-links.active {
    left: 0;
  }
  .nav-links li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(13, 77, 41, 0.06);
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links a {
    font-size: 1.05rem;
    display: block;
    width: 100%;
    padding: 0.8rem 0.5rem;
  }
  .nav-links a.nav-cta {
    display: inline-block;
    width: auto;
    min-width: 200px;
    margin: 0.5rem auto;
    padding: 0.75rem 1.8rem !important;
  }
  .nav-links a.nav-admin {
    display: inline-block;
    width: auto;
    min-width: 200px;
    margin: 0.5rem auto;
    padding: 0.7rem 1.6rem !important;
  }
  .nav-links a.nav-fundraising,
  .nav-links a.nav-meetings {
    display: inline-block;
    width: auto;
    min-width: 200px;
    margin: 0.5rem auto;
    padding: 0.7rem 1.6rem !important;
  }
  .hamburger {
    display: flex;
    z-index: 1001;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
  body.no-scroll {
    overflow: hidden;
  }
}

/* Tablets (Portrait & Landscape) */
@media (max-width: 992px) {
  .grid-2,
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
  }
  .footer-main-grid,
  .lower-four-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  section {
    padding: 4rem 0 !important;
  }
  .page-header {
    padding: 4.25rem 0 3rem !important;
  }
}

/* Mobile Phones (iPhone, Android, Phablets) */
@media (max-width: 680px) {
  :root {
    --nav-height: 68px;
  }
  .container {
    padding: 0 1.1rem;
  }
  .logo img,
  #navbar .logo img {
    height: 50px !important;
    max-width: min(265px, 72vw) !important;
  }
  .grid-2,
  .grid-3,
  .mgmt-grid,
  .gallery-grid,
  .footer-main-grid,
  .lower-four-boxes {
    grid-template-columns: 1fr !important;
    gap: 1.4rem !important;
  }
  section {
    padding: 3rem 0 !important;
  }
  .section-header,
  .section-header.center {
    margin-bottom: 2.25rem !important;
  }
  .hero {
    padding: 3.25rem 0 !important;
  }
  .hero-content {
    min-height: auto !important;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.4rem;
  }
  /* Ensure interactive tabs on Home page wrap cleanly on phones */
  .tab-headers {
    flex-direction: column !important;
  }
  .tab-headers .tab-btn {
    width: 100% !important;
    text-align: left !important;
    padding: 0.85rem 1rem !important;
  }
  .tab-content {
    padding: 1.25rem !important;
  }
  /* Scale down large inline paddings inside cards on phones */
  .contact-form-box,
  .contact-card,
  .value-card,
  .mgmt-body,
  .blog-modal-box,
  #account {
    padding: 1.5rem 1.2rem !important;
  }
  /* Prevent iOS Safari zoom on form input focus */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* Extra-Small Smartphones (320px - 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 0.85rem;
  }
  .logo img,
  #navbar .logo img {
    height: 44px !important;
    max-width: 230px !important;
  }
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   UPCOMING PROJECTS CARDS & SOCIAL SHARING (FRONTEND & ADMIN)
   ========================================================================== */
.upcoming-proj-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(13, 77, 41, 0.08);
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upcoming-proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(13, 77, 41, 0.12);
}

.proj-media-container {
  position: relative;
  width: 100%;
  background: #092013;
  overflow: hidden;
}

.proj-floating-badges {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 5;
}

.proj-badge-cat {
  background: var(--primary-deep);
  color: #ffffff;
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.proj-badge-spons {
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.proj-badge-spons.spons-needed {
  background: #d97706;
  color: #ffffff;
}

.proj-badge-spons.spons-funded {
  background: #059669;
  color: #ffffff;
}

.proj-content-wrap {
  padding: 2.8rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proj-heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  color: var(--primary-deep);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.proj-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.6rem;
  background: var(--bg-slate);
  padding: 1.4rem 1.6rem;
  border-radius: 16px;
  border: 1px solid rgba(13, 77, 41, 0.06);
}

.proj-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.proj-detail-item .proj-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.proj-detail-item small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.proj-detail-item strong {
  font-size: 1rem;
  color: var(--primary-deep);
  line-height: 1.4;
}

.proj-spons-alert {
  background: rgba(212, 175, 55, 0.12);
  border-left: 4px solid var(--secondary-gold);
  padding: 1.1rem 1.4rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.6rem;
  font-size: 0.95rem;
  color: #725406;
  line-height: 1.6;
}

.proj-desc-text {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 2.2rem;
}

.proj-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(13, 77, 41, 0.08);
  margin-top: auto;
}

.proj-btn-group {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.proj-social-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.proj-share-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.proj-share-pill {
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.proj-share-pill.wa {
  background: #25D366;
  color: #ffffff !important;
}
.proj-share-pill.wa:hover {
  background: #1ebd5a;
  transform: translateY(-2px);
  color: #ffffff !important;
}

.proj-share-pill.fb {
  background: #1877F2;
  color: #ffffff !important;
}
.proj-share-pill.fb:hover {
  background: #0f62cf;
  transform: translateY(-2px);
  color: #ffffff !important;
}

.proj-share-pill.tw {
  background: #000000;
  color: #ffffff !important;
}
.proj-share-pill.tw:hover {
  background: #222222;
  transform: translateY(-2px);
  color: #ffffff !important;
}

.proj-share-pill.in {
  background: #0A66C2;
  color: #ffffff !important;
}
.proj-share-pill.in:hover {
  background: #084e96;
  transform: translateY(-2px);
  color: #ffffff !important;
}

.proj-share-pill.copy {
  background: #eef2f0;
  color: var(--primary-deep) !important;
  border: 1.5px solid rgba(13, 77, 41, 0.2);
}
.proj-share-pill.copy:hover {
  background: var(--primary-deep);
  color: #ffffff !important;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .proj-content-wrap {
    padding: 1.8rem 1.4rem;
  }
  .proj-details-grid {
    grid-template-columns: 1fr;
    padding: 1.1rem;
  }
  .proj-footer-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .proj-btn-group {
    width: 100%;
  }
  .proj-btn-group a {
    flex: 1;
    text-align: center;
  }
}

/* ==========================================================================
   UNIVERSAL ALL-DEVICE RESPONSIVENESS SAFEGUARDS
   ========================================================================== */
img, video, iframe, svg {
  max-width: 100%;
}

table {
  max-width: 100%;
}

@media (max-width: 992px) {
  .table-responsive,
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: clamp(1.75rem, 7vw, 2.3rem) !important;
    line-height: 1.2 !important;
  }
  h2 {
    font-size: clamp(1.4rem, 5.5vw, 1.9rem) !important;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions a,
  .hero-actions button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}


