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

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Header Styles */
.header {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logoImage {
  height: 50px;
  width: auto;
}

.logoText {
  display: none;
}

@media (min-width: 640px) {
  .logoText {
    display: block;
  }
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: var(--primary-color);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.navItem {
  position: relative;
}

.navItem > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navItem > a::after {
  content: '▼';
  font-size: 0.7rem;
  margin-left: 4px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.navItem:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown a::after {
  display: none;
}

.dropdown a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.menuButton {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menuButton span {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
}

/* Footer Styles */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer .content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer .section {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.footer .title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer .description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer .sectionTitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer .links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer .links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer .links a:hover {
  color: white;
}

.footer .contactInfo {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Home Page Styles */
.home {
  min-height: 100vh;
}

.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.heroContent {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.heroImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

.heroTitle {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.heroSubtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  opacity: 0.95;
}

.heroButtons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.valuesSection {
  background-color: var(--bg-light);
}

.valuesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.valuesGrid .card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.valuesGrid .card p {
  color: var(--text-light);
  line-height: 1.6;
}

.programSection {
  background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.programHighlight {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.programContent {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.programTitle {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.programDescription {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Page Styles */
.page {
  min-height: 100vh;
}

.pageHeader {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

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

.pageHeaderText {
  z-index: 2;
}

.pageHeaderMedia {
  z-index: 2;
}

.pageHeaderImage {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pageTitle {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pageSubtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 800px;
}

.content {
  max-width: 1000px;
  margin: 0 auto;
}

.sectionContent {
  margin-bottom: 3rem;
}

.sectionHeading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.list {
  list-style: none;
  padding-left: 0;
}

.list li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.valuesList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.valuesList .card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.valuesList .card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Program Page Styles */
.applySection {
  margin: 3rem 0;
}

.applyCard {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.applyCard h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.applyCard p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.applyCard .btn {
  font-size: 1.1rem;
  padding: 14px 40px;
}

.note {
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0.8;
  font-style: italic;
}

.modulesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.moduleCard {
  position: relative;
  padding: 2.5rem 2rem;
  border-left: 4px solid var(--primary-color);
}

.moduleNumber {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.moduleTitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.moduleDescription {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
}

/* Board Page Styles */
.boardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.memberCard {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.memberCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.memberImage {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.memberName {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.memberRole {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
}

.chairpersonMessage {
  margin: 3rem 0;
}

.messageCard {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  margin-top: 1.5rem;
}

/* Contact Page Styles */
.contactContainer {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contactInfo h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.contactInfo > p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.infoItem {
  margin-bottom: 2.5rem;
}

.infoItem h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.infoItem p {
  color: var(--text-light);
  line-height: 1.6;
}

.contactForm {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.formGroup {
  margin-bottom: 1.5rem;
}

.formGroup label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.formGroup input,
.formGroup select,
.formGroup textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.formGroup input:focus,
.formGroup select:focus,
.formGroup textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.formGroup textarea {
  resize: vertical;
  min-height: 120px;
}

.contactForm button {
  width: 100%;
  margin-top: 1rem;
}

.successMessage {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #d1fae5;
  color: #065f46;
  border-radius: 8px;
  text-align: center;
}

.errorMessage {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #fee2e2;
  color: #991b1b;
  border-radius: 8px;
  text-align: center;
}

/* Get Involved Page Styles */
.waysGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.wayCard {
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.wayTitle {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.wayDescription {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.wayAction {
  font-size: 0.95rem;
  color: var(--primary-color);
  font-weight: 600;
  font-style: italic;
}

.ctaSection {
  margin: 4rem 0;
}

.ctaCard {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #059669 100%);
  color: white;
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.ctaCard h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.ctaCard p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.opportunityCard {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
  margin-top: 2rem;
}

.opportunityCard h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.opportunityCard p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Program Gallery Styles */
.programGallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.galleryItem {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4/3;
}

.galleryItem:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

/* Responsive Styles */
@media (max-width: 968px) {
  .pageHeaderContent {
    grid-template-columns: 1fr;
  }

  .pageHeaderImage {
    height: 300px;
  }
}

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

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .heroTitle {
    font-size: 2.5rem;
  }

  .heroSubtitle {
    font-size: 1.1rem;
  }

  .heroButtons {
    flex-direction: column;
    align-items: stretch;
  }

  .heroButtons .btn {
    width: 100%;
  }

  .programContent {
    padding: 2rem 1.5rem;
  }

  .programTitle {
    font-size: 2rem;
  }

  .pageHeader {
    padding: 80px 0 40px;
  }

  .pageTitle {
    font-size: 2rem;
  }

  .pageSubtitle {
    font-size: 1.1rem;
  }

  .sectionHeading {
    font-size: 1.75rem;
  }

  .applyCard {
    padding: 2rem 1.5rem;
  }

  .applyCard h2 {
    font-size: 1.75rem;
  }

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

  .boardGrid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
  }

  .memberImage {
    width: 150px;
    height: 150px;
  }

  .contactContainer {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .ctaCard {
    padding: 2rem 1.5rem;
  }

  .ctaCard h2 {
    font-size: 1.75rem;
  }

  .opportunityCard {
    padding: 2rem 1.5rem;
  }

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

  .menuButton {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    gap: 1.5rem;
  }

  .nav.navOpen {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navItem > a::after {
    content: '▶';
    font-size: 0.7rem;
    margin-left: 4px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
    margin: 0.5rem 0 0 1.5rem;
    background-color: var(--bg-light);
    border-radius: 4px;
    display: none;
  }

  .navItem.active .dropdown {
    display: block;
  }

  .footer .content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

