* {
  box-sizing: border-box;
}

:root {
  --primary-color: #00949a;
  --brand-bar-bg: #000000;
  --brand-bar-text: #ffffff;
  --text-color-primary: #ffffff;
}
.watermark-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.watermark-inner {
  position: absolute;
  width: 200vw;
  height: 200vh;
  top: -50vh;
  left: -50vw;
  transform: rotate(-45deg);
  transform-origin: center;
}

.watermark-line {
  position: absolute;
  white-space: nowrap;
  font-size: 60px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.05);
  user-select: none;
  width: 300vw;
}

/* 

body {
  margin: 0;
  font-family: sans-serif;
}

.hidden {
  display: none !important;
}

header,
footer,
aside,
main {
  padding: 1rem;
  box-sizing: border-box;
  background-color: #f0f0f0;
} */

/* Scrollbar Styling */
/* WebKit (Chrome, Edge, Safari) */
/* ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #f0faff, #ffffff);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b3e5fc, #81d4fa);
  border-radius: 10px;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.8);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #4fc3f7, #29b6f6);
} */

/* Firefox */
/* * {
  scrollbar-width: thin;
  scrollbar-color: #b3e5fc #f0faff;
} */

.hidden {
  display: none !important;
}

/* Brand Bar */
#brand-bar {
  width: 100%;
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
  background-color: #222; /* Default */
  color: #fff; /* Default */
  font-weight: 500;
  font-size: 1.2rem;
  box-sizing: border-box;
  letter-spacing: 1.1px;
}

#brand-bar span {
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  transform: none;
  will-change: transform;
}

/* Scrolling effect */
.scroll {
  animation: scroll linear infinite;
  text-align: left;
  width: fit-content;
}

@keyframes scroll {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Header */
#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, #f8fafc, #f1f5f9);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
  gap: 1rem;
  font-family: "Segoe UI", sans-serif;

  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-logo img {
  max-height: 42px;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.header-logo img:hover {
  transform: scale(1.05);
}

.header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.header-nav {
  display: flex;
  gap: 1.2rem;
}

.header-nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-nav a:hover {
  background-color: #e2e8f0;
  color: #1e293b;
}

.header-user {
  font-weight: 600;
  color: #475569;
  background-color: #e2e8f0;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  #header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
  }

  .header-nav {
    flex-wrap: wrap;
  }
}
/* Hero Section */
#hero {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-direction: column;
  /* padding-bottom: 1rem; */
}

/* Carousel Container */
#hero-carousel {
  width: 100%;
  position: relative;
}

/* Slides */
.hero-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  position: relative;
}
/* .hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.98) translateX(20px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  will-change: opacity, transform;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  z-index: 2;
} */

/* .hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.95) translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: opacity, transform;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  z-index: 2;
} */

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: perspective(1000px) rotateY(10deg) translateX(100%);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg) translateX(0);
  z-index: 2;
}

/* .hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: blur(8px);
  transform: translateX(100%);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out, filter 0.7s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
  z-index: 2;
} */

/* .hero-slide {
  clip-path: circle(0% at 50% 50%);
  opacity: 0;
  transition: clip-path 1s ease-in-out, opacity 0.8s ease-in-out;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide.active {
  clip-path: circle(150% at 50% 50%);
  opacity: 1;
  z-index: 2;
} */

/* .hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translate(100px, 50px) scale(0.9);
  transition: all 0.8s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  z-index: 2;
} */

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-fit: contain; */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 1rem; /* Prevent content from hugging the edge */
  z-index: 10;
}

.hero-text {
  pointer-events: auto;
  /* margin-bottom: 1rem; */
  max-width: 60%;
  word-wrap: break-word;
  background: #00000042;
  padding: 10px;
  letter-spacing: 1px;
  line-height: 1.1;
  text-align: left;
  background: #24242424;
  backdrop-filter: blur(4px);
}

