/* Organised Minds: shared styles for every page */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest: #1c3b2d;
  --teal: #2a6554;
  --sage-mid: #759587;
  --sage-light: #b5d0c3;
  --cream: #f8f4e8;
  --white: #ffffff;
  --text: #2a3d33;
  --text-muted: #4a5e52;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--forest);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* NAV */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--sage-light);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 0.6rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.nav-brand-wrap { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo { height: 76px; width: auto; }
.nav-brand-text { display: flex; flex-direction: column; gap: 0.05rem; }
.nav-brand { font-weight: 800; font-size: 0.95rem; color: var(--forest); letter-spacing: -0.02em; }
.nav-tagline { font-size: 0.72rem; color: var(--sage-mid); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a {
  font-size: 0.86rem; font-weight: 600; color: var(--forest);
  text-decoration: none; padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.nav-links a:hover { border-color: var(--sage-light); }
.nav-links a[aria-current="page"] { border-color: var(--teal); }
.nav-links .nav-btn {
  background: var(--teal); color: var(--white);
  padding: 0.55rem 1.3rem; border-radius: 3px; border: none;
  font-size: 0.82rem; transition: background 0.2s;
}
.nav-links .nav-btn:hover { background: var(--forest); }
.nav-toggle {
  display: none;
  background: none; border: 1.5px solid var(--sage-light); border-radius: 3px;
  width: 44px; height: 44px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--forest); transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO (home) */
.hero {
  background: var(--forest);
  padding: 6rem 2rem 5rem;
  text-align: center;
}
.problems { max-width: 740px; margin: 0 auto 2rem; }
.problem-line {
  display: block;
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.2;
  color: var(--white);
}
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.92);
  max-width: 520px; margin: 1.5rem auto 2.5rem; line-height: 1.75;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* PAGE HERO (inner pages) */
.page-hero { background: var(--forest); padding: 5rem 2rem 4.5rem; }
.page-hero .label { color: var(--sage-light); }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
  color: var(--white); max-width: 760px; margin-bottom: 1.2rem;
}
.page-hero p { color: rgba(248,244,232,0.88); max-width: 620px; font-size: 1.02rem; line-height: 1.8; margin-bottom: 1rem; }
.page-hero .hero-btns { justify-content: flex-start; margin-top: 2rem; }

/* BUTTONS */
.btn-hero, .btn-light, .btn-download {
  display: inline-block;
  background: var(--sage-light); color: var(--forest);
  padding: 0.9rem 2.2rem; border-radius: 3px;
  font-size: 0.9rem; font-weight: 700; text-decoration: none;
  transition: background 0.2s;
}
.btn-hero:hover, .btn-light:hover, .btn-download:hover { background: var(--white); }
.btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.3); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 3px;
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-dark {
  display: inline-block;
  background: var(--forest); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 3px;
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  transition: background 0.2s;
}
.btn-dark:hover { background: var(--teal); }
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--forest); color: var(--forest);
  padding: 0.82rem 2rem; border-radius: 3px;
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--forest); color: var(--white); }
.text-link {
  font-size: 0.9rem; font-weight: 700; color: var(--teal);
  text-decoration: none; border-bottom: 1.5px solid var(--sage-light);
}
.text-link:hover { border-color: var(--teal); }

/* SHARED SECTIONS */
.section { padding: 5rem 2rem; }
.inner { max-width: 720px; margin: 0 auto; }
.inner-wide { max-width: 1060px; margin: 0 auto; }
.label {
  font-size: 0.67rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sage-mid);
  margin-bottom: 0.9rem; display: block;
}
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; line-height: 1.25;
  letter-spacing: -0.025em; margin-bottom: 1.2rem; color: var(--forest);
}
.section h3.sub {
  font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em;
  margin: 2rem 0 0.8rem; color: var(--forest);
}
.section p { font-size: 1rem; color: var(--text); line-height: 1.8; margin-bottom: 1rem; }
.section p.lead { max-width: 680px; }
.bg-sage { background: var(--sage-light); }
.bg-white { background: var(--white); }
.bg-forest { background: var(--forest); }
.bg-forest .label { color: var(--sage-light); }
.bg-forest h2 { color: var(--cream); }
.bg-forest p { color: rgba(248,244,232,0.85); }
.section-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; align-items: center; }

/* VIDEO */
.video-section { background: var(--cream); padding-bottom: 2rem; }
.video-frame, .video-placeholder {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 6px; overflow: hidden;
  background: var(--forest);
  box-shadow: 0 18px 40px rgba(28,59,45,0.18);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  color: var(--cream); text-align: center; padding: 1.5rem;
  background: linear-gradient(135deg, var(--forest) 0%, var(--teal) 100%);
}
.play-badge {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
}
.play-badge svg { width: 28px; height: 28px; fill: var(--forest); margin-left: 4px; }
.video-placeholder strong { font-size: 1.1rem; font-weight: 700; }
.video-placeholder small { font-size: 0.82rem; color: rgba(248,244,232,0.75); }
.video-caption { font-size: 0.88rem !important; color: var(--text-muted) !important; margin-top: 1rem; text-align: center; }

