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

:root {
  --nav: #09366d;
  --blue: #1a6aff;
  --orange: #e47f09;
  --steel: #7a9eb8;
  --light: #eaeff6;
  --border: #c8d4e0;
  --text: #1a1a1a;
  --soft: #555;
  --font: "Assistant", "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  direction: rtl;
  background: #fff;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

body.no-scroll,
html.no-scroll {
  overflow: hidden;
}

/* ════════════════════
   NAV
════════════════════ */
#nav-toggle {
  display: none;
}

nav {
  background: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  height: 100%;
}
nav ul li {
  display: flex;
  align-items: center;
  height: 100%;
}
nav ul a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 0.92rem;
  color: #fff;
  height: 100%;
}
nav ul a.active {
  background: var(--orange);
  font-weight: 700;
  height: calc(100% - 14px);
}
nav ul a:not(.active):hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ════════════════════
   SHARED: FORM PANEL
   .s1-form (about) and .sh2-form (index)
   share identical form chrome styles.
════════════════════ */
.s1-form,
.sh2-form {
  background: var(--light);
  display: flex;
  flex-direction: column;
}
.s1-form > p:first-child,
.sh2-form > p:first-child {
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}
.s1-form > p.sub,
.sh2-form > p.sub {
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--soft);
  line-height: 1.4;
  margin-bottom: 20px;
  text-align: center;
}

.f-field {
  margin-bottom: 10px;
}
.f-field input {
  width: 100%;
  border: 1px solid #b0b8c8;
  padding: 9px 10px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  text-align: right;
  background: #fff;
  border-radius: 0;
}
.f-field input::placeholder {
  color: #999;
}
.f-field input:focus {
  outline: none;
  border-color: var(--blue);
}

.f-phone {
  position: relative;
}
.f-phone input {
  padding-left: 36px;
}
.f-phone > span {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: #888;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.f-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  margin: 8px 0 16px;
}
.f-check input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.f-submit {
  width: 100%;
  background: var(--blue);
  color: #fff;
  text-align: center;
  border: none;
  padding: 11px;
  font-family: var(--font);
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  max-width: 400px;
}

.f-wa {
  margin-top: 28px;
  text-align: center;
}
.f-wa > p {
  font-size: 0.78rem;
  color: var(--soft);
  margin-bottom: 6px;
  font-weight: 400;
}
.f-wa a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.wa-circle {
  width: 16;
  height: 16;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-circle svg {
  width: 16px;
  height: 16px;
  fill: "black";
}

/* ════════════════════
   ABOUT — S1
════════════════════ */
.s1 {
  background: var(--light);
  display: grid;
  grid-template-columns: 3fr 1fr;
  min-height: 700px;
}
.s1-text {
  padding: 40px 44px 48px 32px;
  background: #fff;
}
.s1-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.s1-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 22px 0 7px;
}
.s1-text p {
  font-size: 0.88rem;
  margin-bottom: 6px;
  line-height: 1.65;
}
.s1-text ul {
  padding-right: 20px;
  margin: 4px 0 8px;
}
.s1-text li {
  font-size: 0.86rem;
  margin-bottom: 3px;
  line-height: 1.55;
}
.s1-form {
  border-right: 1px solid var(--border);
  padding: 28px 20px 32px;
}

/* ════════════════════
   ABOUT — S2
════════════════════ */
.s2 {
  background: var(--steel);
  padding: 36px 32px;
}
.s2 > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.s2 > h2 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.s2 > p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.card {
  background: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}
.c-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nav);
}
.c-desc {
  font-size: 0.74rem;
  color: var(--soft);
  line-height: 1.45;
}
.c-link {
  font-size: 0.74rem;
  color: var(--blue);
  text-decoration: underline;
}

.l-card {
  background: #fff;
  padding: 12px 14px;
  min-height: 70px;
}
.l-card a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
  display: block;
  margin-bottom: 5px;
}
.l-card p {
  font-size: 0.72rem;
  color: var(--soft);
  line-height: 1.4;
}

/* ════════════════════
   ABOUT — S4
════════════════════ */
.s4 {
  background: var(--blue);
  padding: 36px 24px;
}
.s4 > h2 {
  text-align: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.teams-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: end;
}
.teams-row > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.teams-row img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.teams-row p {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ════════════════════
   ABOUT — S5
════════════════════ */
.s5 {
  background: #fff;
  padding: 24px;
}
.s5 > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.events-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.events-grid img {
  width: 100%;
  height: auto;
}
.s5 > p {
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue);
  margin-top: 12px;
}

/* ════════════════════
   INDEX — SH1 (hero)
════════════════════ */
.sh1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  background: var(--light);
}
.sh1-img {
  overflow: hidden;
}
.sh1-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.sh1-content-wrap {
  background: var(--light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sh1-content {
  padding: 48px 44px 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.sh1-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--nav);
  line-height: 1.2;
}
.sh1-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nav);
}
.sh1-content > p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.sh1-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sh1-feature {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  padding: 12px 16px;
}
.sh1-check {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sh1-feature-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sh1-feature-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}
.sh1-feature-text span {
  font-size: 0.78rem;
  color: var(--soft);
  line-height: 1.4;
}

/* ════════════════════
   INDEX — SH2 (steel: form + text)
════════════════════ */
.sh2 {
  background: var(--steel);
  display: grid;
  grid-template-columns: 40% 60%;
}
.sh2-form-col {
  padding: 6% 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sh2-form {
  padding: 7% 8%;
}

.sh2-text {
  padding: 6% 6% 6% 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
}
.sh2-text h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-top: 1em;
}
.sh2-text h2:first-child {
  margin-top: 0;
}
.sh2-text ul {
  padding-right: 1.2em;
}
.sh2-text li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  margin-bottom: 0.3em;
}
.sh2-text p {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 0.5em;
}

/* ════════════════════
   INDEX — SH3 (who we are)
════════════════════ */
.sh3 {
  background: var(--light);
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-top: 10px solid #fff;
}
.sh3-heading-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sh3-heading {
  padding: 6% 5%;
}
.sh3-heading h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--nav);
  line-height: 1.2;
}

.sh3-body {
  padding: 6% 4% 6% 8%;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.sh3-body p {
  font-size: 0.88rem;
  line-height: 1.75;
}

.sh3-links {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}
.sh3-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
}
.sh3-links .wa-circle {
  width: 2em;
  height: 2em;
}
.sh3-links .wa-circle svg {
  width: 1.1em;
  height: 1.1em;
}
.sh3-links .ig-icon {
  width: 2em;
  height: 2em;
  flex-shrink: 0;
}
.sh3-cta {
  display: none;
}

/* ════════════════════
   FOOTER
════════════════════ */
footer {
  background: #fff;
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--nav);
}

/* ════════════════════════════════════════
   RESPONSIVE — tablet  481–820px
════════════════════════════════════════ */
@media (max-width: 820px) and (min-width: 481px) {
  .nav-burger {
    display: flex;
  }
  nav ul {
    display: none;
    position: absolute;
    top: 48px;
    right: 0;
    left: 0;
    background: var(--nav);
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  nav ul li {
    height: auto;
  }
  nav ul a {
    height: auto;
    padding: 14px 24px;
    justify-content: flex-end;
  }
  nav ul a.active {
    height: auto;
    background: var(--orange);
  }
  #nav-toggle:checked + nav ul {
    display: flex;
  }
  #nav-toggle:checked + nav .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  #nav-toggle:checked + nav .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  #nav-toggle:checked + nav .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .s1 {
    min-height: auto;
  }
  .grid4,
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sh1 {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .sh1-img {
    height: 35vw;
    order: -1;
  }
  .sh1-content-wrap {
    background: var(--light);
    padding: 5% 5% 6%;
  }
  .sh1-content {
    padding: 5% 6%;
  }
  .sh2 {
    grid-template-columns: 1fr;
  }
  .sh2-form-col {
    padding: 5% 8%;
  }
  .sh2-text {
    padding: 5% 7%;
  }
  .sh3 {
    grid-template-columns: 1fr;
  }
  .sh3-heading-col {
    justify-content: flex-start;
  }
  .sh3-heading {
    padding: 6% 5% 2%;
  }
  .sh3-body {
    padding: 2% 5% 6%;
  }
}

/* ════════════════════════════════════════
   RESPONSIVE — phone  ≤ 480px
════════════════════════════════════════ */
@media (max-width: 480px) {
  .nav-burger {
    display: flex;
  }
  nav ul {
    display: none;
    position: absolute;
    top: 48px;
    right: 0;
    left: 0;
    background: var(--nav);
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  nav ul li {
    height: auto;
  }
  nav ul a {
    height: auto;
    padding: 14px 24px;
    justify-content: flex-end;
  }
  nav ul a.active {
    height: auto;
    background: var(--orange);
  }
  #nav-toggle:checked + nav ul {
    display: flex;
  }
  #nav-toggle:checked + nav .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  #nav-toggle:checked + nav .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  #nav-toggle:checked + nav .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .s1 {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .s1-text {
    padding: 24px 20px;
  }
  .s1-form {
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .grid4,
  .links-grid {
    grid-template-columns: 1fr;
  }
  .teams-row {
    grid-template-columns: 1fr;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }

  .sh1 {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .sh1-img {
    height: 55vw;
    order: -1;
  }
  .sh1-content-wrap {
    background: var(--light);
    padding: 5% 5% 6%;
  }
  .sh1-content {
    padding: 6% 6%;
  }
  .sh1-content h1 {
    font-size: 1.6rem;
  }
  .sh2 {
    grid-template-columns: 1fr;
  }
  .sh2-form-col {
    padding: 6% 6%;
  }
  .sh2-text {
    padding: 5% 6% 8%;
  }
  .sh3 {
    grid-template-columns: 1fr;
  }
  .sh3-heading-col {
    justify-content: flex-start;
  }
  .sh3-heading {
    padding: 6% 5% 2%;
  }
  .sh3-body {
    padding: 2% 5% 0;
  }
  .sh3-cta {
    display: block;
    background: var(--nav);
    color: #fff;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    padding: 4% 5%;
    margin-top: 6%;
    text-decoration: none;
  }
}

/* ════════════════════
   SHARED — section intro header
   Used by candidates (.about) and extensible to other pages
════════════════════ */
.label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--steel));
  border-radius: 2px;
  margin: 1.2rem 0;
}

/* ── Google Form status message ─────────────────────────────────── */
.gf-status {
  margin-top: 0.75rem;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
.gf-status--success {
  background: #e6f4ea;
  color: #1e7e34;
  border: 1px solid #a8d5b0;
}
.gf-status--error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6c2;
}
/* Remove iframe CSS (no longer needed) */
.gform-wrap,
.gform-frame {
  display: none;
}
