body {
  font-family: "Ubuntu", sans-serif;
}

.navbar {
  background-color: #f0f4f8;
}

li {
  line-height: 1.3rem;
  font-family: "Ubuntu", sans-serif;
}

p .bold {
  font-weight: bold !important;
}

.section {
  /* padding: 60px 30px;
  overflow: hidden; */
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  height: auto;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-image {
  max-width: 300px;
  min-height: 300px;
}

.section-image img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.section-details {
  max-width: 645px;
}

.section-bg {
  width: 100%;
  height: 400px;
  background-color: grey;
  background-image: url("../img/fault-indicator-section-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
  position: relative;
  padding: 0 1.5rem;
}

.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.section-title {
  text-align: center;
  font-size: 2.75rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  color: #ffff;
  z-index: 1;
  font-family: "Ubuntu", sans-serif;
}

.section-sub-title {
}

.section-h3-title {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  color: #003272;
}

.section-text,
li {
  line-height: 1.5em;
}

.buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.2em 0;
}

.btn,
a.btn,
.buttons a {
  font-family: "Ubuntu", sans-serif;
  background-color: #003272;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover,
a.btn:hover,
.buttons a:hover {
  background-color: #f0f4f8;
  color: #003272;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.videoModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding-top: 50px;
  z-index: 1000;
}

.videoModal video {
  max-width: 90vw;
  max-height: 80vh;
  width: 100%;
  height: auto;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #003272;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
}

.tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #ccc;
}

.sublist {
  padding-left: 1.5rem;
  line-height: 1.2em;
  margin-bottom: 1.2rem;
}

.tab-button {
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
}

.tab-button.active {
  border-bottom: 3px solid #003272;
  color: #003272;
  font-weight: bold;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: flex;
}

@media (max-width: 480px) {
  .section-container {
    flex-direction: column;
    padding: 2rem;
  }

  .buttons {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .section-container {
    flex-direction: column;
    padding: 2rem;
  }

  .buttons {
    flex-direction: column;
  }

  .videoModal video {
    max-width: 95vw;
    max-height: 70vh;
  }

  .tabs {
    flex-direction: column;
  }

  .tab-button {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .btn,
  a.btn,
  .buttons a {
    font-size: 12px;
  }
}

/* Mini tabs under WiFi image */
.tabs-mini {
  border-bottom: none;
  margin-top: 12px;
  gap: 0;
}

.tab-button.mini {
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

/* Swap images (only one visible) */
.wifi-model-img {
  display: none;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.wifi-model-img.active {
  display: block;
}

/* Force only 1 WiFi model image to show */
#smart-1 .wifi-model-img {
  display: none !important;
}

#smart-1 .wifi-model-img.active {
  display: block !important;
}