/* CARDS */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 1.5rem;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.card, .resource-card {
  background: var(--white); color: var(--forest);
  border-radius: 4px; border: 1px solid var(--sage-light);
  padding: 2rem; display: flex; flex-direction: column;
}
.card-tag, .resource-tag {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.8rem;
}
.card h3, .resource-card h3 {
  font-size: 1.08rem; font-weight: 700; color: var(--forest);
  letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 0.8rem;
}
.section .card p, .section .resource-card p {
  font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 1.2rem;
}
.card .grow, .resource-card .grow { flex-grow: 1; }
.resource-hook { font-style: italic; color: var(--teal) !important; font-size: 0.92rem !important; margin-bottom: 0.9rem !important; }
.card-steps { border-top: 1px solid var(--sage-light); padding-top: 1.2rem; margin-bottom: 1.5rem; }
.step-row { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.75rem; }
.step-row:last-child { margin-bottom: 0; }
.step-dot {
  width: 1.4rem; height: 1.4rem; min-width: 1.4rem;
  background: var(--forest); color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 800;
}
.step-row span { font-size: 0.84rem; color: var(--text); line-height: 1.5; }
.btn-card, .btn-resource {
  display: block; width: 100%; text-align: center;
  background: var(--forest); color: var(--white);
  padding: 0.78rem 1rem; border-radius: 3px;
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  margin-top: auto; transition: background 0.2s;
}
.btn-card:hover, .btn-resource:hover { background: var(--teal); }
.card-link { margin-top: auto; }

/* TOPIC CARDS (workshops) */
.topic-card { background: var(--white); border: 1px solid var(--sage-light); border-left: 4px solid var(--teal); border-radius: 4px; padding: 1.7rem 1.8rem; }
.topic-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 1rem; color: var(--forest); }
.topic-meta { display: grid; gap: 0.7rem; }
.topic-meta div { font-size: 0.88rem; line-height: 1.6; color: var(--text); }
.topic-meta b { display: block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-mid); margin-bottom: 0.15rem; }

/* INFO STRIP */
.info-strip {
  margin-top: 2rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--forest); border-radius: 4px; overflow: hidden;
}
.info-strip div { padding: 1.4rem 1.6rem; border-right: 1px solid rgba(255,255,255,0.1); }
.info-strip div:last-child { border-right: none; }
.info-strip b { display: block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-light); margin-bottom: 0.4rem; }
.info-strip span { font-size: 0.9rem; color: var(--cream); line-height: 1.55; }

/* NOTE LINE (Mohamed under diagnostics) */
.note-line {
  margin-top: 1.5rem;
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--sage-light); border-radius: 4px;
  padding: 1.1rem 1.4rem;
}
.note-dot { width: 0.55rem; height: 0.55rem; min-width: 0.55rem; background: var(--teal); border-radius: 50%; margin-top: 0.55rem; }
.section .note-line p { margin: 0; font-size: 0.92rem; }

/* LIST */
.tick-list { list-style: none; margin: 1rem 0 1.5rem; display: grid; gap: 0.7rem; }
.tick-list li { position: relative; padding-left: 1.6rem; font-size: 0.98rem; line-height: 1.6; color: var(--text); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem;
  width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--teal);
}
.bg-forest .tick-list li { color: var(--cream); }
.bg-forest .tick-list li::before { background: var(--sage-light); }

/* ABOUT / FOUNDER */
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 3.5rem; align-items: center; }
.about-grid.top { align-items: start; }
.founder-photo {
  width: 260px; height: 320px; object-fit: cover; object-position: center top;
  border-radius: 4px; background: var(--teal);
}
.photo-sticky { position: sticky; top: 120px; }
.photo-caption { margin-top: 1rem; }
.photo-caption strong { display: block; font-size: 1rem; font-weight: 700; color: var(--forest); }
.photo-caption span { display: block; font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.story p { font-size: 1.04rem; }

/* TEAM */
.team-card {
  display: grid; grid-template-columns: 160px 1fr; gap: 2.2rem; align-items: start;
  background: var(--white); border: 1px solid var(--sage-light); border-radius: 4px; padding: 2rem;
}
.team-photo {
  width: 160px; height: 190px; border-radius: 4px;
  background: var(--teal); color: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em;
}
.team-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; color: var(--forest); }
.team-role { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin: 0.3rem 0 1rem; }
.section .team-card p { font-size: 0.95rem; }

/* DECODED / EVENTS */
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.event-card {
  border: 1px solid rgba(255,255,255,0.14); border-radius: 4px; padding: 2rem;
  display: flex; flex-direction: column; background: rgba(255,255,255,0.03);
}
.event-card .card-tag { color: var(--sage-light); }
.event-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--cream); margin-bottom: 0.7rem; }
.bg-forest .event-card p { font-size: 0.92rem; flex-grow: 1; margin-bottom: 1.5rem; }
.event-card .btn-light, .event-card .btn-ghost { align-self: flex-start; }

