/* The STEM Club — refined 2026 visual system
   Keeps the established red, yellow, green, and blue palette while giving it
   a calm navy foundation, softer geometry, and consistent accessible states. */
:root {
  --navy-950: #071f33;
  --navy-900: #0b2f4d;
  --navy-800: #0d4f80;
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --line: #dbe7ef;
  --text: #122d43;
  --text-soft: #546b7d;
  --brand-red: #e8312a;
  --brand-blue: #29abe2;
  --brand-green: #5cbf2a;
  --brand-yellow: #f5c518;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 8px 24px rgba(7,31,51,.08);
  --shadow-lg: 0 24px 70px rgba(7,31,51,.14);
}

body {
  color: var(--text);
  background: var(--surface);
  background-image: none;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { color: var(--navy-950); letter-spacing: -.035em; }
p { text-wrap: pretty; }

/* Calm, compact navigation shared by every public route. */
.navbar,
.navbar.navbar--compact {
  min-height: 84px;
  padding: 10px clamp(20px,4vw,64px);
  background: rgba(255,255,255,.94);
  border: 0;
  border-bottom: 1px solid rgba(11,47,77,.1);
  box-shadow: 0 8px 30px rgba(7,31,51,.06);
  backdrop-filter: blur(18px) saturate(140%);
}
.navbar::after { display: none; }
.navbar .logo img,
.navbar.navbar--compact .logo img { height: 64px; }
.nav-links,
.navbar.navbar--compact .nav-links {
  gap: clamp(18px,2.2vw,34px);
  font-size: .92rem;
  font-weight: 750;
}
.nav-links a:not(.btn-donate) { padding: 12px 0; color: var(--navy-900); }
.nav-links a:not(.btn-donate)::after { height: 2px; background: var(--brand-blue); }
.nav-links a:not(.btn-donate):hover,
.nav-links a:not(.btn-donate):focus-visible,
.nav-links a:not(.btn-donate).active { color: var(--navy-800); }

.btn-donate,
.navbar.navbar--compact .btn-donate {
  margin: 0;
  padding: 12px 21px;
  color: #fff !important;
  background: var(--brand-red);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(232,49,42,.2);
  font-size: .88rem;
  letter-spacing: 0;
}
.btn-donate:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(232,49,42,.28); }

/* Buttons use color intentionally instead of heavy poster outlines. */
.btn-pill-yellow,.btn-pill-green,.btn-pill-white,.btn-pill-red,
.btn-pill-outline,.btn-pill-outline-dark,.btn-green-pill,.btn-red-pill,
.btn-donate-red,.ws-btn,.checkout-btn,.btn-submit {
  min-height: 48px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-pill-yellow { background: var(--brand-yellow); color: var(--navy-950); }
.btn-pill-green,.btn-green-pill { background: var(--brand-green); color: var(--navy-950); }
.btn-pill-red,.btn-red-pill,.btn-donate-red { background: var(--brand-red); color: #fff; }
.btn-pill-outline-dark { background: #fff; border-color: #b9cad7; color: var(--navy-900); }
.btn-pill-yellow:hover,.btn-pill-green:hover,.btn-pill-red:hover,
.btn-pill-outline-dark:hover,.btn-green-pill:hover,.btn-red-pill:hover,.ws-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
:where(a,button,input,select,textarea):focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}

/* Homepage hero: credible nonprofit message first, visual energy second. */
.home-hero {
  min-height: min(720px,calc(100vh - 84px));
  grid-template-columns: minmax(0,1fr) minmax(360px,.82fr);
  gap: 0;
  background: var(--navy-950);
  border: 0;
  isolation: isolate;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,rgba(7,31,51,.98) 0%,rgba(7,31,51,.94) 48%,rgba(7,31,51,.18) 78%),
    url("A.png") 76% center / cover no-repeat;
}
.home-hero::after {
  width: 370px;
  height: 370px;
  right: -170px;
  bottom: -190px;
  border: 58px solid rgba(41,171,226,.28);
}
.home-hero-left { padding: clamp(70px,9vw,128px) clamp(24px,6vw,92px); }
.home-hero-left h1 {
  max-width: 760px;
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(3rem,6.4vw,6.25rem);
  line-height: .98;
  text-shadow: none;
  letter-spacing: -.06em;
}
.home-hero-left .hero-subtitle {
  max-width: 650px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.05rem,1.6vw,1.26rem);
  line-height: 1.75;
  font-weight: 550;
}
.home-hero .hero-btns { gap: 12px; }
.home-hero .btn-pill-yellow { box-shadow: 0 10px 28px rgba(245,197,24,.18); }

