/* FMDI - Film and Media Development Initiative Design System */
:root {
  --green: #163e32;
  --green-dark: #0f2a21;
  --deep: #0b1c16;
  --ink: #17332b;
  --muted: #5e7369;
  --paper: #fbfaf5;
  --card: #ffffff;
  --card-tint: #f3f7f4;
  --line: #dce5dc;
  --gold: #d99a37;
  --gold-light: #f2bf69;
  --gold-glow: rgba(217, 154, 55, 0.25);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.root {
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: min(1180px, 92%);
  margin: auto;
}

/* TOPLINE UTILITY BAR */
.topline {
  background: var(--deep);
  color: #e3ede5;
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topline .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.topline a {
  color: var(--gold-light);
  text-decoration: none;
  transition: var(--transition);
}

.topline a:hover {
  text-decoration: underline;
}

.topline-contacts {
  display: flex;
  gap: 18px;
  align-items: center;
}

/* NAVBAR */
header.nav-header {
  position: sticky;
  top: 0;
  background: rgba(251, 250, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.brand:hover .brand-logo {
  transform: scale(1.05);
  box-shadow: 0 6px 16px var(--gold-glow);
}

.brand-text {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-text small {
  display: block;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 650;
  position: relative;
  transition: var(--transition);
}

.links a:hover,
.links a.active {
  color: var(--gold);
}

.links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.links a:hover::after,
.links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #18291e !important;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(217, 154, 55, 0.2);
}

.btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 154, 55, 0.35);
}

.btn.secondary {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit !important;
  box-shadow: none;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn.outline-green {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green) !important;
  box-shadow: none;
}

.btn.outline-green:hover {
  background: var(--green);
  color: #ffffff !important;
}

.menu {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--green-dark) 60%, #163e32 100%);
  color: #f6f6ed;
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  right: -120px;
  top: -160px;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03), 0 0 0 140px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 850;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  height: 2px;
  width: 28px;
  background: currentColor;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin: 18px 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
  background: linear-gradient(90deg, #f0bd64, #ffd88a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  max-width: 560px;
  color: #d6e2d8;
  line-height: 1.65;
  margin-bottom: 28px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.78rem;
  color: #e5efe7;
  font-weight: 600;
}

/* CONCENTRIC CIRCLES LOGO EFFECT */
.concentric-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.concentric-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  display: grid;
  place-items: center;
}

/* Outer rotating ring - dashed gold */
.orbit-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(242, 191, 105, 0.65);
  box-shadow: 0 0 30px rgba(217, 154, 55, 0.15);
  animation: spinClockwise 28s linear infinite;
}

/* Inner rotating ring - dotted forest green */
.orbit-ring-inner {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 2px dotted rgba(167, 213, 182, 0.75);
  animation: spinCounterClockwise 18s linear infinite;
}

/* Stationary glowing base circle */
.orbit-ring-glow {
  position: absolute;
  inset: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 62, 50, 0.9) 0%, rgba(15, 42, 33, 0.6) 70%, transparent 100%);
  box-shadow: 0 0 50px rgba(217, 154, 55, 0.25);
}

/* Central logo aperture */
.concentric-logo-center {
  position: relative;
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  z-index: 3;
  transition: var(--transition);
  border: 3px solid var(--gold);
}

.concentric-logo-center:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 50px rgba(217, 154, 55, 0.45);
}

.concentric-logo-center img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Floating info badge */
.float-card {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--card);
  color: var(--ink);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 220px;
  z-index: 4;
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.float-card strong {
  font-size: 1.4rem;
  display: block;
  color: var(--green);
  line-height: 1.1;
  margin-bottom: 4px;
}

.float-card span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
  display: block;
}

@keyframes spinClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinCounterClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

/* GENERAL SECTION STYLING */
section {
  padding: 85px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 45px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  letter-spacing: -0.05em;
  line-height: 1.15;
  margin: 14px 0;
  color: var(--ink);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ABOUT / MISSION */
.mission {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 65px;
  align-items: start;
}

.mission blockquote {
  font-size: 1.55rem;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 0;
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  color: var(--ink);
}

.mission-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 4px;
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* WHAT WE DO (PROGRAMS) */
.programs {
  background: var(--card-tint);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 62, 50, 0.3);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #e9f0e8;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--green);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.card a:hover {
  color: var(--gold);
}

/* HOW WE WORK (FEATURE WITH REAL PHOTO) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-art {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 33, 0.2) 0%, rgba(15, 42, 33, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #ffffff;
}

.feature-art-overlay h4 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature-art-overlay p {
  margin: 0;
  font-size: 0.9rem;
  color: #d8e5dc;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.checklist li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  font-size: 0.98rem;
}

.checklist li::before {
  content: "✓";
  font-weight: 900;
  color: var(--gold);
}

/* INTERACTIVE MEDIA GALLERY */
.gallery-section {
  background: #ffffff;
}

.gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #111a16;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 28, 22, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #ffffff;
  opacity: 0.9;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  align-self: flex-start;
  background: var(--gold);
  color: #112217;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 750;
  margin: 0;
  line-height: 1.25;
}

.gallery-caption {
  font-size: 0.82rem;
  color: #d1dfd5;
  margin: 4px 0 0;
}

/* LIGHTBOX MODAL */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 22, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 30px;
}

.lightbox.active {
  display: grid;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lightbox-img-wrap {
  position: relative;
  max-height: 65vh;
  background: #000000;
  display: grid;
  place-items: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.lightbox-details {
  padding: 22px 28px;
}

.lightbox-details h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.3rem;
}

.lightbox-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  transition: var(--transition);
  z-index: 2;
}

.lightbox-close:hover {
  background: var(--gold);
  color: #000;
}

/* IMPACT STATS */
.impact {
  background: var(--deep);
  color: #f7f7ee;
}

.impact .section-head p {
  color: #c2d1c5;
}

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

.impact-item {
  border-top: 2px solid var(--gold);
  padding-top: 20px;
}

.impact-item strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.impact-item span {
  font-size: 0.92rem;
  color: #b9ccc0;
  line-height: 1.5;
}

/* CTA */
.cta {
  padding: 70px 0;
  background: var(--green);
  color: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}

.cta p {
  margin: 0;
  max-width: 620px;
  opacity: 0.9;
  font-size: 1.05rem;
}

.cta .btn {
  background: var(--deep);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.cta .btn:hover {
  background: #000000;
  border-color: var(--gold);
}

/* CONTACT SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
}

.contact-details {
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-details strong {
  color: var(--ink);
  display: block;
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 6px;
}

.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-tint);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  margin: 4px 6px 6px 0;
  transition: var(--transition);
}

.email-pill:hover {
  border-color: var(--gold);
  background: #ffffff;
  transform: translateY(-2px);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form label {
  font-size: 0.88rem;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  transition: var(--transition);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form .full {
  grid-column: 1 / -1;
}

.form textarea {
  min-height: 125px;
  resize: vertical;
}

.notice {
  font-size: 0.82rem;
  color: var(--muted);
  grid-column: 1 / -1;
  margin-top: 8px;
}

/* FOOTER */
.footer {
  background: var(--deep);
  color: #e9f1e9;
  padding: 55px 0 25px;
  margin-top: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.footer p {
  color: #b9cbbf;
  max-width: 440px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer a {
  color: #e9f1e9;
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--gold);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  font-size: 0.82rem;
  color: #a8bcaf;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

/* PREMIUM MEMBER BADGE STYLING (FOR PROFILE PAGE) */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #d99a37 0%, #f0bd64 50%, #b87a1d 100%);
  color: #17241b;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(217, 154, 55, 0.4);
  border: 1px solid #ffe1a6;
}

.premium-badge::before {
  content: "★";
  color: #ffffff;
  font-size: 0.95rem;
}

/* PROFILE PAGE STYLES */
.profile-hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--green-dark) 100%);
  color: #ffffff;
  padding: 60px 0 80px;
}

.profile-card-main {
  background: var(--card);
  border-radius: var(--radius-lg);
  color: var(--ink);
  padding: 45px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: center;
  border: 1px solid var(--line);
}

.profile-avatar-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.profile-avatar-concentric {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
}

.profile-avatar-concentric .orbit-ring-outer {
  border-color: var(--gold);
}

.profile-avatar-concentric .orbit-ring-inner {
  border-color: var(--green);
}

.profile-img-inner {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
}

.profile-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 25px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  border: 3px solid #e5ede7;
  transition: var(--transition);
}

.team-card:hover .team-avatar {
  border-color: var(--gold);
}

.team-name {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 900px) {
  .links {
    display: none;
    position: absolute;
    top: 75px;
    left: 4%;
    right: 4%;
    background: var(--card);
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .links.open {
    display: flex;
  }

  .menu {
    display: block;
  }

  .nav .nav-actions .btn {
    display: none;
  }

  .hero-grid,
  .mission,
  .feature,
  .contact-grid,
  .profile-card-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards,
  .gallery-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  section {
    padding: 60px 0;
  }

  .cards,
  .gallery-grid,
  .team-grid,
  .stats,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .form .full {
    grid-column: auto;
  }

  .topline .wrap {
    font-size: 0.74rem;
  }

  .topline-contacts {
    display: none;
  }
}
