@charset "UTF-8";
/* Reset browser and theme defaults */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  overflow-x: hidden !important;
  /* Prevent horizontal scrolling */ }

/* Top banner */
.top-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: fixed;
  top: 0 !important;
  z-index: 1000;
  height: 80px;
  /* Match top-banner.yaml */
  margin-top: 0 !important; }
  .top-banner p {
    margin: 0;
    font-size: 1rem;
    font-family: roboto, source sans pro, sans-serif;
    /* Replace with Enov’s font */
    line-height: 1.5; }

/* Carousel */
.home .swiper-container {
  width: 100% !important;
  max-width: 100vw !important;
  /* Constrain to viewport */
  height: 750px !important;
  margin: 0 auto;
  margin-bottom: 120px !important;
  position: relative !important;
  z-index: 100 !important;
  overflow: hidden !important;
  /* Prevent overflow */ }

/* Carousel content */
.home .swiper-slide {
  position: relative !important;
  display: block !important;
  /* Remove flex to avoid positioning issues */
  width: 100% !important;
  height: 100% !important; }

.home .swiper-slide img {
  height: 100% !important;
  max-width: 100% !important;
  /* Ensure image fits */
  object-fit: cover !important;
  display: block !important;
  width: 100% !important; }

/******************ORIGINAL*********/
.home .carousel-content {
  bottom: 20px !important;
  left: 20px !important;
  color: #484545 !important;
  background: rgba(219, 219, 219, 0.95) !important;
  padding: 10px !important;
  border-radius: 10px !important;
  z-index: 110 !important;
  /* Above image */
  max-width: 90% !important;
  /* Prevent text overflow */
  position: absolute !important; }

/****************************/
/* With sides blended
.carousel-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: rgb(72, 69, 69);
    // background: rgba(200, 244, 230, 0.95);
    background: rgba(246, 244, 244, 0.95);
    padding: 20px;
    border-radius: 5px;
    z-index: 10;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);

    // Alternative linear gradient approach if radial doesn't work as expected
    mask-image:
        linear-gradient(to right, black 0%, black calc(100% - 20px), transparent 100%),
        linear-gradient(to left, black 0%, black calc(100% - 20px), transparent 100%),
        linear-gradient(to bottom, black 0%, black calc(100% - 20px), transparent 100%),
        linear-gradient(to top, black 0%, black calc(100% - 20px), transparent 100%);
    -webkit-mask-image:
        linear-gradient(to right, black 0%, black calc(100% - 20px), transparent 100%),
        linear-gradient(to left, black 0%, black calc(100% - 20px), transparent 100%),
        linear-gradient(to bottom, black 0%, black calc(100% - 20px), transparent 100%),
        linear-gradient(to top, black 0%, black calc(100% - 20px), transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}
*/
.home .carousel-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  margin-left: 2px;
  margin-right: 5px;
  margin-top: 0px; }

.home .carousel-content p {
  font-size: 1rem;
  margin-bottom: 15px; }

.home .carousel-content .btn {
  display: inline-block;
  font-family: roboto, source sans pro, sans-serif;
  font-size: 13px;
  padding: 10px 20px;
  background: #4869e8;
  color: white;
  text-decoration: none;
  border-radius: 5px; }

.home .swiper-button-prev,
.home .swiper-button-next {
  color: #007bff;
  background: rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-left: 0px;
  margin-right: 10px;
  border-radius: 50%;
  z-index: 10; }

.home .swiper-pagination {
  position: absolute;
  bottom: 10px;
  z-index: 10; }

.home .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5); }

.home .swiper-pagination-bullet-active {
  background: #007bff; }

/* Navigation */
.navbar {
  z-index: 1001;
  position: fixed;
  top: 0 !important;
  width: 100%;
  margin-top: 0 !important;
  background: rgba(0, 0, 0, 0.9); }

.navbar a,
.navbar button,
.navbar .menu-icon {
  color: #ffffff !important;
  z-index: 1002 !important; }

.navbar .menu-icon {
  padding: 10px !important; }

/* Homepage-specific spacing */
.home .slider,
.home .section,
.home .container {
  margin-top: 0 !important;
  padding-top: 0 !important; }

/* Responsive screenshot grid for tour page */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Two columns on desktop */
  gap: 20px;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box; }

.screenshot-item {
  text-align: center; }

.screenshot-item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 5px solid #9e1b32;
  /* Match original table border */ }

