/* ===== Base Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Body & Background ===== */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #dfe9f3 0%, #ffffff 100%);
  color: #333;
  line-height: 1.7;
}

/* ===== Main Page Heading ===== */
h1 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin: 2rem 0 1.5rem;
  background: linear-gradient(90deg, #4caf50, #2e7d32);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
  letter-spacing: 1px;
}

/* ===== Section Cards ===== */
.section {
  max-width: 1100px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.section h2 {
  font-size: 1.9rem;
  color: #2e7d32;
  margin-bottom: 1.2rem;
  border-left: 6px solid #4caf50;
  padding-left: 10px;
}

/* ===== Tables ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #fafafa;
  border-radius: 10px;
  overflow: hidden;
}

/* Table Head Styling */
thead {
  background: #4caf50;
}
 table th{
  background-color: green;
  color: white;
}
thead th {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1rem;
  border-bottom: 2px solid #388e3c;
}

/* Table Body */
th, td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95rem;
}

tbody tr:nth-child(even) {
  background: #f1f8f1;
}
tbody tr:hover {
  background: #e8f5e9;
  transition: background 0.25s ease;
}

/* ===== Links ===== */
a {
  color: #1976d2;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #1976d2;
  transition: width 0.3s ease;
}
a:hover::after {
  width: 100%;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #4caf50;
  color: #fff;
  margin-top: 2rem;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
  .section {
    margin: 1rem;
    padding: 1.5rem;
  }
  h1 {
    font-size: 2.2rem;
  }
  thead th, th, td {
    padding: 0.7rem;
    font-size: 0.9rem;
  }
}
