/* Main stylesheet placeholder for Leadernace */
:root {
  --transition-speed: 0.3s;
  --ease: ease-in-out;
  --font-primary:
    'Portada ARA', 'Noto Kufi Arabic', system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial;
}

/* Final mobile hero overrides to prevent earlier media queries from forcing larger heights */
@media (max-width: 768px) {
  /* Compact order summary styles */
  .order-summary-compact {
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.95);
  }
  .order-summary-compact .summary-line {
    font-family:
      Portada ARA,
      sans-serif;
    font-size: 18px;
    line-height: 1.2;
    margin: 6px 0;
  }
  .order-summary-compact .summary-label {
    text-align: right;
  }
  .order-summary-compact .summary-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .divider-centered {
    width: 60%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 10px auto;
  }
  .riyal-icon {
    width: 14px;
    height: 14px;
  }

  .hero-section {
    height: 65vh !important;
    min-height: unset !important;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 58vh !important;
    min-height: unset !important;
  }
}

/* Basic resets */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
.body-wrapper {
  background-image: url('../images/landing-page/bg-vertical.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body {
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #080a14;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Make the main page content grow so footer can sit at bottom */
#page-content,
main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.hero-next-btn {
  display: none !important;
}
/* ===== HERO SLIDER ANIMATIONS ===== */

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden; /* restore clipping so slide backgrounds don't bleed into following content */
}

.hero-section.hero-completed {
  overflow: visible;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1200ms ease,
    visibility 1200ms;
  z-index: 0;
}

/* ===== LOAD SCREEN - Remove ::before and ::after ===== */
.hero-load {
  background-image: url('../images/landing-page/hero-load-1.webp');
  background-size: cover;
  background-position: center center;
  z-index: 3;
}

/* Prevent ::before and ::after from displaying on load screen */
.hero-load::before,
.hero-load::after {
  display: none !important;
}

.hero-load.active {
  opacity: 1;
  visibility: visible;
}

.is-hero-loading .ln-navbar {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Default overlay for other slides - LIGHTER for seamless transitions */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
  opacity: 1;
  transition: opacity 1200ms ease;
}

/* Background image layer */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/landing-page/hero-bg-original.png');
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform, background-position, background-size;
}

.hero-slide .container {
  position: relative;
  z-index: 3;
  height: 100%;
}

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

.hero-slide.prev {
  opacity: 0;
  visibility: hidden;
  z-index: 0;
}

/* ===== SECTION 2: Shows 0-982px height - Image slides top to bottom ===== */
.hero-slide.slice-1::after {
  /* Show upper 982px of the image */
  background-size: 100% auto; /* Full width, auto height */
  background-position: center -500px; /* Start above viewport */
  transition: background-position 2500ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-slide.slice-1.zoom-active::after {
  background-position: center 0px; /* Slide down to show 0-982px */
}

/* MODIFICATION 1: Faster, smoother exit - moves to position for next section */
.hero-slide.slice-1.exiting::after {
  /* Move to the exact position where section 2 will start */
  background-position: center -453px; /* Position for section 2 */
  opacity: 1; /* Keep visible for seamless transition */
  transition:
    background-position 1200ms cubic-bezier(0.25, 0.1, 0.25, 1),
    opacity 1200ms ease;
}

/* Remove dark overlay during exit */
.hero-slide.slice-1.exiting::before {
  opacity: 0; /* Fully remove overlay instantly */
  transition: opacity 0s;
}

/* Title */
.hero-slide.slice-1 .hero-title {
  opacity: 0;
  transition: opacity 1000ms ease 400ms;
}

.hero-slide.slice-1.zoom-active .hero-title {
  opacity: 1;
}

/* MODIFICATION 1: FASTER subtitle and button timing - appear earlier in sync with bg */
.hero-slide.slice-1 .hero-subtitle,
.hero-slide.slice-1 .hero-btn {
  opacity: 0;
  transform: translateY(100vh);
  transition:
    opacity 1600ms cubic-bezier(0.25, 0.1, 0.25, 1) 600ms,
    transform 1600ms cubic-bezier(0.25, 0.1, 0.25, 1) 600ms;
}

.hero-slide.slice-1.zoom-active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.slice-1.zoom-active .hero-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 800ms; /* Appear shortly after subtitle */
}

