/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #dbe9f8;
  color: #000000;
}

/* ===== HERO ===== */
.vet-hero {
  position: relative;
  height: 65vh;
  background: url("https://i.postimg.cc/4xqgGtRc/Chat-GPT-Image-Mar-15-2026-03-06-56-PM.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(18, 43, 100, 0.514); */
}

.hero-content {
  position: relative;
  text-align: center;
  animation: fadeIn 1s ease;
}

.hero-content h1 {
  font-size: 3rem;
  color: #000000;
}

.hero-content p {
  font-size: 1.2rem;
  color: #000000;
  margin-top: 10px;
}

/* ===== INFO ===== */
.vet-info {
  max-width: 900px;
  margin: auto;
  text-align: center;
  padding: 60px 20px 40px;
}

.vet-info h2 {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 15px;
}

.vet-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #000000;
}

/* ===== SEARCH ===== */
.vet-search {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
}

.vet-search input {
  width: 280px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #9ef2ff;
  color: #000000;
}

.vet-search input::placeholder {
  color: #000000;
}

.vet-search button {
  padding: 12px 25px;
  background: linear-gradient(135deg, #1E88E5, #1565C0);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.vet-search button:hover {
  background:#3f7cd2;
}

/* ===== HOSPITAL CARDS ===== */
.hospital-list {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.hospital-card {
  background:#bad9f3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hospital-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.8);
}

.hospital-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hospital-card h3 {
  color: #0c435b;
  margin: 15px;
  font-size: 1.3rem;
}

.hospital-card p {
  margin: 0 15px 10px;
  color: #000000;
  font-size: 0.95rem;
}

.hospital-card button {
  margin: 15px;
  padding: 10px;
  width: calc(100% - 30px);
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #1E88E5, #1565C0);
  color: #000000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.hospital-card button:hover {
  background:#3f7cd2;
  color: #0f172a;
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .hospital-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hospital-list {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}
