/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/Divi/
 Description:    Divi Child Theme
 Author:         Nitchy
 Author URI:     https://nitchy.ie
 Template:       Divi
 Version:        5.x
*/

/* ─────────────────────────────────────────────────────────────
   FONTS
   Alternatively add this via Divi > Theme Options > Custom CSS
   or enqueue in functions.php (see functions-snippet.php)
───────────────────────────────────────────────────────────── */
@import url("/wp-content/themes/Divi/style.css");
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap');


/* ─────────────────────────────────────────────────────────────
   CUSTOM PROPERTIES
   These are the colour tokens used throughout every code box.
───────────────────────────────────────────────────────────── */
:root {
  --teal-dark:    #0A3D47;
  --teal-mid:     #0D5563;
  --magenta:      #8B1878;
  --magenta-light:#A01E8C;
  --orange:       #E84E1B;
  --gold:         #F5A623;
  --cream:        #F8F5F0;
  --white:        #FFFFFF;
  --text-dark:    #111827;
  --text-mid:     #374151;
  --text-light:   #6B7280;
  --border:       rgba(10,61,71,0.12);
}


/* ─────────────────────────────────────────────────────────────
   SKIP LINK
───────────────────────────────────────────────────────────── */
.skip-to-content {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}


/* ─────────────────────────────────────────────────────────────
   HEADER SHELL
───────────────────────────────────────────────────────────── */
.im-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100000;
  background: var(--teal-mid);
  height: 100px;
  /* Crisp bottom line instead of a blurry shadow — more editorial */
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Shadow appears after scrolling (class added by JS) */
.im-header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
}

.im-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}


/* ─────────────────────────────────────────────────────────────
   LOGO
───────────────────────────────────────────────────────────── */
.im-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.im-header__logo-img {
  height: 34px;
  width: auto;
  display: block;
  /* Logo asset should already be light/white; if dark version
     is used instead, uncomment the filter below: */
  /* filter: brightness(0) invert(1); */
}

/* Text fallback — hidden when image loads successfully */
.im-header__logo-text {
  display: none; /* shown via onerror in HTML */
  align-items: baseline;
  gap: 0;
  font-family: 'Lexend', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
}

.im-header__logo-i {
  color: var(--gold);
}


/* ─────────────────────────────────────────────────────────────
   DESKTOP NAV
───────────────────────────────────────────────────────────── */
.im-header__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.im-header__links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px;
}

.im-header__links li {
  margin: 0 !important;
  padding: 0 !important;
}

.im-header__link {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

/* Subtle underline indicator */
.im-header__link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px; right: 12px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.im-header__link:hover {
  color: white;
}

.im-header__link:hover::after,
.im-header__link.is-active::after {
  transform: scaleX(1);
}

.im-header__link.is-active {
  color: white;
}

.im-header__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  color: white;
}

.im-header__cta:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.im-header__burger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}


/* ─────────────────────────────────────────────────────────────
   ACTIONS: CTA + BURGER
───────────────────────────────────────────────────────────── */
.im-header__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

