/* RESET AND BASE SETUP */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f9fc;
  color: #222;
}

/* ===== HEADER / TOP NAVIGATION ===== */
header {
  background-color: #083d77;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* LOGO TEXT */
.logo {
  font-size: 24px;
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 1px;
}

/* NAVIGATION LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 4px; /* Reduced gap between navigation links */
}

.nav-links li {
  display: inline-block;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #ffc107;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #ffc107;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Page Container */
.lab-container {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.title {
  font-size: 2.8rem;
  color: #0077ff;
  margin-bottom: 40px;
}

/* Sections */
.lab-section {
  margin-bottom: 60px;
}

.lab-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #083d77;
}

/* Grid */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* Product Card */
.product-card {
  background-color: #ffffff;
  border: 2px solid #0077ff;
  border-radius: 12px;
  width: 260px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 1.1rem;
  color: #003366;
}
