:root {
  --green: #0f7a4f;
  --green-dark: #075f3b;
  --mint: #dff7ea;
  --blue: #123d6a;
  --gold: #f5b942;
  --ink: #102a24;
  --muted: #61736d;
  --bg: #f8faf7;
  --white: #ffffff;
  --line: #e4eee8;
  --shadow: 0 24px 60px rgba(15, 122, 79, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Noto Sans Bengali", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 247, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228, 238, 232, 0.8);
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}

.brand-logo {
  height: 42px;      /* adjust to match current navbar height */
  width: auto;       /* preserve aspect ratio */
  display: block;
  object-fit: contain;
}

.brand-text small {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 16px; background: var(--green); color: white; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 700; }
.nav-links a:not(.btn):hover { color: var(--green); }
.nav-toggle { display: none; border: 0; background: white; font-size: 24px; border-radius: 12px; padding: 8px 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 14px 22px; background: var(--green); color: white; font-weight: 800; box-shadow: 0 14px 30px rgba(15, 122, 79, 0.2); cursor: pointer; }
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-secondary { background: white; color: var(--green); box-shadow: inset 0 0 0 1px var(--line); }
.btn-small { padding: 10px 16px; }
.hero { padding: 86px 0 52px; background: radial-gradient(circle at top right, #d7f8e8, transparent 35%), linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
h1, h2, h3, p { margin-top: 0; }

h1 { 
  font-size: clamp(42px, 6vw, 76px) !important; 
  line-height: .98 !important;
  letter-spacing: -0.06em !important;
  margin-bottom: 24px !important;
  font-weight: bold;
}

h2 { 
  font-size: clamp(30px, 4vw, 48px) !important; 
  line-height: 1.05 !important; 
  letter-spacing: -0.04em !important; 
  font-weight: bold !important;

  margin-block-start: 0.83em;
    margin-block-end: 0.83em;
}

h3 { 
  font-size: 21px !important; line-height: 1.2 !important; }
.hero-text { font-size: 19px; color: var(--muted); max-width: 660px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-card { position: relative; min-height: 420px; }

.floating-card {
  background-image: url("students.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 50vh;
  border-radius: 34px; box-shadow: var(--shadow); padding: 34px; border: 1px solid var(--line); }

.main-card { position: absolute; inset: 36px 20px auto 20px; }
.icon { font-size: 42px; }
.mini-stat { position: absolute; background: var(--ink); color: white; border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow); }
.mini-stat strong, .mini-stat span { display: block; }
.mini-stat span { color: #d8e8e0; font-size: 13px; }
.stat-one { bottom: 72px; left: 0; }
.stat-two { bottom: 14px; right: 16px; background: var(--blue); }
.quick-links { margin-top: -8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-links a { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: 0 12px 34px rgba(16, 42, 36, .08); }
.quick-links span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.section { padding: 88px 0; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; }
.two-col p { color: var(--muted); font-size: 18px; }
.tinted { background: #eef8f2; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.row-head { display: flex; align-items: end; justify-content: space-between; max-width: none; gap: 24px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 26px; box-shadow: 0 16px 36px rgba(16, 42, 36, .05); }

.person-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 20px;
  min-height: 20rem;
  color: white;



  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* pushes content to bottom */
}

/* Background image layer */
.person-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  transform: scale(1);
  transition: transform 0.5s ease;

  z-index: 0;
}

/* Dark overlay */
.person-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* Content stays on top */
.person-card h3,
.person-card p {
  position: relative;
  z-index: 2;
}

/* Zoom image on hover */
.panel-link:hover .person-card::before {
  transform: scale(1.05);
}

.advisory-card::before {
  background-image: url("advisory_panel/members/advisory_pic/member1.jpg");
}

.founding-card::before {
  background-image: url("founding_panel/members/founding_pic/member1.jpg");
}

.executive-card::before {
  background-image: url("executive_panel/members/executive_pic/member1.jpg");
}

.partners-card::before {
  background-image: url("our_partners/members/partners_pic/member1.jpeg");
}

.person-card p {
  color: var(--white);
}

.card span { font-size: 34px; }
.card p{ color: var(--muted); }
.split-feature { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-box { border-radius: 34px; padding: 40px; min-height: 320px; }
.feature-box.dark { background: var(--ink); color: white; }
.feature-box.dark p:not(.eyebrow) { color: #c9ddd5; }
.feature-box.light { background: white; border: 1px solid var(--line); }
.resource-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.resource-list a { border: 1px solid var(--line); background: white; border-radius: 22px; padding: 20px; }
.resource-list span { display: block; color: var(--green); margin-top: 8px; font-weight: 800; }
.text-link { color: var(--green); font-weight: 900; }

.panel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;}

.avatar { width: 64px; height: 64px; border-radius: 22px; background: var(--mint); color: var(--green); display: grid; place-items: center; font-weight: 900; font-size: 26px; margin-bottom: 18px; }
.quote-card { background: var(--green); color: white; border-radius: 34px; padding: clamp(32px, 6vw, 64px); font-size: clamp(26px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.04em; font-weight: 800; }
.cta-section { padding: 64px 0; color: white; background-color: var(--ink);}
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-box p:not(.eyebrow) { color: #cfe2dc; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; }
.contact-form { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-weight: 800; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font: inherit; }
textarea { min-height: 130px; resize: vertical; }
.footer { padding: 32px 0; background: white; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.footer strong { color: var(--ink); font-size: 22px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero-grid, .two-col, .split-feature, .contact-grid { grid-template-columns: 1fr; }
  .quick-links, .card-grid, .resource-list, .panel-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box, .row-head, .footer-grid { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 56px; }
}
@media (max-width: 560px) {
  .quick-links, .card-grid, .resource-list, .panel-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 360px; }
  .main-card { inset: 10px 0 auto 0; }
  .stat-one { bottom: 74px; }
  .stat-two { right: 0; }
  .section { padding: 62px 0; }
}

/* Dark Mode Toggle Button */
.theme-toggle {
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 50px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.theme-toggle:hover {
  transform: scale(1.05);
}

/* Dark Theme */
body.dark-mode {
  background: #1e293b;
  color: #e2e8f0;
}

body.dark-mode .site-header {
  background: #1e293b;
}

body.dark-mode .hero,
body.dark-mode .section,
body.dark-mode .footer,
body.dark-mode .cta-box,
body.dark-mode .card,
body.dark-mode .person-card,
body.dark-mode .feature-box,
body.dark-mode .quote-card,
body.dark-mode .resource-list a,
body.dark-mode .contact-form,
body.dark-mode .quick-links {
  background: #1e293b;
  color: #e2e8f0;
}

body.dark-mode a {
    background: #1e293b;
  color: #e2e8f0;
}

body.dark-mode input,
body.dark-mode textarea {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid #475569;
}

body.dark-mode .btn {
  background: #075f3b;
  color: #e2e8f0;
}

body.dark-mode .tinted {
  background: #1e293b;
}
