/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 20px;
    line-height: 1.6;
}

/* Navbar styles */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff; /* White background */
  padding: 10px 20px;
  color: #000; /* Black text */
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ccc;
}

/* Logo */
.navbar .logo img {
  height: 50px;
  width: auto;
  max-width: 100%;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #000; /* Black text */
  font-weight: 500;
  transition: color 0.3s;
  font-weight: bold;
}

.nav-links a:hover {
  color: #00adb5;
}

/* Hamburger Button (Default hidden) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  height: 50px;
  width: 50px;
  padding: 0;
}

/* 4-Line Hamburger */
.hamburger span {
  height: 2.6px;
  width: 40px;
  background: #000; /* Black lines */
  margin: 2px 0;
  display: block;
  transition: all 0.3s ease-in-out;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    display: none;
    padding: 10px 0;
    border-top: 1px solid #ccc;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
    text-align: left;
    border-top: 1px solid #e0e0e0;
    color: #000; /* Ensure it's black on mobile too */
    margin-left: 10px;
  }

  .navbar .logo img,
  .hamburger {
    height: 50px;
    width: 70px;
  }

  .hamburger span {
    background-color: #000; /* Black hamburger lines on mobile */
  }
}
/* Hero Section */
.hero {
    position: relative;
    background: url('image/hero.png') no-repeat center center/cover; /* Replace 'image/hero-bg.jpg' with your image path */
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.6); /* Add a dark overlay for better text visibility */
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* Reduce height for smaller screens */
    }

    .hero-overlay {
        padding: 15px;
        width: 95%; /* Increase width for smaller screens */
    }

    .hero h2 {
        font-size: 2rem; /* Reduce font size for headings */
    }

    .hero p {
        font-size: 1rem; /* Reduce font size for paragraph */
    }

    .btn-group button {
        padding: 8px 16px; /* Adjust button padding */
        font-size: 0.9rem; /* Adjust button font size */
    }

    .search-form input {
        width: 90%; /* Adjust search bar width */
    }

    .search-form button {
        padding: 8px 16px; /* Adjust button padding */
        font-size: 0.9rem; /* Adjust button font size */
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh; /* Further reduce height for very small screens */
    }

    .hero-overlay {
        padding: 10px;
        width: 100%; /* Full width for very small screens */
    }

    .hero h2 {
        font-size: 1.8rem; /* Further reduce font size for headings */
    }

    .hero p {
        font-size: 0.9rem; /* Further reduce font size for paragraph */
    }

    .btn-group button {
        padding: 6px 12px; /* Adjust button padding */
        font-size: 0.8rem; /* Adjust button font size */
    }

    .search-form input {
        width: 100%; /* Full width for search bar */
    }

    .search-form button {
        padding: 6px 12px; /* Adjust button padding */
        font-size: 0.8rem; /* Adjust button font size */
    }
}

/* Item Details styling for claim page */
.item-details {
    max-width: 600px;
    margin: 0 auto 20px;
    background-color: white;
    padding: 15px; /* for claim page */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.item-details p {
    margin: 5px 0;
}

.item-details img {
    margin-top: 10px;
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    text-align: center;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.feature {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 300px;
    flex: 1 1 calc(33.33% - 20px); /* Default: 3 items per row */
    box-sizing: border-box;
}

.feature img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.feature p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 20px 0;
    color: #333;
}

/* Cards Container */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Individual Card */
.card {
    position: relative; /* Required for absolute positioning of labels */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Card Images */
.card img {
    width: 100%; /* Set the width to fill the card */
    height: 200px; /* Set a fixed height */
    object-fit: cover; /* Ensure the image scales and crops proportionally */
    border-radius: 8px; /* Optional: Add rounded corners */
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Lost and Found Labels */
.card .lost-label,
.card .found-label {
    position: absolute; /* Position the labels absolutely within the card */
    top: 10px; /* Add spacing from the top */
    right: 10px; /* Align the labels to the right */
    background: linear-gradient(90deg, #007BFF, #28a745); /* Blue to Green gradient */
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1; /* Ensure the label appears above other elements */
    display: inline-block;
}

.card .no-image {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
}

.card .date {
    font-size: 0.8rem;
    color: #777;
    margin-top: 10px;
}

/* Buttons */
.card .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: linear-gradient(90deg, #007BFF, #28a745); /* Blue to Green gradient */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
}

.card .btn:hover {
    background: linear-gradient(90deg, #28a745, #007BFF); /* Green to Blue gradient on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

/* Found It Button */
.card .found-it-btn {
    background: linear-gradient(90deg, #007BFF, #28a745); /* Blue to Green gradient */
}

.card .found-it-btn:hover {
    background: linear-gradient(90deg, #28a745, #007BFF); /* Green to Blue gradient on hover */
}

/* Claim Button */
.card .claim-btn {
    background: linear-gradient(90deg, #007BFF, #28a745); /* Blue to Green gradient */
}

.card .claim-btn:hover {
    background: linear-gradient(90deg, #28a745, #007BFF); /* Green to Blue gradient on hover */
}

/* General Button Styling */
.btn-group button {
    background: linear-gradient(90deg, #007BFF, #28a745); /* Blue to Green gradient */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-group button:hover {
    background: linear-gradient(90deg, #28a745, #007BFF); /* Green to Blue gradient on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

.search-form {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search-form input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 70%;
    max-width: 400px;
}

.search-form button {
    background:linear-gradient(90deg, #007BFF, #28a745); 
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #0056b3;
}
.formhead{
    text-align: center;
    color: #28a745;
}

/* Responsive Design for Small Devices */
@media (max-width: 768px) {
    .features {
        flex-direction: column; /* Stack features vertically */
        align-items: center;
    }

    .feature {
        width: 100%; /* Full width for each feature */
        margin-bottom: 20px; /* Add spacing between features */
    }
}

.logout-btn {
    background: linear-gradient(90deg,#28a745, #007BFF); 
    padding: 10px 20px;
    border-radius: 4px;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #c0392b;
}

/* Dashboard Heading 
h1 {
    text-align: center;
    margin: 20px 0;
    color: #333;
}*/

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s;
}

.tab-button:hover {
    background-color: #45a049;
}

.tab-button.active {
    background-color: #2e7d32;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Dashboard Container */
.dashboard-container {
    max-width: 1000px;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(222, 22, 22, 0.1);
}

/* Dashboard Table */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.dashboard-table th, .dashboard-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.dashboard-table th {
    background-color: #4CAF50;
    color: white;
}

.dashboard-table tr:hover {
    background-color: #f5f5f5;
}

.dashboard-table a {
    color: #007bff;
    text-decoration: none;
}

.dashboard-table a:hover {
    text-decoration: underline;
}

.head2{

    text-align: center;
    color: #080808;
}