/* Exit animation - slide up smoothly */
.hero-slide.slice-1.exiting .hero-subtitle,
.hero-slide.slice-1.exiting .hero-btn,
.hero-slide.slice-1.exiting .hero-title {
  opacity: 0;
  transform: translateY(-250px);
  transition:
    opacity 1000ms cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 1200ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ===== COMPLETE SLICE-2 SECTION - REPLACE THIS ENTIRE SECTION IN YOUR main.css ===== */

/* ===== SECTION 3: SEAMLESS UPWARD CONTINUATION ===== */
.hero-slide.slice-2::after {
  background-size: 100% auto;
  background-position: center -453px;
  opacity: 0;
  filter: none;
  transition:
    opacity 1400ms ease,
    background-position 1400ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-slide.slice-2.active::after {
  opacity: 1;
  background-position: center -453px;
  filter: none;
}

.hero-slide.slice-2::before {
  opacity: 0;
  transition: opacity 1400ms ease;
}

/* ===== 3: SECTION3 CONTENT (adjusted) ===== */
.hero-slide.slice-2 .section3-content {
  position: relative;
  z-index: 5;
  opacity: 0;
  /* Start below and slide up into place (prevents overlap with navbar) */
  transform: translateY(100px);
  transition:
    opacity 900ms ease-in,
    transform 900ms ease-in;
  text-align: right !important; /* force right alignment for RTL */
}

.hero-slide.slice-2.expanded .section3-content {
  opacity: 1;
  /* Final resting position */
  transform: translateY(0);
}

.hero-slide.slice-2 .section3-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 1400ms ease-in;
}

.hero-slide.slice-2.expanded .section3-title {
  opacity: 1;
}

.hero-slide.slice-2 .section3-description {
  opacity: 0;
  transform: translateY(100px);
  color: #909090;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
  transition:
    opacity 1400ms ease-in,
    transform 1400ms ease-in;
}

.hero-slide.slice-2.expanded .section3-description {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.slice-2 .section3-button {
  opacity: 0;
  padding: 12px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    all 400ms ease,
    opacity 1400ms ease-in;
}

.hero-slide.slice-2.expanded .section3-button {
  opacity: 1;
}

.hero-slide.slice-2 .section3-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== FIX 2: BOTTLE POSITIONING - VIEWPORT-RELATIVE ===== */

/* Initial state - bottle enters from bottom */
.hero-slide.slice-2 .bottle-img {
  width: 576.6px;
  height: 864.9px;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  position: absolute;

  /* Use percentage positioning relative to container */
  left: auto;
  right: 60%;
  top: 50%; /* Center vertically */

  /* Transform for initial state: off-screen + rotation */
  transform: translateY(100vh) translateY(-50%) rotate(0deg);
  opacity: 0;
  transition:
    transform 2000ms cubic-bezier(0.25, 0.1, 0.25, 1),
    opacity 1000ms ease;
}

/* Active state - bottle at center, rotated LEFT */
.hero-slide.slice-2.active .bottle-img {
  /* Use translate to center, independent of screen height */
  transform: translateY(-50%) rotate(-23.66deg);
  opacity: 1;
}

/* Expanded state - bottle moves to right-bottom corner */
.hero-slide.slice-2.expanded .bottle-img {
  /* Use percentage positioning for bottom-right */
  position: absolute;
  left: auto;
  right: -10%;
  top: auto;
  bottom: -28%; /* Relative to container height */

  /* Reset transform, resize bottle */
  transform: translateY(0) rotate(0deg);
  width: 533px;
  height: 800px;
  opacity: 1;

  transition:
    transform 3200ms ease-in-out,
    width 3200ms ease-in-out,
    height 3200ms ease-in-out,
    left 3200ms ease-in-out,
    top 3200ms ease-in-out,
    bottom 3200ms ease-in-out,
    right 3200ms ease-in-out,
    opacity 800ms ease;
}

/* Exit state */
.hero-slide.slice-2.exiting .bottle-img {
  opacity: 0;
  position: absolute;
  left: auto;
  top: auto;
  bottom: -15%;
  right: -40%;
  transform: rotate(0deg);
  width: 533px;
  height: 800px;
  transition:
    transform 3000ms ease-in-out,
    width 3000ms ease-in-out,
    height 3000ms ease-in-out,
    left 3000ms ease-in-out,
    top 3000ms ease-in-out,
    bottom 3000ms ease-in-out,
    right 3000ms ease-in-out,
    opacity 800ms ease;
}

/* Background for expanded slice-2 */
.hero-slide.slice-2.expanded::after {
  background-position: 10% bottom;
  background-size: 140% auto;
  transition:
    background-position 1500ms ease-in-out,
    background-size 1500ms ease-in-out 1500ms;
}

/* Background exit */
.hero-slide.slice-2.exiting::after {
  opacity: 0.8;
  background-position: 10% bottom;
  background-size: 140% auto;
  transition:
    background-position 1500ms ease-in-out,
    background-size 1500ms ease-in-out 1500ms,
    opacity 1500ms ease-in-out;
}

.hero-slide.slice-2.exiting::before {
  opacity: 0.2;
  transition: opacity 1200ms ease;
}

/* ===== LAYOUT STRUCTURE ===== */
.hero-slide.slice-2 .container {
  position: relative;
  height: 100%;
}

/* Ensure hero content starts below navbar on large screens */
@media (min-width: 992px) {
  .hero-slide.slice-2 .container {
    /* reserve space for navbar (80px margin + 60px height) */
    padding-top: 140px;
  }

  /* remove any extra top margin on section3 content that may shift it up */
  .hero-slide.slice-2 .section3-content {
    margin-top: 0 !important;
    padding-top: 100px !important;
  }
}

.hero-slide.slice-2 .row {
  position: relative;
  height: 100%;
}

.hero-slide.slice-2 .col-lg-6:first-child {
  position: relative;
  z-index: 5;
}

.hero-slide.slice-2 .col-lg-6:last-child {
  position: relative;
  /* Use viewport-relative height */
  min-height: 60vh;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Shorter screens (laptops, small monitors) */
@media (max-height: 900px) {
  .hero-slide.slice-2 .bottle-img {
    max-height: 70vh;
  }

  .hero-slide.slice-2.expanded .bottle-img {
    width: 450px;
    height: 675px;
    bottom: -10%;
  }

  .hero-slide.slice-2.exiting .bottle-img {
    width: 450px;
    height: 675px;
    bottom: -10%;
  }
}

/* Mobile-only hero adjustments: crop portion of the hero background and reduce height
   These rules are scoped to small screens and will not affect large-screen styling. */
@media (max-width: 768px) {
  .hero-section {
    height: 65vh; /* reduce height to fit mobile viewports */
  }

  /* Use a cropped portion of the hero background image on mobile */
  .hero-slide::after,
  .hero-slide.slice-1::after,
  .hero-slide.slice-2::after {
    background-size: cover !important;
    background-position: center -120px !important; /* shift to show upper portion */
    background-attachment: scroll !important; /* avoid fixed/large-screen effects */
  }

  /* Swap to mobile-optimized hero images (does not affect desktop) */
  .hero-slide::after {
    background-image: url('../images/landing-page/hero-1.webp') !important;
  }
  .hero-slide.slice-1::after {
    background-image: url('../images/landing-page/hero-1.webp') !important;
  }
  .hero-slide.slice-2::after {
    background-image: url('../images/landing-page/hero-2.webp') !important;
  }
  .hero-slide.slice-3::after {
    background-image: url('../images/landing-page/hero-3.webp') !important;
  }

  /* Only show the first hero slide on mobile to simplify layout */
  .hero-slide:not(.slice-1) {
    display: none !important;
    visibility: hidden !important;
  }

  /* Ensure the visible slide uses hero-1 explicitly */
  .hero-slide.slice-1::after {
    background-image: url('../images/landing-page/hero-1.webp') !important;
    background-position: center center !important;
    background-size: cover !important;
  }

  /* Center hero content on mobile to prevent RTL/absolute offsets */
  .hero-slide.slice-1 .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hero-slide.slice-1 .hero-title,
  .hero-slide.slice-1 .hero-subtitle,
  .hero-slide.slice-1 .hero-btn {
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }

  /* Make sure the slide is visible even if JS hasn't set .active */
  .hero-slide.slice-1 {
    display: block !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
    height: 100% !important;
  }

  .hero-slide .container {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 58vh; /* slightly shorter on very small screens */
  }
  .hero-slide::after,
  .hero-slide.slice-1::after,
  .hero-slide.slice-2::after {
    background-position: center -80px !important;
  }
}
@media (max-height: 700px) {
  .hero-slide.slice-2 .bottle-img {
    max-height: 75vh;
  }

  .hero-slide.slice-2.expanded .bottle-img {
    width: 400px;
    height: 600px;
    bottom: -5%;
  }

  .hero-slide.slice-2.exiting .bottle-img {
    width: 400px;
    height: 600px;
    bottom: -5%;
  }
}

/* Mobile responsive */
@media (max-width: 991.98px) {
  .hero-slide.slice-2 .bottle-img {
    position: static !important;
    transform: translateY(50px) rotate(-23.66deg) !important;
    max-width: 70vw;
    margin: 0 auto;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }

  .hero-slide.slice-2.active .bottle-img {
    transform: translateY(0) rotate(-23.66deg) !important;
  }

  .hero-slide.slice-2.expanded .bottle-img {
    transform: translateY(0) rotate(0deg) !important;
  }

  .hero-slide.slice-2 .col-lg-6:last-child {
    min-height: auto;
  }

  .hero-section {
    height: calc(100vh - 56px);
  }

  /* Content also shifts up on mobile */
  .hero-slide.slice-2 .section3-content {
    transform: translateY(-50px);
  }

  .hero-slide.slice-2.expanded .section3-content {
    transform: translateY(-50px);
  }
}

/* remove default focus outlines for inputs across the site */
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ===== END OF SLICE-2 SECTION ===== */

/* Blur overlay section after hero */
.blur-overlay {
  background-image: url('../images/landing-page/blur-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: calc(100vh - 60px);
  left: 0;
  width: 100%;
  height: 300px; /* Adjust as needed */
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 10;
}

.hero-section.has-expanded ~ .blur-overlay {
  opacity: 1;
}

/* Products section */
.products-section {
  padding: 100px 0;
  text-align: center;
  position: relative; /* ADDED: Ensure proper stacking context */
  z-index: 10; /* ADDED: Make sure products section appears above hero */
  background-color: #080a14; /* ADDED: Ensure background color so it's not transparent */
}

.products-section h1 {
  font-family: 'Portada ARA';
  font-weight: 600;
  font-style: normal;
  font-size: 73.93px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #ffffff; /* Assuming white text */
  margin: 0 0 50px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-item {
  width: 100%;
  max-width: 565.5398559570312px;
  height: auto;
  aspect-ratio: 565.5398559570312 / 438.8106689453125;
  opacity: 1;
  border-radius: 7.58px;
  border: 0.65px solid #d8d8d8cc;
  background: url('../images/landing-page/product-bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 10px;
  box-sizing: border-box;
}

.product-item:not(.special)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #131924c7;
  backdrop-filter: blur(1px);
  z-index: 1;
  border-radius: 7.58px;
}

.product-item.special {
  background: url('../images/landing-page/product-bg-special.png') center/100% no-repeat;
  transition: background-size 0.9s ease;
}

.product-item.special:hover {
  background-size: 108%;
}

.product-item:hover::before {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: none;
  z-index: 3;
  border-radius: 7.58px;
}

.product-1:hover::after {
  content: 'البخور';
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  opacity: 0.8;
  z-index: 4;
  font-family: 'Portada ARA';
  font-weight: 600;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.product-2:hover::after {
  content: 'الصناديق محدودة الاصدار';
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  opacity: 0.8;
  z-index: 4;
  font-family: 'Portada ARA';
  font-weight: 600;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.product-3:hover::after {
  content: 'الدهون';
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  opacity: 0.8;
  z-index: 4;
  font-family: 'Portada ARA';
  font-weight: 600;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.product-4:hover::after {
  content: 'صناديق القادة';
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  opacity: 0.8;
  z-index: 4;
  font-family: 'Portada ARA';
  font-weight: 600;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.product-5:hover::after {
  content: 'عطور القادة';
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  opacity: 0.8;
  z-index: 4;
  font-family: 'Portada ARA';
  font-weight: 600;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

/* Product images positioning */
.product-img {
  position: absolute;
  opacity: 1;
  z-index: 2;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.product-item:hover .product-img {
  transform: scale(0.6);
}

.product-1 .product-img {
  width: 53.62%;
  height: 93.04%;
  top: 13.95%;
  left: 41.49%;
  border-radius: 6.9px;
}

.product-2 .product-img {
  width: 53.62%;
  height: 93.04%;
  top: 13.95%;
  left: 25.18%;
  border-radius: 6.9px;
}

.product-3 .product-img {
  width: 53.62%;
  height: 93.04%;
  top: 13.95%;
  left: 25.18%;
  border-radius: 6.9px;
}

.product-4 .product-img {
  width: 53.62%;
  height: 93.04%;
  top: 13.95%;
  left: 25.18%;
  border-radius: 6.9px;
}

.product-5 .product-img {
  width: 53.62%;
  height: 95.92%;
  top: 13.95%;
  left: 25.18%;
  border-radius: 6.9px;
}

/* Special title */
.special-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Portada ARA';
  font-weight: 400;
  font-style: normal;
  font-size: 68.95px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #ffffff;
  z-index: 2;
}

/* Responsive grid for small screens */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    gap: 15px;
    justify-items: center;
  }

  .product-item {
    width: 100%;
    max-width: 565px;
    height: auto;
    aspect-ratio: 565 / 438; /* Maintain original aspect ratio */
  }
}

@media (max-width: 576px) {
  .products-section {
    padding: 50px 0;
  }

  .products-section h1 {
    font-size: 50px;
    margin-bottom: 30px;
  }

  .products-grid {
    gap: 10px;
  }

  .product-item {
    max-width: 100%;
    border-radius: 5px;
  }
}
.hero-next-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  z-index: 10;
  font-weight: 600;
  transition: all 400ms ease;
}

.hero-next-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-50%) translateY(-2px);
}

/* Make navbar fixed over hero sections */
.ln-navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent !important;
  z-index: 1030;
  height: 60px;
}

/* Navbar container width adjustments */
.ln-navbar .container {
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 1512px) {
  .ln-navbar .container {
    max-width: 1336px;
  }
}

/* Add top margin for large screens so navbar clears hero content */
@media (min-width: 992px) {
  .ln-navbar {
    margin-top: 80px;
  }
}

/* Left and right sections */
.navbar-nav-left,
.navbar-nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 60px;
}
.navbar-nav-left {
  justify-content: flex-start;
}
.navbar-nav-right {
  justify-content: flex-end;
}

.ln-navbar .navbar-brand img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.ln-navbar .navbar-collapse {
  flex-basis: 0 !important;
}

.ln-navbar {
  font-family: var(--font-primary);
  font-weight: 700;
  font-style: normal;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  color: #ffffff;
}

.ln-navbar .nav-link {
  color: #ffffff !important;
  padding: 0.5rem 0.75rem;
  opacity: 0.7;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.ln-navbar .nav-link.active,
.ln-navbar .nav-link:hover {
  opacity: 1;
  font-weight: 700;
}

.navbar-icons img {
  display: inline-block;
  width: 24px;
  height: 24px;
}

.ln-navbar .dropdown-toggle::after {
  display: none;
}

.ln-navbar .chev-icon {
  /* use the same chevron sizing as the footer */
  width: 9px;
  height: 15px;
  margin-inline-start: 6px;
  /* no color filter so SVG's native color (white) is preserved */
  filter: none;
}

.ln-navbar .navbar-toggler {
  border: none !important;
  color: #ffffff; /* ensures inline SVG using currentColor is white */
}
.ln-navbar .navbar-toggler:focus {
  outline: none !important;
}
.ln-navbar .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

/* Mobile drawer (offcanvas) styles */
.ln-mobile-drawer.offcanvas {
  background-color: #0d1220; /* dark background for contrast */
}
.ln-mobile-drawer .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ln-mobile-drawer .offcanvas-body {
  color: #ffffff;
}
.ln-mobile-drawer .nav-link {
  color: #ffffff;
  padding: 0.5rem 0;
}
.ln-mobile-drawer .nav-link:hover {
  color: #f1f1f1;
}

/* Hide Bootstrap's default ::after caret inside the mobile drawer — we use an inline SVG */
.ln-mobile-drawer .dropdown-toggle::after {
  display: none !important;
}

/* Make the hamburger icon white on mobile */
.ln-navbar .navbar-toggler {
  border: none;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff; /* fallback color for SVG */
}
.ln-navbar .navbar-toggler .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

.ln-hamburger {
  display: block;
  width: 20px;
  height: 14px;
}

.ln-navbar .dropdown-toggle,
.ln-navbar .btn,
.ln-navbar .dropdown-item {
  color: #ffffff !important;
}

.ln-navbar .btn-outline-secondary {
  color: #ffffff !important;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

/* Remove border for navbar dropdown buttons specifically and tighten spacing */
.ln-navbar .dropdown > .btn,
.ln-navbar .dropdown .btn {
  border: none !important;
  background: transparent !important;
  padding: 0.25rem 0.5rem;
}

/* tighter spacing between nav items */
.ln-navbar .navbar-nav {
  gap: 8px;
}

@media (max-width: 991.98px) {
  .ln-navbar {
    height: auto;
    padding: 16px 0 !important;
  }

  .ln-navbar .container {
    height: auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  .ln-navbar .navbar-brand {
    position: static;
    transform: none;
    left: auto;
    top: auto;
  }

  .ln-navbar .navbar-brand img {
    height: 32px;
    max-width: 228px;
    width: 228px;
  }

  .navbar-nav-left {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .ln-navbar .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ln-navbar .navbar-brand img {
    height: 28px;
    max-width: 120px;
  }
}

@media (min-width: 1512px) {
  .navbar-padding {
    padding-left: 90px !important;
    padding-right: 90px !important;
  }
}

.hero-landing .display-4 {
  font-size: 2.6rem;
}
@media (min-width: 992px) {
  .hero-landing .display-4 {
    font-size: 3.6rem;
  }
}

/* Specific styles for hero-upper content */
.hero-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-style: normal;
  font-size: 80px;
  line-height: 1.05;
  letter-spacing: 1%;
  text-align: center;
  color: #ffffff;
  margin-bottom: 40px;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0%;
  text-align: center;
  color: #ffffff;
  margin-bottom: 40px;
}

.hero-btn {
  width: 148px;
  height: 42.2857131958007px;
  border-radius: 34.83px;
  border: 0.36px solid #f4f4f4;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-style: normal;
  font-size: 14.21px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #f4f4f4;
  color: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 50px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .hero-btn {
    width: 120px;
    height: 35px;
    font-size: 12px;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 40px;
  }
  .hero-subtitle {
    font-size: 12px;
  }
  .hero-btn {
    width: 100px;
    height: 30px;
    font-size: 11px;
  }
}

/* Navbar specific styles requested */
.ln-navbar {
  background: transparent !important;
  font-family: var(--font-primary);
  font-weight: 700;
  font-style: normal;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  color: #ffffff;
  height: 60px;
}
.ln-navbar .nav-link {
  color: #ffffff !important;
  padding: 0.5rem 0.75rem;
  opacity: 0.7;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}
.ln-navbar .nav-link.active {
  opacity: 1;
  font-weight: 700;
}
.ln-navbar .navbar-brand img {
  display: block;
  height: 60px;
  width: 228px;
  object-fit: contain;
}
.navbar-icons img {
  display: inline-block;
  width: 14.0870361328125px;
  height: 14.869081497192383px;
}

/* center the brand/logo in the navbar (absolute center inside the container) */
.ln-navbar .container {
  position: relative;
}

/* replace default caret with local chevron icon (we inject an <img> into the button) */
.ln-navbar .dropdown-toggle::after {
  display: none;
}
.ln-navbar .chev-icon {
  width: 14px;
  height: 14px;
  margin-inline-start: 6px;
  filter: invert(1) brightness(2);
}

/* Toggler and dropdown/button styles for dark header backgrounds */
.ln-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
}
.ln-navbar .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}
.ln-navbar .dropdown-toggle,
.ln-navbar .btn,
.ln-navbar .dropdown-item {
  color: #ffffff !important;
}
.ln-navbar .btn-outline-secondary {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 991.98px) {
  .ln-navbar {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 32px;
  }
  .ln-navbar .container {
    position: relative;
  }
  .ln-navbar .navbar-brand {
    position: absolute;
    right: 24px;
    top: 8px;
    transform: none;
    margin: 0;
  }
  .ln-navbar .navbar-brand img {
    width: 150px;
    height: auto;
  }

  /* Ensure mobile hamburger sits at the left of the fixed navbar and doesn't wrap */
  .ln-navbar .navbar-toggler {
    position: absolute;
    left: 16px;
    top: 12px;
    z-index: 1060;
  }
}
@media (max-width: 575.98px) {
  .ln-navbar {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 20px;
  }
  .ln-navbar .navbar-brand img {
    width: 120px;
  }
}

/* Reduce the large top margin used on desktop for mobile views */
@media (max-width: 991.98px) {
  .ln-navbar {
    margin-top: 16px; /* smaller offset on tablets and phones */
  }
}

@media (max-width: 575.98px) {
  .ln-navbar {
    margin-top: 12px; /* extra small screens */
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Footer styling moved to assets/css/footer.css to avoid conflicts */

/* Bestsellers section */
.bestsellers-section {
  padding: 100px 0;
  text-align: center;
  position: relative; /* ADDED: Ensure proper stacking context */
  z-index: 10; /* ADDED: Make sure bestsellers section appears above hero */
  background-color: #080a14; /* ADDED: Ensure background color */
}

.bestsellers-section h1 {
  font-family: 'Portada ARA';
  font-weight: 600;
  font-style: normal;
  font-size: 73.93px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #ffffff;
  margin: 0 0 50px 0;
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  direction: ltr;
}

.bestseller-item {
  border: 0.76px solid #d8d8d8cc;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: #080a14;
  display: flex;
  flex-direction: column;
}

.bestseller-image {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition:
    background-image 0.3s ease,
    height 0.3s ease;
  margin-top: 40px;
}

.bestseller-item:nth-child(1) .bestseller-image {
  height: 375px;
  background-image: url('../images/feature-products/feature-product-1.png');
}

.bestseller-item:nth-child(1):hover .bestseller-image {
  background-image: url('../images/feature-products/feature-product-1-2.png');
}

.bestseller-item:nth-child(2) .bestseller-image {
  height: 399px;
  background-image: url('../images/feature-products/feature-product-2.png');
}

.bestseller-icons {
  position: absolute;
  top: 50px;
  left: 46px;
  right: 46px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.share-icon {
  width: 28.750001907348633px;
  height: 32.99996566772461px;
  filter: none;
  cursor: pointer;
}

.heart-icon {
  width: 39.39638137817383px;
  height: 34.57636642456055px;
  filter: none;
  cursor: pointer;
}

.bestseller-footer {
  padding: 20px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.cart-icon {
  width: 64.46680450439453px;
  height: 54.068931579589844px;
  order: 3;
  cursor: pointer;
}

.bestseller-text {
  flex: 1;
  text-align: center;
  color: #ffffff;
  transition: color 0.3s ease;
  order: 2;
}

.bestseller-item:hover .bestseller-text {
  color: #808080;
}

.product-name {
  font-family: 'Portada ARA';
  font-weight: 600;
  font-style: normal;
  font-size: 37.61px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
}

.product-weight {
  font-family: 'Portada ARA';
  font-weight: 400;
  font-style: normal;
  font-size: 16.12px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  margin-top: 5px;
}

.product-price {
  font-family: 'Portada ARA';
  font-weight: 600;
  font-size: 20px;
  color: #ffffff;
  order: 1;
}

.bestseller-item:hover .product-price {
  color: #808080;
}

/* Responsive */
@media (max-width: 768px) {
  .bestsellers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .bestsellers-grid {
    gap: 15px;
  }

  .bestseller-image {
    margin-top: 20px;
  }

  .bestseller-item:nth-child(1) .bestseller-image {
    height: 300px;
  }

  .bestseller-item:nth-child(2) .bestseller-image {
    height: 320px;
  }
}

/* ===== MOBILE HERO OVERRIDES ===== */

/* Mobile-only: show first hero section only, hide animations */
@media (max-width: 768px) {
  /* Reduce hero section height for mobile */
  .hero-section {
    height: 100vh !important;
    min-height: 100vh !important;
  }

  /* Hide load screen and slice-2 on mobile */
  .hero-slide.hero-load,
  .hero-slide.slice-2 {
    display: none !important;
    visibility: hidden !important;
  }

  /* Show only slice-1 (first hero section) */
  .hero-slide.slice-1 {
    display: block !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
    height: 100% !important;
  }

  /* Stretch background to cover full screen */
  .hero-slide.slice-1::after {
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: scroll !important;
    transform: none !important;
  }

  /* Remove any transforms on active state */
  .hero-slide.slice-1.zoom-active::after {
    background-size: cover !important;
    background-position: center center !important;
    transform: none !important;
  }

  /* Ensure content is visible immediately */
  .hero-slide.slice-1 .hero-title,
  .hero-slide.slice-1 .hero-subtitle,
  .hero-slide.slice-1 .hero-btn {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
  }

  /* Adjust container padding for mobile */
  .hero-slide.slice-1 .container {
    padding-top: 80px;
    padding-bottom: 40px;
  }
}

/* Extra adjustments for very small screens */
@media (max-width: 480px) {
  .hero-section {
    height: 100vh !important;
    overflow: visible !important; /* Allow content below to be visible on mobile */
  }

  .hero-slide.slice-1 .container {
    padding-top: 60px;
    padding-bottom: 30px;
  }

  /* Slightly adjust background position for small screens */
  .hero-slide.slice-1::after {
    background-position: center 30% !important;
  }
}

/* Bestseller footer - Cart LEFT, Text CENTER, Price RIGHT */
.bestseller-footer {
  padding: 20px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  direction: ltr; /* Force LTR layout for visual left-to-right order */
}

/* Cart icon on the LEFT (order: 1) */
.cart-icon {
  flex: 0 0 auto;
  width: 64.46680450439453px;
  height: 54.068931579589844px;
  order: 1;
}

/* Product text in CENTER (order: 2) */
.bestseller-text {
  flex: 1 1 auto;
  text-align: center;
  color: #ffffff;
  transition: color 0.3s ease;
  order: 2;
  direction: rtl; /* Keep Arabic text RTL */
  padding: 0 8px;
}

.bestseller-item:hover .bestseller-text {
  color: #808080;
}

/* Price on the RIGHT (order: 3) */
.product-price {
  flex: 0 0 auto;
  font-family: 'Portada ARA';
  font-weight: 600;
  font-size: 20px;
  color: #ffffff;
  order: 3;
  white-space: nowrap;
}

.bestseller-item:hover .product-price {
  color: #808080;
}

/* Price wrapper for symbol and amount */
.price-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}

/* Price symbol */
.price-symbol {
  display: inline-flex;
  align-items: center;
}

.price-symbol img {
  display: block;
  height: 18px;
  width: auto;
}

/* Symbol hover effect */
.price-symbol .sym-fade {
  display: none;
  opacity: 0.6;
}

.bestseller-item:hover .price-wrapper .sym-white {
  display: none;
}

.bestseller-item:hover .price-wrapper .sym-fade {
  display: inline-block;
}

.currency-dropdown .btn-outline-secondary {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 400;
  padding: 6px 12px;
}

.currency-dropdown .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* White chevron icon - remove filter to show white */
.currency-dropdown .chev-icon {
  width: 9px;
  height: 15px;
  margin-inline-start: 6px;
  filter: none !important; /* Remove filter to show white SVG */
}

/* Dropdown menu styling */
.currency-dropdown .dropdown-menu {
  background: rgba(13, 18, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 100px;
}

.currency-dropdown .dropdown-item {
  color: #ffffff !important;
  font-size: 13px;
  padding: 8px 16px;
}

.currency-dropdown .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile drawer currency dropdown */
.ln-mobile-drawer .currency-dropdown-mobile {
  margin-top: 16px;
}

.ln-mobile-drawer .currency-dropdown-mobile .btn {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  width: 100%;
  justify-content: space-between;
  padding: 10px 16px;
}

.ln-mobile-drawer .currency-dropdown-mobile .chev-icon {
  filter: none !important;
}

/* ===== CURRENCY DROPDOWN - WHITE STYLE ===== */

/* Desktop currency dropdown */
.currency-dropdown .btn-outline-secondary {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 400;
  padding: 6px 12px;
  font-family: var(--font-primary);
}

.currency-dropdown .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.currency-dropdown .btn-outline-secondary:focus {
  box-shadow: none !important;
}

/* White chevron icon - remove filter to show white */
.currency-dropdown .chev-icon {
  width: 9px;
  height: 15px;
  margin-inline-start: 6px;
  filter: none !important;
}

/* Dropdown menu styling */
.currency-dropdown .dropdown-menu {
  background: rgba(13, 18, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 100px;
  backdrop-filter: blur(10px);
}

.currency-dropdown .dropdown-item {
  color: #ffffff !important;
  font-size: 13px;
  padding: 8px 16px;
  font-family: var(--font-primary);
}

.currency-dropdown .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
}

/* ===== MOBILE DRAWER CURRENCY DROPDOWN ===== */

.ln-mobile-drawer .currency-dropdown-mobile {
  margin-top: 16px;
}

.ln-mobile-drawer .currency-dropdown-mobile .btn {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
  width: 100%;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font-primary);
}

.ln-mobile-drawer .currency-dropdown-mobile .btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.ln-mobile-drawer .currency-dropdown-mobile .btn:focus {
  box-shadow: none !important;
}

.ln-mobile-drawer .currency-dropdown-mobile .chev-icon {
  filter: none !important;
  width: 9px;
  height: 15px;
}

.ln-mobile-drawer .currency-dropdown-mobile .dropdown-menu {
  background: rgba(13, 18, 32, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.ln-mobile-drawer .currency-dropdown-mobile .dropdown-item {
  color: #ffffff !important;
  font-size: 14px;
  padding: 10px 16px;
  font-family: var(--font-primary);
}

.ln-mobile-drawer .currency-dropdown-mobile .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}
/* ===== PRODUCTS DROPDOWN - MATCH CURRENCY STYLE ===== */

/* Products dropdown button styling */
.products-dropdown .btn,
.products-dropdown button {
  color: #ffffff !important;
  border: none !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 400;
  padding: 0.5rem 0.75rem !important;
  font-family: var(--font-primary);
  opacity: 0.7;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  transition: opacity 0.3s ease;
}

.products-dropdown .btn:hover,
.products-dropdown button:hover {
  opacity: 1;
  font-weight: 700;
  background: transparent !important;
}

.products-dropdown .btn:focus,
.products-dropdown button:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* Products dropdown chevron - white */
.products-dropdown .chev-icon {
  width: 9px;
  height: 15px;
  margin-inline-start: 4px;
  filter: invert(1) brightness(2) !important;
}

/* Products dropdown menu */
.products-dropdown .dropdown-menu {
  background: rgba(13, 18, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 150px;
  backdrop-filter: blur(10px);
  margin-top: 8px;
}

.products-dropdown .dropdown-item {
  color: #ffffff !important;
  font-size: 13px;
  padding: 10px 16px;
  font-family: var(--font-primary);
  font-weight: 400;
}

.products-dropdown .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  font-weight: 600;
}

/* Mobile drawer products dropdown */
.ln-mobile-drawer .products-dropdown-mobile {
  margin-top: 12px;
}

.ln-mobile-drawer .products-dropdown-mobile .btn {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
  width: 100%;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font-primary);
}

.ln-mobile-drawer .products-dropdown-mobile .btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.ln-mobile-drawer .products-dropdown-mobile .chev-icon {
  filter: invert(1) brightness(2) !important;
  width: 9px;
  height: 15px;
}

.ln-mobile-drawer .products-dropdown-mobile .dropdown-menu {
  background: rgba(13, 18, 32, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.ln-mobile-drawer .products-dropdown-mobile .dropdown-item {
  color: #ffffff !important;
  font-size: 14px;
  padding: 10px 16px;
  font-family: var(--font-primary);
}

.ln-mobile-drawer .products-dropdown-mobile .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

/* ===== 3-POINT BOTTLE ANIMATION IN SLICE-2 ===== */

/* Background positioning - same as before */
.hero-slide.slice-2::after {
  background-size: 100% auto;
  background-position: center -453px;
  opacity: 0;
  filter: none;
  transition:
    opacity 1400ms ease,
    background-position 1500ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-slide.slice-2.active::after {
  opacity: 1;
  background-position: center -453px;
  filter: none;
}

/* Expanded background - moves to bottom right crop */
.hero-slide.slice-2.expanded::after {
  background-position: 10% bottom;
  background-size: 140% auto;
  transition:
    background-position 3200ms ease-in-out,
    background-size 3200ms ease-in-out;
}

.hero-slide.slice-2::before {
  opacity: 0;
  transition: opacity 1400ms ease;
}

/* Content - hidden initially, appears on expansion */
.hero-slide.slice-2 .section3-content {
  position: relative;
  z-index: 5;
  opacity: 0;
  /* start below and slide up into place (matches other section3 rules) */
  transform: translateY(100px);
  transition:
    opacity 900ms ease-in,
    transform 900ms ease-in;
}

.hero-slide.slice-2.expanded .section3-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.slice-2 .section3-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 1400ms ease-in;
}

.hero-slide.slice-2.expanded .section3-title {
  opacity: 1;
}

.hero-slide.slice-2 .section3-description {
  opacity: 0;
  transform: translateY(100px);
  color: #909090;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
  transition:
    opacity 1400ms ease-in,
    transform 1400ms ease-in;
}

.hero-slide.slice-2.expanded .section3-description {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.slice-2 .section3-button {
  opacity: 0;
  padding: 12px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    all 400ms ease,
    opacity 1400ms ease-in;
}

.hero-slide.slice-2.expanded .section3-button {
  opacity: 1;
}

.hero-slide.slice-2 .section3-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== 3-POINT BOTTLE ANIMATION ===== */

/* POINT 1: Initial state - bottle at bottom center (off-screen) */
.hero-slide.slice-2 .bottle-img {
  width: 576.6px;
  height: 864.9px;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  position: absolute;
  left: 0%; /* start off-screen horizontally; move vertically first */
  top: 50%;
  /* Start off-screen at bottom (vertical offset) */
  transform: translate(-50%, 100vh) rotate(0deg);
  opacity: 0;
  transition:
    transform 2200ms cubic-bezier(0.25, 0.1, 0.25, 1),
    opacity 1200ms ease,
    left 2800ms cubic-bezier(0.25, 0.1, 0.25, 1),
    width 2800ms ease-in-out,
    height 2800ms ease-in-out;
}

/* POINT 2: Active state - bottle moves up to center, rotates LEFT */
.hero-slide.slice-2.active .bottle-img {
  /* Move up to middle of screen, keep initial horizontal offset until expanded */
  transform: translate(-50%, -50%) rotate(-23.66deg);
  opacity: 1;
  left: 0%;
  top: 50%;
}

/* POINT 3: Expanded state - bottle moves to LEFT side (will appear RIGHT in RTL), straightens */
.hero-slide.slice-2.expanded .bottle-img {
  /* Move to left side of container (appears right in RTL layout) */
  position: absolute;
  left: 30%;
  top: 50%;
  transform: translate(0, -50%) rotate(0deg); /* Straighten and center vertically */
  width: 533px;
  height: 800px;
  opacity: 1;
  transition:
    transform 3200ms cubic-bezier(0.25, 0.1, 0.25, 1),
    left 3200ms cubic-bezier(0.25, 0.1, 0.25, 1),
    top 3200ms cubic-bezier(0.25, 0.1, 0.25, 1),
    width 3200ms ease-in-out,
    height 3200ms ease-in-out,
    opacity 800ms ease;
}

/* Exit state */
.hero-slide.slice-2.exiting .bottle-img {
  opacity: 0;
  transition: opacity 800ms ease;
}

.hero-slide.slice-2.exiting::after {
  opacity: 0.8;
  transition: opacity 1200ms ease;
}

.hero-slide.slice-2.exiting::before {
  opacity: 0.2;
  transition: opacity 1200ms ease;
}

/* Layout structure */
.hero-slide.slice-2 .container {
  position: relative;
  height: 100%;
}

.hero-slide.slice-2 .row {
  position: relative;
  height: 100%;
}

.hero-slide.slice-2 .col-lg-6 {
  position: relative;
  min-height: 60vh;
}

/* Responsive adjustments */
@media (max-height: 900px) {
  .hero-slide.slice-2 .bottle-img {
    max-height: 70vh;
  }

  .hero-slide.slice-2.expanded .bottle-img {
    width: 450px;
    height: 675px;
  }
}

@media (max-height: 700px) {
  .hero-slide.slice-2 .bottle-img {
    max-height: 70vh;
  }

  .hero-slide.slice-2.expanded .bottle-img {
    width: 500px;
    height: 700px;
    left: 30%;
    top: 42%;
  }
}

/* Mobile responsive */
@media (max-width: 991.98px) {
  .hero-slide.slice-2 .bottle-img {
    position: static !important;
    transform: translateY(50px) rotate(-23.66deg) !important;
    max-width: 70vw;
    margin: 0 auto;
    left: auto !important;
    right: auto !important;
    top: auto !important;
  }

  .hero-slide.slice-2.active .bottle-img {
    transform: translateY(0) rotate(-23.66deg) !important;
  }

  .hero-slide.slice-2.expanded .bottle-img {
    transform: translateY(0) rotate(0deg) !important;
  }

  .hero-slide.slice-2 .section3-content {
    transform: translateY(-50px);
  }

  .hero-slide.slice-2.expanded .section3-content {
    transform: translateY(0)!important;
  }
}

/* ===== Certificates Section - Dark Luxury (Leadernace) ===== */
.certificates-section {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
}
.certificates-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.certificates-title {
margin-top: 0 !important;
margin-bottom: 10px !important;
}
.certificate-card{
  max-width: 1000px;
  width: 92%;
  margin: 0px auto;
  padding: 35px 50px;
  border-radius: 25px;

  background: rgba(18, 23, 34, 0.85) !important;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}

/* يقلل المسافة بين كرت وكرت (خصوصًا بين اللي فوق والـ OV) */
.certificate-card + .certificate-card{
  margin-top: 12px !important;
}

.certificate-card h2 {
    color: #ffffff;
}

.certificate-card p {
    color: rgba(255,255,255,0.75);
}

.certificate-card .download-btn {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.15);
    transition: 0.3s ease;
}

.certificate-card .download-btn:hover {
    background: rgba(255,255,255,0.15);
}
.certificate-card{
  margin: 0px auto !important;
}
/* تقليل المسافة فوق سكشن الشهادات */
.hero-slide.slice-2 {
  padding-top: 20px !important;
}
#certificates-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* الحالة العادية */
.woot-widget-bubble {
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 40%,
        rgba(0, 0, 0, 0.35) 100%
    ) !important;
    
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    
    transition: all 0.3s ease;
}

/* Hover فضي واضح */
.woot-widget-bubble:hover {
    background: radial-gradient(
        circle at center,
        rgba(255,255,255,0.35) 0%,
        rgba(255,255,255,0.18) 40%,
        rgba(0,0,0,0.45) 100%
    ) !important;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.45);
    transition: all 0.3s ease;
}