/* FAQ */
.faq-list { margin-top: 1.2rem; }
.faq-item { border-bottom: 1px solid rgba(28,59,45,0.15); padding: 1rem 0; }
.faq-item:first-child { border-top: 1px solid rgba(28,59,45,0.15); }
.section .faq-q { font-size: 0.97rem; font-weight: 700; color: var(--forest); letter-spacing: -0.01em; margin-bottom: 0.45rem; line-height: 1.4; }
.section .faq-a { font-size: 0.92rem; color: var(--forest); line-height: 1.75; margin: 0; }

/* CONTACT */
.contact { background: var(--forest); text-align: center; }
.contact .label { color: var(--sage-light); }
.contact h2 { color: var(--white) !important; }
.section.contact p { color: rgba(255,255,255,0.7); max-width: 460px; margin: 0 auto 2rem; }
.contact-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.social-links { display: flex; gap: 1rem; justify-content: center; margin-top: 1.6rem; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3); color: var(--white);
  text-decoration: none; transition: border-color 0.2s, background 0.2s;
}
.social-links a:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }

/* CALL DETAILS (contact page) */
.call-box { background: var(--white); border: 1px solid var(--sage-light); border-radius: 4px; padding: 2.2rem; }
.call-box .tick-list { margin-bottom: 2rem; }

/* FOOTER */
footer { background: var(--forest); border-top: 1px solid rgba(255,255,255,0.07); padding: 1.6rem 2rem 1.4rem; text-align: center; }
.footer-links { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.8rem; list-style: none; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
footer p { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin: 0; }

/* MOBILE BOOKING BAR */
.mobile-cta { display: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid, .grid-2, .events-grid { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; }
  .info-strip div { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .info-strip div:last-child { border-bottom: none; }
}
@media (max-width: 860px) {
  .nav-inner { padding: 0.5rem 1.25rem; }
  .nav-logo { height: 54px; }
  .nav-tagline { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--sage-light);
    padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: 0 14px 24px rgba(28,59,45,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(181,208,195,0.6); }
  .nav-links li:last-child { border-bottom: none; padding-top: 1rem; }
  .nav-links a { display: block; padding: 0.95rem 0; font-size: 1rem; border-bottom: none; }
  .nav-links a[aria-current="page"] { color: var(--teal); }
  .nav-links .nav-btn { text-align: center; padding: 0.9rem; font-size: 0.95rem; }
}
@media (max-width: 700px) {
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .page-hero { padding: 3.5rem 1.25rem 3rem; }
  .section { padding: 3.5rem 1.25rem; }
  .about-grid, .about-grid.top { grid-template-columns: 1fr; gap: 2rem; }
  .founder-photo { width: 200px; height: 250px; }
  .photo-sticky { position: static; }
  .team-card { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.6rem; }
  .team-photo { width: 120px; height: 140px; font-size: 1.9rem; }
  .card, .resource-card, .event-card { padding: 1.6rem; }
  .contact-btns, .hero-btns { flex-direction: column; align-items: stretch; }
  .page-hero .hero-btns { align-items: stretch; }
  .btn-hero, .btn-light, .btn-ghost, .btn-dark, .btn-outline { text-align: center; }
  .section-actions { flex-direction: column; align-items: stretch; }
  .section-actions .text-link { align-self: center; }
  body { padding-bottom: 76px; }
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--cream); border-top: 1px solid var(--sage-light);
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  }
  .mobile-cta a {
    display: block; text-align: center; background: var(--teal); color: var(--white);
    padding: 0.85rem; border-radius: 3px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  }
}

/* E&S BAND (home) */
.esg-band {
  margin-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--sage-light); border-radius: 4px; padding: 2rem 2.2rem;
  border-left: 4px solid var(--forest);
}
.esg-band h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; color: var(--forest); margin-bottom: 0.6rem; }
.section .esg-band p { font-size: 0.92rem; margin: 0; max-width: 640px; }
.esg-band .btn-dark { white-space: nowrap; }
.esg-note { margin-top: 1.5rem; font-size: 0.85rem !important; color: rgba(248,244,232,0.7) !important; }
.bg-forest .event-card .tick-list { margin: 0; }
.bg-forest .event-card .tick-list li { font-size: 0.9rem; }

/* EVENT BUTTONS */
.event-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* SOCIAL IMAGE ICON (Eventbrite) */
.social-links .social-img { width: 17px; height: 17px; object-fit: contain; }

/* LINKEDIN LINK UNDER PHOTOS */
.linkedin-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.8rem; font-size: 0.85rem; font-weight: 700;
  color: var(--teal); text-decoration: none;
}
.linkedin-link svg { width: 16px; height: 16px; fill: currentColor; }
.linkedin-link:hover { color: var(--forest); text-decoration: underline; }

@media (max-width: 700px) {
  .esg-band { flex-direction: column; align-items: stretch; padding: 1.6rem; gap: 1.3rem; }
  .esg-band .btn-dark { white-space: normal; }
  .event-btns { flex-direction: column; }
}