.hero-buttons {
  /* display: flex; */
  gap: 1rem;
  flex-wrap: wrap;
  pointer-events: auto;
  background-color: #ffffff; 
  padding: 15px 15px; 
  font-size: 18px;  
  
}

.hero-buttons a {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
  color: #222;
}

.hero-buttons a:hover {
  filter: brightness(85%);
  color: #ff5401;
}

/* Layout Grid */
.layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 400px;
}

/* Grid Content (Boxes) */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.box {
  background: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Banners Layout */
#banners {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* margin: 2rem 0; */
}

.banner-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 0;
  padding: 5px;
}

.banner-col {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}

.banner-col img,
.banner-col video {
  width: 100%;
  height: auto;
  display: block;
}

.width-100 {
  width: 100%;
}
.width-75 {
  width: 75%;
}
.width-66 {
  width: 66.6666%;
}
.width-50 {
  width: 50%;
}
.width-33 {
  width: 33.3333%;
}
.width-25 {
  width: 25%;
}

/* Overlay styles */
.banner-overlay {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  display: flex;
  padding: 1rem;
  pointer-events: none;
}
/* .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
} */

.banner-text {
  font-weight: bold;
  pointer-events: auto;
  line-height: 40px;
  /* color: #000 !important; */
}

.banner-buttons {
  /* display: flex; */
  gap: 0.5rem;
  /* margin-top: 1rem; */
  flex-wrap: wrap;
  pointer-events: auto; 
  padding: 15px 15px; 
  font-size: 18px;  
  background-color: #ffffff;
  
}

.banner-buttons a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  /* font-size: 0.9rem; */
  font-weight: bold;
  color: #000;
}


.banner-buttons a:hover {
  filter: brightness(85%);
  color: #ff5401;
}

/* Products Section */
#products {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f9f9f9;
}

.products-carousel {
  display: flex;
  gap: 1rem;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 1rem;
}

#product-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem;
  justify-content: space-between;
}

.product-card {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease;
}

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

.product-card img {
  width: 100%;
  height: 150px; /* Fixed height */
  object-fit: contain; /* Show full image, no crop */
  background-color: #fff; /* Optional: for empty space fill */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.product-card h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.1rem;
}

.product-card p {
  color: #28a745;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Category Section */
#categories {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f9f9f9;
}

.categories-heading {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  /* font-weight: 500; */
  font-weight: 300 !important;
  color: var(--heading_color);
}

.categories-carousel {
  display: flex;
  gap: 1rem;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 1rem;
}

#categories-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem;
  justify-content: space-between;
}

.category-card {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease;
}

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

.category-card img {
  width: 100%;
  height: 150px; /* Fixed height */
  object-fit: contain; /* Show full image, no crop */
  background-color: #fff; /* Optional: for empty space fill */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.category-card h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.1rem;
}

.itemsDiv {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 60px;
  padding-top: 15px;
  padding-bottom: 40px;
  justify-content: center;
  row-gap: 90px;
}

.itemCard.pointer:hover .itemImage {
  transition: transform 0.3s linear;
  transform: scale(1.1);
}

.itemImgDiv {
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  background-color: white;
  box-shadow: 3px 3px 12px 0px #5050502b;
  height: 220px;
}

.itemImage {
  margin: 30px 0px 25px 0px;
  width: 100%;
  /* height: -webkit-fill-available; */
  height: 68%;
  object-fit: contain;
}

.itemText {
  /* font-weight: 600; */
  font-family: Outfit;
  color: var(--captions_color);
  padding-top: 10px;
  font-size: 18px;
  text-align: center;
  margin-top: 20px;
}

/* .category-card p {
  color: #28a745;
  font-weight: bold;
  margin-bottom: 1rem;
} */

/* Split Banners */

