/* =========================================================
   Kalyan Dhamala - Portfolio Styles
   Sections: 1 Variables | 2 Base | 3 Layout | 4 Buttons
             5 Navbar | 6 Hero | 7 About | 8 Skills
             9 Experience & Leadership | 10 Contact | 11 Footer
             12 Utilities | 13 Responsive
   ========================================================= */

/* ---------- 1. Variables (change colours here) ---------- */
:root {
  --primary: #2F855A;
  --primary-dark: #22543D;
  --primary-light: #E6F4EA;
  --bg-soft: #F7FAF7;
  --white: #FFFFFF;
  --surface: #FFFFFF;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E2E8E4;
  --header-background: rgba(255, 255, 255, 0.95);
  --footer-background: var(--primary-dark);
  --on-primary: #FFFFFF;
  --danger: #B91C1C;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', 'Inter', system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 4px 16px rgba(34, 84, 61, 0.08);
  --shadow-hover: 0 8px 24px rgba(34, 84, 61, 0.14);
  --header-height: 68px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --primary: #68D391;
  --primary-dark: #9AE6B4;
  --primary-light: #193C2B;
  --bg-soft: #111A15;
  --surface: #18221C;
  --text: #E6EFE8;
  --text-muted: #B2BFB7;
  --border: #34443A;
  --header-background: rgba(17, 26, 21, 0.96);
  --footer-background: #0B130E;
  --on-primary: #102016;
  --danger: #FCA5A5;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--text);
}

p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 5rem 0; }
.section-light { background: var(--bg-soft); }

.section-heading { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.community-section-heading { max-width: none; }
.community-section-heading h2 {
  font-size: clamp(0.75rem, 3.8vw, 2.2rem);
  white-space: nowrap;
}
.contact-section-heading { max-width: none; }
.contact-section-heading h2 {
  font-size: clamp(0.75rem, 3.8vw, 2.2rem);
  white-space: nowrap;
}
.section-sub { color: var(--text-muted); }

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--on-primary); }

.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); }

