
/* Reset basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #fff;
}

a {
  color: white;
  text-decoration: none;
}

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

.contact {
  text-align: center;
  padding: 60px 20px;
}

.btn {
  background: #0af;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
}

footer {
  text-align: center;
  padding: 20px;
  background: #000;
}

/* Caption button */
.demo-btn {
  background-color: #0af;
  color: white;
  padding: 2px 10px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}
.demo-btn:hover {
  background-color: #08c;
}


/* Header styles */
.site-header {
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgb(0, 0, 0);
  opacity: 0.9;
  /*backdrop-filter: blur(2px);*/
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

/* Hide one header depending on screen size */
.site-header-mobile {
  display: none;
}

.site-header-desktop {
  display: block;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  color: white;
  padding: 10px 12px;
  text-decoration: none;
  transition: background 0.2s;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 500;
}

.main-nav a:hover {
  background-color: #222;
}

.logo img {
  margin-top: 10px;
  margin-bottom: 10px;
  height: 70px;
  vertical-align: middle;
}


/* Dropdown styles */
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #222;
  border-radius: 6px;
  padding: 10px 0;
  min-width: 200px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.has-dropdown::before .dropdown {
  display: block;
}

.dropdown li {
  width: 100%;
}

.dropdown li a {
  font-size: 16px;
  font-weight: normal;
  padding: 10px 20px;
  display: block;
  white-space: nowrap;
}

.dropdown li a:hover {
  background-color: #333;
}

/* Hero slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: -100px; /* adjust based on your header height */
  background-color: #000; /* fallback */
}

/* Slider buttons */
.hero-slider .prev,
.hero-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
  border-radius: 5px;
}

.hero-slider .prev {
  left: 20px;
}

.hero-slider .next {
  right: 20px;
}

/* Dots */
.hero-slider .dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-slider .dot {
  width: 12px;
  height: 12px;
  background: #aaa;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-slider .dot.active {
  background: #fff;
}

/* Base caption style */
.hero-slider .caption {
  position: absolute;
  bottom: 60px;
  color: white;
  z-index: 2;
  max-width: 50%;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
}

