body {
      background-color: #edeeef;
      color: #333;
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
    /* Navbar brand style */
.navbar-brand {
      font-weight: 700;
      font-size: 1.5rem;
      color: #007bff;
}

.navbar-nav .nav-link {
      font-weight: 500;
      color: rgb(9, 62, 91);
      font-weight: bold;
      font-size: 20px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
      color: #007bff;}

.video-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1; /* keep behind other content */
}

#page2 img {
      max-width: 100%;
      height: auto;
      display: block;
      margin-left: auto;
      margin-right: auto;
}

.container img{
      max-width: 100%;
      height: auto;
      margin: 1rem 0;
      border-radius: 8px;
}
.trackstatus{
      margin: 15px;
      padding: 3rem 1rem;
      background: white;
      border-radius: 8px;
      box-shadow: 0 0 12px rgb(0 0 0 / 0.1);
      margin-bottom: 3rem;
      text-align: center;
      box-shadow: 3px 4px 6px rgb(15, 119, 145);
}
#statusBox{
      float: left;
}
.trackstatus h2{
      color: green;
}
#status{
      display: none;
      text-align: center;
      border: 1px solid wheat;
}
section#page2 {
      padding: 1rem 1rem;
      background: white;
      border-radius: 8px;
      box-shadow: 0 0 12px rgb(0 0 0 / 0.1);
      margin-bottom: 3rem;
}
.fines-section {
      padding: 2rem;
      background-color: #f9f9f9;
}

.badge {
      font-size: 1em;
      padding: 0.5em 1em;
      border-radius: 0.4em;
}
h1{
      text-align: center;
      color: rgb(7, 22, 10);
      border-radius: 5px;
}
section#page2 h2 {
      font-size: 2.25rem;
      margin-bottom: 0.75rem;
      text-align: center;
      background-color: #007bff;
      color: white;
      font-weight: bold;
}
section#page2 p {
      color: #2f67a3;
      margin-left: 30px;
      text-align: center;
      font-weight: bold;
}
.history{
      background-color: white;
}
.history p{
      padding: 30px;
}
.history h3{
      text-align: center;
      padding: 5px;
      color: #136f07;
}

.headerChart {
      margin: 20px;
      background-color: #056a51;
      color: white;
      padding: 20px;
      text-align: center;
}

.chart {
      padding: 2rem;
      max-width: 800px;
      margin: auto;
}

canvas {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      padding: 10px;
}

.chart h2 {
      margin-bottom: 1rem;
      font-size: 1.4rem;
}
.primary{
      background-color: #a5a596;
      max-width: 1000px;
}


footer {
      background: #222;
      color: #eee;
      padding: 2rem 1rem;
      margin-top: 3rem;
}

#footer {
      color: rgb(217, 212, 212);
      clear: both;
      text-align: center;
      padding: 20px;
}

form {
      width: 90%;
      max-width: 700px;
      margin: 20px auto;
      padding: 20px;
      border: 1px solid #ccc;
      border-radius: 5px;
      background-color: #e7e2e2;
      box-shadow: 0 0 10px rgba(0, 0, 0);
}

form h1, label {
      color: #0a8bd1;
}
footer p{
      font-size: 20px;
      font-family: monospace;
}

label {
      display: block;
      margin-bottom: 5px;
      font-weight: bold;
      float: left;
}

input[type="text"] {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 5px;
}

input[type="submit"] {
      background-color: #4caf50;
      color: white;
      padding: 10px;
      border: none;
      border-radius: 5px;
      width: 100%;
      cursor: pointer;
}

input[type="submit"]:hover {
      background-color: #45a049;
}

input::placeholder {
      color: #737379;
      font-style: italic;
      font-family: monospace;
}

.btn-custom {
      background-color: #007bff;
      border: none;
      color: white;
      padding: 0.5rem 1.25rem;
      font-weight: 600;
      border-radius: 5px;
      transition: background-color 0.3s ease;
}

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

h1 {
      text-align: center;
      margin-top: 30px;
      color: #007bff;
      font-weight: bold;
}

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

.certificate-box {
      background-color: #fff;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 4px 5px rgba(0, 0, 0, 0.15);
      max-width: 350px;
      text-align: center;
      cursor: pointer;
}

.certificate-box img {
      width: 100%;
      max-width: 220px;
      border-radius: 10px;
      transition: transform 0.2s;
}

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

.certificate-box p {
      margin-top: 10px;
      font-size: 18px;
}

    /* Modal viewer */
.modal-content {
      height: 90vh;
      }

      .modal-body iframe, .modal-body img {
      width: 100%;
      height: 100%;
      border: none;
}


.dropdown {
      position: relative;
      display: inline-block;
}

.dropdown-toggle {
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
}

.dropdown-toggle img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
}

.dropdown-menu {
      display: none;
      position: absolute;
      right: 0;
      background-color: #fff;
      min-width: 160px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      border-radius: 4px;
      margin-top: 10px;
      z-index: 1000;
}

.dropdown-menu a {
      color: #0073e6;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
}

.dropdown-menu a:hover {
      background-color: #f1f1f1;
}

.show {
      display: block;
}

#payeFines .btn{
      display: flex;
      max-width: 600px;
      margin-left: 30px;
      font-family: Arial, sans-serif;
      justify-content: center;
      align-items: center;
      margin: 30px;
}
#payeFines .content{
      text-align: center;
      border-top:solid #e0a800;
      border-bottom:solid red;
}
#payeFines .payment-container {
      display: none;
      margin-top: 0;
      margin: 30px auto;
      background: #fff;
      padding: 25px;
      border-radius: 12px;
      box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
      width: 350px;
      text-align: center;
}
#payeFines .payment-container h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #ffc107;
}
#payeFines label {
      font-weight: bold;
      margin-top: 10px;
      display: block;
}
#payeFines input {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      margin-bottom: 17px;
      border: 1px solid #ccc;
      border-radius: 8px;
}
#payeFines button {
      background: #ffc107;
      color: #000;
      border: none;
      padding: 12px;
      width: 100%;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
}
#payeFines button:hover {
      background: #e0a800;
}
#payeFines{
      display: none;
      background-color: #fefcf7;
}

.marquee-container {
      width: 100%;
      overflow: hidden;
      background-color: #f0f0f0;
      padding: 10px 0;
}

.marquee-text {
      display: inline-block;
      white-space: nowrap;
      animation: marquee 7s linear infinite;
      font-size: 2rem;
      font-weight: bold;
      color: green;
}

@keyframes marquee {
      0%   { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
}

    /* Optional: Pause on hover */
.marquee-text:hover {
      animation-play-state: paused;
      cursor: pointer;
}