/* ---------- 5. Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-background);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.navbar {
  position: relative;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary-dark);
}
.logo span { color: var(--primary); }

.nav-menu { display: flex; justify-content: center; gap: 0.5rem; }

.nav-link {
  display: block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav-link.active { background: var(--primary-light); color: var(--primary); }

.nav-group { position: relative; }
.nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s, color 0.2s;
}
.nav-group-toggle::-webkit-details-marker { display: none; }
.nav-group-toggle::after {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}
.nav-group[open] > .nav-group-toggle::after { transform: translateY(1px) rotate(225deg); }
.nav-group-toggle:hover,
.nav-group-toggle.active { background: var(--primary-light); color: var(--primary-dark); }
.nav-submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 101;
  display: grid;
  min-width: 220px;
  gap: 0.15rem;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.nav-submenu .nav-link { padding: 0.55rem 0.75rem; border-radius: 8px; }

.theme-toggle {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0.5rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--primary-dark); background: var(--primary-light); }
.theme-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }

/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--surface) 100%);
  padding: 5rem 0 4rem;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  margin-bottom: 0.25em;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.highlight { color: var(--primary);}

.hero-role {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.hero-details {
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-image {
  position: relative;
  width: min(380px, 82vw);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(47, 133, 90, 0.12);
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 18px 45px rgba(34, 84, 61, 0.12);
}
.hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  border: 8px solid var(--surface);
  box-shadow: var(--shadow-hover);
  background: var(--primary-light);
}

/* Simple decorative shapes */
.shape { position: absolute; z-index: 0; }
.shape-circle {
  width: 140px; height: 140px;
  background: var(--primary-light);
  border-radius: 50%;
  top: -30px; right: -30px;
}
.shape-square {
  width: 100px; height: 100px;
  border: 3px solid var(--primary);
  border-radius: 18px;
  bottom: -24px; left: -24px;
  opacity: 0.5;
}
.shape-dots {
  width: 90px; height: 90px;
  right: -20px; bottom: 40px;
  background-image: radial-gradient(var(--primary) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.5;
}

/* ---------- 7. About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 1.5rem;
  align-items: center;
}

.about-image {
  width: 100%;
  max-width: 340px;
  height: 380px;
  margin: 0 auto;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center 85%;
  mix-blend-mode: multiply;
}

:root[data-theme="dark"] .about-image {
  background: #FFFFFF;
  border-radius: var(--radius);
}
:root[data-theme="dark"] .about-image img { mix-blend-mode: normal; }
:root[data-theme="dark"] .github-logo { filter: brightness(0) invert(1); }

.about-text p { color: var(--text-muted); }

/* ---------- 8. Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 68px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: var(--primary-dark);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.skill-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: var(--shadow-hover);
}
.skill-item img { width: 1.8rem; height: 1.8rem; flex: 0 0 1.8rem; object-fit: contain; }

/* ---------- 9. Experience & Leadership ---------- */
.experience-column,
.communities-column { min-width: 0; }

.experience-card {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.experience-card + .experience-card { margin-top: 1rem; }
.experience-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.experience-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.experience-mark img { width: 100%; height: 100%; object-fit: contain; }

.experience-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.experience-heading h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.experience-org { color: var(--primary-dark); font-weight: 600; margin: 0; }
.experience-location { margin: 0.15rem 0 0; color: var(--text-muted); font-size: 0.82rem; }
.experience-duration {
  display: inline-block;
  flex: 0 0 auto;
  padding: 0.25rem 0.7rem;
  color: var(--primary-dark);
  background: var(--primary-light);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.experience-description,
.leadership-description { color: var(--text-muted); font-size: 0.92rem; }
.experience-description { margin: 0.9rem 0 0.65rem; }
.experience-highlights { display: grid; gap: 0.4rem; }
.experience-highlights li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.experience-highlights li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0.15rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--primary);
}

.community-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.community-card-grid .community-experience-card {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  align-content: start;
}
.community-card-grid .experience-card + .experience-card { margin-top: 0; }
.community-experience-card .experience-heading {
  flex-wrap: wrap;
  gap: 0.65rem;
}
.community-experience-card .experience-heading > div { min-width: 0; }
.community-entry-previous {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.leadership-grid {
  display: flex;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.5rem 0 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--primary) var(--primary-light);
  scrollbar-width: thin;
}
.leadership-grid.is-looping { scroll-snap-type: none; scroll-behavior: auto; }
.leadership-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 min(300px, calc(100vw - 3rem));
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  scroll-snap-align: start;
}
.leadership-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.js .leadership-card.reveal { transform: translateX(20px); }
.js .leadership-card.reveal.visible { transform: none; }
.js .leadership-card.reveal.visible:hover { transform: translateY(-4px); }
.leadership-photo { height: 160px; background: var(--primary-light); }
.leadership-photo img { width: 100%; height: 100%; object-fit: cover; }
.experience-carousel .leadership-photo { height: 200px; }
.achievements-gallery .leadership-photo { height: 200px; }
.leadership-static-grid .leadership-photo { height: 360px; }
.leadership-static-grid .leadership-photo img { object-position: center 60%; }
.leadership-static-grid .leadership-photo img.digital-literacy-photo {
  object-fit: cover;
  object-position: center 80%;
}
.leadership-static-grid .leadership-photo img.barang-village-photo {
  object-position: center bottom;
}
.event-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
.leadership-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.leadership-info h3 { font-size: 1.05rem; line-height: 1.4; }
.leadership-role {
  margin: 0 0 0.65rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}
.leadership-description { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.92rem; }
.leadership-date {
  margin: auto 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}