.hero-slider .caption h1 {
  font-size: 38px;      /* Main headline */
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-slider .caption h2 {
  font-size: 28px;      /* Subheadline */
  font-weight: normal;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Base caption-wide style */
.hero-slider .caption-wide {
  position: absolute;
  bottom: 60px;
  color: white;
  z-index: 2;
  min-width: 75%;
  max-width: 100%;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
}

.hero-slider .caption-wide h1 {
  font-size: 38px;      /* Main headline */
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-slider .caption-wide h2 {
  font-size: 28px;      /* Subheadline */
  font-weight: normal;
  margin-bottom: 20px;
  line-height: 1.4;
}



/* Hero-thin slider */
.hero-thin-slider {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin-top: -100px; /* adjust based on your header height */
  background-color: #000; /* fallback */
}

/* Slider buttons */
.hero-thin-slider .prev,
.hero-thin-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
  border-radius: 5px;
}

.hero-thin-slider .prev {
  left: 20px;
}

.hero-thin-slider .next {
  right: 20px;
}

/* Dots */
.hero-thin-slider .dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-thin-slider .dot {
  width: 12px;
  height: 12px;
  background: #aaa;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-thin-slider .dot.active {
  background: #fff;
}

/* Base caption style */
.hero-thin-slider .caption {
  position: absolute;
  bottom: 60px;
  color: white;
  z-index: 2;
  max-width: 50%;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
}

.hero-thin-slider .caption h1 {
  font-size: 38px;      /* Main headline */
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-thin-slider .caption h2 {
  font-size: 28px;      /* Subheadline */
  font-weight: normal;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Base caption-wide style */
.hero-thin-slider .caption-wide {
  position: absolute;
  bottom: 60px;
  color: white;
  z-index: 2;
  min-width: 75%;
  max-width: 100%;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
}

.hero-thin-slider .caption-wide h1 {
  font-size: 38px;      /* Main headline */
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-thin-slider .caption-wide h2 {
  font-size: 28px;      /* Subheadline */
  font-weight: normal;
  margin-bottom: 20px;
  line-height: 1.4;
}



/* Caption button */
.caption-btn {
  background-color: #0af;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
  transition: background 0.3s;
}
.caption-btn:hover {
  background-color: #08c;
}

/* Slide-specific positions */
.caption-left {
  left: 40px;
  text-align: left;
}

.caption-right {
  right: 40px;
  text-align: right;
}

.caption-center {
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

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

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures full image shows */
  object-position: center;
}

.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures full image shows */
  object-position: center;
}





/* Carousel section */
.carousel {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 40px 20px;
  scroll-snap-type: x mandatory;
}

.carousel-title {
  text-align: left;
  font-size: 36px;
  font-weight: bold;
  color: #000000;
  margin-top: 0;
  margin-left: 50px;
  margin-bottom: 30px;
  animation: fadeUp 3s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.video-carousel {
  background-color: rgb(255, 255, 255);
  margin: 30px auto;
  overflow: hidden;
  max-width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  padding: 20px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
  margin-left: 100px;
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.video-card {
  flex: 0 0 90%;
  max-width: 1280px;
  scroll-snap-align: center;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.video-card iframe {
  width: 100%;
  height: 720px;
  border: none;
  display: block;
}

.video-card video {
  width: 100%;
  height: 720px;
  border: none;
  display: block;
}

/* Dots */
.carousel-dots {
  text-align: center;
  margin-top: 20px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background: #666;
  display: inline-block;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots .dot.active {
  background: #fff;
}

/* Feature cards section */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 60px 20px;
  margin-left: 100px;
  margin-right: 100px;
  justify-content: center;
}

.features-section {
  background-color: #000000;
  position: relative;
  padding: 30px 20px;
  text-align: center;
  z-index: 1; /* ensure content is on top */
  overflow: hidden;
}

/* Background image using pseudo-element */
.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/background-black-dots.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2; /* control the visibility */
  z-index: -1; /* place behind content */
}

.features-heading {
  text-align: left;
  font-size: 36px;
  margin-top: 0;
  margin-left: 50px;
  margin-bottom: 30px;
  color: #ffffff;
  animation: fadeUp 3s ease forwards;
}

/* Animation prep */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional keyframe for initial title fade-in */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background: #22222280;
  padding: 20px 20px;
  border-radius: 12px;
  max-width: 280px;
  text-align: center;
  flex: 1 1 250px;
  transition: transform 0.3s ease;
}

.card:hover{
  transform: translateY(-5px);
}

.card img {
  width: 128px;
  height: 128px;
  margin-bottom: 20px;
  object-fit: contain;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0af;
}

.card p {
  font-size: 14px;
  line-height: 1.5;
}



/* Description section */
.media-carousel-section {
  padding: 80px 40px;
  background-color: #000;
  color: #fff;
}

.carousel-header {
  max-width: 700px;
  margin: 0 100px 60px;
  text-align: left;
}

.carousel-header h2 {
  text-align: left;
  font-size: 36px;
  margin-bottom: 20px;
  color: #0af;
}

.carousel-header p {
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
}

/* Horizontal main carousel */
/* Horizontal scroll container */
.media-carousel {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  margin-left: 100px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.media-carousel::-webkit-scrollbar {
  display: none;
}

/* Generic panel */
.carousel-panel {
  flex: 0 0 90%;
  max-width: 1000px;
  background: #111;
  border-radius: 20px;
  scroll-snap-align: center;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(31, 31, 31, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16/9;
  padding: 0px;
}

/* 1x1 layout (single media) */
.layout-1x1 img,
.layout-1x1 iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  border: none;
}

.layout-1x1 video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  border: none;
}

/* 2x1 layout (2 rows, 1 column) */
.layout-2x1 {
  flex-direction: column;
  gap: 16px;
}

.layout-2x1 img {
  width: 100%;
  height: 50%;
  object-fit: contain;
  border-radius: 12px;
}

/* 2x2 layout (optional future use) */
.layout-2x2 {
  flex-wrap: wrap;
  gap: 16px;
  align-content: stretch;
}

.layout-2x2 img {
  width: calc(50% - 8px);
  height: 50%;
  object-fit: contain;
  border-radius: 12px;
}

.carousel-nav {
  background-color: #000;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 0;
  padding-bottom: 20px;
  flex-wrap: wrap;
}

.carousel-label {
  font-size: 16px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 20px;
  color: #888;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.carousel-label:hover{
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.carousel-label.active {
  background: #0af;
  color: #fff;
  font-weight: 500;
}


/* FUll image section */
.full-image-section {
  padding: 60px 140px;
  text-align: left;
  background-color: #ffffff;
  color: #000000;
}

.full-image-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #0af;
}

.full-image-section p {
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 1000px;
  line-height: 1.6;
}

.full-image-section img {
  display: block;
  margin: 0 auto;
  width: 85%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.full-image-section video {
  width: 85%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 36px;
  color: #0af;
  margin: 0;
}

.explore-btn {
  background-color: #0af;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.explore-btn:hover{
  background-color: #0af;
}




/* Description item section */
.description-section {
  background-color: #f9f9f9;
  color: #1a1a1a;  
  padding: 30px 100px;
}

.description-section-black {
  background-color: #000000;
  color: #ffffff;
  padding: 30px 100px;
}

.description-header {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 60%;
}

.description-header img.logo {
  max-width: 140px;
  flex-shrink: 0;
}

.description-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c5aa0;
  text-align: left;
}

.description-text p {
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}





/* MLange capabilities section */
.mlange-capabilities {
  padding: 30px 20px;
  background: #f9f9f9;
  color: #1a1a1a;
}

.scrollable-toolbar {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 0 0;
  margin-bottom: 40px;
  margin-left: 100px;
  margin-right: 100px;
  scrollbar-width: none;
  color: #1a1a1a;
}

.scrollable-toolbar::-webkit-scrollbar {
  display: none;
}

.feature-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  cursor: pointer;
  border-radius: 6px;
  background: #eaf4ff;
  transition: background-color 0.2s;
  color: #1a1a1a;
}

.feature-tab:hover {
  transform: scale(1.05);
  background: #3e6fc0;
  color: #fff;
}

.feature-tab img {
  width: 32px;
  height: 32px;
}

.feature-tab span {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-details {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-left: 100px;
  margin-right: 100px;
}

.feature-content {
  display: flex;
  flex-wrap: wrap;
  align-items: top;
  gap: 40px;
}

.feature-content img {
  max-width: 1000px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-content video {
  max-width: 1000px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-text {
  flex: 1;
  min-width: 280px;
}

.feature-text h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #2c5aa0;
}

.feature-text p {
  font-size: 16px;
  line-height: 1.6;
}

.hidden {
  display: none !important;
}

.feature-tab.active {
  background: #2c5aa0;
  color: #fff;
}

.feature-tab.active span {
  color: #fff;
}




/* product info section */
.product-info {
  padding: 60px 100px;
  background: #ffffff;
  color: #1a1a1a;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #ddd;
  margin-bottom: 30px;
}

.tab-button {
  padding: 14px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 16px;
  font-weight: 600;
  color: #2c5aa0;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.2s;
}

.tab-button:hover{
  background-color: #f0f7ff;
}

.tab-button.active {
  border-bottom: 3px solid #2c5aa0;
  background-color: #f0f7ff;
  color: #1a1a1a;
}

.tab-content {
  padding: 30px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.tab-content h3 {
  margin-top: 0;
  font-size: 22px;
  color: #2c5aa0;
}

.tab-content p {
  font-size: 16px;
  line-height: 1.6;
}

a.cta-link {
  color: #0af;            /* Your brand blue */
  text-decoration: underline;
  font-weight: 500;       /* optional: make it slightly bolder */
}

a.cta-link:hover{
  color: #08c;            /* Slightly lighter blue on : */
  text-decoration: none;  /* optional: remove underline on : */
}




/* Inquiry section */
.inquiry-section {
  color: #fff;
  padding: 30px 60px;
  background-color: #000000;
  position: relative;
  padding: 30px 60px;
  text-align: center;
  z-index: 1; /* ensure content is on top */
  overflow: hidden;

}

.inquiry-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url('assets/background-black-dots.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2; /* control the visibility */
  z-index: -1; /* place behind content */
}

.inquiry-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* vertical alignment */
  flex-wrap: nowrap;   /* keep image and form in one line */
  margin-left: 100px;
  gap: 80px;
}

.inquiry-form {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.inquiry-form h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #0af;
}

.form-fields {
  margin-top: 40px;
}

.form-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group.full-width {
  flex-direction: column;
}

.inquiry-form input,
.inquiry-form textarea {
  flex: 1;
  padding: 12px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #d2d2d2;
}

.inquiry-form button {
  padding: 12px 24px;
  background-color: #0af;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  width: fit-content;
}

.inquiry-form button:hover{
  background-color: #08c;
}

.support-note {
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
  text-align: left;
}

.support-note a {
  color: #0af;
  text-decoration: underline;
}

.inquiry-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align image to the left */
}

.inquiry-image img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Wrapper */
.choices__inner {
  background-color: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #333 !important;
  border-radius: 6px;
  font-size: 14px;
  padding: 12px;
  text-align: left;
}

/* Dropdown panel */
.choices__list--dropdown {
  background-color: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #333 !important;
  border-radius: 6px;
  text-align: left;
  max-height: 210px;
}

/* Dropdown items */
.choices__list--dropdown .choices__item {
  color: #fff !important;
  background-color: transparent;
  padding: 10px;
  border-bottom: 1px solid #333;
}

/* Highlighted item */
.choices__item--selectable.is-highlighted {
  background-color: #0af !important;
  color: #000 !important;
}

.choices__input {
  background-color: #1a1a1a !important;
  color: #fff !important;
  border: none !important;
}

.choices__placeholder {
  color: #fff !important;
}



/* Footer section */
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 40px 60px;
  font-size: 14px;
  border-top: 1px solid #333;
}

.footer-container {
  max-width: 50%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 100px;
  margin-left: 100px;
  margin-right: 100px;
}

.footer-brand {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.footer-logo {
  max-width: 240px;
  height: auto;
  margin-bottom: 10px;
  display: block;
}

.footer-tagline {
  color: #ffffff;
  margin: 0 0 10px;
  text-align: left;
}

.footer-address {
  font-style: normal;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 20px;
  text-align: left;
}

.footer-email {
  color: #ffffff;

  text-align: left;
}

.footer-email a {
  color: #0af;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin: 10px 0;
  justify-content: flex-start;
}

.footer-social img {
  width: 28px;
  height: 28px;
  border-radius: 20%;
  transition: opacity 0.3s;
  margin-top: 20px;
}

.footer-social img:hover{
  opacity: 0.7;
}

.footer-column {
  min-width: 180px;
  text-align: left;
}

.footer-column h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #fff;
  text-align: left;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #0af;
  text-decoration: none;
}

.footer-links a:hover{
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  color: #777;
  font-size: 13px;
}


/* Performance grid section */
.performance-grid {
  background: #fff;
  padding: 60px 40px;
  color: #000;
  text-align: center;
}

.grid-title {
  margin-bottom: 40px;
  font-size: 28px;
  color: #2c5aa0;
}

.grid-container {
  display: grid;
  grid-template-areas:
    "tl center tr"
    "bl center br";
  grid-template-columns: 1fr 3fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.grid-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.grid-item.center {
  grid-row: span 2;
}

.grid-item.tall {
  grid-row: span 2;
}

.overlay-text {
  position: absolute;
  color: #ffffff;
  font-weight: bold;
  font-size: 20px;
  text-shadow: 0 0 8px rgba(0, 61, 203, 0.9);
}

.overlay-text h3 {
  margin: 0;
  font-size: 36px;
}

.overlay-text h4 {
  margin: 0;
  font-size: 24px;
}

.overlay-text p {
  margin: 0;
  font-size: 14px;
}



/* Modular section */
.modular-section {
  background-color: #000000;
  position: relative;
  padding: 60px 100px;
  text-align: left;
  z-index: 1; /* ensure content is on top */
  overflow: hidden;
}

/* Background image using pseudo-element */
.modular-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/background-black-dots.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2; /* control the visibility */
  z-index: -1; /* place behind content */
}

.modular-heading {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.modular-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.modular-tab {
  padding: 10px 16px;
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.modular-tab.active {
  background-color: #2c5aa0;
  color: #fff;
  font-weight: bold;
}

.modular-body {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: nowrap; /* prevent overlap */
}

.modular-image {
  flex: 0 0 auto;     /* don't grow or shrink */
  width: 50%;
  max-width: 700px;
  display: none;
}

.modular-image:not(.hidden) {
  display: block;
}

.modular-image img {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.modular-features {
  flex: 1;                    /* Take remaining width */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.modular-card {
  background-color: #222;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}
.modular-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}
.modular-card.dimmed {
  opacity: 0.3;
  filter: grayscale(100%);
}
.modular-tab {
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.modular-tab.active {
  background-color: #2c5aa0;
}
.hidden {
  display: none !important;
}





.spec-section {
  background: #fff;
  color: #000000;
  padding: 60px 100px;
}

.spec-heading {
  font-size: 36px;
  color: #0af;
  margin-bottom: 30px;
}

.spec-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.spec-tabs {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 100px;
  max-height: 80vh;
  overflow-y: auto;
}

.spec-tab {
  padding: 12px 16px;
  color: #000000;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.spec-tab:hover,
.spec-tab.active {
  background: #2c5aa0;
  color: #fff;
}

.spec-content {
  flex: 1;
  max-width: 1000px;
}

.spec-content h3 {
  margin-bottom: 10px;
}

.spec-content > div {
  margin-bottom: 40px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}

.spec-table th {
  background-color: #474747; /* Blue header */
  color: #fff;               /* White text */
  font-weight: bold;
  text-align: left;
  padding: 10px 16px;
}

.spec-table td {
  padding: 10px 16px;
  color: #000;               /* Black text */
  background-color: #dadada; /* Light blue default row */
}

/* Alternate row striping */
.spec-table tr:nth-child(even) td {
  background-color: #ffffff; /* White alternate row */
}

.spec-image {
  width: 100%;
  max-width: 600px;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.dimension-images {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.dimension-images img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  max-height: 400px; /* adjust if needed */
}



/*Team member section*/
.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 40px;
  padding: 40px 0;
}

.team-member {
  text-align: center;
  max-width: 240px;
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 100%;
  margin-bottom: 12px;
  object-position: center 20%; /* push face down */     /* zoom in slightly */
}

.team-member h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.team-member a {
  font-size: 0.9rem;
  color: #2c5aa0;
  text-decoration: none;
}


/* Services Section */
.service-section {
  background-color: #f9f9f9;
  padding: 80px 100px;
  color: #1a1a1a;
}

.service-heading {
  font-size: 36px;
  color: #2c5aa0;
  margin-bottom: 50px;
  text-align: left;
}

.service-item {
  margin-bottom: 60px;
  border-left: 4px solid #2c5aa0;
  padding-left: 20px;
  transition: all 0.3s ease;
}

.service-item h2 {
  font-size: 24px;
  color: #2c5aa0;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* Toggle Button Hidden on Desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}

.menu-toggle img {
  width: 32px;
  height: 32px;
}


/* ========================================
   MOBILE RESPONSIVE FIXES
   ======================================== */
@media (max-width: 768px) {

  .site-header-desktop {
    display: none;
  }

  .site-header-mobile {
    display: block;
  }

  .site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 2px;
    flex-wrap: wrap;
  }

  .logo img {
    height: 48px;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .menu-toggle img {
    width: 28px;
    height: 28px;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 10px 10px;
    margin: 0;
    align-items: flex-start; /* Key change */
  }

  .main-nav ul.show {
    display: flex;
  }

  .main-nav li {
    text-align: left;
    padding-left: 20px;
  }

  .main-nav .demo-btn {
    margin: 10px 20px;
    display: inline-block;
  }
  .main-nav a:hover {
    background-color: transparent; /* disables hover background */
  }
  .main-nav a:active {
    background-color: #111; /* quick flash on tap */
  }
  .has-dropdown > .dropdown {
    display: none;
    position: relative;       /* no absolute positioning */
    background: transparent;
    padding: 0;
    margin-left: 20px;
    width: 100%;
  }

  .dropdown li {
    padding: 0px;
  }

  .dropdown li a {
    color: white;
  }

  .hero-slider .caption-btn {
    font-size: 0.95rem;
    padding: 10px 18px;
    margin-top: 15px;
  }

  .hero-slider .caption,
  .hero-slider .caption-left,
  .hero-slider .caption-right,
  .hero-slider .caption-center {

    left: 0;
    bottom: 5%;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0;
    padding: 20px 10px;
    text-align: center;
  }

  .hero-slider .caption h1 {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .hero-slider .caption h2 {
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 10px;
  }

  .hero-thin-slider .caption,
  .hero-thin-slider .caption-wide {
    max-width: 90%;
    font-size: 90%;
    padding: 10px;
  }

  .hero-slider .prev,
  .hero-slider .next {
    display: none;
  }



  .video-carousel {
    padding: 0 0;
    background-color: #ffffff;
    text-align: center;
  }

  .carousel-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding: 0 0;
  }

  .carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 5px 10px;
    -webkit-overflow-scrolling: touch;
    margin-left: 10px;
  }

  .video-card {
    flex: 0 0 95%;
    scroll-snap-align: center;
    border-radius: 8px;
  }

  .video-card video {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .video-card iframe {
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .carousel-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }

  .carousel-dots .dot {
    width: 10px;
    height: 10px;
    background-color: #bbb;
    border-radius: 50%;
    transition: background-color 0.3s;
    cursor: pointer;
  }

  .carousel-dots .dot.active {
    background-color: #333;
  }




  .features-section {
    padding: 40px 20px;
    text-align: center;
  }

  .features-heading {
    margin: 0;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0;
  }

  .features {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin:0;
    padding-bottom: 0;
    align-items: center;
  }

  .card {
    width:60%;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  .card img {
    width: 64px;
    height: auto;
    margin-bottom: 15px;
  }

  .card h3,
  .card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }




  .media-carousel-section {
    padding: 20px 20px;
    background: #fff;
  }

  .carousel-header{
    margin:0;
  }
  .carousel-header h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    text-align: center;
  }

  .carousel-header p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444;
    text-align: center;
    padding: 0 5px;
  }

  .media-carousel {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    margin-left:0;
  }

  .carousel-panel {
    width: 95%;
    max-width: 95%;
    border-radius: 8px;
    overflow: hidden;
  }

  .carousel-panel video,
  .carousel-panel img,
  .carousel-panel iframe {
    width: 100%;
    height: auto;
    display: block;
    border: none;
  }

  .carousel-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
    padding: 0 10px;
    background: #fff;
  }

  .carousel-label {
    font-size: 0.85rem;
    padding: 6px 12px;
    background-color: #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
  }

  .carousel-label.active {
    background-color: #222;
    color: #fff;
  }




  .full-image-section {
    padding: 40px 40px;
    margin:0;
  }

  .section-heading{
    margin:0;
    display: flex;
  }
  .full-image-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
    text-align: center;
  }

  .full-image-section p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444;
    text-align: center;
    padding: 0 0;
    margin-top: 20px;
  }

  .full-image-section a {
    margin:0;
    text-align: center;
  }

  .full-image-section img {
    margin:0;
    width: 100%;
    height: auto;
  }

  .full-image-section video {
    margin:0;
    width: 100%;
    height: auto;
  }








  .performance-grid {
    padding: 30px 10px;
    text-align: center;
  }

  .grid-container {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .grid-item {
    width: 45%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .grid-item.center.wide {
    width: 94%;
  }

  .grid-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
  }

  .overlay-text {
    position: absolute;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
    padding: 5px;
  }

  .overlay-text h3 {
    font-size: 20px;
    margin: 0;
  }

  .overlay-text h4 {
    font-size: 16px;
    margin: 0;
  }

  .overlay-text p {
    font-size: 12px;
    margin: 0;
  }




  .modular-section {
    padding: 30px 16px;
    text-align: center;
  }

  .modular-heading {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .modular-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .modular-tab {
    flex: 0 0 auto;
    font-size: 0.85rem;
    padding: 8px 12px;
    white-space: nowrap;
  }

  .modular-body {
    flex-direction: column;
    gap: 20px;
  }

  .modular-image {
    width: 100%;
    max-width: none;
  }

  .modular-image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .modular-features {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .modular-card {
    padding: 16px;
  }

  .modular-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }

  .modular-card h4 {
    font-size: 1rem;
  }

  .modular-card p {
    font-size: 0.875rem;
  }








  .spec-section {
    padding: 30px 16px;
  }

  .spec-heading {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .spec-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .spec-tabs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto; /* allow scrolling */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    margin-bottom: 20px;
    max-width: 100%;
    max-height: 40px;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE and Edge */
  }

  .spec-tabs::-webkit-scrollbar {
    display: none;               /* Chrome, Safari, Opera */
  }

  .spec-tab {
    flex: 0 0 auto;
    font-size: 0.75rem;
    padding: 6px 10px;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    border-radius: 5px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    max-height: 36px;
  }

  .spec-tab.active {
    background-color: #2c5aa0;
    color: #fff;
    font-weight: bold;
  }
  
  .spec-content {
    max-width: 100%;
  }

  .spec-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .spec-content p {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .spec-table {
    font-size: 13px;
    overflow-x: auto;
    display: block;
    width: 100%;
  }

  .spec-table table {
    width: 100%;
    min-width: 600px; /* allow scroll if too narrow */
  }

  .dimension-images {
    flex-direction: column;
    gap: 20px;
  }

  .dimension-images img {
    max-height: 250px;
  }




  .mlange-capabilities {
    padding: 20px 16px;
  }

  .scrollable-toolbar {
    padding: 20px 0;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin: 0;
  }

  .feature-tab {
    flex: 0 0 auto;
    padding: 8px;
    gap: 8px;
    border-radius: 6px;
  }

  .feature-tab img {
    width: 28px;
    height: 28px;
  }

  .feature-tab span {
    font-size: 13px;
  }

  .feature-details {
    margin: 0;
    gap: 40px;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
  }

  .feature-content {
    flex-direction: column;
    gap: 20px;
    scroll-snap-align: start;
    min-width: 100%;
    transition: transform 0.3s ease;
  }

  .feature-content img,
  .feature-content video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .feature-text {
    text-align: left;
    padding: 0 2px;
  }

  .feature-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .feature-text p {
    font-size: 14px;
    line-height: 1.5;
  }





  .description-section,
  .description-section-black {
    padding: 20px 20px;
    margin:0;
  }

  .description-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
    text-align: center;
  }

  .description-section p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444;
    text-align: center;
    padding: 0 0;
    margin-top: 20px;
  }






  .product-info {
    padding: 30px 16px;
  }

  .product-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .tab-button {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 10px 16px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
  }

  .tab-button.active {
    border-bottom: 2px solid #2c5aa0;
  }

  .tab-content {
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
  }

  .tab-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .tab-content ul {
    padding-left: 20px;
  }

  .tab-content li {
    font-size: 14px;
    margin-bottom: 8px;
  }






  .inquiry-container {
    flex-direction: column;
    margin-left: 0;
    gap: 40px;
  }

  .inquiry-form {
    width: 100%;
  }

  .inquiry-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
  }

  .inquiry-form h2 {
    font-size: 1.5rem;
  }

  .inquiry-form p {
    font-size: 0.9rem;
  }

  .form-group {
    flex-direction: column;
    gap: 10px;
  }




  
  /* Caption button */
  .caption-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: background 0.3s;
  }


  .caption h1,
  .caption h2 {
    font-size: 1.5rem;
  }

  .description-header {
    flex-direction: column;
    max-width: 100%;
    gap: 20px;
    align-items: center;
  }

  .service-section {
    padding: 20px 20px;
    margin:0;
  }


  .footer-container {
    flex-direction: column;
    gap: 40px;
    max-width: 100%;
    margin: 0;
  }

  .feature-details {
    margin: 0 10px;
  }

  .team-container {
    justify-content: center;
  }

  .feature-content {
    flex-direction: column;
    align-items: center;
  }

  .dimension-images {
    flex-direction: column;
    align-items: center;
  }
}