:root {
  --box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  --bg: #f2f2f2;
  --black: #222;
  --white: white;
}

* {
  font-family: "Poppins", "sans-serif";
  margin: 0;
  padding: 0;
  outline: 0;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;

  scroll-padding-top: 6rem;
}
.btn {
  margin-top: 1rem;
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  padding: 1rem 3rem;
}

.btn:hover {
  letter-spacing: 0.2rem;
}
.heading {
  text-align: center;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-size: 2rem;
  margin-top: 2rem;
}

.heading span {
  color: var(--primary-color);
  text-transform: uppercase;
}
/* header */
.Header {
  /* padding-top: 1rem;
    padding-bottom: 1rem; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  z-index: 1000;
  text-align: center;
}

.Header .logo {
  display: flex;
  align-items: center;
}

.Header .logo img {
  height: 4rem;
  border-radius: 50px;
  padding: 1rem;
}

.Header .navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2rem;
}

.Header .navbar a {
  margin: 0 1rem;
  padding: 5px 10px;
  text-align: center;
  font-size: 1.2rem;
  color: var(--black);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.Header .navbar a:hover {
  background-color: #e74c3c;
  color: white;
  transform: translateY(-2px);
}

#menu-btn {
  display: none;
}

/* lost and found form */
.container {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  align-items: center;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background: url("") no-repeat center center;
  background-size: cover;
  filter: blur(6px); /* Adjust blur level as needed */
  z-index: -1;
}

.box {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  z-index: 1;
}

.box h2 {
  margin-top: 0;
  text-align: center;
}

.box form {
  display: flex;
  flex-direction: column;
}

.box label {
  margin: 0.5rem 0 0.2rem;
}

.box input[type="text"],
.box textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.box input[type="file"] {
  margin-bottom: 1rem;
}

.box button {
  padding: 0.5rem;
  border: none;
  background-color: var(--black);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.box button:hover {
  background-color: rgb(34, 33, 33);
}

/* item-list */
/* Common styles for the item list */
.item-list {
  width: auto;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.item-list table {
  width: 100%;
  border: 1px solid #ddd;
  margin-bottom: 2rem;
  border-collapse: collapse;
}

.item-list th,
.item-list td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}

.item-list th {
  background-color: var(--black);
  color: white;
}

.item-list tr:nth-child(even) {
  background-color: lightgrey;
}

.item-list tr:nth-child(odd) {
  background-color: white;
}

/* Target images inside a specific class */
.item-list img {
  max-width: 100%; /* Ensure the image does not exceed the container's width */
  height: 100px; /* Maintain aspect ratio */
  object-fit: cover; /* Ensure the image covers the container without distortion */
  display: block; /* Prevents any extra space below the image */
}

.fullscreen-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.fullscreen-overlay.active {
  display: flex;
}

.fullscreen-image {
  max-width: 90%;
  max-height: 90%;
}

.fullscreen-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* contact */

.contact {
  background: var(--bg);
  padding: 0rem 6rem; /* Reduce padding */
}

.contact .contactrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6rem; /* Reduce gap between elements */
}

.contact .contactrow .image {
  flex: 1 1 40rem;
}

.contact .contactrow .image img {
  width: 100%;
}

.contact .contactrow form {
  flex: 1 1 30rem;
  border: 0.1rem solid var(--black);
  padding: 1rem; /* Reduce padding */
  height: 70vh;
}

.contact .contactrow form h3 {
  font-size: 2.5rem; /* Optionally reduce font size */
  text-align: center;
  padding-bottom: 0.5rem; /* Reduce padding */
  color: var(--black);
}

.contact .contactrow form span {
  display: flex;
  padding-bottom: 0.5rem; /* Reduce padding */
  color: var(--black);
  font-size: 1.4rem; /* Optionally reduce font size */
}

.contact .contactrow form .box1 {
  width: 100%;
  background: none;
  border-bottom: 0.1rem solid var(--black);
  font-size: 1.4rem; /* Optionally reduce font size */
  color: var(--black);
  text-transform: none;
  padding: 0.25rem 0; /* Reduce padding */
  margin-bottom: 0.5rem; /* Reduce margin */
}

.contact .contactrow form textarea {
  height: 10rem; /* Reduce height */
  resize: none;
  padding: 0.5rem; /* Optionally adjust padding */
}

@media (max-width: 768px) {
  /* Adjust padding for smaller screens */
  .contact {
    padding: 0 2rem;
    margin-bottom: 20px;
  }
  
  /* Reduce the gap between elements */
  .contact .contactrow {
    gap: 3rem;
  }
  
  .contact .contactrow form {
    height: auto; /* Make height auto to accommodate content */
    min-height: 30vh; /* Set a minimum height */
    padding: 1rem 0.8rem; /* Slightly reduce padding */
  }
  
  .contact .contactrow form h3 {
    font-size: 1.8rem; /* Further adjusted font size for smaller screens */
  }

  .contact .contactrow form .box1,
  .contact .contactrow form textarea {
    font-size: 1.2rem; /* Adjusted font size for mobile inputs */
  }
  
  .contact .contactrow form textarea {
    height: 8rem; /* Reduce textarea height for mobile */
  }
}

@media (max-width: 480px) {
  /* Even smaller screens */
  .contact {
    padding: 0 1rem;
  }
  
  .contact .contactrow {
    gap: 2rem;
  }
  
  .contact .contactrow form h3 {
    font-size: 1.5rem;
  }
  
  .contact .contactrow form span {
    font-size: 1.1rem;
  }
  
  .contact .contactrow form .box1,
  .contact .contactrow form textarea {
    font-size: 1rem;
  }
}

/* contact */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px;
}

.footer-column {
  flex: 1;
  margin: 10px;
  min-width: 200px;
}

.footer-column h3 {
  margin-bottom: 10px;
}

.footer-column p,
.footer-column a,
.footer-column ul,
.footer-column li {
  margin: 5px 0;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column img {
  width: 24px;
  height: 24px;
  margin: 0 5px;
}

.footer-bottom {
  margin-top: 20px;
}

.footer-bottom p {
  margin: 0;
}

.social-icons a {
  font-size: 2rem; /* Adjust the size as needed */
  color: #333; /* Default icon color */
  margin: 0 10px; /* Spacing between icons */
  text-decoration: none; /* Remove underline from links */
}
.social-icons a:hover {
  color: #007bff; /* Change color on hover */
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .Header {
    padding: 1.5rem 2rem;
  }

  .Header .navbar a {
    font-size: 1.3rem;
    margin: 0 0.8rem;
  }

  section {
    padding: 2rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .home .slide .content h3 {
    font-size: 3rem;
  }

  .home .slide .content span {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
}


@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .home .slide .content h3 {
    font-size: 3rem;
  }

  .home .slide .content span {
    font-size: 2rem;
  }
}

@media (max-width: 991px) {
  table {
    font-size: 0.9rem; /* Adjust font size for smaller screens */
  }
}

@media (max-width: 768px) {
  table {
    font-size: 0.8rem; /* Further reduce font size for very small screens */
  }

  th,
  td {
    padding: 0.4rem; /* Reduce padding to fit content better */
  }

  /* Add horizontal scroll for tables on small screens */
  .table-container {
    overflow-x: auto;
  }
}

/* Mobile Menu Button */
@media (max-width: 768px) {
  #menu-btn {
    display: block;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--black);
    transition: all 0.3s ease;
  }

  .fa-times {
    transform: rotate(180deg);
  }
}

/* Enhanced mobile navigation styling for new menu items */
@media (max-width: 991px) {
  .Header .navbar a {
    font-size: 1.1rem;
    margin: 0 0.5rem;
    padding: 8px 12px;
  }
}

@media (max-width: 768px) {
  .Header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 0.1rem solid #e74c3c;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: all 0.3s ease;
  }

  .Header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .Header .navbar a {
    display: block;
    margin: 0.8rem 0;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    width: 85%;
    text-align: center;
    background: rgba(231, 76, 60, 0.05);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .Header .navbar a:hover {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    transform: none;
  }
}

@media (max-width: 450px) {
  table {
    font-size: 0.7rem; /* Further reduce font size for very small screens */
  }

  th,
  td {
    padding: 0.3rem; /* Reduce padding to fit content better */
  }
}

.alert.success {
  color: green;
  background: none; /* if you want no background */
  font-weight: bold;
  margin-top: 10px;
}

.alert.error {
  color: red;
  background: none;
  font-weight: bold;
  margin-top: 10px;
}

.alert {
   margin-top: 5px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  max-width: 600px;
   
}

.alert-success {
   
  color: #14a435;
  
}