/* CTA — always visible on every device */
.im-header__cta {
  display: inline-block;
  background: var(--magenta);
  color: white !important;
  text-decoration: none;
  font-family: 'Lexend', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 8px 18px;
  border-radius: 24px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.im-header__cta:hover {
  background: var(--magenta-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(139, 24, 120, 0.45);
}

/* Burger button — hidden on desktop */
.im-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.im-header__burger:hover {
  background: rgba(255, 255, 255, 0.14);
}

.im-header__burger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.28s ease, opacity 0.2s ease, width 0.2s ease;
}


/* ─────────────────────────────────────────────────────────────
   BURGER → X  ANIMATION
   Applied when .im-header has class .nav-open
───────────────────────────────────────────────────────────── */
.im-header.nav-open .im-header__burger {
  background: rgba(255, 255, 255, 0.14);
}

.im-header.nav-open .im-header__burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.im-header.nav-open .im-header__burger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.im-header.nav-open .im-header__burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ─────────────────────────────────────────────────────────────
   MOBILE NAV  (≤ 900px)
───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {

  .im-header__inner {
    padding: 0 20px;
    gap: 0;
    justify-content: space-between;
  }

  /* Burger becomes visible */
  .im-header__burger {
    display: flex;
  }

  /* Nav moves out of flow — full-width drawer below header */
  .im-header__nav {
    position: absolute;
    top: 100%; /* sits flush below the 100px header */
    left: 0; right: 0;
    background: var(--teal-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    justify-content: flex-start;

    /* Hidden state */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      transform 0.28s ease,
      visibility 0s linear 0.28s;
  }

  /* Open state — triggered by adding .nav-open to .im-header */
  .im-header.nav-open .im-header__nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition:
      opacity 0.28s ease,
      transform 0.28s ease,
      visibility 0s linear 0s;
  }

  /* Stacked links */
  .im-header__links {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0;
    padding: 16px 20px 24px;
  }

  .im-header__link {
    font-size: 16px;
    padding: 13px 16px;
    border-radius: 0px;
    color: rgba(255, 255, 255, 0.8);
  }

  .im-header__link:hover,
  .im-header__link.is-active {
    color: white;
  }

  /* Stagger-in animation for each link */
  .im-header__links li {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .im-header.nav-open .im-header__links li:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
  .im-header.nav-open .im-header__links li:nth-child(2) { transition-delay: 0.10s; opacity: 1; transform: none; }
  .im-header.nav-open .im-header__links li:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: none; }
  .im-header.nav-open .im-header__links li:nth-child(4) { transition-delay: 0.20s; opacity: 1; transform: none; }
  .im-header.nav-open .im-header__links li:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: none; }

  /* CTA stays in the header bar — just shrinks a touch */
  .im-header__cta {
    font-size: 12px;
    padding: 7px 14px;
  }
}


/* ─────────────────────────────────────────────────────────────
   VERY SMALL SCREENS  (≤ 380px)
───────────────────────────────────────────────────────────── */
@media (max-width: 380px) {
  .im-header__cta {
    font-size: 11px;
    padding: 6px 11px;
  }

  .im-header__logo-text {
    font-size: 22px;
  }
}


/* ─────────────────────────────────────────────────────────────
   BODY OFFSET  (push page content below fixed header)
   Add this to your child theme style.css body rule,
   or apply .has-im-header to the <body> element.
───────────────────────────────────────────────────────────── */
body.has-im-header {
  padding-top: 100px;
}

