body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f4f6f8;
  color: #003366;
}

.header {
  background: linear-gradient(135deg, #003366, #FFC000);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
}

.home-link {
  display: inline-block;
  margin-top: 1rem;
  color: #fff;
  background: rgba(0,0,0,0.2);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
}

.approach {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem;
  background: #fff;
}

.approach-content {
  flex: 1 1 300px;
  padding-right: 1.5rem;
}

.approach-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.approach-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.accordion-section {
  padding: 2rem;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.accordion-header {
  background-color: #003366;
  color: white;
  padding: 1rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 0.8rem;
}

.accordion-header i {
  font-size: 1.2rem;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1rem;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 1rem;
  background-color: #f0f0f0;
  border-left: 3px solid #FFC000;
  margin-bottom: 1rem;
  border-radius: 0 0 6px 6px;
}

.light-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #f5f5f5; /* Light grey body */
  color: #333;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.light-table th,
.light-table td {
  padding: 14px 20px;
  text-align: left;
  border: 1px solid #fff; /* White borders */
}

.light-table thead {
  background-color: #003366; /* Brand blue */
}

.light-table thead th {
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}

.light-table tbody tr {
  transition: background-color 0.2s ease;
}

.light-table tbody tr:hover {
  background-color: #eaeaea;
}

.light-table a {
  color: #FFC000; /* Gold for links */
  font-weight: 600;
  text-decoration: none;
}

.light-table a:hover {
  text-decoration: underline;
}


.cert-card {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 0.5rem;
  z-index: 999;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.cert-card.minimized .cert-card-content {
  display: none;
}

.cert-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.cert-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px #FFD700;
}

.cert-card-content {
  display: flex;
  flex-direction: column;
  color: #fff;
  position: relative;
}

.cert-card-content p {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 500;
}

.cert-card-content a {
  background-color: #FFD700;
  color: #003366;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

.cert-card-content a:hover {
  background-color: #ffe066;
}

.cert-minimize-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #fff;
  color: #003366;
  border: none;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.cert-minimize-btn:hover {
  background-color: #ffcc00;
  color: #000;
  box-shadow: 0 0 10px #ffcc00;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 215, 0, 1);
    transform: scale(1.1);
  }
}

.cert-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glowPulse 2s infinite ease-in-out;
  transition: transform 0.2s ease;
}

footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
}

@media (max-width: 768px) {
  .approach {
    flex-direction: column;
    align-items: center;
  }

  .home-link {
    position: static;
    display: block;
    margin-bottom: 1rem;
  }


  .training-table {
    width: 100%;
    overflow-x: auto;
  }

  .training-table table {
    width: 100%;
    width: 600px; /* Keep a fixed width so horizontal scroll works */
    border-collapse: separate;
  }

}
