* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #164d3b;
  --green-dark: #0d392d;
  --green-light: #286c50;
  --lime: #a7df48;
  --cream: #f7f8f3;
  --text: #1d2824;
  --muted: #66716c;
  --line: #e4e8e3;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

.address {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.7;
    letter-spacing: 0.4px;
    color: #3f553f;
    margin: 10px 0;
}

.address-icon {
    font-size: 22px;
    font-weight: 900;
    margin-right: 7px;
    vertical-align: middle;
}

.socials a {
  cursor: pointer;
}

body {
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 60px));
  margin: 0 auto;
}

/* ---------- HEADER ---------- */
.site-header {
  height: 74px;
  background: #fff;
  position: relative;
  z-index: 500;                /* ← raised so it always sits above hero */
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  height: 74px;
  flex-shrink: 0;
}

.header-logo {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand-name strong {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #163d2f;
}

.brand-name span {
  margin-top: 5px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6d7772;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  transform: rotate(-15deg);
}

.brand-mark span {
  background: #7b8c80;
  display: block;
  clip-path: polygon(50% 0, 100% 25%, 85% 100%, 15% 100%, 0 25%);
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(4) {
  background: #a2b49f;
}

.brand-mark span:nth-child(3),
.brand-mark span:nth-child(5) {
  background: #3c654f;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 15px;
  letter-spacing: .02em;
}

.brand-text small {
  font-size: 5px;
  letter-spacing: .03em;
  color: #758078;
  margin-top: 4px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  flex: 1;
  position: relative;
  z-index: 2;                  /* ← keeps nav above any stray overlay */
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #25332d;
  cursor: pointer;             /* ← explicitly clickable */
}

.main-nav a span {
  font-size: 12px;
  margin-left: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: .2s ease;
  cursor: pointer;
}

.btn b {
  font-size: 15px;
}

.btn-green {
  color: #fff;
  background: var(--green);
}

.btn-green:hover {
  background: var(--green-dark);
}

.btn-lime {
  color: #173528;
  background: var(--lime);
}

.btn-lime:hover {
  background: #b8ed62;
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .05);
}

.header-btn {
  min-height: 38px;
  padding: 0 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;                  /* ← keeps button above any stray overlay */
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
  cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 555px;
  position: relative;
  color: #fff;
  overflow: hidden;
  z-index: 1;                  /* ← creates its own stacking context */
  background:
    linear-gradient(
      90deg,
      rgba(3, 23, 18, .85) 0%,
      rgba(5, 29, 22, .65) 43%,
      rgba(4, 23, 18, .20) 100%
    ),
    url("./images/anaz sir.webp") center/cover no-repeat;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(2, 18, 14, .45), transparent 35%),
    linear-gradient(to right, transparent 65%, rgba(255, 255, 255, .05));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 76px;
}

.eyebrow {
  color: #64836f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  margin-bottom: 7px;
}

.eyebrow.light {
  color: rgba(255, 255, 255, .78);
}

.hero h1 {
  font-size: clamp(42px, 5.1vw, 68px);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 700;
}

.hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.hero-copy {
  margin-top: 19px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .86);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  position: relative;
  z-index: 3;                  /* ← keeps hero buttons clickable */
}

.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  padding-top: 18px;
  width: 100%;
}

.hero-stats > div:not(.hero-slogan) {
  min-width: 105px;
  padding-right: 34px;
  margin-right: 25px;
  border-right: 1px solid rgba(255, 255, 255, .27);
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 19px;
  line-height: 1.1;
}

.hero-stats span {
  font-size: 9px;
  margin-top: 5px;
  color: rgba(255, 255, 255, .76);
}

.hero-slogan {
  margin-left: auto;
  align-self: center;
  font-size: 8px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .75);
}

.hero-script {
  position: absolute;
  z-index: 2;
  right: 9%;
  top: 115px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.1;
  color: rgba(255, 255, 255, .78);
  transform: rotate(-7deg);
  pointer-events: none;        /* ← THE MAIN FIX: no longer blocks clicks */
}

/* ---------- GENERAL SECTIONS ---------- */
.section {
  padding: 72px 0;
}