/* ─────────────────────────────────────────────────────────────
   HERO  (home page full-width banner)
───────────────────────────────────────────────── */
.hero {
  background: var(--teal-dark);
  position: relative;
  overflow: hidden;
  padding: 100px 40px 80px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(139,24,120,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(232,78,27,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--gold);
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto 20px;
}

.hero h1 span { color: var(--gold); }

.hero-sub {
  font-size: 24px; color: rgba(255,255,255,0.75);
  max-width: 780px; margin: 0 auto 40px;
  font-weight: 300; line-height: 1.8;
}

.hero-actions {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}


/* ─────────────────────────────────────────────────────────────
   PAGE HERO  (inner pages)
───────────────────────────────────────────────── */
.page-hero {
  background: var(--teal-dark);
  padding: 72px 40px 60px;
  text-align: center;
  position: relative; overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 80%, rgba(139,24,120,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900; color: white;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}

.page-hero p {
  font-size: 17px; color: rgba(255,255,255,0.7);
  max-width: 600px; margin: 0 auto;
  position: relative; z-index: 1;
}


/* ─────────────────────────────────────────────────────────────
   STATS BAR
───────────────────────────────────────────────── */
.stats-bar {
  background: var(--magenta);
  padding: 32px 40px;
  display: flex; justify-content: center;
  gap: 60px; flex-wrap: wrap;
}

.stat-item { text-align: center; color: white; }

.stat-number {
  font-family: 'Lexend', sans-serif;
  font-size: 42px; font-weight: 900; line-height: 1;
}

.stat-label {
  font-size: 13px; opacity: 0.85;
  margin-top: 4px; letter-spacing: 0.5px;
}


/* ─────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────── */
.btn-primary {
  background: var(--magenta);
  color: white !important;
  border: none; cursor: pointer;
  padding: 14px 32px; border-radius: 32px;
  font-size: 15px; font-weight: 600;
  font-family: 'Lexend', sans-serif;
  transition: all 0.25s;
  text-decoration: none; display: inline-block;
}

.btn-primary:hover {
  background: var(--magenta-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,24,120,0.4);
  color: white !important;
}

.btn-outline {
  background: transparent;
  color: white !important;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 14px 32px; border-radius: 32px;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  transition: all 0.25s;
  text-decoration: none; display: inline-block;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}

.btn-submit {
  background: var(--gold);
  color: var(--teal-dark);
  border: none; cursor: pointer;
  padding: 15px 40px; border-radius: 32px;
  font-size: 16px; font-weight: 700;
  font-family: 'Lexend', sans-serif;
  transition: all 0.25s; margin-top: 8px;
}

.btn-submit:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-submit-dark, #gform_submit_button_1 {
  background: var(--teal-dark);
  color: white !important;
  border: none; cursor: pointer;
  padding: 14px 36px; border-radius: 32px;
  font-size: 15px; font-weight: 600;
  font-family: 'Lexend', sans-serif;
  transition: all 0.25s; margin-top: 8px;
}

.btn-submit-dark:hover, #gform_submit_button_1:hover {
  background: var(--magenta);
  transform: translateY(-2px);
}

.btn-download {
  background: var(--teal-dark);
  color: white !important;
  border: none; cursor: pointer;
  padding: 10px 20px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  font-family: 'Lexend', sans-serif;
  transition: all 0.2s;
  align-self: flex-start; margin-top: auto;
  text-decoration: none; display: inline-block;
}

.btn-download:hover { background: var(--magenta); }


/* ─────────────────────────────────────────────────────────────
   SECTION LAYOUT
───────────────────────────────────────────────── */
.section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  color: var(--magenta);
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800; line-height: 1.2;
  color: var(--teal-dark); margin-bottom: 20px;
}

.section-lead {
  font-size: 17px; color: var(--text-mid);
  max-width: 680px; line-height: 1.9;
  margin-bottom: 48px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

.band {
  background: white;
  padding: 80px 40px;
}

.divider {
  width: 60px; height: 4px;
  background: var(--magenta);
  border-radius: 2px;
  margin: 0 auto 32px;
}

.page-content {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 40px;
}


/* ─────────────────────────────────────────────────────────────
   CARDS
───────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: white; border-radius: 16px;
  padding: 32px; border: 1px solid var(--border);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10,61,71,0.12);
}

.card-icon {
  width: 52px; height: 52px;
  background: rgba(139,24,120,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}

.card h3 {
  font-family: 'Lexend', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--teal-dark); margin-bottom: 12px;
}

.card p { font-size: 15px; color: var(--text-mid); line-height: 1.7; }


/* ─────────────────────────────────────────────────────────────
   QUOTE / TESTIMONIAL CARDS
───────────────────────────────────────────────── */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.quote-card {
  background: var(--teal-dark); border-radius: 20px;
  padding: 36px; color: white;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}

.quote-card::before {
  content: '\201C';
  position: absolute; top: -10px; left: 20px;
  font-family: 'Lexend', sans-serif;
  font-size: 120px; font-weight: 900;
  color: rgba(255,255,255,0.06); line-height: 1;
}

.quote-card blockquote {
  font-size: 16px; line-height: 1.8;
  font-style: italic; margin-bottom: 24px;
  position: relative; z-index: 1;
  border: none; padding: 0;
  flex: 1;
}

.quote-author { display: flex; align-items: center; gap: 14px; }

.quote-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--magenta);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: white;
  border: 3px solid var(--gold); flex-shrink: 0;
}

