    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Poppins', sans-serif;
      background: #f0f4f8;
      color: #333;
      overflow-x: hidden;
    }

    /* HEADER */
    header {
      background: linear-gradient(135deg, #1a148e, #3658f7);
      color: #fff;
      padding: 12px 25px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .logo-header {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 10px;
    }

    .logo {
      max-width: 65px;
      height: auto;
    }

    .logo-header h2 {
      font-size: 22px;
      font-weight: 600;
    }
nav {
  display: flex;
  align-items: center;
}

/* Uniform link/button style */
nav a,
.dropbtn {
  padding: 8px 14px;          /* uniform spacing */
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hover effect */
nav a:hover,
.dropbtn:hover {
  color: #ffd700;
}

/* DROPDOWN WRAPPER */
.dropdown {
  position: relative;
}

/* Dropdown Button */
.dropbtn {
  background: none;
  border: none;
  cursor: pointer;
}

/* Dropdown Content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 8px;
  z-index: 999;
}

/* Dropdown items */
.dropdown-content a {
  color: #1a148e;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
  color: #bfa303;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* LOGIN BUTTON */
.login-btn {
  background-color: #fff;
  color: #1a148e !important;
  padding: 8px 16px;        /* same vertical height as others */
  border-radius: 20px;
  font-weight: 600;
}

.login-btn:hover {
  background-color: #ffd700;
  color: #1a148e !important;
}

/* MOBILE RESPONSIVE */
@media (max-width: 600px) {

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a, .dropbtn {
    width: 100%;
  }

  .dropdown-content {
    position: relative;
    width: 100%;
    box-shadow: none;
  }

  .dropdown-content a {
    padding-left: 20px;
  }
}
    .hero {
      position: relative;
      background: url('./images/pawpath.jpg') center/cover no-repeat fixed;
      color: #fff;
      text-align: center;
      padding: 110px 20px;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(26, 20, 142, 0.85), rgba(54, 88, 247, 0.8));
      z-index: 0;
    }
    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin: 0 auto;
      transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    }
    .hero h1 {
      font-size: 2.8rem;
      margin-bottom: 10px;
      letter-spacing: 1px;
    }

    .hero p {
      font-size: 1.1rem;
      color: #e0e8ff;
    }

.filter-bar {
  max-width: 900px;
  margin: 35px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-bar input {
  padding: 12px 40px 12px 14px;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid #ddd;
  width: 220px;
  transition: 0.25s;
}

.filter-bar input:focus {
  border-color: #1a148e;
  outline: none;
  box-shadow: 0 0 6px rgba(26,20,142,0.3);
}

.filter-btn {
  background: #1a148e;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: 0.2s;
}

.filter-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.clear-btn {
  background: #5a5a5a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.2s;
}

.clear-btn:hover {
  background: #444;
  transform: translateY(-2px);
}

/* Optional: Add icons inside input fields */
.filter-bar .input-wrapper {
  position: relative;
}

.filter-bar .input-wrapper i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 18px;
}

    .section-title {
      text-align: center;
      font-size: 2rem;
      color: #1a148e;
      margin-top: 40px;
    }

    .pet-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      padding: 20px;
    }

    .pet-card {
      width: 280px;
      background: white;
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s;
    }
    .pet-card:hover {transform: translateY(-5px);}
    .pet-card img {
      width: 100%; height: 220px; object-fit: cover;
    }
    .pet-card h3 {color: #1a148e; margin: 10px 0;}
    .pet-card p {font-size: 0.9rem; color: #555; padding: 0 10px;}
    .adoptBtn {
      background: #ffd700;
      color: #1a148e;
      padding: 10px 20px;
      border-radius: 30px;
      border: none;
      margin: 10px 0 20px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
    }
    .adoptBtn:hover {background: #e6c200;}

    /* Modal */
    .modal {
      display: none; position: fixed;
      inset: 0; background: rgba(0,0,0,0.5);
      backdrop-filter: blur(3px);
      justify-content: center; align-items: center;
      z-index: 999;
      animation: fadeIn 0.3s;
    }
    .modal-content {
      background: white; padding: 30px;
      border-radius: 12px;
      max-width: 400px; text-align: center;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }
    .modal-btn {
      padding: 10px 20px; border-radius: 6px;
      border: none; cursor: pointer; font-weight: 600;
      text-decoration: none;
    }
    .confirm {background: #1a148e; color: white;}
    .cancel {background: #ddd; color: #333;}
    @keyframes fadeIn {from{opacity:0}to{opacity:1}}

    /* Carousel */
    .carousel-container {
      max-width: 1200px; margin: 50px auto;
      position: relative; overflow: hidden;
      border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    }
    .carousel-track {display: flex; transition: transform 0.5s;}
    .carousel-slide {min-width: 100%;}
    .carousel-slide img {width:100%; height:450px; object-fit:cover;}
    .carousel-btn {
      position: absolute; top:50%; transform:translateY(-50%);
      background: rgba(255,255,255,0.7);
      border:none; font-size:2rem;
      border-radius:50%; cursor:pointer; padding:8px;
    }
    .prev-btn {left:15px;} .next-btn {right:15px;}
    .carousel-btn:hover {background:rgba(158,158,158,0.7);}