/* Core Reset & Global Layout */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

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

@font-face {
  font-family: 'Aether';
  src: url('../fonts/Aether-Regular.woff2') format('woff2'),
       url('../fonts/Aether-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aether';
  src: url('../fonts/Aether-Bold.woff2') format('woff2'),
       url('../fonts/Aether-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  background-color: #fdfaf2;
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #3d4a41;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* Typography & General Buttons */
.hero-title, 
.section-title, 
.mission-heading {
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  font-weight: 800;
  color: #2c5e43;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-kicker, 
.section-subtitle,
.column-heading,
.footer-heading {
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 13px;
  color: #2c5e43;
}

.hero-description, 
.about-text, 
.footer-tagline,
.program-card p {
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: #49544d;
}

textarea, input, select {
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
}

.about-text strong {
  font-weight: 700;
  color: #2c5e43;
}

.primary-btn, 
.secondary-btn,
.hero-buttons a {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.primary-btn {
  background: #2c5e43;
  color: #fdfaf2;
  padding: 16px 32px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(44, 94, 67, 0.15);
}

.primary-btn:hover {
  background: #1e422e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 94, 67, 0.25);
}

.secondary-btn {
  border: 2px solid #2c5e43;
  color: #2c5e43;
  padding: 14px 32px;
  border-radius: 12px;
  background: transparent;
}

.secondary-btn:hover {
  background: rgba(44, 94, 67, 0.05);
  transform: translateY(-2px);
}

/* Navigation Component */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 80px; 
  background-color: #fdfaf2; 
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 2000;
  box-shadow: 0 2px 20px rgba(44, 94, 67, 0.03);
}

.logo-area {
  display: flex;
  align-items: center;
  padding-left: 10px;
  text-decoration: none; 
  transition: transform 0.2s ease, opacity 0.2s ease;
  position: relative;
  z-index: 2100;
}

.logo-area:hover {
  opacity: 0.9;
  transform: scale(1.01);
}

.navbar-logo {
  height: 115px;      
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: 2px;
  margin-bottom: -12px;
  filter: contrast(1.05) brightness(0.95);
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px; 
}

.nav-item {
  font-family: 'Syne', sans-serif; 
  font-size: 15px;                  
  font-weight: 700;            
  color: #2c5e43;
  text-decoration: none;
  text-transform: uppercase;   
  letter-spacing: 2.5px;           
  display: inline-block;
  position: relative;          
  padding-bottom: 6px;         
}

.nav-item::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);        
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #2c5e43;
  transform-origin: bottom center;
  transition: transform 0.25s ease-out; 
}

.nav-item:hover::after, 
.nav-item.active::after {
  transform: scaleX(1);        
}

.highlight-link {
  color: #2c5e43;
  font-weight: 700;
}

.menu-toggle {
  display: none; 
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 2100;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: #2c5e43;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Homepage Sections */
.hero-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 80px 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-kicker {
  margin-bottom: 16px;
  display: inline-block;
}

.hero-title {
  font-size: 52px;
  margin-bottom: 24px;
}

.hero-description {
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3.8;
  background: #e7e2d5;
  border-radius: 24px;
}

.impact-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.impact-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(44, 94, 67, 0.04);
}

.impact-card h2 {
  font-family: 'Syne', sans-serif; 
  color: #2c5e43;
  font-size: 44px;
  margin-bottom: 8px;
}

.impact-card p {
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #708276;
}

.mission-preview {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-heading {
  font-size: 44px;
  margin-bottom: 24px;
}

.mission-image {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  background: #e7e2d5;
  border-radius: 24px;
}

.programs-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 80px;
}

.section-header {
  margin-bottom: 48px;
}

.programs-section .section-title {
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  font-weight: 700;
  font-size: 44px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

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

.program-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(44, 94, 67, 0.04);
}

.program-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e7e2d5;
  border-radius: 14px;
}

.program-card h3 {
  color: #2c5e43;
  margin: 24px 0 12px;
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  font-size: 22px;
  font-weight: 700;
}

.cta-section {
  background: #f6f1e6;
  padding: 100px 40px;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Syne', sans-serif; 
  font-size: 46px;
  color: #2c5e43;
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 17px;
}

/* About Page Layout */
.about-section {
  padding: 100px 80px;       
  width: 100%;
  display: flex;
  justify-content: center;
}

.about-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;                 
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 80px;                      
  align-items: start;
}

