/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --teal-900: #1c8698;
  --teal-800: #2493a1;
  --teal-700: #34a7b5;
  --teal-tint: #e3f6f7;
  --gold:      #f2b134;
  --gold-lt:   #ffd166;
  --gold-tint: #fff3d6;
  --terracotta: #f4845f;
  --terracotta-lt: #ff9f7a;
  --terracotta-tint: #ffe8dd;
  --sage:      #5fb98a;
  --sage-tint: #e3f5ea;
  --cream:     #fffaf0;
  --cream-dk:  #fbeed8;
  --white:     #ffffff;
  --ink:       #2f2a22;
  --ink-soft:  #6b6355;
  --radius:    20px;
  --shadow:    0 4px 24px rgba(28,134,152,.09);
  --shadow-md: 0 12px 44px rgba(28,134,152,.16);
}

body {
  font-family: 'Questrial', sans-serif;
  color: var(--ink-soft);
  background: var(--cream);
  overflow-x: hidden;
}

h1,h2,h3,h4 {
  font-family: 'Baloo 2', sans-serif;
  color: var(--teal-900);
  line-height: 1.2;
  font-weight: 700;
}
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { line-height: 1.75; color: var(--ink-soft); }
a  { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container { width: 90%; max-width: 1160px; margin: 0 auto; }
.section    { padding: 88px 0; }
.section-alt{ background: var(--white); }
.section-sage{ background: var(--sage-tint); }
.tag {
  display: inline-block;
  background: var(--gold-tint);
  color: var(--gold);
  font-family: 'Baloo 2', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header { text-align: center; margin-bottom: 52px; }
.section-header p { max-width: 620px; margin: 16px auto 0; font-size: 1.05rem; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700; font-size: .95rem;
  transition: all .25s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(242,177,52,.4); }
.btn-outline  { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-teal { background: var(--teal-900); color: #fff; }
.btn-teal:hover { background: var(--teal-700); transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(28,134,152,.35); }
.btn-terracotta { background: var(--terracotta); color: #fff; }
.btn-terracotta:hover { background: var(--terracotta-lt); transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(244,132,95,.4); }

/* ─── Header ─────────────────────────────────────────────── */
#site-header { position: relative; z-index: 1000; background: var(--white); }
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; }
.logo img { height: 68px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: flex; align-items: center; gap: 10px; font-family: 'Baloo 2', sans-serif; font-weight: 700; color: var(--teal-900); }
.header-phone i { color: var(--gold); font-size: 1.1rem; }
.header-phone .ph-label { display: block; font-family: 'Questrial', sans-serif; font-weight: 400; font-size: .7rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }

.menu-toggle {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; color: var(--teal-900); font-size: .9rem;
}
.menu-toggle .bars { display: flex; flex-direction: column; gap: 4px; }
.menu-toggle .bars span { width: 24px; height: 3px; background: var(--teal-900); border-radius: 2px; }

.nav-bar { background: var(--white); border-top: 1px solid var(--cream-dk); border-bottom: 1px solid var(--cream-dk); }
.nav-bar ul { display: flex; justify-content: center; list-style: none; flex-wrap: wrap; }
.nav-bar ul li a {
  display: block; padding: 15px 20px;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: .92rem;
  color: var(--ink-soft); letter-spacing: .01em;
  border-bottom: 3px solid transparent;
  transition: all .2s;
}
.nav-bar ul li a:hover, .nav-bar ul li a.active {
  color: var(--teal-900); border-bottom-color: var(--gold);
}

/* ─── Off-canvas drawer ──────────────────────────────────── */
.drawer-overlay {
  display: none; position: fixed; inset: 0; background: rgba(53,47,39,.45);
  z-index: 1998;
}
.drawer-overlay.open { display: block; }
.drawer {
  position: fixed; top: 0; right: -340px; width: 320px; max-width: 88vw; height: 100%;
  background: var(--white); z-index: 1999;
  padding: 28px 22px; overflow-y: auto;
  transition: right .35s ease;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-md);
}
.drawer.open { right: 0; }
.drawer-close {
  align-self: flex-end; background: none; border: none; color: var(--ink);
  font-size: 1.6rem; cursor: pointer; margin-bottom: 12px; line-height: 1;
}
.drawer a {
  display: block; text-align: center;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--teal-900); background: var(--cream);
  border: 1.5px solid var(--cream-dk);
  border-radius: 100px; padding: 14px 18px;
  transition: all .2s;
}
.drawer a.active, .drawer a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ─── Hero (home page) ──────────────────────────────────────── */
#hero {
  background: var(--cream);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
#hero::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='%23352f27' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-glow {
  position: absolute; right: -6%; top: -10%;
  width: 460px; height: 460px; border-radius: 50%;
  background: var(--gold-tint);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute; left: -8%; bottom: -12%;
  width: 380px; height: 380px; border-radius: 50%;
  background: var(--sage-tint);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 150px 0 64px; }
.hero-grid { display: flex; flex-direction: column; gap: 44px; }
.hero-text-media { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.hero-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-image img { display: block; width: 100%; height: auto; }
.hero-form-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-dk);
  max-width: 640px; width: 100%; margin: 0 auto;
}
.hero-form-card h3 { margin-bottom: 6px; }
.hero-form-card > p { font-size: .92rem; margin-bottom: 22px; }
.hero-form-card .form-submit { margin-top: 6px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); backdrop-filter: blur(8px);
  color: var(--teal-900); font-family: 'Baloo 2', sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 7px 18px 7px 10px;
  border-radius: 100px; border: 1px solid var(--cream-dk);
  margin-bottom: 26px; box-shadow: var(--shadow);
}
.hero-badge i { background: var(--gold); color: #fff; padding: 5px 9px; border-radius: 100px; }
.hero-content h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  color: var(--teal-900); margin-bottom: 20px; line-height: 1.12;
}
.hero-content h1 span { color: var(--gold); }
.hero-content p {
  font-size: 1.12rem; color: var(--ink-soft);
  margin-bottom: 36px; max-width: 620px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── Banner (colored full-width band) ──────────────────────── */
.banner {
  background: var(--terracotta-tint);
  padding: 72px 0; text-align: center;
}
.banner h2 { color: var(--teal-900); margin-bottom: 16px; }
.banner p { color: var(--ink-soft); max-width: 680px; margin: 0 auto 30px; font-size: 1.08rem; }

/* ─── Pillars (home page) ───────────────────────────────────── */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar-card {
  background: var(--white); border: 1px solid var(--cream-dk);
  border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow); transition: transform .25s;
}
.pillar-card:hover { transform: translateY(-4px); }
.pillar-icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff; margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(242,177,52,.35);
  transition: transform .3s ease;
}
.pillar-card:hover .pillar-icon { transform: scale(1.1) rotate(-6deg); }
.pillar-card h3 { margin-bottom: 10px; }
.pillar-card p { font-size: .92rem; margin-bottom: 0; }

