:root {
  --pink: #FF4500;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}


nav {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 95%;
  max-width: 1200px;
  margin: auto;
}

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

.nav-logo img {
  height: 50px;
}

.nav-logo .heading {
  font-size: 1.8rem;
  margin-left: 10px;
  color: #333;
  white-space: nowrap;
}

.nav-logo .heading span {
  color: var(--pink);
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.5rem 0.8rem;
  font-size: 0.95rem;
  color: #555;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--pink);
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

.search-container {
  width: 100%;
  background: linear-gradient(135deg, #1a237e, #283593);
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}

.search-container h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.search-container p {
  max-width: 600px;
  margin: auto;
  font-size: 1rem;
}

.search-box {
  background: #fff;
  padding: 2rem;
  margin: 2rem auto 0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 100%;
}

.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: end;
}

.search-form div {
  display: flex;
  flex-direction: column;
}

.search-form label {
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.search-form input,
.search-form select {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

.search-form button {
  padding: 10px;
  border-radius: 50px;
  border: none;
  background-color: #333;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.search-form button:hover {
  background-color: var(--pink);
}

.results-section {
  width: 100%;
  margin: 2rem auto;
  padding: 2rem 0;
}

.results-header {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #222;
  text-align: center;
}

.placeholder {
  text-align: center;
  color: #666;
  padding: 1rem;
}

.file-card {
  background: #fff;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.file-card h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.file-card a {
  color: var(--pink);
  font-weight: bold;
}

footer {
  background: #1f2937;
  color: #ccc;
  width: 100%;
  padding: 1.5rem 1rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom .copyright p {
  margin: 0;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
}

.social-links span {
  font-weight: bold;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.social-links a:hover {
  color: var(--pink);
}


@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .search-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .search-container h1 {
    font-size: 1.6rem;
  }

  .search-container p {
    font-size: 0.9rem;
  }

  .search-form button {
    width: 100%;
  }

  .footer-bottom-content {
    gap: 0.5rem;
  }

  .social-links {
    justify-content: center;
  }
}