.about-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Footer Section */
.site-footer {
  border-top: 1px solid rgba(44, 94, 67, 0.15); 
  padding: 100px 80px 0;  
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr; 
  gap: 80px;
  padding-bottom: 80px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

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

.footer-links a {
  font-size: 15px;
  font-weight: 600;
  color: #3d4a41;
  text-decoration: none;
}

.footer-links a:hover {
  color: #2c5e43;
}

.footer-email, .footer-location {
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  font-size: 15px; 
  line-height: 1.75;
  color: #49544d;
}

.footer-email strong, .footer-location strong {
  color: #2c5e43;
  font-weight: 700;
}

.footer-email a {
  color: #2c5e43;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  border-bottom: 1px solid rgba(44, 94, 67, 0.4);
}

.footer-email a:hover {
  color: #1e422e;
  border-bottom-color: #1e422e;
}

.footer-baseline {
  border-top: 1px solid rgba(44, 94, 67, 0.1);
  padding: 40px 0;
  width: 100%;
}

.baseline-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-text, .legal-links a {
  font-size: 13px;
  font-weight: 500;
  color: #7a8a7f; 
  text-decoration: none;
}

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

.legal-links a:hover {
  color: #2c5e43;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .navbar { padding: 10px 40px; }
  .hero-section { grid-template-columns: 1fr; padding: 40px; gap: 48px; }
  .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-title { font-size: 44px; }
  .hero-image-placeholder { max-width: 600px; margin: 0 auto; }
  .impact-section { grid-template-columns: repeat(2, 1fr); padding: 0 40px 60px; gap: 20px; }
  .mission-preview { grid-template-columns: 1fr; padding: 60px 40px; gap: 40px; }
  .programs-section { padding: 60px 40px; }
  .program-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; gap: 24px; }
  .about-section { padding: 60px 40px; }
  .about-content-grid { grid-template-columns: 1fr; gap: 48px; }
  .site-footer { padding: 60px 40px 0; }
  .footer-container { gap: 48px; }
}

@media (max-width: 992px) {
  .navbar { 
    padding: 10px 24px; 
    box-shadow: 0 4px 25px rgba(44, 94, 67, 0.06);
  }
  .menu-toggle {
    display: flex; 
  }
  .nav-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fdfaf2;
    z-index: 1500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
  }
  .nav-menu-wrapper.active {
    opacity: 1;
    visibility: visible;
  }
  .nav-links {
    flex-direction: column;
    gap: 32px;
    width: 100%;
    text-align: center;
    padding: 0 40px;
  }
  .nav-item {
    font-size: 20px;
    display: inline-block;
  }
  .footer-container { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .baseline-container { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 576px) {
  .navbar { padding: 10px 20px; }
  .navbar-logo { height: 85px; } 
  .hero-section { padding: 32px 20px; gap: 24px; }
  .hero-title { font-size: 34px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .primary-btn, .secondary-btn { width: 100%; }
  .impact-section { grid-template-columns: 1fr; padding: 0 20px 40px; }
  .hero-image-placeholder { aspect-ratio: 4 / 3; max-height: 320px; width: 100%; }
  .mission-preview { padding: 40px 20px; }
  .mission-heading { font-size: 32px; }
  .mission-image { aspect-ratio: 4 / 3; max-height: 320px; width: 100%; }
  .programs-section .section-title { font-size: 32px; }
  .programs-section { padding: 40px 20px; }
  .program-image { aspect-ratio: 16 / 10; max-height: 220px; width: 100%; }
}

/* Auth Section Layout */
.auth-section {
  padding: 100px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 115px - 400px);
}

.auth-card {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 12px 40px rgba(44, 94, 67, 0.04);
}

.auth-card .auth-header {
  text-align: center;
  margin-bottom: 36px;
}

.auth-title {
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 800;
  color: #2c5e43;
  margin-top: 8px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  font-size: 14px;
  font-weight: 700;
  color: #2c5e43;
}

.form-input {
  padding: 14px 16px;
  border: 1px solid rgba(44, 94, 67, 0.2);
  border-radius: 12px;
  background-color: #fdfaf2;
  font-size: 15px;
  color: #3d4a41;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: #2c5e43;
  box-shadow: 0 0 0 3px rgba(44, 94, 67, 0.08);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: -8px;
}

.forgot-password-link {
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  font-size: 13px;
  color: #708276;
  text-decoration: none;
  font-weight: 600;
}

.forgot-password-link:hover {
  color: #2c5e43;
}

.submit-auth-btn {
  width: 100%;
  padding: 16px;
  border: none;
  cursor: pointer;
}

/* Nav Profile Tweaks */
.nav-login-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px; 
}

.nav-profile-svg {
  width: 16px;
  height: 16px;
  fill: #2c5e43; 
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.nav-login-link:hover .nav-profile-svg {
  transform: scale(1.1);
  fill: #1e422e; 
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 94, 67, 0.4);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 50px rgba(44, 94, 67, 0.15);
  transform: translateY(-2px);
  transition: transform 0.3s ease;
  position: relative;
}

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #708276;
  cursor: pointer;
  line-height: 1;
}

.close-modal-btn:hover {
  color: #2c5e43;
}

