    /* Project-specific styles inline to avoid conflicts */
    .project-overview {
      background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%);
      border-left: 5px solid var(--accent-color);
    }
    
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 25px;
      margin: 30px 0;
    }
    
    .stat-card {
      background: rgba(255, 255, 255, 0.95);
      padding: 25px 20px;
      border-radius: var(--border-radius);
      text-align: center;
      box-shadow: var(--box-shadow);
      border-left: 4px solid var(--accent-color);
      transition: var(--transition);
    }
    
    .stat-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.12);
      border-left-color: var(--primary-color);
    }
    
    .stat-icon {
      font-size: 2.5em;
      margin-bottom: 15px;
      display: block;
    }
    
    .stat-number {
      font-size: 2.1em;
      font-weight: 700;
      color: var(--primary-color);
      line-height: 1;
    }
    
    .stat-unit {
      font-size: 1em;
      color: var(--secondary-color);
      font-weight: 600;
      margin-top: -4px;
    }
    
    .stat-label {
      font-size: 0.92em;
      color: #666;
      margin-top: 8px;
    }
    
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
      gap: 28px;
      margin-top: 30px;
    }
    
    .project-card {
      background: rgba(255, 255, 255, 0.95);
      border-radius: var(--border-radius);
      padding: 30px;
      box-shadow: var(--box-shadow);
      border-left: 5px solid var(--accent-color);
      transition: var(--transition);
    }
    
    .project-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 35px rgba(0,0,0,0.15);
      border-left-color: var(--primary-color);
    }
    
    .project-card.featured {
      border-left-color: var(--primary-color);
      box-shadow: 0 8px 30px rgba(0,0,0,0.15);
      position: relative;
    }
    
    .project-badge {
      position: absolute;
      top: -10px;
      right: 20px;
      background: var(--primary-color);
      color: white;
      padding: 6px 14px;
      border-radius: 16px;
      font-size: 0.8em;
      font-weight: 700;
    }
    
    .project-header {
      display: flex;
      align-items: flex-start;
      gap: 20px;
      margin-bottom: 18px;
    }
    
    .project-icon {
      font-size: 2.8em;
      width: 70px;
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(167,201,87,0.1);
      border-radius: 50%;
      flex-shrink: 0;
    }
    
    .project-meta h3 {
      color: var(--primary-color);
      font-size: 1.3em;
      margin: 0 0 8px;
      line-height: 1.3;
    }
    
    .project-org {
      color: var(--secondary-color);
      font-weight: 600;
      font-size: 1.05em;
      margin-bottom: 4px;
    }
    
    .project-duration {
      color: #666;
      font-size: 0.95em;
    }
    
    .project-role {
      background: rgba(106, 153, 78, 0.1);
      color: var(--secondary-color);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.85em;
      font-weight: 600;
      display: inline-block;
      margin-top: 8px;
    }
    
    .project-description {
      margin: 16px 0;
      line-height: 1.7;
      color: #555;
    }
    
    .project-funders {
      margin: 16px 0;
      background: rgba(248,249,250,0.8);
      padding: 16px;
      border-radius: var(--border-radius);
      border-left: 3px solid var(--secondary-color);
    }
    
    .project-funders h5 {
      color: var(--primary-color);
      margin: 0 0 10px;
      font-size: 1.05em;
    }
    
    .funders-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    
    .funder-tag {
      background: rgba(255,255,255,0.9);
      padding: 6px 12px;
      border-radius: var(--border-radius);
      font-size: 0.9em;
      color: var(--primary-color);
      font-weight: 600;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
    
    .project-objectives {
      margin: 16px 0;
    }
    
    .project-objectives h5 {
      color: var(--primary-color);
      margin: 0 0 10px;
      font-size: 1.05em;
    }
    
    .project-objectives ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .project-objectives li {
      margin-bottom: 8px;
      padding-left: 20px;
      position: relative;
      color: #555;
      line-height: 1.6;
    }
    
    .project-objectives li::before {
      content: '✓';
      position: absolute;
      left: 0;
      color: var(--accent-color);
      font-weight: 700;
    }

    .project-title-italic {
       color: var(--secondary-color); 
       font-style: italic; 
       margin-bottom: 10px; 
      }
    
    .status-badge {
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 0.85em;
      font-weight: 700;
      text-transform: uppercase;
    }
    
    .status-badge.ongoing {
      background: #d4edda;
      color: #155724;
    }
    
    .status-badge.completed {
      background: #d1ecf1;
      color: #0c5460;
    }
    
    .compact-projects {
      margin-top: 30px;
    }
    
    .compact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 20px;
    }
    
    .compact-card {
      background: rgba(255, 255, 255, 0.95);
      padding: 20px;
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      border-top: 4px solid var(--accent-color);
      transition: var(--transition);
    }
    
    .compact-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }
    
    .compact-header {
      display: flex;
      justify-content: space-between;
      align-items: start;
      margin-bottom: 12px;
    }
    
    .compact-card h4 {
      color: var(--primary-color);
      font-size: 1.1em;
      line-height: 1.3;
      margin: 0;
    }
    
    .client-tag {
      background: var(--secondary-color);
      color: white;
      padding: 3px 8px;
      border-radius: 12px;
      font-size: 0.75em;
      font-weight: 700;
      flex-shrink: 0;
    }
    
    .compact-details {
      margin-bottom: 10px;
    }
    
    .detail-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 4px;
      font-size: 0.9em;
    }
    
    .detail-label {
      font-weight: 700;
      color: var(--primary-color);
    }
    
    .detail-value {
      color: #555;
      text-align: right;
      flex: 1;
      margin-left: 10px;
    }
    
    @media (max-width: 768px) {
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .projects-grid,
      .compact-grid {
        grid-template-columns: 1fr;
      }
      
      .project-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
      }
      
      .funders-list {
        flex-direction: column;
      }
      
      .detail-row {
        flex-direction: column;
        text-align: left;
      }
      
      .detail-value {
        text-align: left;
        margin-left: 0;
        margin-top: 2px;
      }
    }
    
    @media (max-width: 480px) {
      .stats-grid {
        grid-template-columns: 1fr;
      }
    }

/* Academic involvement disclaimer styling */
.project-note {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #6c757d;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.academic-note {
  margin: 0;
  font-size: 0.9rem;
  color: #495057;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.academic-note em {
  font-style: normal;
  font-weight: 600;
  color: #343a40;
}

/* Responsive adjustments for project notes */
@media (max-width: 768px) {
  .project-note {
    margin: 0.75rem 0;
    padding: 0.6rem 0.8rem;
  }

  .academic-note {
    font-size: 0.85rem;
  }
}