/* ============================================================
   nadlii.org — exact design match
   Font:    Poppins 300/400/500/700
   Palette: #000000 text | #ffffff bg | #c21b10 accent/CTA
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ── BASE ── */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size:   1rem;
  line-height: 1.8;
  color:       #000;
  background:  #fff;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2rem, 4vw, 4rem);   font-weight: 500; line-height: 1.4; }
h2 { font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 500; line-height: 1.4; }
h3 { font-size: clamp(1.3rem, 2vw, 2.2rem); font-weight: 500; line-height: 1.4; }
h4 { font-size: 1.2rem;  font-weight: 500; line-height: 1.4; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
.text-large  { font-size: 1.4rem;  line-height: 1.6; }
.text-small  { font-size: 0.9rem; }
.text-meta   { font-size: 0.9rem; font-weight: 400; letter-spacing: 0.02em; }

/* ── COLOUR THEMES ── */
.s-white { background: #fff; color: #000; border-top: 2px solid #324568; }
.s-black { background: #000; color: #fff; }
.s-black h1, .s-black h2, .s-black h3, .s-black h4 { color: #fff; }
.s-black p  { color: rgba(255,255,255,0.85); }
.s-black a  { color: rgba(255,255,255,0.85); }
.s-navy { background: #324568; color: #fff; }
.s-navy h1, .s-navy h2, .s-navy h3, .s-navy h4 { color: #fff; }
.s-navy p  { color: rgba(255,255,255,0.85); }
.s-navy a  { color: rgba(255,255,255,0.85); }

/* ── LAYOUT ── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
}
.section {
  padding-top:    clamp(3.5rem, 7vw, 7rem);
  padding-bottom: clamp(3.5rem, 7vw, 7rem);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.flip > *:first-child { order: 2; }
.two-col.flip > *:last-child  { order: 1; }
.four-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.text-center { text-align: center; }
.mt-sm  { margin-top: 1rem; }
.mt-md  { margin-top: 2rem; }
.mt-lg  { margin-top: 3rem; }
.mb-md  { margin-bottom: 2rem; }

/* ── SCALLOPED DIVIDERS ── */
/* Place INSIDE a section as last child; SVG fill = colour of NEXT section */
.scallop {
  display: block;
  line-height: 0;
  overflow: hidden;
  width: 100%;
  /* height is set inline via style="height:8vw" */
}
.scallop svg { display: block; width: 100%; height: 100%; }

/* ── HEADER / NAV ── */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 3vw, 3rem);
}
.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size:   2rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  letter-spacing: 0;
  flex-shrink: 0;
}
.nav-logo:hover { color: rgba(255,255,255,0.75); }
.nav-links {
  display: flex;
  align-items: center;
}
.nav-links a {
  font-size:   0.875rem;
  font-weight: 400;
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 3px;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: rgba(255,255,255,0.65); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.25rem;
  cursor: pointer;
  line-height: 1;
}

/* ── HERO — dark full-bleed with image ── */
.hero {
  position: relative;
  min-height: clamp(460px, 60vw, 760px);
  display: flex;
  align-items: flex-end;
  background: #000;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(9rem, 15vw, 12rem) clamp(1.25rem, 3vw, 3rem) clamp(4rem, 7vw, 7rem);
  max-width: 1200px;
  margin: 0 auto;
}
.hero-content h1  { color: #fff; max-width: 760px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.hero-content h2  { color: #fff; max-width: 760px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.hero-content p   { color: rgba(255,255,255,0.85); max-width: 680px; margin-top: 1rem; font-size: 1rem; }
.hero-content .btn { margin-top: 2rem; }

/* ── HEADER solid state (when first section is white or after scrolling past dark hero) ── */
header.header-solid {
  background: #324568;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

/* ── PAGE HERO — first section needs extra top padding for absolute header ── */
.page-hero {
  padding-top: clamp(8rem, 14vw, 11rem) !important;
}

/* ── HERO — simple dark (no image) ── */
.hero-plain {
  background: #324568;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 3vw, 3rem);
  text-align: center;
}
.hero-plain h1 { color: #fff; }
.hero-plain p  { color: rgba(255,255,255,0.8); margin-top: 1rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size:   1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 1.1rem 2rem;
  border-radius: 6.4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: #c21b10;
  color: #fff;
  border-color: #c21b10;
}
.btn-primary:hover {
  background: #a51610;
  border-color: #a51610;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-white:hover {
  background: #fff;
  color: #000;
}
.btn-outline-black {
  background: transparent;
  color: #000;
  border-color: #000;
}
.btn-outline-black:hover {
  background: #000;
  color: #fff;
}
.btn-text {
  background: none;
  border: none;
  padding: 0;
  color: #c21b10;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.btn-text:hover { text-decoration: underline; }

/* ── SERVICE / SUMMARY CARDS ── */
.service-card { text-align: center; }
.service-icon {
  width:  56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 1.25rem;
  display: block;
}
.service-card h4 { margin-bottom: 0.6rem; }
.service-card p  { font-size: 0.95rem; }
.service-card .btn-text { margin-top: 0.75rem; }

/* ── CONTENT IMAGES ── */
.img-rounded img,
img.rounded {
  border-radius: 20px;
  overflow: hidden;
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* ── BLOCKQUOTE ── */
blockquote {
  max-width: 700px;
  margin: 0 auto;
}
blockquote p {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 1rem;
}
blockquote cite {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  font-style: normal;
}

/* ── TEXT HIGHLIGHT (underline accent) ── */
.highlight {
  text-decoration: underline;
  text-decoration-color: #c21b10;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* ── COMMITMENT / NUMBERED LIST ── */
.step-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.step-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.step-num {
  width:  32px;
  height: 32px;
  border-radius: 50%;
  background: #c21b10;
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.step-item p { margin: 0; }

/* ── POLICY BULLET LIST ── */
.policy-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }
.policy-list li {
  padding: 0.9rem 1rem;
  border-left: 3px solid #c21b10;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}
.policy-list li strong { display: block; color: #fff; margin-bottom: 0.15rem; }
/* white-bg variant */
.policy-list.dark-text li { color: #333; border-left-color: #c21b10; }
.policy-list.dark-text li strong { color: #000; }

/* ── MISSION LIST ── */
.mission-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.75rem 0 1.25rem; }
.mission-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.mission-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c21b10;
  flex-shrink: 0;
  margin-top: 0.6em;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.contact-aside h3 { margin-bottom: 0.75rem; font-size: 1.4rem; }
.contact-aside p  { font-size: 0.95rem; margin-bottom: 0.4rem; }
.contact-aside a  { color: #c21b10; }
.contact-aside a:hover { text-decoration: underline; }

/* ── FORMS ── */
.form-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 2.5rem;
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: #000;
}
.form-group label.req::after { content: ' *'; color: #c21b10; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #ccc;
  border-radius: 3px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #000;
  background: #fafafa;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #000;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.06);
}
textarea { min-height: 130px; resize: vertical; }
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23555' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.2em;
  padding-right: 2.5rem;
}
.checkbox-group { display: flex; flex-direction: column; gap: 0.5rem; }
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 300;
  font-size: 0.9rem;
  cursor: pointer;
  color: #333;
}
.checkbox-group input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  accent-color: #c21b10;
  cursor: pointer;
}
/* Honeypot */
.hp-field { display: none !important; }

.form-actions { margin-top: 1.5rem; }
.form-actions .btn { width: 100%; text-align: center; }
.form-actions .btn:disabled { opacity: 0.6; cursor: not-allowed; }

.msg-ok  {
  display: none;
  background: #d4edda; color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 3px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}
.msg-err {
  display: none;
  background: #f8d7da; color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 3px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* ── FOOTER ── */
footer {
  background: #324568;
  color: rgba(255,255,255,0.8);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 3vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
}
.footer-contact {
  font-size: 0.875rem;
  line-height: 1.8;
}
.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 1.25rem auto 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.flip > *:first-child { order: 0; }
  .two-col.flip > *:last-child  { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  /* Homepage: move images above text, reduce size, left-align */
  .two-col .img-cover { height: 315px !important; width: 75%; border-radius: 15px; }
  .two-col .mobile-img-first { order: -1; }
  /* OMCN: move heading above paragraphs on mobile */
  .two-col .mobile-heading-first { order: -1; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #324568;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 1.25rem 1rem;
    gap: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: block; color: #fff; }
  .nav-links a:last-child { border-bottom: none; }
  .four-col { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-box { padding: 1.5rem; }
}

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

/* ── OMCN PAGE ── */
.omcn-hero {
  background: #000;
  line-height: 0;
  padding-top: clamp(3.5rem, 6vw, 6.5rem);
}
.omcn-hero img {
  max-height: clamp(280px, 35vw, 480px);
  object-fit: cover;
  object-position: left center;
}
.omcn-quote-section {
  background: linear-gradient(180deg, #e8c9a0 0%, #f5e0c4 30%, #fff 100%);
}
.omcn-quote-section .section {
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
}
.omcn-quote {
  max-width: 900px;
  margin: 0 auto;
}
.omcn-quote p {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.5;
  color: #000;
  margin-bottom: 0.5rem;
}
.omcn-quote cite {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  font-style: normal;
}
.omcn-section-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #000;
}
.omcn-join {
  background: #000;
}
.omcn-card {
  text-align: left;
}
.omcn-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.omcn-card h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.omcn-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.omcn-sky {
  position: relative;
  line-height: 0;
  overflow: hidden;
}
.omcn-sky img {
  width: 100%;
  height: clamp(400px, 55vw, 900px);
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
.omcn-sky-curve {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  line-height: 0;
}
.omcn-sky-curve svg {
  display: block;
  width: 100%;
  height: clamp(80px, 12vw, 200px);
}
.mb-lg { margin-bottom: 3rem; }

/* ── ABOUT PAGE SWOOPS ── */
.about-swoop-top,
.about-swoop-bottom {
  line-height: 0;
  margin-bottom: -2px;
}
.about-swoop-top svg,
.about-swoop-bottom svg {
  display: block;
  width: 100%;
  height: clamp(80px, 12vw, 200px);
}

/* ── ABOUT SPEAKER PHOTO ── */
.about-speaker {
  position: relative;
}
.about-speaker img {
  width: 100%;
  height: clamp(400px, 45vw, 580px);
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}
.about-speaker-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.5;
}
.about-speaker-caption strong {
  color: #fff;
}
