/* ===== Tab Buttons ===== */
.tab-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 25px;
  border-radius: 25px;
  border: none;
  background: #0056d2;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.tab-btn:hover {
  background: #003d99;
  transform: translateY(-2px);
}

.tab-btn.active {
  background: #007bff;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* ===== Tab Content ===== */
.tab-content-container {
  width: 100%;
  background: #f8f9fb;
  padding: 50px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.tab-content {
  display: none;
  max-width: 900px;
  margin: auto;
  text-align: left;
  animation: fadeIn 0.3s ease;
}

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

.tab-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.tab-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}

/* ===== Highlight List ===== */
.tab-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tab-content ul li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  font-size: 1rem;
  color: #333;
}

.tab-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 8px;
  color: #007bff;
  font-size: 1.1rem;
  font-weight: bold;
}

.tab-image {
  margin-top: 25px;
  text-align: center;
}

.tab-image img {
  max-width: 60%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cylinder-section {
  position: relative;
  margin-top: 40px;
  margin-bottom: 120px;  /* more breathing space below popup */
  padding-bottom: 250px; /* ensures popup doesn’t overlap next section */
  text-align: center;
}

/* Hero Section with Video */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* fullscreen */
  display: flex;
  align-items: center;   /* vertically center */
  justify-content: flex-start; /* move text to the left */
  padding-left: 80px;   /* add some space from edge */
  color: white;
  text-align: left;     /* make sure text is aligned left */
  z-index: 2;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%); /* center video */
  object-fit: cover; /* fill hero without distortion */
  opacity: 0.7; /* dim for readability */
  pointer-events: none; /* ignore clicks */
}


.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px; /* keeps text from stretching too far */
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000; /* fallback if video doesn't load */
}

/* Keep video in its natural aspect ratio */
.bg-video {
  display: block;
  max-width: 100%;   /* scale down if too wide */
  height: auto;      /* keep aspect ratio */
  margin: 0 auto;    /* center horizontally */
}