* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
body {
    margin-top: 0px !important;
}
  html {
    height: 100%;
    font-family: 'Almarai', Arial, sans-serif;
  }

  header.hidden {
    transform: translateY(-100%);
  }
  .swiper-slide.swiper-slide-active {
    width: 100% !important;
}

  .site-header {
    margin-bottom: -72px !important;
    background: transparent !important;
  }

  .footer-menu ul {
    color: black;
  }
.newsletter {
    padding-top: 45px !important;
}
.newsletter p.description {
    font-size: 14px !important;
    padding-top: 0px !important;
}
  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 72px;
    padding: 12px 35px !important;
    gap: 12px;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
  }

  .white-style .menu-toggle,
  .white-style .quick-links__item {
    color: white !important;
  }

  .logo img {
    width: 560px !important;
    margin-top: 25px;
    object-fit: cover !important;
  }

  a.custom-logo-link img {
    filter: invert(0) !important;
  }

  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 996 !important;
  }

  .logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    height: 0px !important;
  }

  nav ul {
    display: flex;
    list-style: none;
  }

  nav li {
    margin-left: 25px;
  }

  nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
  }

  nav a:hover {
    color: #ddd;
  }

  /* Swiper Container */
  .swiper-container {
    width: 100%;
/*     height: 120vh !important;*/
    position: relative;
  height: calc(100vh + 72px);

  }

  .swiper-wrapper {
    height: 100vh;
  }

  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: inherit;
    !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative !important;
    color: white !important;
    user-select: none;
    text-decoration: none;
    overflow: hidden;
  }

  .slide-content {
    background: transparent;
    width: 100%;
    text-align: right;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    text-transform: uppercase;
    padding: 18px 28px;
    color: #fff;
    box-sizing: border-box;
    user-select: none;
    pointer-events: none;
    z-index: 2;
    position: relative;
  }

  .video-container {
    position: relative;
    width: 100%;
    height: 100%;
  }

  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
  }

  /* Pagination dots vertical on right */
  .swiper-pagination {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 10;
    user-select: none;
  }

  .swiper-pagination-bullet {
    width: 3px;
    height: 3px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    margin: 8px 0;
  }

  .swiper-pagination-bullet-active {
    background: #fff;
    width: 2px;
    height: 64px;
    border-radius: 3px;
    opacity: 1;
  }

  /* Footer Styles */
  footer {
    background: #222;
    color: white;
    padding: 60px 30px;
    /*      min-height: 100vh;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .footer-bottom-outer {
    background: white !important;
    width: 100% !important;
  }

  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
  }

  .footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding-right: 20px;
  }

  .footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
  }

  .footer-column ul {
    list-style: none;
  }

  .newsletter small {
    color: black;
  }

  .footer-svg img {
    margin-top: 0px !important;
  }

  .footer-column li {
    margin-bottom: 10px;
  }

  .footer-column a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-column a:hover {
    color: #fff;
  }

  .footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
  }

  /* Status Message */
  .status-message {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #0f0;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1001;
    font-family: monospace;
  }

  /* Scroll Indicator */
  .scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 100;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s;
  }

  .scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
  }

  .scroll-indicator p {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: bounce 2s infinite;
  }

  @keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateY(0) rotate(45deg);
    }

    40% {
      transform: translateY(-10px) rotate(45deg);
    }

    60% {
      transform: translateY(-5px) rotate(45deg);
    }
  }

  /* Footer scroll indicator */
  .footer-scroll-indicator {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #888;
    text-align: center;
    font-size: 14px;
  }

  .open-popup-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 12px 20px;
    background-color: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    font-weight: bold;
  }

 .popup {
    position: fixed;
    bottom: 0px !important;
    right: 30px;
    background: hsla(0, 0%, 100%, .5);
    display: flex;
    align-items: center;
    padding: 0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    max-width: 400px;
    z-index: 999;
    height: 150px;
    opacity: 0;
    transform: translateY(70px);
    transition: all 0.8s ease-out;
    animation-delay: 10s;
    width: 420px !important;
    max-width: 100% !important;
    margin-bottom: 32px;
}

  /* Active state (when visible on scroll) */
  .popup.show {
    opacity: 1;
    transform: translateY(0);
  }

  .popup .image {
    background-color: #fff;
    /* padding: 20px;*/
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
  }

  .popup .image img {
    width: 80px;
    height: auto;
  }

  .info {
    padding-block: 20px;
    color: #000000;
    position: relative;
    flex: 1;
    padding-inline: 12px;
    text-align: start;
  }

  .popup .info h4 {
    margin: 0;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    /*margin-top: 15px;*/
    /*max-width: 80%;*/
    line-height: 21px;
    width: 100% !important;
  }

  .popup .info h2 {
    margin: 6px 0;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.3;
  }

  .popup .info .price {
    font-size: 12px;
    margin-top: 10px;
  }

  .popup .info .size {
    font-size: 12px;
  }

  /* Lock icon styling */
  .lock-icon {
    position: absolute;
    top: 0px;
    right: 10px;
    height: 23px;
/*    opacity: 0.7;*/
    cursor: default;
    background: white;
    padding: 5px;
    border-radius: 30px;
    width: 23px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: center;
    cursor: pointer !important;
  }

  .video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slide-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 2rem;
    z-index: 2;
  }

  /* Make 4th bullet a vertical progress bar */
  .swiper-pagination-bullet.progress-fill {
    width: 6px;
    height: 40px;
    /* total height of the bullet */
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    border-radius: 3px;
  }

  .swiper-pagination-bullet.progress-fill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #fff;
    transition: height 0.1s linear;
  }

  /* Footer scroll mode */
  body.footer-active {
    overflow-y: auto !important;
    touch-action: auto !important;
  }

  /* Ensure footer always shows */
  footer {
    display: block !important;
  }

  /* Add at the top of your CSS */
  body.footer-active footer {
    transform: translateY(0);
    transition: transform 0.6s ease-in-out;
  }

  footer {
    transform: translateY(100%);
    transition: transform 0.6s ease-in-out;
  }

  body.footer-active footer {
    transform: translateY(0) !important;
     display: block !important; 
  }
  a.swiper-slide.swiper-slide-active {
    margin: 0 !important;
}
footer {
    transform: translateY(0);
    transition: transform 0.6s ease-in-out;
    position: relative;
    z-index: 995;
}

  body.footer-active .swiper-container {
    pointer-events: none;
    z-index: 1;
  }

 .popup .image img {
    width: 150px !important;
    height: auto;
}

  .popup .info h4 {
    margin: 0;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    /*margin-top: 15px;*/
  }

  div#mega-overlay button#menu-toggle-overlay {
    color: black !important;
  }

  /* Container styling */
  .controls-container {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 50;
    max-width: fit-content;
    display: none;
  }

  /* Buttons styling */
  .control-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 6px;
    transition: all 0.2s ease;
    padding: 10px;
  }

  /* Hover and focus effects */
  .control-btn:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
  }

  /* Optional: make SVG icons slightly lighter when hovered */
  .control-btn:hover svg path {
    fill: #e0e0e0;
  }

  /* Ensure smooth transitions */
  .swiper-container {
    transition: transform 0.6s ease-in-out;
  }

  /* Prevent body scroll in slider mode */
  body:not(.footer-active) {
    overflow-y: auto;
    !important;
    position: fixed;
    width: 100%;
    height: 100%;
  }

  body {
    overflow-y: auto !important;
  }

  body.footer-active {
    overflow-y: auto !important;
    position: static;
    height: auto;
  }

  header.site-header.footer-reached .site-header__inner {
    background: #000 !important;
    z-index: 99;
  }

  header.site-header.footer-reached .logo {
    height: auto !important;
  }

  header.site-header.footer-reached .logo a {
    position: relative !important;
  }

  header.site-header.footer-reached .logo img {
    width: 288px !important;
    margin-top: 0px;
  }

  header.site-header .logo img {

    margin-top: 0 !important;

  }

  .home .footer-reached .logo a {
    top: 0px !important;
    position: relative !important;
  }

  footer {
    transform: translateY(0px) !important;
  }

  /* Mobile Responsive */
  @media (max-width: 768px) {
    a.swiper-slide.swiper-slide {
    width: 100% !important;
}
.swiper-slide.swiper-slide-active {
    width: 100% !important;
}

    .logo img {
      max-width: 380px !important;
      height: auto;
    }

    .social-links {
      text-align: start;
    }

    header {
      flex-direction: column;
      text-align: center;
    }

    nav ul {
      margin-top: 10px;
      flex-wrap: wrap;
      justify-content: center;
    }

    nav li {
      margin: 5px 10px;
    }

    .footer-columns {
      flex-direction: column;
    }

    .footer-column {
      margin-bottom: 30px;
      padding-right: 0;
    }

    .status-message {
      top: 10px;
      left: 10px;
      font-size: 12px;
      padding: 8px 12px;
    }

    .popup {
      width: 85% !important;
      transform: translateX(-50%) !IMPORTANT;
      left: 50%;
      height: 102px !important;
      bottom: 80px !important;
      max-width: 343px !important;
    }

    .popup .image img {
      width: 102px !important;
      height: 102px !important;
    }

    .popup .image {
      height: 102px !important;
      width: 102px !important;
    }

    .popup .info h4 {
      max-width: 100% !important;
      margin-top: 0 !important;

    }

    .info {
      padding: 14px 14px !important;
    }

    .popup .info h4 {
      margin-top: 3px;
      font-size: 9px !important;
    }

    .popup .info h2 {
      margin: 4px 0;
      line-height: 1;
    }

    .popup .info .size {
      font-size: 9px;
      line-height: 1;
    }

    .popup .info .price {
      margin-top: 0px !important;
    }

    .swiper-wrapper {
      gap: 0px !important;
    }

    .controls-container {
      top: 200px !important;
      right: 30px;
      left: 0;
    }

    .lock-icon {
      top: 10px;
    }
  }

  @media (max-width: 500px) {
    .lock-icon {
      top: 5px !important;
      right: 6px;
    }

    .info {
      padding: 15px 10px !important;
      height: 100%;
    }

    .footer-svg img {
      transform: none !important;
    }

    .footer-svg img {
      position: static !important;
    }

    .popup {
      position: fixed;
    }

    .popup .info h4 {
      margin: 0;
      font-size: 12px;
      letter-spacing: 1px;
      text-transform: uppercase;
      line-height: 1.4;
    }

    .popup .info h2 {
      font-size: 13px;
    }

    .popup .info .price {
      font-size: 10px;
    }

    .popup .info .size {
      font-size: 9px;
    }

    .site-header__inner .logo img {
      max-width: 343px;
      height: auto;
      position: absolute;
      left: 50%;
      transform: translateX(-50%) !IMPORTANT;
    }

    header.site-header.white-style.hidden.footer-reached .site-header__inner {
      background-color: black !important;
    }

    .footer-reached .logo img {
      max-width: 144px !important;
      margin-top: -10px !important;
    }
  }

  @media (max-width: 640px) {
    .quick-links__item svg {
      display: block;
      filter: invert(0) !important;
    }

    .white-style .quick-links__item svg {
      display: block;
      filter: invert(1) !important;
    }
  }

  @media (max-width: 390px) {
    .logo img {
      max-width: 296px !important;
    }

    .popup .image {
      width: 102px;
    }
  }