/* CSS Variables */
    :root {
      --primary-dark: #1a3d35;
      --primary-medium: #2d5a4f;
      --primary-light: #7cb342;
      --accent-green: #9ccc65;
      --white: #ffffff;
      --light-gray: #f8faf9;
      --dark-gray: #2c3e50;
      --text-light: rgba(255, 255, 255, 0.9);
      --text-medium: rgba(255, 255, 255, 0.7);
      --border: rgba(255, 255, 255, 0.1);
      --error-red: #ff6b6b;
    }

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

    /* Skip link for accessibility */
    .skip-link {
      position: absolute;
      top: -40px;
      left: 6px;
      background: var(--primary-dark);
      color: var(--white);
      padding: 8px;
      text-decoration: none;
      z-index: 10000;
      border-radius: 4px;
    }
    
    .skip-link:focus {
      top: 6px;
    }

    /* Base styles */
    body {
      font-family: 'Inter', sans-serif;
      line-height: 1.6;
      color: var(--white);
      background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
      overflow-x: hidden;
      min-height: 100vh;
    }

    /* Background pattern */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(156,204,101,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
      opacity: 0.3;
      pointer-events: none;
      z-index: -1;
    }

    /* Navigation */
    .navbar {
      position: fixed;
      top: 0;
      width: 100%;
      background: rgba(26, 61, 53, 0.95);
      backdrop-filter: blur(10px);
      z-index: 1000;
      padding: 1rem 0;
      transition: all 0.3s ease;
      border-bottom: 1px solid var(--border);
    }

    .navbar.scrolled {
      background: rgba(26, 61, 53, 0.98);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

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

    .logo-container {
      display: flex;
      align-items: center;
      gap: 1rem;
      text-decoration: none;
      color: var(--white);
    }

    .logo {
      width: 45px;
      height: 45px;
      border-radius: 8px;
      object-fit: cover;
    }

    .logo-text {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--white);
      letter-spacing: 1px;
    }

    /* Desktop Navigation */
    .nav-links {
      display: flex;
      list-style: none;
      gap: 2rem;
      align-items: center;
    }

    .nav-links a {
      color: var(--text-light);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s ease;
      position: relative;
      padding: 0.5rem 0;
    }

    .nav-links a:hover,
    .nav-links a:focus {
      color: var(--accent-green);
      outline: none;
    }

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

    .nav-links a:hover::after,
    .nav-links a:focus::after {
      width: 100%;
    }

    /* Auth buttons */
    .auth-buttons {
      display: flex;
      gap: 1rem;
      align-items: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.6rem 1.2rem;
      border-radius: 25px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
      font-size: 0.9rem;
    }

    .btn:focus {
      outline: 2px solid var(--white);
      outline-offset: 2px;
    }

    .btn-login {
      color: var(--accent-green);
      border: 1px solid var(--accent-green);
      background: transparent;
    }

    .btn-login:hover,
    .btn-login:focus {
      background: var(--accent-green);
      color: var(--primary-dark);
      transform: translateY(-2px);
    }

    .btn-signup,
    .btn-primary {
      background: linear-gradient(135deg, var(--primary-light), var(--accent-green));
      color: var(--primary-dark);
      border: none;
      box-shadow: 0 4px 20px rgba(124, 179, 66, 0.3);
    }

    .btn-signup:hover,
    .btn-signup:focus,
    .btn-primary:hover,
    .btn-primary:focus {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(124, 179, 66, 0.4);
    }

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

    .btn-secondary:hover,
    .btn-secondary:focus {
      background: var(--white);
      color: var(--primary-dark);
      transform: translateY(-2px);
    }

    /* User menu */
    .user-menu {
      display: none;
      align-items: center;
      gap: 1rem;
    }

    .user-menu.active {
      display: flex;
    }

    .user-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--accent-green);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--primary-dark);
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .user-avatar:hover,
    .user-avatar:focus {
      transform: scale(1.05);
      outline: 2px solid var(--white);
    }

    .btn-logout {
      background: transparent;
      border: 1px solid var(--text-medium);
      color: var(--text-medium);
      padding: 0.5rem 1rem;
    }

    .btn-logout:hover,
    .btn-logout:focus {
      border-color: var(--accent-green);
      color: var(--accent-green);
    }

    /* Mobile Menu */
    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 5px;
      position: relative;
      z-index: 1002;
    }

    .mobile-menu-btn span {
      display: block;
      width: 25px;
      height: 3px;
      background: var(--white);
      margin: 4px 0;
      transition: all 0.3s ease;
      border-radius: 2px;
    }

    .mobile-menu-btn:focus {
      outline: 2px solid var(--white);
      outline-offset: 2px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

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

    .mobile-menu-btn.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Mobile Navigation */
    .mobile-nav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 300px;
      height: 100vh;
      background: var(--primary-dark);
      padding: 80px 30px 30px;
      transition: right 0.3s ease;
      z-index: 1001;
      overflow-y: auto;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .mobile-nav.active {
      right: 0;
    }

    .mobile-nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

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

    .mobile-nav ul {
      list-style: none;
      padding: 0;
    }

    .mobile-nav li {
      margin-bottom: 20px;
    }

    .mobile-nav a {
      color: var(--white);
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 500;
      display: block;
      padding: 10px 0;
      transition: color 0.3s ease;
    }

    .mobile-nav a:hover,
    .mobile-nav a:focus {
      color: var(--accent-green);
      outline: none;
    }

    .mobile-auth-buttons {
      margin-top: 2rem;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
    }

    .mobile-auth-buttons a,
    .mobile-auth-buttons button {
      display: block;
      text-align: center;
      padding: 0.8rem;
      margin-bottom: 1rem;
      border-radius: 25px;
      width: 100%;
    }

    /* Hero Section */
    main {
      padding-top: 80px;
    }

    .hero {
      min-height: calc(100vh - 80px);
      display: flex;
      align-items: center;
      padding: 40px 0;
      position: relative;
    }

    .hero-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      position: relative;
      z-index: 2;
    }

    .hero-content {
      max-width: 700px;
    }

    .hero h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1.5rem;
      background: linear-gradient(135deg, var(--white) 0%, var(--accent-green) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-tagline {
      font-size: clamp(1.1rem, 2vw, 1.4rem);
      font-weight: 300;
      color: var(--text-medium);
      margin-bottom: 3rem;
      line-height: 1.6;
    }

    .cta-buttons {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    /* Sections */
    .section {
      padding: 5rem 0;
      position: relative;
    }

    .section-alt {
      background: var(--primary-medium);
      border-top: 1px solid var(--border);
    }

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

    .section-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .section-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--white);
    }

    .section-subtitle {
      font-size: 1.3rem;
      color: var(--text-medium);
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
    }

    /* Mission Section */
    .mission-content {
      text-align: center;
      max-width: 800px;
      margin: 0 auto;
    }

    .mission-text {
      font-size: clamp(1.2rem, 2vw, 1.5rem);
      font-weight: 400;
      line-height: 1.8;
      color: var(--text-light);
      margin-bottom: 2rem;
    }

    .mission-highlight {
      color: var(--accent-green);
      font-weight: 600;
    }

    /* Cards Grid */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }

    .card {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 2.5rem;
      text-align: center;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary-light), var(--accent-green));
    }

    .card:hover,
    .card:focus-within {
      transform: translateY(-10px);
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(156, 204, 101, 0.3);
    }

    .card-icon {
      font-size: 3rem;
      color: var(--accent-green);
      margin-bottom: 1.5rem;
    }

    .card-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--white);
    }

    .card-description {
      color: var(--text-medium);
      line-height: 1.6;
    }

    /* Steps */
    .steps-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 3rem;
      margin-top: 3rem;
    }

    .step {
      text-align: center;
      position: relative;
    }

    .step-number {
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, var(--primary-light), var(--accent-green));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin: 0 auto 1.5rem;
    }

    .step-title {
      font-size: 1.3rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--white);
    }

    .step-description {
      color: var(--text-medium);
      line-height: 1.6;
    }

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

    .involvement-card {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border);
      border-radius: 15px;
      padding: 2rem;
      text-align: center;
      transition: all 0.3s ease;
    }

    .involvement-card:hover,
    .involvement-card:focus-within {
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-5px);
    }

    .involvement-icon {
      font-size: 2.5rem;
      color: var(--accent-green);
      margin-bottom: 1rem;
    }

    .involvement-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--white);
    }

    .involvement-description {
      color: var(--text-medium);
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }

    .btn-small {
      background: var(--primary-light);
      color: var(--primary-dark);
      padding: 0.8rem 1.5rem;
      border: none;
      border-radius: 25px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      display: inline-block;
    }

    .btn-small:hover,
    .btn-small:focus {
      background: var(--accent-green);
      transform: translateY(-2px);
      outline: 2px solid var(--white);
      outline-offset: 2px;
    }

    /* Events */
    .events-placeholder {
      text-align: center;
      background: rgba(255, 255, 255, 0.05);
      border: 2px dashed rgba(255, 255, 255, 0.2);
      border-radius: 15px;
      padding: 4rem 2rem;
      margin-top: 3rem;
    }

    .events-placeholder i {
      font-size: 4rem;
      color: var(--accent-green);
      margin-bottom: 1.5rem;
    }

    .events-placeholder h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: var(--white);
    }

    .events-placeholder p {
      color: var(--text-medium);
      max-width: 400px;
      margin: 0 auto;
    }

    /* Footer */
    .footer {
      background: var(--primary-dark);
      border-top: 1px solid var(--border);
      padding: 3rem 0 2rem;
      margin-top: 4rem;
    }

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

    .footer-section h4 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--white);
    }

    .footer-section p,
    .footer-section a {
      color: var(--text-medium);
      text-decoration: none;
      line-height: 1.6;
    }

    .footer-section a:hover,
    .footer-section a:focus {
      color: var(--accent-green);
      outline: none;
    }

    .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
    }

    .social-links a {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .social-links a:hover,
    .social-links a:focus {
      background: var(--accent-green);
      color: var(--primary-dark);
      transform: scale(1.1);
      outline: 2px solid var(--white);
    }

    .email-signup {
      display: flex;
      gap: 0.5rem;
      margin-top: 1rem;
    }

    .email-input {
      flex: 1;
      padding: 0.8rem;
      border: 1px solid var(--border);
      border-radius: 25px;
      background: rgba(255, 255, 255, 0.1);
      color: var(--white);
      font-size: 0.9rem;
    }

    .email-input::placeholder {
      color: var(--text-medium);
    }

    .email-input:focus {
      outline: 2px solid var(--accent-green);
      outline-offset: 2px;
    }

    .footer-bottom {
      text-align: center;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
      color: var(--text-medium);
    }

    /* Loading states */
    .loading {
      opacity: 0.6;
      pointer-events: none;
    }

    /* Animations */
    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }

      .mobile-menu-btn {
        display: block;
      }

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

      .hero-tagline {
        font-size: 1.2rem;
      }

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

      .cta-buttons {
        flex-direction: column;
        width: 100%;
      }

      .btn {
        width: 100%;
        justify-content: center;
      }

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

      .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .email-signup {
        flex-direction: column;
      }

      .involvement-options {
        grid-template-columns: 1fr;
      }
    }

    /* Smooth Scrolling */
    html {
      scroll-behavior: smooth;
    }

    /* Focus indicators for accessibility */
    *:focus {
      outline: 2px solid var(--accent-green);
      outline-offset: 2px;
    }

    /* High contrast mode support */
    @media (prefers-contrast: high) {
      :root {
        --text-medium: rgba(255, 255, 255, 0.9);
        --border: rgba(255, 255, 255, 0.3);
      }
    }

    /* Reduced motion support */
    @media (prefers-reduced-motion: reduce) {
      * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }
