/* Global Styles */
body {
  margin: 0;
  background-color: #f5f7fa;
  font-family: 'Poppins', sans-serif;
  color: #2e2e2e;
  overflow-x: hidden;
}

/* Navigation Bar */
.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(247,247,246,255);
  padding: 16px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 30px;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Logo Styling */
.logo {
  max-width: 120px;
  height: auto;
}

/* Navigation Links */
.link {
  display: flex;
  gap: 40px;
}

.link a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: #1a1a1a;
  position: relative;
  transition: color 0.3s ease;
  padding: 6px 0;
}

.link a:hover {
  color: #007bff;
}

.link a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #007bff;
  transition: width 0.3s ease;
}

.link a:hover::after {
  width: 100%;
}

/* Search Bar */
#searchbox {
  display: block;
  margin: 0 auto 40px auto;
  padding: 14px 24px;
  font-size: 16px;
  border-radius: 50px;
  border: none;
  outline: none;
  width: 80%;
  max-width: 600px;
  background-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

#searchbox:focus {
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.3);
}

/* Banner Text */
.banner {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  animation: fadeSlideDown 0.6s ease forwards;
}

/* Report Section (Card Grid) */
.report {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 20px 40px;
  justify-items: center;
}

/* Cards */
.box {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  text-decoration: none;
  transition: all 0.4s ease;
  transform: scale(0.96);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.box:nth-child(1) { animation-delay: 0.1s; }
.box:nth-child(2) { animation-delay: 0.2s; }
.box:nth-child(3) { animation-delay: 0.3s; }
.box:nth-child(4) { animation-delay: 0.4s; }

.box:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 32px rgba(0, 123, 255, 0.15);
}

/* Card Image */
.box img {
  width: 100%;
  height: auto;
  display: block;
}

/* Card Text */
.description {
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333333;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dashboard Filter Buttons */
/* Filter Bar */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px auto;
  padding: 0 16px;
  max-width: 1200px;
  box-sizing: border-box;
}

/* Filter Buttons */
.filter-bar button {
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.filter-bar button:hover,
.filter-bar button.active {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
  transform: scale(1.05);
}

/* Report List Container */
#report-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto 40px auto;
  padding: 0 16px;
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
  align-items: center; /* center items inside */
}

/* Each Report Card */
.report-card {
  width: 100%;
  max-width: 800px;
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-left: 6px solid #007bff;
  position: relative;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Hover effect */
.report-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 123, 255, 0.1);
}

/* Report Title */
.report-card h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #1a1a1a;
  word-wrap: break-word;
}

/* Report Details */
.report-card p {
  margin: 4px 0;
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  word-wrap: break-word;
}

/* Status Badge */
.report-card::before {
  content: attr(data-status);
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #e0f3ff;
  color: #007bff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .report-card {
    padding: 20px;
  }

  .report-card h4 {
    font-size: 1rem;
  }

  .report-card p {
    font-size: 0.9rem;
  }
}





.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.footer-nav nav {
  display: flex;
  justify-content: space-around;
  padding: 5px 0; /* reduced height */
}

.footer-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #444;
  font-size: 0.6rem; /* smaller text */
  transition: 0.2s;
}

.footer-link span {
  font-size: 1rem; /* smaller icons */
  line-height: 1;
  margin-bottom: 2px;
}

.footer-link:hover {
  color: #007bff;
  transform: scale(1.05);
}

/* HOW IT WORKS Section */
.how-it-works {
  padding: 40px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
}

.how-it-works h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #222;
}

.how-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.how-steps div {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
}

.how-steps img {
  width: 80px;
  margin-bottom: 10px;
}

.how-steps h3 {
  margin: 10px 0 8px;
  font-size: 1.1rem;
  color: #007bff;
}

.how-steps p {
  font-size: 0.95rem;
  color: #444;
}


/* UPCOMING PROJECT SECTION */
.upcoming-project {
  width: 100%;
  height: 4cm;
  background: url('https://i.ibb.co/x2Ddb4X/upcoming-project.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.upcoming-project h2 {
  color: white;
  font-size: 1.6rem;
  text-shadow: 1px 1px 3px #000;
}