.screenshot-item p {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 500; }

/* Video placeholder and dashboard image scaling */
.video-placeholder-container {
  text-align: center;
  margin: 0 auto;
  max-width: 100%; }

.video-placeholder {
  max-width: 100%;
  width: 100%;
  max-width: 500px;
  /* Cap width for desktop */
  height: auto;
  display: block;
  margin: 0 auto; }

.screenshot-main-container {
  text-align: center;
  margin: 0 auto;
  max-width: 100%; }

.screenshot-main {
  max-width: 100%;
  width: 100%;
  max-width: 1000px;
  /* Cap width for desktop */
  height: auto;
  display: block;
  margin: 0 auto 10px; }

/* Mobile adjustments */
@media (max-width: 768px) {
  .top-banner {
    height: 40px !important; }
    .top-banner p {
      font-size: 0.9rem; }
  /* Ensure header-top and top-banner don’t clip dropdown */
  .header-top,
  .top-banner,
  .navbar,
  .navigation,
  .navbar-collapse {
    background: black !important;
    overflow: visible !important;
    /* Remove scrollbar */
    max-height: none !important;
    /* Remove height constraints */ }
  .nav-item.dropdown {
    position: relative !important;
    /* Anchor for absolute-positioned dropdown */ }
  .dropdown-menu {
    position: fixed !important;
    /* Attach to viewport */
    top: 250px !important;
    /* Below navbar (adjust if navbar height differs) */
    left: 0 !important;
    /* Align with nav-item */
    z-index: 1002 !important;
    /* Above .navbar (1001) and .top-banner (1000) */
    width: 100% !important;
    /* Full width for mobile */
    max-height: none !important;
    /* Prevent internal scrollbar */
    overflow: visible !important;
    /* Allow dropdown to extend */
    min-width: 200px !important;
    /* Ensure usable width */ }
  .dropdown-menu {
    display: none !important; }
  .dropdown-menu.show {
    display: block !important; }
  .home .swiper-container {
    box-sizing: border-box !important;
    height: 410px !important;
    margin-bottom: 60px !important;
    /* More space below carousel */
    margin-top: 60px !important;
    /* Below header (~50px) */
    padding-top: 10px !important;
    /* Extra padding for spacing */
    z-index: 100 !important; }
  .home .carousel-content {
    max-width: 80% !important;
    /* Limit width */
    bottom: 10px !important;
    /* Closer to bottom */
    left: 10px !important;
    /* Closer to left */
    background: rgba(234, 234, 234, 0.9) !important;
    /* Slightly darker for readability */
    padding: 5px !important;
    /* Smaller padding */ }
  .home .carousel-content h2 {
    margin-bottom: 5px !important;
    font-size: 1.2rem !important;
    /* Smaller title */ }
  .home .carousel-content p {
    margin-bottom: 5px !important;
    font-size: 0.8rem !important;
    /* Smaller text */ }
  .home .carousel-content .btn {
    font-size: 0.8rem !important;
    padding: 8px 15px !important;
    /* Smaller button */ }
  .home .navbar {
    position: fixed;
    top: 0 !important;
    z-index: 1001 !important; }
  .home .navbar .menu-icon {
    position: fixed !important;
    top: 50px !important;
    right: 10px !important;
    z-index: 1002 !important;
    padding: 10px !important; }
  .home,
  .slider,
  .section,
  .container {
    margin-top: 0 !important;
    padding-top: 0 !important; }
  .section-content table {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    overflow-x: hidden !important; }
  .section-content table tr {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-bottom: 20px !important; }
  .section-content table td {
    width: 100% !important;
    text-align: center !important;
    padding: 10px !important; }
  .section-content table img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important; }
  /* Ensure captions are readable */
  .section-content table td::before {
    content: attr(data-label);
    /* Use data-label for captions if needed */
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem; }
  .screenshot-grid {
    grid-template-columns: 1fr;
    /* Single column on mobile */
    gap: 15px;
    padding: 10px; }
  .screenshot-item img {
    max-width: 100%;
    width: auto;
    height: auto; }
  .video-placeholder {
    max-width: 90%;
    /* Slightly smaller for mobile padding */
    width: 100%;
    height: auto; }
  .screenshot-main {
    max-width: 90%;
    width: 100%;
    height: auto; }
  /* Ensure no overflow in content containers */
  .section-content,
  .container,
  .main-content {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding: 10px !important; } }
