/* HERO */
.about-hero {
  background: none;
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: 90px; /* Pushes hero below fixed navbar */
}
.about-hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(30,60,114,0.55), rgba(118,75,162,0.45)),url('uploads/hero-labtest11.jpg') center center/cover no-repeat;
  z-index: 1;
}
.about-hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}
.about-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color:#ffffff
}
.about-hero-content p {
  font-size: 1.5rem;
  color: #ffd88b;
  font-weight:bold;
}

/* Layout: main area */
.packages-wrapper { max-width:1200px; margin:0 auto; display:flex; gap:24px; padding:20px; align-items:flex-start; }

/* Filters */
.filter-panel { width:260px; background:#fff; padding:18px; border-radius:10px; box-shadow:0 6px 20px rgba(18,35,60,0.06); }
.filter-panel h3, .filter-panel h4 { margin-top:0; color:#764ba2; }
.filter-panel label { display:block; margin:8px 0; color:#333; font-size:0.95rem; }
.price-range { margin-bottom:12px; }
#priceRange { width:100%; }
.price-values { text-align:right; color:#222; font-weight:700; }

/* Packages grid */
.packages-grid { flex:1; min-width:0; background:transparent; }
.grid-meta { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; color:#666; }
.grid-actions { display:flex; gap:6px; }
.view-btn { background:#fff; border:1px solid #ddd; padding:8px 10px; border-radius:6px; cursor:pointer; }
.view-btn.active { background:#667eea; color:#fff; border-color:#667eea; }

/* Cards container */
.cards { display:grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap:18px; }

/* Package card design */
.package-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 8px 26px rgba(18,35,60,0.06); padding:14px; display:flex; flex-direction:column; justify-content:space-between; transition:transform 0.28s ease, box-shadow 0.28s ease; }
.package-card:hover { transform:translateY(-8px); box-shadow:0 14px 36px rgba(18,35,60,0.12); }
.card-top h4 { margin:0; color:#0e2d4a; font-size:1rem; }
.tests-count { color:#999; font-size:0.85rem; margin-top:6px; }
.card-mid .desc { color:#515a6b; font-size:0.9rem; min-height:48px; margin:12px 0; }
.card-bottom { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.price { font-size:1.05rem; font-weight:800; color:#667eea; }
.actions { display:flex; gap:8px; }
.btn-outline { background:#fff; border:1px solid #667eea; color:#667eea; padding:8px 12px; border-radius:8px; cursor:pointer; }
.btn-primary { background:linear-gradient(135deg, #667eea 0%, #764ba2 100%); color:#fff; border:none; padding:8px 12px; border-radius:8px; cursor:pointer; }
.actions a {
  text-decoration: none !important;
  color: inherit;
}

.btn-outline a,
.btn-primary a {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

/* Pagination */
.pagination { display:flex; gap:8px; justify-content:center; margin:22px 0 40px; }
.page-btn { border:1px solid #eee; background:#fff; padding:8px 12px; border-radius:6px; cursor:pointer; }
.page-btn.active { background:#667eea; color:#fff; border-color:#667eea; }

/* Parallax quote */
.quote-section { height:220px; background: size 50px; background-position:center; display:flex; align-items:center; justify-content:center; color:#fff; text-align:center; background-image: url('uploads/hero-labtest10.jpeg') no-repeat;}
.quote-content h2 { background:rgba(0,0,0,0.45); padding:18px; border-radius:10px; font-size:1.3rem; }


/* Footer */
.footer {
  background: #1a1a2e;
  color: #fff;
  padding: 60px 20px 30px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #fff;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
  color: #ccc;
  transition: color 0.3s;
}
.footer-col ul li:hover {
  color: #ffcc00;
}
.footer-social a {
  color: #fff;
  margin-right: 10px;
  font-size: 1.2rem;
}
.hours span {
  color: #ff3b3b;
  font-weight: 600;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #233454;
  padding-top: 20px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #aaa;
}

/* Animations & parallax helpers */
[data-animate] { opacity:0; transform:translateY(20px); transition:all 0.8s ease-out; }
[data-animate].visible { opacity:1; transform:none; }
.parallax { background-attachment:fixed; }
.parallax-card { transition: transform 0.5s ease, box-shadow 0.4s ease; }

/* Responsive */
@media (max-width: 980px){
  .packages-wrapper { flex-direction:column; padding:12px; }
  .filter-panel { width:100%; order:2; }
  .packages-grid { order:1; }
  .search-area input { width:100%; }
}