.quote-name  { font-weight: 600; font-size: 15px; color: white; }
.quote-role  { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 2px; }


/* ─────────────────────────────────────────────────────────────
   TIMELINE
───────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 32px; }

.timeline::before {
  content: '';
  position: absolute; left: 10px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}

.timeline-item { position: relative; margin-bottom: 36px; }

.timeline-item::before {
  content: '';
  position: absolute; left: -26px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--magenta);
  border: 2px solid var(--cream);
}

.timeline-item h4 {
  font-weight: 700; color: var(--teal-dark);
  font-size: 16px; margin-bottom: 4px;
}

.timeline-item p {
  font-size: 14px; color: var(--text-mid); line-height: 1.7;
}

.timeline-item .year {
  font-size: 12px; font-weight: 700;
  color: var(--magenta); margin-bottom: 6px;
  letter-spacing: 1px;
}


/* ─────────────────────────────────────────────────────────────
   PLEDGE LIST
───────────────────────────────────────────────── */
.pledge-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 16px;
}

.pledge-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: white; border-radius: 14px;
  padding: 24px 28px;
  border-left: 4px solid var(--magenta);
  box-shadow: 0 2px 12px rgba(10,61,71,0.06);
}

.pledge-num {
  background: var(--magenta); color: white;
  min-width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0; margin-top: 2px;
}

.pledge-item p  { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin: 0; }
.pledge-item strong { color: var(--teal-dark); }


/* ─────────────────────────────────────────────────────────────
   FORMS  (dark background — pledge / contact)
   NOTE: Global input/label selectors are scoped under
   .imark-form to avoid clashing with Divi's own form styles.
───────────────────────────────────────────────── */
.form-section {
  background: var(--teal-dark); border-radius: 24px;
  padding: 60px; color: white;
}

@media (max-width: 640px) {
  .form-section { padding: 32px 24px; }
}

.form-title {
  font-family: 'Lexend', sans-serif;
  font-size: 32px; font-weight: 800;
  margin-bottom: 8px; color: white;
}

.form-sub { opacity: 0.75; margin-bottom: 36px; font-size: 15px; }

.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-full { grid-column: 1 / -1; }

/* Scoped under .imark-form so Divi fields are unaffected */
.imark-form label {
  display: block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 8px;
  color: rgba(255,255,255,0.8);
}

.imark-form input,
.imark-form textarea,
.imark-form select,

#input_1_1_3 input,
#input_1_2 input,
#input_1_3 textarea


 {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 10px; padding: 12px 16px;
  color: white;
  font-family: 'Lexend', sans-serif;
  font-size: 15px; transition: all 0.2s; outline: none;
}

.imark-form input::placeholder,
.imark-form textarea::placeholder { color: rgba(255,255,255,0.35); }

.imark-form input:focus,
.imark-form textarea:focus,
.imark-form select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}

.imark-form select option { background: var(--teal-dark); color: white; }

.imark-form textarea { resize: vertical; min-height: 120px; }

.imark-form input[type="file"] { color: rgba(255,255,255,0.7); }

.checkbox-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 0;
}

.imark-form .checkbox-row input[type="checkbox"] {
  width: 20px; height: 20px;
  flex-shrink: 0; margin-top: 2px;
  accent-color: var(--gold);
}

.checkbox-row span { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.6; }


/* Contact form on white background */
.contact-box {
  background: white; border-radius: 20px;
  padding: 48px; border: 1px solid var(--border);
}

.contact-box h3 {
  font-family: 'Lexend', sans-serif;
  font-size: 26px; font-weight: 800;
  color: var(--teal-dark); margin-bottom: 8px;
}

