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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

header {
    background: linear-gradient(135deg, #215732 0%, #6CB33F 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Navigation Menu */
.main-nav {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    padding: 1rem 0;
    margin: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #215732;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.nav-menu a:hover {
    background-color: #e8f5e9;
    color: #1a4a1b;
}

.nav-menu a.active {
    background-color: #215732;
    color: white;
}

.hero {
    background: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2rem;
    color: #215732;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    color: #215732;
    margin: 3rem 0 2rem 0;
    text-align: center;
    font-weight: 600;
}

.important{
    color: #067706;
    font-weight: bold;
}

.site-heading { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem;
}

.site-heading__img { 
    height: 1.2em; 
    width: auto; 
    display: inline-block;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: white;
    text-decoration: none;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.project-card h3 {
    color: #215732;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.project-card h3 a {
    color: #215732;
    text-decoration: none;
}

.project-card h3 a:hover {
    color: #97bc62;
    text-decoration: underline;
}

.project-description {
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #888;
    align-items: center;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.project-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.project-media {
  flex: 0 0 38%;
  max-width: 420px;
}

.project-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

/* Text column */
.project-text {
  flex: 1 1 50%;
  min-width: 220px;
}

/* Reverse on right-media sections */
.project-section--media-right {
  flex-direction: row-reverse;
}

/* Stack vertically on small screens */
@media (max-width: 768px) {
  .project-section {
    flex-direction: column;
  }
  .project-media, .project-text {
    flex: 1 1 100%;
    max-width: none;
  }
}

.language {
    background: #e8f5e9;
    color: #215732;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

.topics {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.topic-tag {
    background: #f0f0f0;
    color: #555;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

footer {
    background: #2c5f2d;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer a {
    color: #97bc62;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #215732;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

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

    header h1 {
        font-size: 2rem;
    }

    .stats {
        gap: 2rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .nav-menu a {
        text-align: center;
    }
    
    .opportunities-grid {
        grid-template-columns: 1fr;
    }
}

/* Opportunities Page Styles */
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.opportunity-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.opportunity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.opportunity-highlight {
    border: 2px solid #2c5f2d;
    box-shadow: 0 4px 16px rgba(44, 95, 45, 0.15);
}

.opportunity-highlight:hover {
    box-shadow: 0 8px 24px rgba(44, 95, 45, 0.25);
}

.opportunity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.opportunity-card h3 {
    color: #2c5f2d;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.opportunity-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.status-open {
    background: #dcf4dc;
    color: #1b5e1f;
    border: 2px solid #2c5f2d;
}

.status-rolling {
    background: #e3f2fd;
    color: #1565c0;
    border: 2px solid #42a5f5;
}

.status-available {
    background: #fff3e0;
    color: #e65100;
    border: 2px solid #ff9800;
}

.opportunity-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.opportunity-details {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    margin-bottom: 0.75rem;
    color: #555;
    line-height: 1.6;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    color: #333;
}

.opportunity-requirements {
    background: #f0f8f0;
    border-left: 4px solid #2c5f2d;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.opportunity-requirements strong {
    color: #2c5f2d;
    display: block;
    margin-bottom: 0.5rem;
}

.opportunity-requirements ul {
    margin: 0.5rem 0 0 1.5rem;
    color: #555;
}

.opportunity-requirements li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.opportunity-cta {
    text-align: center;
    margin-top: 1.5rem;
}

.apply-button {
    display: inline-block;
    background: linear-gradient(135deg, #2c5f2d 0%, #3a7a3d 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

.apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 95, 45, 0.4);
    background: linear-gradient(135deg, #1a4a1b 0%, #2c5f2d 100%);
}

