body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  background: url("images/img1.avif") no-repeat center center/cover;
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  filter: blur(8px);
  z-index: -1;
}

.sidebar {
  width: 250px;
  background: #f8f9fa;
  height: 100vh;
  padding: 20px;
  position: fixed;
  left: 0;
  top: 0;
}

.sidebar .logo img {
  width: 100%;
  height: auto;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}
.nav-menu li {
  padding: 15px 10px;
}
.nav-menu a {
  text-decoration: none;
  color: #00346c;
  font-size: 18px;
  font-weight: bold;
  display: block;
}
.nav-menu a:hover {
  color: #c40000;
}

.main-content {
  margin-left: 300px;
  padding: 40px;
  width: calc(100% - 250px);
}

.form-section,
.data-table {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.form-section input,
.form-section select,
.form-section textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.form-section button {
  background: #8cc63f;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.form-section button:hover {
  background: #72a02c;
}

.data-table table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.actions button {
  border: none;
  padding: 8px;
  margin: 3px;
  cursor: pointer;
  border-radius: 5px;
}

.edit-btn {
  background: blue;
  color: white;
}
.delete-btn {
  background: red;
  color: white;
}
.view-btn {
  background: green;
  color: white;
}

.logo-line {
  border: 1px solid #00346c;
  margin: 10px 0;
}
.logo2-line {
  border: 1px solid #cf0000;
  margin: 5px 0;
}

.nav-box {
  display: block;
  padding: 12px;
  text-align: center;
  background: #00346c;
  color: white;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.nav-box:hover {
  background: red;
}

.section-content {
  display: none;
  padding: 25px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  backdrop-filter: blur(10px);
}

#home {
  max-width: 1300px;
  margin: auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  backdrop-filter: blur(10px);
}

#home h2 {
  color: #2c3e50;
  font-size: 30px;
  font-weight: 700;
}

#home p {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
}

#home h3 {
  color: #00346c;
  font-size: 22px;
  font-weight: 600;
  margin-top: 20px;
}

#home ul {
  list-style: none;
  padding: 0;
}

#home ul li {
  background: linear-gradient(to right, #00346c, #00346c);
  color: #fff;
  padding: 14px;
  margin: 8px 0;
  border-radius: 10px;
  font-size: 17px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

#home ul li:hover {
  transform: scale(1.05);
}
.image-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

.slider-track {
  display: flex;
  width: calc(250px * 16);
  animation: scroll 35s linear infinite;
}

.slider-track img {
  width: 500px;
  height: 350px;
  object-fit: cover;
  margin-right: 5px;
  border-radius: 10px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

#logout {
  max-width: 800px;
  margin: auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  backdrop-filter: blur(10px);
}

#logout h2 {
  color: #d32f2f; /* Dark red */
  font-size: 28px;
  font-weight: bold;
}

#logout p {
  color: #555;
  font-size: 18px;
  margin-bottom: 20px;
}

#logout button {
  background: #c40000; /* Red button */
  color: white;
  padding: 12px 20px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  display: block;
  margin: 0 auto; /* Center the button horizontally */
  text-align: center;
}

#logout button:hover {
  background: #00346c; /* Darker red on hover */
}
.watermark {
  position: fixed;
  bottom: 40px;
  left: 55px;
  width:170px;
  opacity: 1;
}
section#profile {
  max-width: 600px;
  margin: 70px auto;
  padding: 70px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
}

h2 {
  text-align: center;
  color: #00346c;
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 10px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: 500;
  color: #000000;
  font-size: 17px;
  font: bold;
  
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #c40000;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease-in-out;
}

input:focus {
  border-color: #00346c;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.gender-options {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.gender-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: #000000;
  cursor: pointer;
}

.gender-input {
  transform: scale(1.2);
  cursor: pointer;
}

button {
  width: 100%;
  padding: 12px;
  background: #00346c;
  color: white;
  border: none;
  width: 50%;
  align-items: center;
  margin-left: 140px;
  margin-top: 5px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

button:hover {
  background: #c40000;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  transition: 0.3s;
}
@media (max-width: 480px) {
  section#profile {
      max-width: 90%;
      padding: 20px;
  }
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding: 40px;
  text-align: center;

}

.category-box {
  background: #ffffff;
  border: 2px solid #ca0000;
  border-radius: 10px;
  padding: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-align: center;
}

.category-box img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.category-box p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
}

.category-box:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

#reportForm {
  background: #f8f9fa;
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: auto;
}

#reportForm h2 {
  text-align: center;
  font-size: 32px;
  color: #00346c;
  margin-bottom: 15px;
}

#violationForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#violationForm label {
  font-weight: 600;
  color: #000000;
}

#violationForm input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ca0000;
  border-radius: 4px;
  font-size: 16px;
}

#violationForm input[readonly] {
  background-color: #ca0000;
  cursor: not-allowed;
  color: #ffffff;
}

#violationForm input[type="file"] {
  border: 1px solid #ca0000;
}

#violationForm button {
  background: #00346c;
  color: white;
  padding: 10px ;
  width: 50%;
  align-items: center;
  margin-left: 140px;
  margin-top: 20px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Poppins', sans-serif;
}
#violationForm button:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  background: #ca0000;
}

#otherViolationsForm {
  background: #f8f9fa;
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: auto;
}

#otherViolationsForm h2 {
  text-align: center;
  font-size: 32px;
  color: #00346c;
  margin-bottom: 15px;
}

#otherViolationForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#otherViolationForm label {
  font-weight: 600;
  color: #000000;
}

#otherViolationForm select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ca0000;
  border-radius: 4px;
  font-size: 16px;
}

#otherViolationForm input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ca0000;
  border-radius: 4px;
  font-size: 16px;
}

#otherViolationForm input[readonly] {
  background-color: #ca0000;
  cursor: not-allowed;
  color: #ffffff;
}

#otherViolationForm input[type="file"] {
  border: 1px solid #ca0000;
}

#otherViolationForm button {
  background: #00346c;
  color: white;
  padding: 10px ;
  width: 50%;
  align-items: center;
  margin-left: 140px;
  margin-top: 20px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Poppins', sans-serif;
}
#otherViolationForm button:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  background: #ca0000;
}
#howtouse {
  max-width: 800px;
  margin: 40px auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
  color: #2b2b2b;
}

#howtouse h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00346c;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

#howtouse .intro-text,
#howtouse .outro-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #ca0000;
  font-weight: bold;
}

#howtouse .outro-text{
  margin-left: 100px;
}

#howtouse .step-list {
  padding-left: 20px;
  margin-bottom: 30px;
}

#howtouse .step-list li {
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 1rem;
  position: relative;
  padding-left: 10px;
}

#howtouse .step-list li::marker {
  color: #00346c;
  font-weight: bold;
}

#howtouse strong {
  color: #202124;
}

/* Team Section Styling */
#aboutus {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

#aboutus h2 {
  font-size: 2.5rem;
  color: #00346c;
  margin-bottom: 10px;
}

.team-intro {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #333;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.team-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 320px;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px #00346c;
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #00346c;
}

.team-card h3 {
  margin: 10px 0 5px;
  color: #ca0000;
}

.team-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-icons a {
  color: #00346c;
  font-size: 1.2rem;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #ca0000;
  transform: scale(1.2);
}
#contactus {
  background-color: #f9f9f9;
  padding: 40px 20px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
}

#contactus h2 {
  text-align: center;
  font-size: 28px;
  color: #00346c;
  margin-bottom: 20px;
}

#contactus p {
  font-size: 16px;
  color: #00346c;
  line-height: 1.6;
  text-align: center;
}

.contact-info {
  text-align: center;
  margin-bottom: 30px;
}

.contact-info p {
  margin: 5px 0;
}

#contact-form {
  display: flex;
  flex-direction: column;
}

#contact-form label {
  font-weight: bold;
  color: #333;
}
.wallet-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f1f1;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wallet-info h3 {
  margin: 0;
  font-size: 20px;
  color: #00346c;
}

.wallet-amount {
  font-size: 28px;
  font-weight: bold;
  color: #c40000;
  margin-top: 5px;
}

.withdraw-btn {
  background: #00346c;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.withdraw-btn:hover {
  background: #c40000;
}

.reward-history {
  width: 100%;
  margin-top: 20px;
}

.reward-history h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #00346c;
}

.reward-history table {
  width: 100%;
  border-collapse: collapse;
}

.reward-history th,
.reward-history td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.reward-history th {
  background-color: #00346c;
  color: white;
}

.reward-history tr:nth-child(even) {
  background-color: #f9f9f9;
}
#reportFormElement {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #ca0000;
  border-radius: 12px;
  max-width: 500px;
  margin: 30px auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

#reportFormElement label {
  font-weight: 600;
  color: #00346c;
}

#reportFormElement input,
#reportFormElement select {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ca0000;
  border-radius: 8px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

#reportFormElement input:focus {
  border-color: #00346c;
  outline: none;
}

#reportFormElement button {
  background: #00346c;
  color: white;
  padding: 12px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 50%;
  margin: 20px auto 0;
}

#reportFormElement button:hover {
  background: #c40000;
}

