/* Hero Section */
.category-hero {
  background: url('../images/BGENGRAV03-ADA1.png') no-repeat center center/cover;
  padding: 6rem 1rem; /* Larger vertical space for a bold impression */
  color: #fff;
  position: relative;
}

.category-hero::before {
  content: '';
  position: absolute;
  background: rgba(20, 20, 70, 0.05); 
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}
 

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}

.hero-content {
  background: rgba(5,5,5, 0.7); /* Dark overlay for better text readability */
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 2
}

.hero-header {
  display: flex;
  z-index: 3;
  color: #00b00ccf;
}

.hero-title {
  font-size: 2.5rem;
  color: #00b0ccff;
  text-transform: uppercase;
  z-index: 3;
}
.hero-subtitle {
  font-size: 2.0rem;
  margin-bottom: 1rem;
  color: #fed200;
  z-index: 3;
}

.hero-description {
  font-size: 1.33rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  color: #fff;
  z-index: 3;
}

/* Hero Lists */
.hero-lists {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  z-index: 3;
  color: #fff;
}

.hero-list {
  flex: 1;
  z-index: 4;
}

.hero-list-title {
  font-size: 2.0rem;
  color: #fed200ff; /*#00b0cc; /* On-brand blue */
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-list-items {
  list-style: none;
  padding: 0;
  z-index: 3;
  font-size: 1.5rem;
}

.category-hero-mobile {
  display: none;
  background: #2C60A5;
  padding-top: 2rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  color: #fff;
  position: relative;
}


.hero-list-items > li {
  margin-bottom: 1rem;
  z-index: 4;
}

.list-heading {
  font-weight: bold;
  text-decoration: none;
  color: #00b0ccff; /*#fed200; /* On-brand yellow */
}

.list-heading:hover {
  text-decoration: underline;
}

.hero-list-items ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: #fff;
}

.hero-list-items ul li a {
  color: #fff;
  text-decoration: none;
}

.hero-list-items ul li a:hover {
  color: #00b0ccff; /* Highlight links on hover */
}


/* Product Section */
.products-section {
  background: rgba(0, 176, 204);
  padding: 6rem 1rem; /* Larger vertical space for a bold impression */
  color: #fff;
  position: relative;
}

.products-section .button {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.kit-card .button {
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}


/* Product Box */
.product-box {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
}

.product-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #e50106;
}

.product-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.product-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: #00b0cc;
  text-decoration: none;
  font-weight: bold;
}

.product-link:hover {
  text-decoration: underline;
}

.product-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* Spacing between images */
  margin-bottom: 1rem; /* Space between images and the description */
}

.product-image {
  width: calc(50% - 1rem); /* Two images per row */
  max-height: 256px; 
  height: auto;
  width: auto;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}


/* Kit Cards */
.kit-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.kit-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  flex: 1 1 calc(50% - 1rem); /* 2 cards per row */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.kit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.kit-card-image {
  display: block;
  width: auto;
  height: auto;
  overflow: hidden;
  max-height: 120px; /* Limit the height for uniform display */
  object-fit: cover;
  margin-bottom: 1rem; /* Space between image and the title */
  border-radius: 10px; /* Optional: rounded corners for images */
}

.kit-title {
  font-size: 1.2rem;
  color: #003f66;
  margin-bottom: 0.5rem;
}

.kit-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.kit-link {
  display: inline-block;
  color: #00b0cc;
  text-decoration: none;
  font-weight: bold;
}

.kit-link:hover {
  text-decoration: underline;
}


/* Quick Access Links in Hero Section */
.hero-quick-access {
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0;
}

.quick-link {
  background: #00b0cc; /* On-brand blue */
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.quick-link:hover {
  background: #007e99; /* Darker blue on hover */
}

/* Services Listing Section */
.services-listing {
  padding: 4rem 1rem;
  background: #00b0cc; /*#f9f9f9;*/
}

.service-category {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.service-category-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #e50106;
  margin-bottom: 1rem;
}

.service-category-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #333;
}

/* Individual Service Items */
.service-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.service-image {
  width: 220px;
  height: 100px;
  object-fit: contain;
  display: block;
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.service-details {
  flex: 1;
}

.service-title a {
  font-size: 1.4rem;
  font-weight: bold;
  color: #00b0cc;
  text-decoration: none;
}

.service-title a:hover {
  color: #007e99; /* Darker blue on hover */
}

.service-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Responsive Design */
@media(max-width: 768px) {
  .category-hero {
    display: none;
  }

  .category-hero-mobile {
    display: flex;
  }
  
  .hero-lists {
    flex-direction: column;
  }

  .hero-list {
    margin-bottom: 2rem;
  }
  
  .kit-cards {
    display: none;
  }

  .kit-card {
    display: none;
  }

  h2 {
    font-size: 1.5rem !important;
  }
  
  .product-image {
    max-width: 300px;
    margin: 0.5rem 0.5rem;
  }
  
  .service-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-image {
    width: 100%; /* Full-width on smaller screens */
  }

  .service-title a {
    font-size: 1.2rem;
  }

  .service-description {
    font-size: 0.95rem;
  }
}


@media (max-width: 452px) {
  /* Adjust Tabs */
  .tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  .tab-link {
    flex: 1 1 auto;
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    text-align: center;
  }

  /* make all lists legible on mobile */
  .page-section ul,
  .services-text-container ul {
    list-style: disc;
    padding-left: 1.5rem;
  }
  .page-section ul li,
  .services-text-container ul li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }

  .product-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0.5rem 0;
  }
}
