/* =========================
   General Layout
========================= */

body {
    background-color: #fffacd; /* light yellow background */
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    color: #333333;
}
footer {
  background-color: #003366; /* Dark Blue */
  color: #ffffff;
  padding: 30px 20px;
}
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #ffcc00;
}
.footer-copy {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: #d35400; /* deep orange headings */
    font-weight: bold;
}

a {
    color: #d35400;
    text-decoration: none;
}

a:hover {
    color: #a04000;
    text-decoration: underline;
}

/* =========================
   Navbar / Menu
========================= */

.navbar {
    background-color: #d35400;
}

.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #ffeaa7 !important;
}

/* =========================
   Buttons
========================= */

.btn-primary {
    background-color: #d35400;
    border-color: #d35400;
}

.btn-primary:hover {
    background-color: #a04000;
    border-color: #a04000;
}

.btn-success {
    background-color: #27ae60;
    border-color: #27ae60;
}

.btn-success:hover {
    background-color: #1e8449;
    border-color: #1e8449;
}

/* =========================
   Form Controls
========================= */

.form-control {
    border-radius: 5px;
    border-color: #d35400;
}

.form-control:focus {
    border-color: #a04000;
    box-shadow: 0 0 0 0.2rem rgba(211, 84, 0, 0.25);
}

/* =========================
   Card / Box Layouts
========================= */

.card {
    background-color: #ffffff;
    border: 1px solid #d35400;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =========================
   Tables
========================= */

.table th {
    background-color: #f6ddcc;
    color: #d35400;
}

.table td {
    vertical-align: middle;
}

.table img {
    height: 50px;
    border-radius: 5px;
}

/* =========================
   Certificate & ID Card
========================= */

.certificate, .idcard {
    border: 5px solid #d35400;
    border-radius: 15px;
    background-color: #fff;
    padding: 40px;
    text-align: center;
    width: 750px;
    margin: auto;
}

.certificate h2, .idcard h2 {
    color: #d35400;
    font-weight: bold;
    margin-bottom: 20px;
}

.certificate p, .idcard p {
    font-size: 18px;
    margin: 10px 0;
}

@media print {
    .no-print {
        display: none !important;
    }
}

/* =========================
   Footer
========================= */

footer {
    background-color: #d35400;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #fff;
}

/* =========================
   Misc
========================= */

.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

.text-center { text-align: center; }
