section {
  padding: 2rem;
  max-width: 1300px;
  margin: auto;
}

h2 {
  color: #800000;
  margin-bottom: 1rem;
  border-bottom: 3px solid #0a2740;
  padding-bottom: 0.5rem;
}

/* Table Styling */
.experience-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

.experience-table th, 
.experience-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e6ed;
  font-size: 0.9rem;
}

.experience-table th {
  background: #0a2740;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.experience-table tr:nth-child(even) {
  background: #f4f7fb;
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
}

/* Mobile Card Styling */
.experience-card {
  display: none;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
  padding: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  /* font-size: 0.95rem; */
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

table th, table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
}

table th {
  background-color: #f7f7f7;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #fafafa;
}

tr:hover {
  background-color: #f1f1f1;
}

.experience-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #0a2740;
}

.experience-card p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Status Colors */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff;
}

.status-completed {
  color: #28a745;
  font-weight: bold;
}
.status-inprogress {
  color: #007bff;
  font-weight: bold;
}
.status-partial {
    background-color: #ffc107;
    color: #000;
}

.status-withdrawn {
  color: #dc3545;
  font-weight: bold;
}

.detail-row {
    display: flex;
    /* margin: 10px 20px; */
    color: #555;
    font-size: 1rem;
}

.label {
    width: 100px; 
    font-weight: bold;
    padding-right: 10px;
    color: #2c3e50;
}

.value {
    flex: 1;
}


/* Responsive Layout */
@media (max-width: 768px) {
  .experience-table {
    display: none;
  }
  .experience-card {
    display: block;
  }
}
