:root {
    /* --primary: #1363C6; */
    --primary:#14183E;
    --secondary: #15ACE1;
    --light: #F4F7FE;
    --dark: #14183E;
}
 body{
    overflow-x: hidden;
    font-family: Segoe UI,"Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;
 }

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}



/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}
/* For smaller screens (992px and below) */
@media (min-width: 992px) {
  .navbar {
     padding: 11px 0 !important;
    height: 75px !important;
 
  }
}


/* For desktop & larger screens (992px and above) */
@media (max-width: 992px) {
  .navbar {
     padding: 0px 0 !important;
    height: 125px !important;
    
  }
}


.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: #fff;   /* fixed */
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/* === Submenu Styles === */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;       /* hide by default */
  position: absolute;
  min-width: 200px;    /* optional: ensure submenu width */
  z-index: 1000;       /* keep on top */
}

/* Show submenu on hover */
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* === Mobile Adjustments === */
@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    /* make submenus stack below in mobile */
    .dropdown-submenu > .dropdown-menu {
        position: relative;
        left: 0;
        margin: 0;
    }
}

/* basic fixes so submenu can overlay */
.navbar, .navbar .navbar-nav { overflow: visible; }

/* keep dropdown menus in DOM on desktop and hide with opacity/visibility */
@media (min-width: 992px) {
  /* Top-level dropdown menu (desktop): keep it in DOM but invisible until hover */
  .navbar .dropdown > .dropdown-menu {
    display: block;               /* present in layout but absolutely positioned */
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 2000;
  }

  /* Show top-level dropdown on hover */
  .navbar .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Submenu (nested dropdown) */
  .dropdown-submenu {
    position: relative;
  }

  .dropdown-submenu > .dropdown-menu {
    display: block;               /* keep present in DOM */
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: .1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    min-width: 220px;
    z-index: 2100;
  }

  /* Show nested submenu on hover */
  .dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  /* ensure parent dropdown stays on top while hovered */
  .navbar .dropdown:hover { z-index: 2200; }
}

