/* Base Styles & Typography */
body {
  font-family: 'Barlow', sans-serif;
  background-color: #f4f7f6;
  color: #333;
  overflow-x: hidden;
}


/* =========================================
   PAGE HEADER BANNER & SLIDER
========================================= */
.page-header {
  position: relative;
  width: 100%;
  min-height: 550px; /* Prevents extreme zooming on images */
  padding: 100px 0;
  text-align: center;
  color: white;
  overflow: hidden;
  background-color: #0056b3; 
}

/* --- Image Slider --- */
.header-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.header-slide.active {
  opacity: 1;
}

/* --- Gradient Overlay --- */
.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  /* background: linear-gradient(rgba(0, 86, 179, 0.85), rgba(0, 168, 255, 0.85)); */
}

/* --- Content Container --- */
.header-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

/* --- Breadcrumbs --- */
.breadcrumb {
  position: absolute;
  top: -20px;
  left: 15px; 
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: #e0f2fe;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #0056b3;
}

/* Typography */
.page-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 40px 0 10px 0; /* Margin-top keeps it away from breadcrumbs */
}

.page-header p {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 600px;
  margin: 0;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
========================================= */
@media (max-width: 768px) {
  .page-header {
    padding: 80px 0;
  }
  .page-header h1 {
    font-size: 3rem;
    margin-top: 30px; 
  }
  .breadcrumb {
    top: -10px;
  }
}

@media (max-width: 576px) {
  .page-header {
    padding: 60px 0;
    min-height: 280px;
  }
  .page-header h1 {
    font-size: 2.2rem;
    margin-top: 25px;
  }
  .page-header p {
    font-size: 1rem;
    padding: 0 15px;
  }
  .breadcrumb {
    top: 0px;
    left: 10px;
    font-size: 0.85rem;
  }
}

/* -----------------------------
   Product Showcase Layout & Animations
------------------------------ */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 4rem;
  align-items: center;
  
  /* Initial state for Scroll Animation */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, box-shadow 0.4s ease;
}

/* Hover effect for the whole card */
.product-showcase:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Active state triggered by JS when scrolling */
.product-showcase.active {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------
   Left Side: Image Scroller (Fixed to look "Full")
------------------------------ */
.product-gallery {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eee; /* Light border to frame products */
}

.slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.slider-container::-webkit-scrollbar {
  display: none;
}

.slider-img {
  flex: 0 0 100%;
  width: 100%;
  height: 450px; /* Fixed height ensures consistency */
  object-fit: contain; /* PERFECT FOR PRODUCTS - Prevents cropping */
  padding: 1rem;
  scroll-snap-align: start;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Image Zoom Animation on Hover */
.product-gallery:hover .slider-img {
  transform: scale(1.08);
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a3055;
}

.slider-btn:hover {
  background: #1a3055;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* -----------------------------
   Right Side: Product Info Animations
------------------------------ */
.product-details {
  /* Internal staggered animation setup */
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.product-showcase.active .product-details {
  opacity: 1;
  transform: translateX(0);
}

.product-title {
  font-weight: 700;
  font-size: 2.2rem;
  color: #1a3055;
  margin-bottom: 1rem;
}

.product-desc {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
  transition: color 0.3s;
}

.detail-list li:hover {
  color: #1a3055;
  font-weight: 500;
}

.check-list li i {
  margin-right: 10px;
  transition: transform 0.3s;
}

.check-list li:hover i {
  transform: scale(1.3);
}

/* Buttons Animation */
.product-actions .btn {
  transition: all 0.3s ease;
}

.product-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  
  .slider-img {
    height: 350px; /* Slightly smaller on mobile */
  }
}