#split-banners {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#split-banners2 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.split-banner {
  display: flex;
  /* width: 80%; */
  width: 100%;
  /* height: 500px; */
  /* gap: 10px; */
  gap: 10px;
  position: relative;
  padding: 10px;
  align-self: center;
}

.split-banner.left {
  flex-direction: row;
}

.split-banner {
  display: flex !important;
  flex-direction: row !important; /* base fallback */
}

.split-full {
  flex: 1;
  position: relative;
  overflow: hidden;
  /* border-radius: 10px; */
}

.split-halves {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
  gap: 10px;
}

.half {
  flex: 1;
  position: relative;
  overflow: hidden;
  /* border-radius: 10px; */
}

.split-full video,
.split-full img,
.half video,
.half img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
}

/* Overlay */
.split-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  pointer-events: none;
}

.split-text {
  font-weight: bold;
  pointer-events: auto;
}

.split-buttons {
   gap: 0.5rem;
  /* margin-top: 1rem; */
  flex-wrap: wrap;
  pointer-events: auto; 
  padding: 15px 15px; 
  font-size: 18px;  
  
}

.split-buttons a {
   padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  background-color: #ffffff;
  font-weight: bold;
  color: #000;
}
.split-buttons a:hover {
  filter: brightness(85%);
  color: #ff5401;
}


/* Positioning */
.top-left {
  justify-content: flex-start;
  align-items: flex-start;
}
.top {
  justify-content: center;
  align-items: flex-start;
}
.top-right {
  justify-content: flex-end;
  align-items: flex-start;
}
.center {
  justify-content: center;
  align-items: center;
}
.bottom-left {
  justify-content: flex-start;
  align-items: flex-end;
}
.bottom {
  justify-content: center;
  align-items: flex-end;
}
.bottom-right {
  justify-content: flex-end;
  align-items: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
  .split-banner {
    flex-direction: column !important;
    height: auto;
  }
  .split-full,
  .split-halves,
  .half {
    height: auto;
  }

  .media-item {
    height: 200px !important;
  }

  /* .hero-slide img,
  .hero-slide video {
    width: unset !important;
    height: 98vh !important;
    object-fit: contain !important;
  } 
  
    .hero-text {
    font-size: 25px !important;
    max-width: 80% !important;
    line-height: 1 !important;
    backdrop-filter: blur(1.5px) !important;
    padding: 5px !important;
  }
  .hero-text2 {
    font-size: 16px !important;
    font-weight: 500 !important;
  }
  
  */

  .hero-slide img,
  .hero-slide video {
    /* width: -webkit-fill-available; */
  }
  .hero-text {
    font-size: 16px !important;
    max-width: 80% !important;
    line-height: 1 !important;
    backdrop-filter: blur(1.5px) !important;
    padding: 5px !important;
  }
  .hero-text2 {
    font-size: 12px !important;
    font-weight: 500 !important;
  }

  .banner-text {
    font-size: 1rem !important;
  }
}

/* product Section */
#products {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f9f9f9;
  margin-bottom: 15px;
}

.products-heading {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.products-carousel {
  display: flex;
  gap: 1rem;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 1rem;
}

#products-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem;
  justify-content: space-between;
}

.product-card {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease;
}

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

.product-card img {
  width: 100%;
  height: 150px; /* Fixed height */
  object-fit: contain; /* Show full image, no crop */
  background-color: #fff; /* Optional: for empty space fill */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.product-card h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.1rem;
}

/* media slider */
#media-slider-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  /* padding: 1rem; */
  margin: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#media-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.media-slider {
  display: flex;
  gap: 10px;
}

.media-item {
  flex: 0 0 auto;
  /* width: 300px; */
  height: 450px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.media-item video,
.media-item img {
  height: 100%;
  /* object-fit: cover; */
  display: block;
}

.banners-heading {
  font-size: 2rem;
  margin-top: 1.5rem;
  /* font-weight: 500; */
  font-weight: 300 !important;
  color: var(--heading_color);
  place-self: center;
}