/* ─── Services grid & cards ─────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all .3s ease; display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.service-photo {
  height: 150px; display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; color: #fff;
}
.service-photo i { transition: transform .3s ease; }
.service-card:hover .service-photo i { transform: scale(1.15) rotate(-4deg); }
.service-photo.tone-teal { background: var(--teal-800); }
.service-photo.tone-gold { background: var(--gold); }
.service-photo.tone-terracotta { background: var(--terracotta); }
.service-photo.tone-sage { background: var(--sage); }
.service-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 8px; }
.service-card p  { font-size: .9rem; margin-bottom: 18px; flex: 1; }
.service-card .btn { align-self: flex-start; padding: 10px 24px; font-size: .85rem; }

/* ─── Services page: detailed list ──────────────────────────── */
.service-detail {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius);
  padding: 30px; margin-bottom: 22px; box-shadow: var(--shadow);
}
.service-detail .service-icon-sm {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
}
.service-detail h3 { margin-bottom: 8px; }
.service-detail p { margin-bottom: 0; }

/* ─── How We Help ────────────────────────────────────────────── */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.help-grid .service-detail { margin-bottom: 0; }
.help-grid .service-detail h3 { font-size: 1.05rem; }
.help-grid .service-detail p { font-size: .9rem; }

/* ─── Mission / Vision / Principles (about page) ────────────── */
.value-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.value-list li { display: flex; align-items: flex-start; gap: 14px; color: var(--ink-soft); font-size: 1rem; }
.value-list li i { color: var(--gold); margin-top: 5px; flex-shrink: 0; }
.principle-card {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); transition: transform .25s; text-align: center;
}
.principle-card:hover { transform: translateY(-3px); }
.principle-card .pillar-icon { margin: 0 auto 20px; }
.principle-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.principle-card p { font-size: .9rem; margin-bottom: 0; }