.section h2 {
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.section p {
  font-size: 12px;
  color: var(--muted);
}

.about {
  padding-top: 54px;
  padding-bottom: 56px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  gap: 45px;
  align-items: center;
}

.about-copy p:not(.eyebrow) {
  max-width: 440px;
  margin-top: 18px;
  line-height: 1.7;
}

.about-copy .btn {
  margin-top: 21px;
}

.about-visual {
  height: 260px;
  position: relative;
}

.about-image {
  width: 84%;
  height: 100%;
  background: url("./images/prgrm.webp") center/cover;
  border-radius: 3px;
}

.quote-card {
  position: absolute;
  right: 0;
  bottom: 19px;
  width: 148px;
  padding: 20px;
  color: #fff;
  background: #24644c;
  font-family: "Playfair Display", serif;
  font-size: 17px;
  line-height: 1.18;
  box-shadow: 0 12px 25px rgba(13, 57, 45, .16);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-features div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 600;
}

.about-features i {
  font-style: normal;
  color: #315f4d;
  font-size: 22px;
  width: 25px;
  text-align: center;
}

/* ---------- JOIN ---------- */
.join {
  background: #fafbf8;
  padding: 56px 0;
}

.join-grid {
  display: grid;
  grid-template-columns: 33% 1fr;
  gap: 80px;
  align-items: center;
}

.join > .container > div:first-child p:last-child {
  max-width: 290px;
  margin-top: 14px;
  line-height: 1.7;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.benefit {
  min-height: 83px;
  border: 1px solid #e7ebe5;
  background: #fff;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.benefit span {
  font-size: 21px;
  color: #47745d;
  line-height: 1;
}

.benefit strong {
  font-size: 9px;
  line-height: 1.25;
}

/* ---------- NETWORK ---------- */
.kerala-network {
  position: relative;
  min-height: 405px;
  overflow: hidden;
  background: #f5f8f3;
}

.network-photo {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 54%;
  background:
    linear-gradient(90deg, rgba(13, 57, 45, .04), #f5f8f3),
    url("./images/samrambam.webp") center/cover;
}

.network-info {
  min-height: 405px;
  position: relative;
  display: grid;
  grid-template-columns: 54% 46%;
}

.network-content {
  padding: 62px 0 45px 72px;
}

.network-content > p:not(.eyebrow) {
  max-width: 390px;
  margin-top: 14px;
  line-height: 1.7;
}

.text-link {
  color: #29634b;
  font-size: 10px;
  font-weight: 700;
}

.network-content .text-link {
  display: inline-block;
  margin-top: 18px;
}

.network-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  border-top: 1px solid #d8ded8;
  padding-top: 14px;
}

.network-stats div {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #d8ded8;
  padding-left: 15px;
}

.network-stats div:first-child {
  padding-left: 0;
}

.network-stats div:last-child {
  border: 0;
}

.network-stats strong {
  font-size: 20px;
}

.network-stats span {
  font-size: 8px;
  color: var(--muted);
}

/* ---------- EVENTS ---------- */
.events {
  padding-bottom: 62px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
}

.section-heading h2 {
  font-size: 25px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 6px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.event-card {
  border: 1px solid #e3e7e2;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.event-image {
  height: 125px;
  background-position: center;
  background-size: cover;
}

.event-1 {
  background-image: url("./images/WhatsApp Image 2026-09-21 at 3.34.22 PM (1).jpeg");
}

.event-2 {
  background-image: url("./images/WhatsApp Image 2026-09-21 at 3.34.22 PM (2).jpeg");
}

.event-3 {
  background-image: url("./images/WhatsApp Image 2026-09-21 at 3.34.22 PM.jpeg");
}

.event-body {
  padding: 12px 13px 13px;
  position: relative;
}

.date {
  position: absolute;
  top: -32px;
  left: 13px;
  width: 44px;
  height: 50px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 4px 13px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: .9;
}

.date strong {
  font-size: 7px;
  color: #52705f;
  text-align: center;
}

.date strong b {
  font-size: 16px;
  color: #183d2f;
}

.date span {
  font-size: 6px;
  color: #8b938e;
  margin-top: 3px;
}

.event-body h3 {
  font-size: 12px;
  margin-top: 5px;
  line-height: 1.3;
}

.event-body p {
  font-size: 7px;
  margin-top: 7px;
  color: #6c7771;
}

.tags {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.tags span {
  font-size: 6px;
  background: #edf4ed;
  color: #52705f;
  padding: 4px 6px;
  border-radius: 2px;
}

/* ---------- LEADERS ---------- */
.leadership {
  background: #fafbf8;
  padding: 58px 0 66px;
}

.leaders {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.leader {
  border: 1px solid #e4e8e3;
  background: #fff;
  padding-bottom: 13px;
}

.leader-photo {
  height: 205px;
  background-position: center top;
  background-size: cover;
  filter: saturate(.75);
}

.l1 { background-image: url("http://fbokerala.com/images/anazmanara.jpg"); }
.l2 { background-image: url("http://fbokerala.com/images/sageer.jpg"); }
.l3 { background-image: url("http://fbokerala.com/images/anilkumar.jpeg"); }
.l4 { background-image: url("http://fbokerala.com/images/kiran.jpeg"); }
.l5 { background-image: url("http://fbokerala.com/images/siyahudeen.jpeg"); }
.l6 { background-image: url("http://fbokerala.com/images/ibnu.jpeg"); }
.l7 { background-image: url("http://fbokerala.com/images/jithesh.jpeg"); }
.l8 { background-image: url("http://fbokerala.com/images/shine.jpeg"); }
.l9 { background-image: url("http://fbokerala.com/images/ashraf.jpeg"); }
.l10 { background-image: url("http://fbokerala.com/images/johar.jpg"); }
.l11 { background-image: url("http://fbokerala.com/images/panikker.jpeg"); }

.leader h3 {
  font-size: 10px;
  margin: 10px 11px 0;
}

.leader p {
  font-size: 7px;
  color: #37604e;
  margin: 2px 11px 0;
}

.leader small {
  display: block;
  font-size: 6px;
  color: #8a928e;
  margin: 4px 11px 0;
}

/* ---------- STORIES ---------- */
.stories {
  padding: 61px 0 65px;
}

.story {
  border: 1px solid #e4e8e3;
  padding-bottom: 15px;
}

.story-image {
  height: 135px;
  background-position: center;
  background-size: cover;
}

.s1 { background-image: url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=900&q=85"); }
.s2 { background-image: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=85"); }
.s3 { background-image: url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=900&q=85"); }

.story span {
  display: inline-block;
  margin: 12px 13px 0;
  font-size: 6px;
  color: #3f755a;
  font-weight: 700;
  background: #edf5ee;
  padding: 4px 6px;
}

.story h3 {
  font-size: 12px;
  line-height: 1.3;
  margin: 7px 13px;
}

.story a {
  margin-left: 13px;
  font-size: 8px;
  font-weight: 700;
  color: #286249;
}

/* ---------- PARTNERS ---------- */
.partners {
  padding-top: 0;
  padding-bottom: 58px;
}

.compact {
  margin-bottom: 18px;
}

.compact h2 {
  font-size: 20px;
}

.arrows {
  font-size: 16px;
  color: #3d5f4e;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
}

.partner-list div {
  height: 65px;
  border: 1px solid #e6eae5;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #c44c3e;
}

.partner-list div:nth-child(2) { color: #1f5d82; }
.partner-list div:nth-child(3) { color: #a83228; }
.partner-list div:nth-child(4) { color: #c33e31; }
.partner-list div:nth-child(5) { color: #42a25a; font-size: 20px; }
.partner-list div:nth-child(6) { color: #1870ae; }

.partner-list small {
  font-size: 5px;
  display: block;
}

/* ---------- CTA ---------- */
.cta {
  background:
    linear-gradient(90deg, rgba(10, 53, 40, .96), rgba(19, 83, 59, .9)),
    url("https://images.unsplash.com/photo-1517457373958-b7bdd4587205?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
  padding: 29px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: center;
  gap: 40px;
}

.cta h2 {
  font-size: 20px;
  line-height: 1.1;
}

.cta p {
  font-size: 10px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.5;
}

/* ---------- FOOTER ---------- */
footer {
  background: #f7f8f5;
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr 1fr 1fr;
  gap: 65px;
  padding-bottom: 38px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 280px;
  font-size: 9px;
  line-height: 1.65;
  color: #737c77;
}

footer h4 {
  font-size: 9px;
  margin-bottom: 12px;
}

footer .footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

footer .footer-grid a,
footer .footer-grid p {
  font-size: 8px;
  color: #6e7872;
}

.socials {
  display: flex !important;
  flex-direction: row !important;
  gap: 7px !important;
  margin-top: 7px;
}

.socials a {
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5eae5;
  color: #2c5542 !important;
  border-radius: 50%;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid #dfe4df;
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7px;
  color: #858c87;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1050px) {
  .main-nav { gap: 14px; }
  .header-inner { gap: 15px; }
  .brand { min-width: 190px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-features {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
  }
  .join-grid { gap: 35px; }
  .network-content { padding-left: 45px; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 36px, 650px); }
  .site-header { height: 65px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 65px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 1000;             /* ← keeps open menu above everything */
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 8px; border-bottom: 1px solid #edf0ed; }
  .header-btn { display: none; }

  .hero { min-height: 650px; }
  .hero-content { padding-top: 55px; }
  .hero h1 { font-size: 48px; }
  .hero-script { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px 0; }
  .hero-stats > div:not(.hero-slogan) {
    min-width: 50%;
    margin: 0;
    padding-left: 0;
  }
  .hero-slogan { width: 100%; margin: 5px 0 0; }

  .about-grid,
  .join-grid,
  .network-info,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-visual { order: 2; }
  .about-features {
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .network-photo { width: 100%; height: 250px; bottom: auto; opacity: .55; }
  .network-info { display: block; min-height: 600px; }
  .network-spacer { height: 245px; }
  .network-content { padding: 45px 0; position: relative; }
  .cards-3, .leaders { grid-template-columns: 1fr; }
  .leader-photo { height: 310px; }
  .partner-list { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { gap: 18px; }
  .footer-grid { gap: 30px; }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 15px 0;
    text-align: center;
  }
}

.designation {
    font-size: 25px;
    font-weight: 900;
    margin: 6px 0 2px;
    color: #168a45;
}

.organization {
    font-size: 20px;
    font-weight: 900;
    color: #555;
    letter-spacing: 0.3px;
}

@media (max-width: 480px) {
  .container { width: calc(100% - 28px); }
  .brand-text strong { font-size: 12px; }
  .brand-text small { font-size: 4px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { min-height: 680px; }
  .hero h1 { font-size: 41px; }
  .hero-copy br { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats > div:not(.hero-slogan) { min-width: 50%; }
  .section { padding: 52px 0; }
  .section h2 { font-size: 28px; }
  .section-heading {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .partner-list { grid-template-columns: repeat(2, 1fr); }
  .network-stats { grid-template-columns: repeat(2, 1fr); row-gap: 15px; }
  .network-stats div:nth-child(2) { border-right: 0; }
}