.contact-box > p { font-size: 15px; color: var(--text-mid); margin-bottom: 32px; }

.contact-form.imark-form label { color: var(--text-mid); }

.contact-form.imark-form input,
.contact-form.imark-form textarea,
.contact-form.imark-form select {
  background: var(--cream);
  border-color: var(--border);
  color: var(--text-dark);
}

.contact-form.imark-form input::placeholder,
.contact-form.imark-form textarea::placeholder { color: var(--text-light); }

.contact-form.imark-form input:focus,
.contact-form.imark-form textarea:focus,
.contact-form.imark-form select:focus {
  border-color: var(--magenta); background: white;
}


/* ─────────────────────────────────────────────────────────────
   INFO BOX
───────────────────────────────────────────────── */
.info-box {
  background: rgba(139,24,120,0.08);
  border: 1px solid rgba(139,24,120,0.2);
  border-radius: 12px; padding: 20px 24px;
  font-size: 14px; color: var(--text-mid);
  line-height: 1.7; margin: 24px 0;
}

.info-box strong { color: var(--magenta); }
.info-box a { color: var(--magenta); }


/* ─────────────────────────────────────────────────────────────
   HIGHLIGHT QUOTE
───────────────────────────────────────────────── */
.highlight-text {
  font-family: 'Lexend', sans-serif;
  font-size: 20px; font-style: italic;
  color: var(--teal-dark); line-height: 1.7;
  border-left: 4px solid var(--gold);
  padding-left: 24px; margin: 32px 0;
}


/* ─────────────────────────────────────────────────────────────
   RESOURCE SECTIONS  (Academic Resources page)
───────────────────────────────────────────────── */
.resource-section { margin-bottom: 48px; }

.resource-section h3 {
  font-family: 'Lexend', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--magenta);
  padding-bottom: 12px; margin-bottom: 20px;
}

.resource-placeholder {
  background: white; border-radius: 12px;
  padding: 24px 28px;
  border: 2px dashed var(--border);
  display: flex; align-items: center; gap: 16px;
  color: var(--text-light); font-size: 14px;
}

.resource-placeholder span { font-size: 28px; }


/* ─────────────────────────────────────────────────────────────
   EVENTS  (placeholder state)
───────────────────────────────────────────────── */
.event-placeholder {
  background: white; border-radius: 16px;
  padding: 40px; text-align: center;
  border: 2px dashed var(--border);
  color: var(--text-light);
}

.event-placeholder h3 {
  font-family: 'Lexend', sans-serif;
  font-size: 22px; color: var(--teal-dark); margin-bottom: 12px;
}


/* ─────────────────────────────────────────────────────────────
   DOWNLOAD CARDS  (Advocacy page)
───────────────────────────────────────────────── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.download-card {
  background: white; border-radius: 14px; padding: 28px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
  transition: all 0.3s;
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10,61,71,0.1);
}

.download-card .icon { font-size: 32px; }
.download-card h4    { font-weight: 600; color: var(--teal-dark); font-size: 16px; }
.download-card p     { font-size: 14px; color: var(--text-light); }


/* ─────────────────────────────────────────────────────────────
   SUCCESS MESSAGE
───────────────────────────────────────────────── */
.success-msg {
  display: none;
  background: rgba(10,61,71,0.08);
  border: 1px solid rgba(10,61,71,0.2);
  border-radius: 10px; padding: 16px 20px;
  font-size: 14px; color: var(--teal-dark);
  margin-top: 16px;
}

.success-msg.show { display: block; }


