body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f6f9;
  color: #333;
}

.page-header {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

h1, h2 {
  margin-bottom: 30px;
}

/* ===== SECTION STYLES ===== */

.section-white,
.section-light,
.cv-section {
  padding: 60px 20px;
  text-align: center;
}

.section-white {
  background-color: white;
}

.section-light {
  background-color: #f4f6f9;
}

/* ===== CV SECTION ===== */

.cv-container {
  max-width: 600px;
  margin: 0 auto;
}

.cv-preview {
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.cv-preview:hover {
  transform: scale(1.03);
}

.cv-actions {
  margin-top: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  margin: 8px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn.primary {
  background-color: #007bff;
  color: white;
}

.btn.primary:hover {
  background-color: #0056b3;
}

.btn.secondary {
  background-color: #444;
  color: white;
}

.btn.secondary:hover {
  background-color: #222;
}

/* ===== CERTIFICATE GRID ===== */

.certificate-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.certificate-card {
  max-width: 280px;
}

.certificate-card img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.certificate-card img:hover {
  transform: scale(1.05);
}

.certificate-card p {
  margin-top: 12px;
  font-weight: 600;
}

/* ===== FOOTER ===== */

.footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px;
}
#education p {
    display: block !important;
    opacity: 1 !important;
    color: #333;          /* Make sure it contrasts with background */
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}