.signup-badge {
  background: rgba(44, 94, 67, 0.08);
  color: #2c5e43;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-top: 8px;
}

/* Portal & Dashboard Elements */
.team-section {
  padding: 100px 80px;       
  width: 100%;
  display: flex;
  justify-content: center;
}

.team-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;                 
}

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

.team-member {
  background: #ffffff;
  padding: 30px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(44, 94, 67, 0.03);
}

.team-img-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #e7e2d5;
  margin: 0 auto 20px;
}

.team-member h3 { 
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  font-size: 20px; 
  font-weight: 700;
  margin-bottom: 4px; 
}

.team-member p { 
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  font-size: 14px; 
  color: #708276; 
  margin-bottom: 12px; 
}

.team-member span { 
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  font-size: 13px; 
  display: block;
  font-weight: 700;
  color: #2c5e43;
}

.portal-container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 60px 80px; 
}

.portal-welcome { 
  margin-bottom: 40px; 
}

.portal-grid { 
  display: grid; 
  grid-template-columns: 1.8fr 1.2fr; 
  gap: 40px; 
  align-items: start; 
}

.portal-card { 
  background: #ffffff; 
  padding: 32px; 
  border-radius: 24px; 
  box-shadow: 0 10px 35px rgba(44, 94, 67, 0.04); 
  margin-bottom: 30px; 
}

.portal-card h2 { 
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  font-size: 24px; 
  margin-bottom: 16px; 
  font-weight: 800; 
  color: #2c5e43;
}

.opportunity-list { 
  list-style: none; 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
}

.opportunity-item { 
  border-left: 4px solid #2c5e43; 
  padding-left: 16px; 
  margin-bottom: 8px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 20px; 
}

.opportunity-details { 
  flex: 1; 
}

.opportunity-item h4 { 
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  font-size: 17px; 
  margin-bottom: 4px; 
  font-weight: 700;
}

.opportunity-item p { 
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  font-size: 14px; 
  color: #49544d; 
}

.guideline-scroll { 
  max-height: 300px; 
  overflow-y: auto; 
  padding-right: 10px; 
  display: flex; 
  flex-direction: column; 
  gap: 14px; 
}

.guideline-node { 
  border-bottom: 1px solid rgba(44, 94, 67, 0.08); 
  padding-bottom: 10px; 
}

.guideline-node h5 { 
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  font-weight: 700; 
  color: #2c5e43; 
  font-size: 14px; 
  margin-bottom: 4px; 
}

.guideline-node p { 
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  font-size: 13px; 
  color: #49544d; 
  line-height: 1.5; 
}

.status-table { 
  width: 100%; 
  border-collapse: collapse; 
  margin-top: 10px; 
}

.status-table th, .status-table td { 
  padding: 10px; 
  text-align: left; 
  font-size: 13px; 
  border-bottom: 1px solid rgba(44, 94, 67, 0.1); 
}

.status-table th { 
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  font-weight: 700; 
  color: #2c5e43; 
  background: rgba(44, 94, 67, 0.04); 
}

.status-table td { 
  font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; 
  color: #49544d; 
}

.status-msg { 
  padding: 12px; 
  border-radius: 8px; 
  font-size: 14px; 
  display: none; 
  margin-bottom: 16px; 
  text-align: center;
  font-family: 'Playfair Display', serif;
}

.status-msg.success { 
  background-color: #def7ec; 
  color: #03543f; 
  border: 1px solid #84e1bc; 
}

@media (max-width: 992px) {
  .portal-container { padding: 40px 24px; }
  .portal-grid { grid-template-columns: 1fr; }
  .opportunity-item { flex-direction: column; align-items: flex-start; gap: 16px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 576px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Welcome Packet Scroll Box & Terms (signup.html) */
.packet-scroll-box {
  background: #fdfaf2;
  border: 1px solid rgba(44, 94, 67, 0.15);
  border-radius: 12px;
  padding: 20px;
  max-height: 240px;
  overflow-y: scroll;
  margin-bottom: 20px;
  font-size: 13px;
  color: #49544d;
  line-height: 1.6;
  text-align: left;
}

.packet-scroll-box h2 { 
  font-size: 16px; 
  margin: 16px 0 8px 0; 
  color: #2c5e43; 
  font-weight: 800; 
}

.packet-scroll-box h2:first-of-type { 
  margin-top: 0; 
}

.packet-scroll-box p { 
  margin-bottom: 12px; 
}

.packet-scroll-box ul { 
  margin: 0 0 16px 20px; 
}

.packet-scroll-box li { 
  margin-bottom: 6px; 
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  cursor: pointer;
  text-align: left;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #2c5e43;
  cursor: pointer;
}

.checkbox-container input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

.checkbox-label {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  line-height: 1.4;
  color: #49544d;
  user-select: none;
}