/* ─────────────────────────────────────────────────────────────
   REDUCED MOTION
───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .im-header__link,
  .im-header__link::after,
  .im-header__cta,
  .im-header__burger-bar,
  .im-header__nav,
  .im-header__links li {
    transition: none !important;
    animation: none !important;
  }
}


/* ─────────────────────────────────────────────────────────────
   MISC UTILITIES
───────────────────────────────────────────────── */
a.page-link { color: var(--magenta); text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────
   GRAVITY FORMS  — contact-box variant (white background)
   High-specificity overrides to beat GF's Foundation theme CSS.
───────────────────────────────────────────────── */

/* Fields list */
.gform_wrapper .gform_fields,
.gform_wrapper ul.gform_fields {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gform_wrapper .gfield {
  margin: 0 !important;
  padding: 0 !important;
}

/* Labels */
.gform_wrapper .gfield_label,
.gform_wrapper .gfield_label_before_complex,
.gform_wrapper .gform-field-label {
  display: block !important;
  font-family: 'Lexend', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 8px !important;
  color: var(--text-mid) !important;
  padding: 0 !important;
  border: none !important;
}

/* Sub-labels (Name field) */
.gform_wrapper .gform-field-label--type-sub {
  font-family: 'Lexend', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  color: var(--text-light) !important;
  margin-bottom: 6px !important;
}

/* Required indicator */
.gform_wrapper .gfield_required,
.gform_wrapper .gfield_required_text {
  color: var(--magenta) !important;
}

/* Text / email / textarea / select */
.gform_wrapper .gfield input[type="text"],
.gform_wrapper .gfield input[type="email"],
.gform_wrapper .gfield input[type="tel"],
.gform_wrapper .gfield input[type="url"],
.gform_wrapper .gfield input[type="number"],
.gform_wrapper .gfield textarea,
.gform_wrapper .gfield select {
  width: 100% !important;
  box-sizing: border-box !important;
  background: var(--cream) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  color: var(--text-dark) !important;
  font-family: 'Lexend', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none !important;
}

.gform_wrapper .gfield input[type="text"]:focus,
.gform_wrapper .gfield input[type="email"]:focus,
.gform_wrapper .gfield input[type="tel"]:focus,
.gform_wrapper .gfield input[type="url"]:focus,
.gform_wrapper .gfield input[type="number"]:focus,
.gform_wrapper .gfield textarea:focus,
.gform_wrapper .gfield select:focus {
  border-color: var(--magenta) !important;
  background: white !important;
  box-shadow: none !important;
  outline: none !important;
}

.gform_wrapper .gfield input::placeholder,
.gform_wrapper .gfield textarea::placeholder {
  color: var(--text-light) !important;
  opacity: 1 !important;
}

/* File input — borderless */
.gform_wrapper .gfield input[type="file"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px 0 !important;
  font-size: 14px !important;
  color: var(--text-mid) !important;
  width: auto !important;
}

/* Field descriptions */
.gform_wrapper .gfield_description:not(.gfield_validation_message):not(.ginput_counter) {
  font-size: 13px !important;
  color: var(--text-light) !important;
  margin-bottom: 8px !important;
  line-height: 1.6 !important;
  padding: 0 !important;
}

.gform_wrapper .gform_fileupload_rules {
  font-size: 12px !important;
  color: var(--text-light) !important;
  margin-top: 6px !important;
}

/* Character counter */
.gform_wrapper .ginput_counter {
  font-size: 12px !important;
  color: var(--text-light) !important;
  margin-top: 6px !important;
  text-align: right !important;
}

/* Inline validation errors */
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
  font-size: 13px !important;
  color: var(--orange) !important;
  margin-top: 6px !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Submit button */
.gform_wrapper .gform_button,
.gform_wrapper .gform_footer .gform_button,
.gform_wrapper .gform_page_footer .gform_button {
  background: var(--teal-dark) !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  padding: 14px 36px !important;
  border-radius: 32px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: 'Lexend', sans-serif !important;
  transition: background 0.25s ease, transform 0.25s ease !important;
  margin-top: 8px !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_footer .gform_button:hover {
  background: var(--magenta) !important;
  transform: translateY(-2px) !important;
  box-shadow: none !important;
}
