body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: #f9fafb;
  color: #333;
}

/* ===================================== */
/* NAVBAR + HAMBURGER (UPDATED SECTION) */
/* ===================================== */

.navbar {
  background: #004aad;
  color: white;
  padding: 1rem 0;
}

.navbar .container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Desktop nav by default */
.navbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.navbar nav a:hover {
  color: #00b4d8;
}

/* Hamburger hidden on desktop */
.hamburger {
  display: none;
  font-size: 32px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* ============================= */
/* Mobile Navigation */
/* ============================= */
@media (max-width: 768px) {

  /* Show hamburger */
  .hamburger {
    display: block;
  }

  /* Hide nav links by default */
  .navbar nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #004aad;
    width: 220px;
    flex-direction: column;
    padding: 1rem 1.5rem;
    text-align: left;
    box-shadow: -2px 4px 12px rgba(0,0,0,0.15);
    border-radius: 0 0 0 12px;
  }

  /* Show nav when toggled */
  .navbar nav.active {
    display: flex;
  }

  .navbar nav a {
    margin: 12px 0;
    font-size: 16px;
  }
}

/* ===================================== */
/* HERO */
/* ===================================== */

.hero {
  background: linear-gradient(120deg, #0077b6, #0096c7);
  color: white;
  text-align: center;
  padding: 6rem 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero p {
  max-width: 700px;
  margin: 1rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #00b4d8;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #0077b6;
}

/* ===================================== */
/* FEATURES */
/* ===================================== */

.features {
  padding: 3rem 1rem;
  background: #fff;
}

.features .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1.5rem;
}

.feature {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1 1 280px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature h3 {
  color: #004aad;
}

/* ===================================== */
/* FORMS */
/* ===================================== */

.form-container {
  width: 90%;
  max-width: 400px;
  margin: 6rem auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.form-container h2 {
  text-align: center;
  color: #004aad;
}

.subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

input {
  width: 100%;
  padding: 0.75rem;
  margin: 0.6rem 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

input:focus {
  outline: none;
  border-color: #00b4d8;
}

.note {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.note a {
  color: #004aad;
  text-decoration: none;
}

.note a:hover {
  text-decoration: underline;
}

#msg {
  text-align: center;
  font-weight: 500;
  margin-top: 0.8rem;
  color: #0077b6;
}

/* ===================================== */
/* FOOTER */
/* ===================================== */

.footer {
  background: #004aad;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
}

/* ===================================== */
/* SEARCH BAR */
/* ===================================== */

.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto;
  max-width: 600px;
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 0.4rem;
}

#searchBox {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  outline: none;
  font-size: 1rem;
  border-radius: 50px 0 0 50px;
}

#searchBtn {
  background: #00b4d8;
  color: white;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

#searchBtn:hover {
  background: #0077b6;
}

.search-note {
  font-size: 0.9rem;
  margin-top: 0.8rem;
  color: #e0f7fa;
}

.search-results {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.card .muted {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.card .rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card .score {
  font-weight: 700;
  color: #0077b6;
}

/* ===================================== */
/* PAGINATION */
/* ===================================== */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  gap: 10px;
  font-family: Arial, sans-serif;
}

.pagination button {
  background-color: #007BFF;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.pagination button:hover {
  background-color: #0056b3;
}

.pagination button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.verified-icon {
  width: 28px;
  height: 28px;
  margin-left: 6px;
  vertical-align: middle;
}
