:root {
  --primary-navy: #0B2545;
  --secondary-blue: #134074;
  --accent-orange: #EE6C4D;
  --light-bg: #EEF4F8;
  --text-dark: #1D2D44;
  --text-muted: #6C757D;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
  color: var(--text-dark);
  background-color: #FFFFFF;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--primary-navy);
  color: #FFF;
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-info span {
  margin-right: 20px;
}
.contact-info a {
  color: inherit;
  text-decoration: none;
}
.contact-info a:hover {
  color: var(--accent-orange);
}
.utility-links a {
  color: #FFF;
  text-decoration: none;
  margin-left: 15px;
}
.portal-btn {
  background-color: var(--accent-orange);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Header & Nav */
.main-header {
  background: #FFF;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  gap: 30px;
}

.logo img {
  height: auto;
  max-width: 100%;
}
.logo-serve {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: 2px;
}
.logo-serve .orange { color: var(--accent-orange); }
.logo-tag { font-size: 0.9rem; color: var(--text-muted); }

.nav-menu {
  display: flex;
  gap: 5px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  padding: 8px 12px;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent-orange);
}

.nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-content {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  background: #FFF;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 220px;
  padding: 8px 0;
  z-index: 1001;
  display: none;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-content a:hover {
  background-color: var(--light-bg);
  color: var(--accent-orange);
}

.btn-primary-nav {
  background-color: var(--primary-navy);
  color: #FFF !important;
  padding: 8px 18px;
  border-radius: 4px;
  margin-left: 8px;
}

/* Hero Carousel */
.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #FFF;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
  padding-left: 60px;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(11,37,69,0.9) 0%, rgba(19,64,116,0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin-left: 0;
  margin-right: auto;
}
.hero-subtitle {
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
}
.hero-content h1 {
  font-size: 3rem;
  margin: 10px 0;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
}
.btn-main {
  background: var(--accent-orange);
  color: #FFF;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  margin-right: 15px;
}
.btn-secondary {
  border: 2px solid #FFF;
  color: #FFF;
  padding: 10px 22px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  display: none;
  justify-content: space-between;
  padding: 0 30px;
  pointer-events: none;
}

.carousel-btn {
  background: rgba(238, 108, 77, 0.8);
  border: none;
  color: #FFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.carousel-btn:hover {
  background: var(--accent-orange);
  transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.indicator.active {
  background: var(--accent-orange);
  width: 30px;
  border-radius: 6px;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Stats Bar */
.stats-bar {
  background: var(--primary-navy);
  color: #FFF;
  padding: 30px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
}
.stat-item h3 {
  font-size: 2rem;
  color: var(--accent-orange);
}

/* Product Cards Grid */
.products-section {
  padding: 80px 0;
  background: var(--light-bg);
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary-navy);
}
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.product-card {
  background: #FFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.product-card:hover {
  transform: translateY(-8px);
}
.card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.bg-diag { background-image: url('img/image8.jpg'); }
.bg-kits { background-image: url('img/image2.jpg'); }
.bg-lis  { background-image: url('img/image4.jpg'); }

.card-content {
  padding: 25px;
}
.card-category {
  color: var(--accent-orange);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}
.card-content h3 {
  margin: 8px 0;
  color: var(--primary-navy);
}
.card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.card-link {
  color: var(--secondary-blue);
  text-decoration: none;
  font-weight: 700;
}

/* Footer */
.main-footer {
  background: var(--primary-navy);
  color: #FFF;
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-links a {
  display: block;
  color: #AAA;
  text-decoration: none;
  margin-top: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #AAA;
}