/* ─── Page header (non-home pages) ──────────────────────────── */
.page-header {
  background: var(--gold-tint);
  padding: 64px 0; text-align: center; position: relative; overflow: hidden;
}
.page-header::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='%23352f27' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header .tag { background: var(--white); color: var(--gold); position: relative; z-index: 1; box-shadow: var(--shadow); }
.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  color: var(--teal-900); margin-bottom: 12px; position: relative; z-index: 1;
}
.page-header p {
  color: var(--ink-soft); max-width: 620px; margin: 0 auto;
  font-size: 1.02rem; position: relative; z-index: 1;
}

/* ─── Forms (contact / career) ──────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px; align-items: start; }
#contact .contact-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon-wrap {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.contact-item h4 { color: var(--teal-900); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contact-item p  { font-size: .95rem; color: var(--ink-soft); margin-bottom: 0; }
.contact-form { background: var(--white); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-family: 'Baloo 2', sans-serif; font-size: .78rem; font-weight: 700; color: var(--teal-900); text-transform: uppercase; letter-spacing: .04em; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--cream-dk); border-radius: 12px;
  padding: 12px 16px; font-family: 'Questrial', sans-serif; font-size: .95rem;
  color: var(--ink); background: var(--cream);
  transition: border-color .2s;
  outline: none;
}
.form-group input[type="file"] { padding: 10px 16px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; margin-top: 8px; justify-content: center; }

.form-message {
  margin-top: 16px; padding: 14px 18px; border-radius: 12px;
  font-size: .9rem; font-weight: 600; text-align: center;
}
.form-message-success { background: var(--sage-tint); color: var(--teal-900); }
.form-message-error { background: var(--terracotta-tint); color: var(--terracotta); }

.form-consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 18px; cursor: pointer;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px; width: 17px; height: 17px; flex-shrink: 0;
  accent-color: var(--gold); cursor: pointer;
}
.form-consent span { font-size: .78rem; line-height: 1.5; color: var(--ink-soft); }

/* ─── Empty state (job postings / resources placeholders) ──── */
.empty-state {
  text-align: center; background: var(--white); border: 2px dashed var(--cream-dk);
  border-radius: var(--radius); padding: 64px 32px; max-width: 560px; margin: 0 auto;
}
.empty-state i { font-size: 2.4rem; color: var(--gold); margin-bottom: 18px; display: block; }
.empty-state h3 { margin-bottom: 10px; }
.empty-state p { margin-bottom: 24px; }

/* ─── Footer ─────────────────────────────────────────────── */
footer { background: var(--cream-dk); color: var(--ink-soft); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col .footer-logo-chip {
  display: inline-flex; background: var(--white); border-radius: 16px;
  padding: 10px 22px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.footer-col img { height: 48px; }
.footer-col h4 {
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--teal-900); margin-bottom: 16px;
}
.footer-col p { font-size: .88rem; line-height: 1.7; margin-bottom: 0; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a, .footer-links span {
  display: flex; align-items: center; gap: 9px;
  font-size: .92rem; color: var(--ink-soft);
}
.footer-links a:hover { color: var(--gold); }
.footer-links i { color: var(--gold); width: 16px; text-align: center; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(53,47,39,.12); padding-top: 24px;
  text-align: center; font-size: .8rem;
}
.footer-bottom a { color: var(--gold); }

/* ─── Scroll To Top ──────────────────────────────────────── */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer; border: none;
  opacity: 0; pointer-events: none;
  transition: all .3s ease; box-shadow: var(--shadow-md);
  z-index: 900;
}
#scrollTop.show { opacity: 1; pointer-events: auto; }
#scrollTop:hover { background: var(--gold-lt); transform: translateY(-3px); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-bar { display: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .service-detail { flex-direction: column; }
  .help-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-links { align-items: center; }
}
@media (max-width: 700px) {
  .hero-text-media { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .help-grid { grid-template-columns: 1fr; }
}
@media (min-width: 901px) {
  .menu-toggle { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .page-header { padding: 50px 0; }
  .form-row { grid-template-columns: 1fr; }
  .logo img { height: 52px; }
}