/* Mobile: let Bootstrap handle click toggles (do not override display) */
@media (max-width: 991.98px) {
  .dropdown-submenu > .dropdown-menu {
    position: relative;
    left: 0;
    margin: 0;
  }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    background: url(https://spintranet365.com/img/bg-hero.png) center center no-repeat;
    background-size: cover;
    padding-bottom:50px ;
}
.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

    /* --- Product Page --- */

/* Top Section */
.top-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
  align-items: center;
}
.top-section .intro {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  /* box-shadow: 0 6px 16px rgba(0,0,0,0.08); */
}
.top-section iframe {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Details + Carousel */
.details-carousel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}
.details {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  /* box-shadow: 0 6px 16px rgba(0,0,0,0.08); */
}
.details h2 { color: #004578; margin-bottom: 20px; }
.details ul { list-style: none; padding: 0; }
.details ul li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}
.details ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0078d4;
  font-weight: bold;
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  background: #000;
}
.carousel-images {
  display: flex;
  transition: transform 0.6s ease-in-out;
}
.carousel-images img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}
.carousel button.prev { left: 10px; }
.carousel button.next { right: 10px; }
.indicators {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}
.indicators span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
}
.indicators span.active { background: #0078d4; }

/* --- Responsive Styles --- */

/* Tablets */
@media (max-width: 992px) {
  .top-section,
  .details-carousel {
    grid-template-columns: 1fr; /* stack vertically */
  }
  .top-section iframe {
    height: 300px; /* smaller video */
  }
  .carousel {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .top-section .intro, 
  .details {
    padding: 20px;
  }
  .top-section iframe {
    height: 220px; /* smaller for phones */
  }
  .carousel-images img {
    height: 220px;
  }
  .carousel button {
    font-size: 16px;
    padding: 6px;
  }
}


    /* Pricing Section */
    .pricing {
      text-align: center;
      margin-bottom: 60px;
    }
    .pricing h2 { color: #004578; margin-bottom: 20px; }
    .pricing-cards {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }
    
    .pricing button {
      margin-top: 15px;
      padding: 10px 20px;
      border: none;
      background: #0078d4;
      color: #fff;
      border-radius: 6px;
      cursor: pointer;
    }

    /* Installation Section */
    .installation {
      margin-bottom: 60px;
    }
    .installation h2 { text-align: center; color: #004578; margin-bottom: 30px; }
    .steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
    .step {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 6px 16px rgba(0,0,0,0.08);
      text-align: center;
    }
    .step img {
      width: 80px;
      height: 80px;
      margin-bottom: 15px;
    }
    .step h3 { margin-bottom: 10px; color: #0078d4; }


/*** Footer ***/
.footer {
    background: url(https://spintranet365.com/img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
     color: rgba(237, 229, 229, 0.646);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
      color: rgba(237, 229, 229, 0.646);
    font-weight: normal;
    transition: .3s;
}


.footer .btn.btn-link:hover {
    color: #FFFFFF;
}
.container-fluid bg-dark text-white-50 footer pt-5 p{
  color: rgba(237, 229, 229, 0.646);
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
 color: rgba(237, 229, 229, 0.646);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

    @media (max-width: 600px) {
      .overlay h2 {
        font-size: 1.5em;
      }

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

      .form-group input,
      .form-group button {
        width: 100%;
      }

      .footer-links {
        flex-direction: column;
        gap: 10px;
      }
    }

    /*Download and Contact button*/
  .header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-buttons a {
  display: inline-block;
  margin-left: 30px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-buttons img {
  width: 40px; /* adjust as needed */
  height: 40px;
  cursor: pointer;
}

.header-buttons a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}
/*Download and Contact button*/

/*SlideShow Product Images */
 /* Gallery grid */
    .gallery{
     display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 2fr));
    gap: var(--gap);
    
    }
    .thumb{
      position:relative;
      height:var(--thumb-height);
      overflow:hidden;
      /* border-radius:10px; */
      cursor:pointer;
      /* box-shadow:0 6px 18px rgba(0,0,0,0.6); */
      /* background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(0,0,0,0.06)); */
      display:flex;align-items:center;justify-content:center;
      padding: 2%;
    }
    .thumb img{
      width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease;
    }
    .thumb:hover img{transform:scale(1.06)}
    .thumb .caption{
      position:absolute;left:8px;bottom:8px;padding:6px 8px;border-radius:6px;background:rgba(0,0,0,0.45);font-size:12px;color:#fff
    }

    /* Lightbox / Modal */
    .lightbox{
      position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(2,6,23,0.85);backdrop-filter:blur(6px);opacity:0;pointer-events:none;transition:opacity .18s ease;
    }
    .lightbox.open{opacity:1;pointer-events:auto}
    .lightbox-content{
      max-width:calc(100% - 48px);
      max-height:calc(100% - 48px);
      width:min(1100px,95%);
      background:transparent;display:flex;flex-direction:column;align-items:center;gap:10px;position:relative
    }
    .lightbox-img{
      max-width:100%;max-height:calc(500px);object-fit:contain;border-radius:10px;box-shadow:0 12px 40px rgba(0,0,0,0.7)
    }
    .toolbar{
      display:flex;align-items:center;gap:10px;width:100%;justify-content:space-between
    }
    .meta{color:#cbd5e1;font-size:14px}

    /* Controls */
    .btn{
      
      padding:8px 10px;
      border-radius:8px;color:var(--fg);cursor:pointer;font-size:14px
    }
    .btn:active{transform:scale(.98)}
    .nav-controls{display:flex;gap:8px}
    .big-icon{font-size:18px}

    /* Prev / Next arrows overlay */
    .arrow{
      position:absolute;top:50%;transform:translateY(-50%);width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.35);cursor:pointer;user-select:none
    }
    .arrow.left{left:14px}
    .arrow.right{right:14px}

    /* Small responsive tweaks */
    @media (max-width:520px){
      :root{--thumb-height:110px}
      .arrow{width:44px;height:44px}
    }