.leadership-date span {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-weight: 500;
}
.leadership-static-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.5rem;
}
.leadership-static-grid .leadership-card {
  min-width: 0;
  transition: none;
}
.leadership-static-grid .leadership-card:hover {
  transform: none;
  box-shadow: var(--shadow);
}

/* ---------- 10. Contact ---------- */
.contact-info {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-links {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}
.contact-links li { min-width: 0; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 100%;
  padding: 0.4rem;
  color: var(--text);
  font-weight: 500;
  overflow-wrap: anywhere;
  transition: color 0.2s, transform 0.2s;
}
.contact-link:hover { color: var(--primary-dark); transform: translateY(-2px); }
.contact-link svg { display: block; width: 2rem; height: 2rem; flex: 0 0 2rem; }
.contact-link span { min-width: 0; overflow-wrap: anywhere; }

.contact-form {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 100%;
  max-width: 600px;
  margin: 0;
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.form-field { display: grid; gap: 0.4rem; margin-bottom: 0.75rem; }
.form-field label { color: var(--text); font-size: 0.92rem; font-weight: 600; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}
.form-field input { min-height: 44px; }
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.form-botcheck { display: none !important; }
.contact-form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.contact-form-submit .btn:disabled { cursor: wait; opacity: 0.7; transform: none; }
.form-status { min-height: 1.5em; margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.form-status[data-state="success"] { color: var(--primary); }
.form-status[data-state="error"] { color: var(--danger); }

/* ---------- 11. Footer ---------- */
.site-footer { background: var(--footer-background); color: #CBD5CF; padding-top: 3rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand p { margin: 0.5rem 0 0; max-width: 280px; font-size: 0.93rem; }
.logo-light { color: var(--white); }
.logo-light span { color: #9AE6B4; }

.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 0.4rem 1.5rem; justify-content: start; }
.footer-social li { margin-bottom: 0.4rem; }
.site-footer a { color: #CBD5CF; font-size: 0.93rem; }
.site-footer a:hover { color: var(--white); }
.site-footer .logo { font-size: 1.6rem; }

.copyright {
  margin: 0;
  padding: 1.1rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- 12. Utilities ---------- */

/* Reveal-on-scroll (class "visible" is added by script.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }

/* Scroll to top button */
.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, background 0.2s;
  z-index: 90;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .leadership-card.reveal { opacity: 1; transform: none; }
}

/* ---------- 13. Responsive ---------- */

/* Tablet */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid { grid-template-columns: 1fr; }
  .leadership-static-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-image { order: -1; }

  .hero { min-height: auto; display: block; padding-top: 3rem; }
  .hero-text { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-image { order: -1; max-width: 300px; }

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

@media (max-width: 820px) {
  .navbar { justify-content: flex-start; }
  .nav-toggle { display: block; }
  .contact-info { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-links { grid-column: 1; grid-row: 1; }
  .contact-form { grid-column: 1; grid-row: 2; justify-self: stretch; }

  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1rem;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-link,
  .nav-group-toggle { padding: 0.7rem 0.5rem; border-radius: 8px; }
  .nav-group { position: static; }
  .nav-submenu {
    position: static;
    min-width: 0;
    gap: 0;
    padding: 0 0 0.4rem 1rem;
    border: 0;
    box-shadow: none;
  }
  .nav-submenu .nav-link { padding: 0.6rem 0.5rem; }
}

/* Mobile */
@media (max-width: 700px) {
  .section { padding: 3.5rem 0; }
  .hero-text h1 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .contact-form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-links { align-items: stretch; }
  .contact-links li { width: 100%; }
  .contact-link { width: 100%; }
  .leadership-static-grid { grid-template-columns: 1fr; }
  .leadership-static-grid .leadership-photo { height: 300px; }

  .experience-card {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
  .experience-heading { flex-direction: column; gap: 0.6rem; }
  .community-experience-card { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .leadership-body { padding: 1.1rem; }
  .about-image {
    max-width: 400px;
    height: clamp(400px, 110vw, 460px);
  }

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