:root {
  --med-blue: #0056b3;
  --med-light: #f0f7ff;
  --clinical-teal: #00a8a8;
  --dark-slate: #1a2a3a;
}

body {
  font-family: "Assistant", sans-serif;
  color: #334155;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  background: white;
  border-bottom: 2px solid var(--med-light);
  padding: 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--med-blue) !important;
}

/* Hero Banner Styling */
.hero-banner-single {
  position: relative;
  height: 650px;
  /* Fixed height for a consistent professional look */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures image fills the area without stretching */
  z-index: -2;
}

.carousel-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Darker on the left to make text pop, lighter on the right to show the image */
  background: linear-gradient(
    90deg,
    rgba(0, 43, 91, 0.9) 0%,
    rgba(0, 43, 91, 0.3) 100%
  );
  z-index: -1;
}

.hero-container {
  position: relative;
  z-index: 1;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
  .hero-banner-single {
    height: auto;
    padding: 100px 0;
    text-align: center;
  }

  .carousel-image-overlay {
    background: rgba(0, 43, 91, 0.8);
    /* Solid overlay for mobile readability */
  }
}

/* Section Titles */
.section-title {
  color: var(--med-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--clinical-teal);
  margin-top: 10px;
}

/* Feature Cards */
.feature-card {
  border: none;
  border-radius: 12px;
  background: var(--med-light);
  transition: all 0.3s ease;
  padding: 2rem;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Application Gallery */
.app-img-box {
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  border: 1px solid #eee;
}

.app-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tech Spec Table */
.spec-sidebar {
  background: var(--dark-slate);
  color: white;
  border-radius: 12px;
  padding: 30px;
}

.spec-table thead {
  background-color: var(--med-blue);
  color: white;
}

.spec-table tr td:first-child {
  background-color: #fcfcfc;
  font-weight: 600;
  color: var(--med-blue);
}

/* Wiring Instruction Block */
.wiring-box {
  background: #2c3e50;
  color: white;
  border-radius: 12px;
  padding: 30px;
}

/* How it Works Section */
.how-works-img {
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Problem/Risk Section */
.risk-box {
  background: var(--danger-soft);
  border-left: 5px solid #dc3545;
  padding: 20px;
  border-radius: 8px;
  height: 100%;
}

.badge-wiring {
  display: inline-block;
  width: 80px;
  text-align: center;
  padding: 5px;
  border-radius: 4px;
  font-weight: bold;
  margin-right: 15px;
}

.section-padding {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  color: var(--med-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Application Cards */
.app-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 86, 179, 0.1);
  border-color: var(--med-blue);
}

.app-img-container {
  height: 200px;
  width: 100%;
  overflow: hidden;
  background-color: #eee;
}

.app-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.app-card:hover .app-img-container img {
  transform: scale(1.05);
}

.app-content {
  padding: 25px;
}

.app-title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.app-title span {
  margin-right: 10px;
  font-size: 1.25rem;
}

.app-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
}

.compliance-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--med-blue);
  background: var(--med-bg);
  padding: 4px 12px;
  border-radius: 50px;
  margin-top: 15px;
  border: 1px solid #d0e3ff;
}

.footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 10px 0;
  color: #64748b;
}