/* Reusable editorial sections and cards. */
.mvv-section,.about-section,.workshops-section,.contact-section { background: var(--surface); }
.mvv-section { padding-block: clamp(72px,8vw,110px); background: var(--surface-soft); }
.mvv-grid,.about-inner,.workshop-cards,.contact-layout { width: min(1180px,calc(100% - 40px)); }
.mvv-grid { gap: 20px; }
.mvv-card,.workshop-card,.contact-form-card,.product-card,.checkout-card,.blog-card,.portal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.mvv-card {
  min-height: 280px;
  padding: 34px;
  border-top: 4px solid var(--card-color);
}
.mvv-icon { width: 76px; height: 76px; }
.mvv-card h3 { font-size: 1.75rem; }
.mvv-card p,.about-body,.ws-body p { color: var(--text-soft); font-weight: 500; }

.about-section { padding-block: clamp(76px,9vw,124px); }
.about-inner { gap: clamp(40px,7vw,90px); align-items: center; }
.about-title { font-size: clamp(2.4rem,4.8vw,4.6rem); }
.about-right { padding-top: 50px; }
.about-photos { gap: 12px; }
.about-photo {
  border: 0 !important;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.about-photo:nth-child(1) { transform: translateY(20px); }
.about-photo:nth-child(4) { transform: translateY(-20px); }
.about-checks { color: var(--navy-900); }

.workshops-section {
  padding-block: clamp(78px,9vw,120px);
  background-color: var(--surface-soft);
  background-image:
    linear-gradient(rgba(244,248,251,.92),rgba(244,248,251,.92)),
    linear-gradient(90deg,rgba(11,47,77,.06) 1px,transparent 1px),
    linear-gradient(rgba(11,47,77,.06) 1px,transparent 1px);
  background-size: auto,44px 44px,44px 44px;
}
.workshops-title-deco { margin-bottom: 42px; }
.workshop-cards { max-width: 1280px; gap: 18px; }
.workshop-card { overflow: hidden; border-bottom: 0; transition: transform .2s ease,box-shadow .2s ease; }
.workshop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ws-img { aspect-ratio: 4/3; }
.ws-img img { transition: transform .45s ease; }
.workshop-card:hover .ws-img img { transform: scale(1.035); }
.ws-body { padding: 24px; border-top: 5px solid var(--workshop-color); }
.ws-btn { background: var(--navy-900); color: #fff; }

.support-work-banner {
  grid-template-columns: auto minmax(260px,620px) auto;
  gap: clamp(20px,4vw,54px);
  padding: clamp(58px,7vw,88px) clamp(24px,6vw,72px);
  background: var(--navy-900);
  border: 0;
}
.support-work-banner .sw-text h2 { color: #fff; }
.support-work-banner .sw-text p { color: rgba(255,255,255,.74); font-weight: 500; }
.support-work-banner .heart-icon { padding: 18px; border-radius: 50%; background: rgba(255,255,255,.08); }

.contact-section { padding-block: clamp(76px,8vw,110px); background: #fff; }
.contact-form-card,.contact-map { border-radius: var(--radius-md); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-form-card { padding: clamp(26px,4vw,44px); }
.contact-form-card input,.contact-form-card textarea,
.volunteer-form input,.volunteer-form textarea,.payment-form input,.payment-form select,.payment-form textarea {
  border: 1px solid #c9d8e3;
  border-radius: var(--radius-sm);
  background: #fff;
}
.btn-submit { background: var(--navy-900); color: #fff; }

.site-footer { padding: 44px 32px 32px; background: var(--navy-950); border: 0; }
.social-circle { width: 44px; height: 44px; box-shadow: none; }
.footer-legal { color: rgba(255,255,255,.65); font-weight: 500; }

/* Portal inherits the same mature system without changing its permissions/data flow. */
.portal-hero {
  color: #fff;
  background: var(--navy-900);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.portal-hero::after { border-radius: 50%; background: var(--brand-yellow); opacity: .9; }
.portal-hero h1,.portal-hero p { color: #fff; }
.portal-kicker { color: var(--brand-yellow); }
.portal-card { border-top: 1px solid var(--line) !important; border-radius: var(--radius-md); }
.portal-status { border: 0; border-radius: 999px; letter-spacing: .02em; }
.member-card { border: 0; border-radius: var(--radius-lg); background: var(--navy-900); box-shadow: var(--shadow-lg); }
.member-card h1,.member-card h2,.member-card p { color: #fff; }
.admin-nav a { border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: none; }

@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero::before { background: linear-gradient(90deg,rgba(7,31,51,.96),rgba(7,31,51,.76)),url("A.png") center/cover; }
  .home-hero-right { display: none; }
  .about-right { padding-top: 0; }
  .support-work-banner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 700px) {
  :root { --nav-scroll-offset: 140px; }
  .navbar,.navbar.navbar--compact { align-items: center; gap: 6px; padding: 8px 0 0; }
  .navbar .logo img,.navbar.navbar--compact .logo img { height: 52px; }
  .nav-links,.navbar.navbar--compact .nav-links {
    width: 100%;
    margin: 0;
    padding: 4px 16px 12px;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links li { flex: 0 0 auto; }
  .nav-links a:not(.btn-donate),.btn-donate,.navbar.navbar--compact .btn-donate { padding: 9px 12px; font-size: .8rem; }
  .nav-links a:not(.btn-donate) { border: 1px solid var(--line); border-radius: 999px; background: #fff; }
  .nav-links a:not(.btn-donate)::after { display: none; }
  .home-hero { min-height: 650px; }
  .home-hero-left { padding: 76px 22px 90px; }
  .home-hero-left h1 { font-size: clamp(3rem,15vw,4.4rem); }
  .mvv-grid,.about-inner,.workshop-cards,.contact-layout { width: min(100% - 32px,1180px); }
  .mvv-card { min-height: 0; }
  .about-photo { transform: none !important; }
  .support-work-banner .heart-icon { margin: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ================================================================
   Expansive bright-blue layout — homepage and public-site restructure
   ================================================================ */
.section-intro { width: min(760px,calc(100% - 40px)); margin: 0 auto 48px; }
.section-intro--center { text-align: center; }
.section-intro h2 { margin-top: 12px; font-size: clamp(2.5rem,5vw,4.7rem); line-height: 1; }

/* Dropdown navigation is keyboard-operable through focus-within. */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex !important; align-items: center; gap: 7px; }
.nav-dropdown > a span { color: var(--brand-blue); font-size: 1rem; transition: transform .2s ease; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  width: 230px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(11,47,77,.12);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(7,31,51,.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%,-8px);
  transition: opacity .2s ease,transform .2s ease,visibility .2s;
}
.nav-dropdown-menu a {
  display: block !important;
  padding: 12px 14px !important;
  border-radius: 11px;
  color: var(--navy-900) !important;
  font-size: .86rem;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover,.nav-dropdown-menu a:focus-visible { background: #e9f8ff; color: var(--navy-800) !important; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.nav-dropdown:hover > a span,.nav-dropdown:focus-within > a span { transform: rotate(180deg); }

/* An unexpected editorial split: bright blue content field + giant photo card. */
.home-hero {
  min-height: calc(100vh - 84px);
  padding: clamp(18px,2.5vw,36px);
  grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr);
  gap: clamp(18px,2.2vw,34px);
  background: #eaf8ff;
  overflow: hidden;
}
.home-hero::before { display: none; }
.home-hero::after {
  width: 260px;
  height: 260px;
  right: auto;
  left: -125px;
  bottom: -130px;
  border: 42px solid rgba(255,255,255,.22);
  z-index: 1;
}
.home-hero-left {
  min-height: 650px;
  padding: clamp(56px,7vw,108px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-radius: 38px;
  background: var(--brand-blue);
  position: relative;
  overflow: hidden;
}
.home-hero-left::before {
  content: "";
  position: absolute;
  right: -75px;
  top: -70px;
  width: 245px;
  height: 245px;
  border-radius: 50%;
  background: var(--brand-yellow);
  opacity: .96;
}
.home-hero-left::after {
  content: "";
  position: absolute;
  right: 48px;
  bottom: 42px;
  width: 28px;
  height: 82px;
  background: var(--brand-red);
  box-shadow: 38px 0 0 var(--brand-green),76px 0 0 var(--brand-yellow);
  border-radius: 99px;
}
.change-world-tag {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  padding: 9px 15px;
  background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: #fff;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.home-hero-left h1 {
  position: relative;
  z-index: 2;
  max-width: 700px;
  font-size: clamp(3.45rem,6.2vw,7rem);
  color: #fff;
}
.home-hero-left .hero-subtitle { position: relative; z-index: 2; color: rgba(255,255,255,.9); font-weight: 600; }
.home-hero .hero-btns { position: relative; z-index: 2; }
.home-hero-right { min-height: 650px; }
.home-hero .hero-video-thumb {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 650px;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.home-hero .hero-video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 52%,rgba(7,31,51,.72));
}
.home-hero .hero-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-label {
  position: absolute;
  left: clamp(24px,4vw,54px);
  right: 24px;
  bottom: clamp(24px,4vw,48px);
  z-index: 2;
  color: #fff;
}
.hero-photo-label strong { display: block; font-size: clamp(1.7rem,3vw,3.1rem); letter-spacing: -.04em; }
.hero-photo-label span { display: block; margin-top: 6px; color: rgba(255,255,255,.8); }

/* Mission cards bridge the hero and the story instead of forming a generic row. */
.mvv-section { padding: clamp(90px,10vw,150px) 0; background: #fff; }
.mvv-grid { max-width: 1320px; grid-template-columns: 1.08fr .84fr 1.08fr; gap: 24px; align-items: center; }
.mvv-card { min-height: 340px; padding: clamp(32px,4vw,54px); justify-content: center; border: 0; border-radius: 34px; }
.mvv-card:nth-child(2) { min-height: 430px; background: var(--navy-900); transform: translateY(24px); }
.mvv-card:nth-child(2) h3,.mvv-card:nth-child(2) p { color: #fff; }
.mvv-card:nth-child(1) { background: #eefaff; }
.mvv-card:nth-child(3) { background: #fff8da; }
.mvv-icon { width: 92px; height: 92px; }

/* Large photographic story wall occupies the viewport instead of a small collage. */
.about-section { padding: clamp(90px,10vw,150px) 0; background: var(--navy-950); overflow: hidden; }
.about-inner { width: min(1380px,calc(100% - 48px)); max-width: none; grid-template-columns: 1.25fr .75fr; gap: clamp(36px,6vw,90px); }
.about-title,.about-right .about-who-title { color: #fff; }
.about-eyebrow { color: var(--brand-yellow); }
.about-body { color: rgba(255,255,255,.72); font-size: 1.06rem; }
.about-checks { color: #fff; }
.about-checks .sep { color: rgba(255,255,255,.24); }
.about-photos { grid-template-columns: 1.35fr .65fr; grid-template-rows: 310px 310px; gap: 16px; }
.about-photo { border-radius: 28px; box-shadow: none; transform: none !important; }
.about-photo:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.about-photo:nth-child(2) { grid-column: 2; grid-row: 1; }
.about-photo:nth-child(3) { grid-column: 2; grid-row: 2; }
.about-photo:nth-child(4) { display: none; }
.about-right { align-self: center; padding: 0; }
.about-who-title { margin-bottom: 20px; font-size: .84rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }

/* Programs become an expansive two-column magazine layout with large imagery. */
.workshops-section { padding: clamp(90px,10vw,150px) 0; }
.workshops-title-deco { margin-bottom: 58px; }
.workshops-title-deco > div:not(.dash) { text-align: center; }
.workshops-title-deco .section-kicker { margin-bottom: 10px; }
.workshop-cards { width: min(1400px,calc(100% - 48px)); max-width: none; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.workshop-card { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 440px; border-radius: 32px; }
.workshop-card:nth-child(2),.workshop-card:nth-child(3) { grid-template-columns: .92fr 1.08fr; }
.workshop-card:nth-child(2) .ws-img,.workshop-card:nth-child(3) .ws-img { order: 2; }
.ws-img { height: 100%; aspect-ratio: auto; }
.ws-body { padding: clamp(28px,4vw,48px); border: 0; border-top: 8px solid var(--workshop-color); }
.ws-body h3 { font-size: clamp(2rem,3vw,3rem); }

.contact-section { padding-block: clamp(100px,10vw,150px); }
.contact-layout { width: min(1380px,calc(100% - 48px)); max-width: none; grid-template-columns: 1fr 1.2fr; }
.contact-map iframe { min-height: 600px; }
.contact-form-card { display: flex; flex-direction: column; justify-content: center; }

/* The remaining public route heroes share the bright blue identity. */
.blog-hero,.support-hero,.checkout-hero { background: var(--brand-blue) !important; border: 0; }
.blog-hero h1,.support-hero h1,.checkout-hero h1 { color: #fff; }

@media (max-width: 1050px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-right { display: block; min-height: 520px; }
  .home-hero .hero-video-thumb { min-height: 520px; }
  .mvv-grid { grid-template-columns: 1fr; width: min(720px,calc(100% - 40px)); }
  .mvv-card,.mvv-card:nth-child(2) { min-height: 0; transform: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about-right { max-width: 720px; }
  .workshop-card { grid-template-columns: 1fr !important; }
  .workshop-card .ws-img { order: 0 !important; min-height: 340px; }
}
@media (max-width: 700px) {
  .nav-dropdown-menu { display: none; }
  .home-hero { min-height: 0; padding: 12px; gap: 12px; }
  .home-hero-left { min-height: 600px; padding: 62px 24px 80px; border-radius: 28px; }
  .home-hero-left::before { width: 170px; height: 170px; }
  .home-hero-left::after { right: 30px; bottom: 24px; height: 48px; }
  .home-hero-right,.home-hero .hero-video-thumb { min-height: 430px; border-radius: 28px; }
  .section-intro { margin-bottom: 34px; }
  .about-inner,.workshop-cards,.contact-layout { width: min(100% - 28px,1400px); }
  .about-photos { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 210px; }
  .about-photo:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .about-photo:nth-child(2) { grid-column: 1; grid-row: 2; }
  .about-photo:nth-child(3) { grid-column: 2; grid-row: 2; }
  .workshop-cards { grid-template-columns: 1fr; }
  .workshop-card { min-height: 0; }
  .workshop-card .ws-img { min-height: 300px; }
  .contact-map iframe { min-height: 420px; }
}

/* Final clarity pass: bright nonprofit palette, crisp geometry, visible forms. */
:root {
  --navy-950: #172733;
  --navy-900: #203746;
  --navy-800: #126f9d;
  --text: #172733;
  --text-soft: #425866;
  --line: #a9c1cf;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --shadow-sm: 0 10px 28px rgba(23,39,51,.1);
  --shadow-lg: 0 22px 55px rgba(23,39,51,.16);
}
.navbar,.navbar.navbar--compact { background: #fff; border-bottom: 4px solid var(--brand-blue); box-shadow: 0 6px 18px rgba(23,39,51,.09); }
.nav-links a:not(.btn-donate)::after { height: 4px; border-radius: 0; }
.nav-links li:nth-child(1) > a::after { background: var(--brand-blue); }
.nav-links li:nth-child(2) > a::after { background: var(--brand-red); }
.nav-links li:nth-child(3) > a::after { background: var(--brand-green); }
.nav-links li:nth-child(4) > a::after { background: var(--brand-yellow); }
.nav-links li:nth-child(6) > a::after { background: var(--brand-blue); }
.nav-dropdown-menu { border: 2px solid var(--brand-blue); border-radius: 6px; box-shadow: 8px 8px 0 rgba(41,171,226,.2); }
.nav-dropdown-menu a { border-radius: 3px; }

.home-hero { background: #fff; }
.home-hero-left { border-radius: 8px; }
.home-hero-left::before,.home-hero::after { display: none; }
.home-hero-left::after { width: 12px; height: 92px; right: 38px; background: var(--brand-red); box-shadow: 22px 0 var(--brand-green),44px 0 var(--brand-yellow); border-radius: 0; }
.home-hero .hero-video-thumb { border-radius: 8px; }
.change-world-tag,.btn-donate,.btn-pill-yellow,.btn-pill-green,.btn-pill-red,.btn-pill-outline-dark,.btn-green-pill,.btn-red-pill,.btn-donate-red,.ws-btn,.checkout-btn,.btn-submit { border-radius: 4px; }

.home-facts {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(40px,7vw,100px);
  align-items: center;
  padding: clamp(80px,9vw,130px) max(24px,calc((100vw - 1380px)/2));
  background: #fff;
  border-bottom: 1px solid #d7e3e9;
}
.home-facts-heading h2 { margin-top: 12px; font-size: clamp(2.5rem,5vw,5rem); line-height: .98; }
.home-facts-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.home-facts-grid > div { min-height: 230px; padding: 28px; border-left: 6px solid var(--brand-blue); background: #edf9ff; }
.home-facts-grid > div:nth-child(2) { border-color: var(--brand-red); background: #fff1ef; }
.home-facts-grid > div:nth-child(3) { border-color: var(--brand-green); background: #f0faeb; }
.home-facts-grid dt { font-size: clamp(3.4rem,6vw,6rem); line-height: 1; font-weight: 900; color: var(--text); }
.home-facts-grid dd { margin-top: 18px; color: var(--text-soft); line-height: 1.65; font-weight: 650; }

.mvv-card,.mvv-card:nth-child(2),.workshop-card,.contact-form-card,.contact-map,.product-card,.blog-card,.checkout-card,.portal-card { border-radius: 7px; }
.mvv-card:nth-child(2) { background: var(--brand-blue); }
.about-section { background: var(--brand-blue); }
.about-body { color: #fff; }
.about-photo { border-radius: 5px; }
.workshops-section { background-color: #fff; background-image: linear-gradient(rgba(255,255,255,.94),rgba(255,255,255,.94)),linear-gradient(90deg,rgba(41,171,226,.13) 1px,transparent 1px),linear-gradient(rgba(41,171,226,.13) 1px,transparent 1px); }
.workshop-card { border: 2px solid #d3e1e9; }
.workshop-card:nth-child(1) { box-shadow: 8px 8px 0 rgba(232,49,42,.14); }
.workshop-card:nth-child(2) { box-shadow: 8px 8px 0 rgba(245,197,24,.22); }
.workshop-card:nth-child(3) { box-shadow: 8px 8px 0 rgba(41,171,226,.18); }
.workshop-card:nth-child(4) { box-shadow: 8px 8px 0 rgba(92,191,42,.18); }
.support-work-banner { background: var(--brand-yellow); }
.support-work-banner .sw-text h2,.support-work-banner .sw-text p { color: var(--text); }
.support-work-banner .heart-icon { padding: 0; background: transparent; border-radius: 0; }
.site-footer { background: var(--brand-blue); }
.footer-legal,.footer-legal a { color: #102f42; }

/* Forms look interactive rather than blending into their card. */
.contact-form-card,.volunteer-form,.checkout-contact-card,.portal-form-wrap { background: #f7fbfd; border: 2px solid #9cb8c8; }
.contact-form-card label,.volunteer-form label,.checkout-contact-form label,.portal-form label { display: grid; gap: 7px; color: var(--text); font-weight: 800; }
.contact-form-card input,.contact-form-card textarea,.volunteer-form input,.volunteer-form textarea,.payment-form input,.payment-form select,.payment-form textarea,.portal-form input,.portal-form textarea,.portal-form select,.campaign-custom {
  min-height: 50px;
  padding: 13px 14px;
  color: #111;
  background: #fff;
  border: 2px solid #6f8e9f;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(23,39,51,.06);
}
.contact-form-card textarea,.volunteer-form textarea,.payment-form textarea { min-height: 150px; }
.contact-form-card input:hover,.contact-form-card textarea:hover,.volunteer-form input:hover,.volunteer-form textarea:hover,.payment-form input:hover,.payment-form textarea:hover { border-color: var(--brand-blue); }
.contact-form-card input:focus,.contact-form-card textarea:focus,.volunteer-form input:focus,.volunteer-form textarea:focus,.payment-form input:focus,.payment-form textarea:focus { border-color: #0879ad; box-shadow: 0 0 0 4px rgba(41,171,226,.22); }
.availability-note { padding: 11px 0; border-top: 2px solid var(--brand-yellow); color: var(--text-soft); font-weight: 700; }
.policy-page { width: min(820px,calc(100% - 40px)); margin: 0 auto; padding: clamp(70px,9vw,120px) 0; }
.policy-page h1 { margin: 12px 0 34px; font-size: clamp(3rem,7vw,5.5rem); }
.policy-page h2 { margin: 40px 0 12px; font-size: 1.6rem; }
.policy-page p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.8; }
.policy-page a { color: #0879ad; text-decoration: underline; font-weight: 800; }

@media(max-width:1050px) {
  .home-facts { grid-template-columns: 1fr; }
}
@media(max-width:700px) {
  .home-facts { padding-inline: 20px; }
  .home-facts-grid { grid-template-columns: 1fr; gap: 10px; }
  .home-facts-grid > div { min-height: 0; }
  .home-hero-left::after { display: block; }
}

/* Requested homepage banner, quiet dropdown indicator, and classroom portal shell. */
.nav-dropdown > a span { font-size: 0; transform: none !important; }
.nav-dropdown > a span::before { content: "⌄"; font-size: 1rem; }
.nav-dropdown:hover > a span::before,.nav-dropdown:focus-within > a span::before { content: "⌃"; }
.nav-dropdown-menu { padding: 8px 0 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.nav-dropdown-menu a { margin-top: 5px; background: #fff; border: 1px solid #9fc5d8; border-left: 5px solid var(--brand-blue); box-shadow: 0 4px 10px rgba(23,39,51,.08); }

.home-hero {
  min-height: 720px;
  display: flex;
  align-items: stretch;
  padding: 0;
  background: linear-gradient(90deg,rgba(41,171,226,.98) 0 45%,rgba(41,171,226,.35) 66%,transparent 82%),url("A.png") center/cover no-repeat;
}
.home-hero-left { width: min(760px,58%); min-height: 720px; padding-left: max(40px,calc((100vw - 1400px)/2)); background: transparent; border-radius: 0; }
.home-hero-left::after { display: none; }
.home-hero-right { display: none !important; }

/* Bright classroom-like application: teacher/admin and student/member remain database roles. */
.portal-hero { background: var(--brand-blue); color: #102f42; border-radius: 8px; box-shadow: none; }
.portal-hero::after { display: none; }
.portal-hero h1,.portal-hero p,.portal-kicker { color: #102f42; }
.portal-layout { grid-template-columns: 285px minmax(0,1fr); gap: 32px; }
.portal-side { padding: 18px; border: 2px solid #b7d4e2; border-top: 8px solid var(--brand-blue) !important; }
.portal-side::before { content: "Student workspace"; display: block; padding: 10px 13px 17px; color: #102f42; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.portal-side a { margin: 3px 0; padding: 13px 14px; border-left: 4px solid transparent; border-radius: 3px; }
.portal-side a:hover,.portal-side a.active { background: #eaf8ff; border-left-color: var(--brand-blue); }

main.portal-shell:has(> .admin-nav) { max-width: none; display: grid; grid-template-columns: 285px minmax(0,1fr); gap: 32px; padding: 32px clamp(24px,4vw,60px) 80px; align-items: start; }
main.portal-shell:has(> .admin-nav) > :not(.admin-nav) { grid-column: 2; }
.admin-nav { grid-column: 1; grid-row: 1 / span 60; position: sticky; top: 100px; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 3px; padding: 18px; background: #fff; border: 2px solid #b7d4e2; border-top: 8px solid var(--brand-red); }
.admin-nav::before { content: "Teacher workspace"; display: block; padding: 10px 12px 17px; color: #102f42; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.admin-nav a { width: 100%; padding: 13px 14px; border: 0; border-left: 4px solid transparent; border-radius: 3px; box-shadow: none; }
.admin-nav a:hover,.admin-nav a:focus-visible { background: #fff4d3; border-left-color: var(--brand-yellow); }
.member-card { background: var(--brand-blue); color: #102f42; }
.member-card h1,.member-card h2,.member-card p { color: #102f42; }
.badge-art { width: 92px; height: 92px; object-fit: contain; background: #fff; border: 2px solid #acd0e1; }
.project-media { display: block; width: 100%; max-height: 520px; margin: 16px 0 20px; object-fit: contain; background: #edf8fd; border: 2px solid #acd0e1; }

@media(max-width:900px) {
  .home-hero { min-height: 680px; background: linear-gradient(rgba(41,171,226,.82),rgba(41,171,226,.82)),url("A.png") center/cover; }
  .home-hero-left { width: 100%; min-height: 680px; padding-inline: 28px; }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-side { position: static; display: flex; overflow-x: auto; flex-wrap: nowrap; }
  .portal-side::before { display: none; }
  .portal-side a { white-space: nowrap; }
  main.portal-shell:has(> .admin-nav) { display: block; padding-inline: 18px; }
  .admin-nav { position: static; flex-direction: row; overflow-x: auto; margin-bottom: 24px; }
  .admin-nav::before { display: none; }
  .admin-nav a { width: auto; white-space: nowrap; }
}

/* Final homepage, donation, and reward-bank refinements. */
.home-hero { background: linear-gradient(90deg,rgba(41,171,226,.62) 0 38%,rgba(41,171,226,.18) 68%,transparent 88%),url("A.png") center/cover no-repeat; }
.home-hero-left { background: rgba(41,171,226,.12); }
.home-hero-left h1,.home-hero-left .hero-subtitle,.change-world-tag { color: #fff; text-shadow: 0 2px 14px rgba(20,45,60,.42); }
.portal-hero h1,.portal-hero p,.portal-kicker { color: #fff; }

.workshop-card,.workshop-card:nth-child(2),.workshop-card:nth-child(3) { grid-template-columns: 1fr 1fr; min-height: 480px; }
.workshop-card:nth-child(2) .ws-img,.workshop-card:nth-child(3) .ws-img { order: 0; }
.workshop-card .ws-body { min-width: 0; }
.support-work-banner { background: var(--brand-blue); }
.support-work-banner .sw-text h2,.support-work-banner .sw-text p { color: #fff; }

.contact-section { background: #f0faff; }
.contact-layout { grid-template-columns: .82fr 1.18fr; width: min(1120px,calc(100% - 40px)); align-items: stretch; }
.contact-intro { order: -1; padding: clamp(38px,6vw,72px); color: #fff; background: var(--brand-blue); border-left: 12px solid var(--brand-yellow); }
.contact-intro .section-kicker,.contact-intro h3,.contact-intro p { color: #fff; }
.contact-intro h3 { margin: 18px 0; font-size: clamp(2.2rem,4vw,4rem); line-height: 1; }
.contact-intro p { line-height: 1.75; }
.contact-intro ul { display: grid; gap: 13px; margin-top: 30px; }
.contact-intro li { padding-top: 13px; border-top: 1px solid rgba(255,255,255,.45); font-weight: 800; }
.contact-form-card { margin: 0; max-width: none; border-radius: 0; box-shadow: none; }

.donate-page { width: min(760px,calc(100% - 36px)); margin: 0 auto; padding: clamp(54px,7vw,88px) 0; }
.donate-header { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 6px solid var(--brand-blue); }
.donate-header h1 { margin: 12px 0 16px; font-size: clamp(2.5rem,6vw,4.7rem); line-height: 1; }
.donate-header > p:last-child { max-width: 620px; color: var(--text-soft); line-height: 1.7; }
.donate-card { padding: clamp(28px,5vw,48px); background: #f6fbfe; border: 2px solid #9ebccc; }
.donate-card h2 { font-size: 2rem; }
.donate-purpose { margin: 10px 0 28px; color: var(--text-soft); line-height: 1.65; }
.simple-donation-form { display: grid; gap: 22px; }
.simple-donation-form fieldset { border: 0; }
.simple-donation-form legend,.simple-donation-form label { display: grid; gap: 8px; margin-bottom: 10px; font-weight: 900; }
.simple-donation-form .campaign-amounts { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.simple-donation-form .campaign-amounts button { min-height: 52px; border: 2px solid var(--brand-blue); background: #fff; font-weight: 900; cursor: pointer; }
.simple-donation-form .campaign-amounts button.is-selected { color: #fff; background: var(--brand-blue); }
.simple-donation-form .paypal-btn { min-height: 56px; border: 0; background: var(--brand-red); color: #fff; font-size: 1.05rem; font-weight: 900; cursor: pointer; }
.point-bank { display: block; margin: 12px 0; color: #0879ad; }
.point-bank b { font-size: 2.5rem; }

@media(max-width:800px){
 .contact-layout { grid-template-columns: 1fr; }
 .workshop-card,.workshop-card:nth-child(2),.workshop-card:nth-child(3) { grid-template-columns: 1fr; }
 .simple-donation-form .campaign-amounts { grid-template-columns: repeat(2,1fr); }
}
.profile-avatar-photo { width: 76px; height: 76px; flex: 0 0 76px; object-fit: cover; border: 3px solid var(--brand-blue); }
[data-event-registration] { margin-top: 18px; }
.admin-entry { display: inline-flex; margin-top: 22px; padding: 12px 18px; background: #fff; color: #0879ad; font-weight: 900; border: 2px solid #fff; }
.admin-entry[hidden],[data-admin-access][hidden] { display: none !important; }
.teacher-bank-card { border-top: 8px solid var(--brand-yellow) !important; }
