/* General */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #f9fdfc;
  color: #333;
  margin: 0;
}

/* Header */
header {
  background-color: #004080;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo img {
  height: 60px;
}
nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
}

/* Hero Section */
.hero {
  background: url('../images/lab-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}
.btn-primary {
  background-color: #00a896;
  color: #fff;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
}

/* Features Section */
.features {
  display: flex;
  justify-content: space-around;
  padding: 60px 20px;
  background-color: #eef7f6;
}
.feature {
  width: 30%;
  text-align: center;
}

/* Footer */
footer {
  background-color: #00264d;
  color: #fff;
  text-align: center;
  padding: 1px;
}

.products-block, .certifications-block {
  padding: 60px 20px;
  text-align: center;
}

.product-cards, .certification-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.product-card, .badge {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  width: 220px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product-card img, .badge img {
  max-width: 100px;
  margin-bottom: 15px;
}
/* Top info bar */
.top-bar {
  background-color: #f8f8f8;
  color: #333;
  font-size: 14px;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .contact-info {
  display: flex;
  gap: 20px;
}
.top-bar .contact-info span {
  font-weight: 600;
}
.top-bar .certifications {
  font-style: italic;
  color: #004080;
}



/* Top info bar */
.top-bar {
  background-color: #004080; /* deep blue tone */
  color: #fff;
  font-size: 14px;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .contact-info {
  display: flex;
  gap: 20px;
  width:100%;
}
.top-bar .contact-info span {
  font-weight: 600;
}
.top-bar .made-with-ai {
  font-style: italic;
  color: #00a896; /* green accent */
}

/* Main header (logo + nav) */
header {
  background-color: #fff; /* pure white background */
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
}
header .logo img {
  height: 60px;
}
nav a {
  color: #004080;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
}
nav a:hover {
  color: #00a896;
}
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  top: 40%;
}
.features {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding: 60px 40px;
  background-color: #f9f9f9;
}
.feature img {
  width: 80px;
  margin-bottom: 15px;
}
.feature h3 {
  color: #004080;
  margin-bottom: 10px;
}
.feature p {
  color: #333;
  font-size: 15px;
}
.feature a {
  color: #00a896;
  font-weight: 600;
  text-decoration: none;
}
.feature a:hover {
  text-decoration: underline;
}
.feature img {
  width: 80px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.feature img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(0, 168, 150, 0.6));
}

.feature a {
  color: #00a896;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.feature a:hover {
  color: #007f6e;
  text-decoration: underline;
}
.top-bar {
  background-color: #004080; /* adjust to your theme color */
  padding: 8px 0;
}

.contact-info {
  display: flex;
  justify-content: center;   /* centers all items horizontally */
  align-items: center;       /* vertically aligns them */
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.contact-info span {
  margin: 0 10px;
  position: relative;
}

.contact-info span:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: #fff;
  font-weight: 400;
}
.top-bar {
  background-color: #004080; /* adjust to your theme */
  padding: 6px 0;
}

.contact-info {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.contact-info span {
  margin: 0 8px;
  position: relative;
}

.contact-info span:not(:last-child)::after {
  content: "|";
  margin-left: 8px;
  color: #fff;
  font-weight: 400;
}

.header {
  display: flex;
  justify-content: space-between; /* logo left, menu right */
  align-items: center;
  padding: 15px 40px;
}

.header .logo {
  font-size: 22px;
  font-weight: 700;
  color: #004080;
}

.header nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.header nav ul li a:hover {
  color: #00a896; /* hover accent */
}

/* Top Bar */
.top-bar {
  background-color: #004080; /* adjust to theme */
  padding: 6px 0;
}

.contact-info {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;
  color: #fff;
  font-size: 14px;
}

.contact-info span {
  margin: 0 8px;
}

.contact-info span:not(:last-child)::after {
  content: "|";
  margin-left: 8px;
  color: #fff;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between; /* logo left, menu right */
  align-items: center;
  padding: 15px 40px;
  background: #fff;
}

.logo img {
  height: 60px; /* adjust logo size */
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: #00a896; /* accent hover */
}
.contact-info a {color:#fff;text-decoration:none;}
.products {
  padding: 60px 40px;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 28px;
  color: #004080;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.product-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.product-card h3 {
  color: #004080;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

.product-card a {
  color: #00a896;
  font-weight: 600;
  text-decoration: none;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.key-products, .certifications {
  padding: 60px 40px;
  text-align: center;
}

.section-title {
  font-size: 28px;
  color: #004080;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.product-grid, .cert-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.product-card, .cert-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card img, .cert-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  margin-bottom: 15px;
}

.product-card h3, .cert-card p {
  color: #004080;
  font-weight: 600;
}

.product-card:hover, .cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background: #00a896;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #007f6e;
}
.key-products {
  padding: 80px 40px;
  text-align: center;
 background: url("../images/products-bg.png") no-repeat center center;
  background-size: cover;   /* ensures full coverage */
  color: #fff;              /* text readable on dark background */
}

.certifications {
  padding: 80px 40px;
  text-align: center;
  background: url('../images/cert-bg.png') no-repeat center center;
  background-size: cover;
  color: #fff;
}


.key-products::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4); /* dark overlay */
  z-index: 0;
}
.key-products .container {
  position: relative;
  z-index: 1; /* keeps text above overlay */
}

/* Hero slider should be above background overlays */
.hero-slider {
  position: relative;
  z-index: 2;
}

/* Overlay for products and certifications sections */
.key-products::before,
.certifications::before {
  content: "";
  position: relative;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4); /* or your preferred overlay color */
  z-index: 0; /* ensures overlay stays behind content */
}

/* Ensure section content is above overlay */
.key-products .container,
.certifications .container {
  position: relative;
  z-index: 1;
}


