:root {
  --primary-color: #0056b3;
  /* BlueprintStrategies.ai blue */
  --secondary-color: #28a745;
  /* BlueprintStrategies.ai green */
  --accent-color: #ed6d4d;
  /* Original accent for price/buttons */
  --text-color: #333;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #6c757d;
  --border-color: #dee2e6;
  --card-shadow: rgba(0, 0, 0, 0.08);
  --hover-shadow: rgba(0, 0, 0, 0.2);
  /* More pronounced hover shadow */
  --transition-speed: 0.3s;
  --transition-ease: ease-in-out;
}

html,
body {
  margin: 0;
  /* margin-right: -2rem; <--- REMOVED THIS (FIXED SCROLL BUG) */
  font-family: "Inter", sans-serif;
  background: #0d0d0d;
  color: #fff;
  overflow-x: hidden; /* <--- ADDED THIS (FIXED SCROLL BUG) */
}

header {
  background: #111;
  padding: 1.5rem 2rem 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
}

.logo {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(90deg, #ff9933, #ffffff, #138808);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: -2rem;
  margin-left: 30.2rem;
  margin-top: -5rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  margin-left: 2rem;
  gap: 1.5rem;
  margin-top: -1.6rem;
  padding-bottom: 0.4rem;
}

nav a {
  color: #00ffc3;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

nav a:hover {
  text-decoration: underline;
}

nav .dropdown {
  position: relative;
}

nav .dropdown-content {
  display: none;
  position: absolute;
  background: #191919;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

nav .dropdown:hover .dropdown-content {
  display: block;
}

nav .dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
}

/* Right-side icons */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 75rem;
}

/* Search Box */
.search-container {
  position: relative;
  margin-left: 14rem;
  margin-top: -2rem;
}

.search-container input {
  padding: 6px 8px;
  margin-right: -1rem;
  border-radius: 4px;
  width: 13.5rem;
  border: none;
  outline: none;
}

.search-container i {
  position: absolute;
  right: -9px;
  top: 2px;
  color: black;
  cursor: pointer;
}

/* Login / Sign Up */
.login {
  color: #00ffcc;
  text-decoration: none;
  font-weight: 600;
  gap: 2rem;
  display: flex;
  flex-wrap: wrap;
}

.login:hover {
  color: #00ffaa;
}

/* Cart */
.cart {
  position: relative;
  cursor: pointer;
  color: #00ffcc;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
}

.cart img {
  width: 2rem;
  height: 2rem;
  margin-left: 1.4rem;
  margin-top: 4rem;
  /* Override desktop style */
}
.cart span {
  position: absolute;
  background-color: red;
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  /* width:0.5rem;
  height: 0.9rem; */
  padding: 2px 6px;
  margin-left: 3.1rem;
  margin-top: 3.7rem;
}

/* Cart Panel */
.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 300px;
  height: 100%;
  background: #1a1a1a;
  color: white;
  padding: 20px;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.cart-panel.open {
  right: 0;
  padding-left: 1.5rem;
  /* Fix: reasonable padding */
  padding-right: 1.5rem;
}

.cart-panel #empty-cart-section {
  text-align: center;
  margin: 10px 0;
}

.cart-panel img {
  width: 60px;
  height: auto;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

/* copy */
.cart-item {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
  padding-left: 0;
  /* Fix: remove excessive padding */
}

.cart-item button {
  background: red;
  border: none;
  width: 5rem;
  height: 2rem;
  margin-top: auto;
  margin-bottom: auto;
  align-items: center;
  justify-items: center;
  color: white;
  padding: 2px 6px;
  cursor: pointer;
}

.checkout-btn {
  background: green;
  color: white;
  padding: 10px;
  border: none;
  width: 100%;
  margin-top: 15px;
  cursor: pointer;
  font-size: 1rem;
}

.checkout-btn:hover {
  background: darkgreen;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.cart-header h3 {
  margin: 0;
}

.close-cart {
  cursor: pointer;
  font-size: 20px;
  color: white;
}

.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-speed) var(--transition-ease);
}

.page-overlay.active {
  display: block;
  opacity: 1;
}

/* Banner Section */
.banner-section {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 40px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1516321497487-e288ad792749?auto=format&fit=crop&q=80&w=2070&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
      center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.banner-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  max-width: 800px;
}

.banner-content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin-top: -1rem;
  width: 90rem;
  margin-top: 2rem;
  margin-left: -20rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  animation: fadeInSlideUp 1s var(--transition-ease) forwards;
}

.banner-content p {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #f1f1f1;
  animation: fadeInSlideUp 1s var(--transition-ease) 0.3s forwards;
}

/* Products Grid & Filters */
.products-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding-bottom: 40px;
  margin-left: 9rem;
  margin-top: -2.5rem;
}

/* ✅ Fixed alignment and scroll sync */
.filter-panel {
  width: 270px;
  background: #1a1a1a;
  backdrop-filter: blur(10px);
  padding: 20px;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* position: sticky; */
  top: 120px;
  /* aligned with products header */
  align-self: flex-start;
  margin-left: -7rem;
  /* keep aligned */
  animation: fadeIn 0.8s ease-in-out forwards;
}

/* Keep it responsive */
@media (max-width: 768px) {
  .filter-panel {
    margin-left: 0;
    /* reset on small screens */
    width: 100%;
  }
}

.filter-panel h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #00ffaa;
}

.filter-panel .reset-btn {
  padding: 6px 12px;
  background: #1d1c1c;
  border: 1px solid #535555;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #00ffaa;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.3s, background 0.3s, color 0.3s;
}

.filter-panel .reset-btn.active {
  opacity: 1;
  pointer-events: auto;
}

.filter-panel .reset-btn.active:hover {
  background: #467167;
  border: 1px solid #535555;
  color: #fff;
}

.filter-category {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.filter-category:last-child {
  border-bottom: none;
}

.filter-category h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #00ffaa;
}

/* Custom Select Styling */
.filter-select select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: #fff;
  font-size: 0.95rem;
  color: var(--text-color);
  cursor: pointer;
  transition: border-color 0.3s;
}

.filter-select select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.filter-select select:disabled {
  background-color: var(--medium-gray);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Price Slider */
.filter-slider input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: var(--medium-gray);
  border-radius: 5px;
  outline: none;
  margin-top: 10px;
  transition: background var(--transition-speed) var(--transition-ease);
}

.filter-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: grab;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background var(--transition-speed) var(--transition-ease),
    transform var(--transition-speed) var(--transition-ease);
}

.filter-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: grab;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background var(--transition-speed) var(--transition-ease),
    transform var(--transition-speed) var(--transition-ease);
}

.filter-slider input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

.filter-slider input[type="range"]::-moz-range-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

.price-range-display {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-top: 10px;
  text-align: center;
}

/* Product Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  gap: 24px;
  row-gap: 2rem;
  column-gap: 5rem;
  width: 100%;
  flex: 1;
}

.report-card {
  background: #1a1a1a;
  border-radius: 12px;
  border: 1px solid #333;
  width: 18rem;
  padding: 30px;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.report-card h3 {
  color: #00ff9d;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.report-card p {
  font-size: 0.9rem;
  color: #bbb;
}

.report-btn {
  margin-top: 15px;
  display: inline-block;
  background: #00ff9d;
  padding: 8px 10px;
  border-radius: 6px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.report-btn:hover {
  background: #00d982;
}

.product-card {
  background-color: #ffffff;
  box-shadow: 0px 4px 16px var(--card-shadow);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition-speed) var(--transition-ease),
    box-shadow var(--transition-speed) var(--transition-ease);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  opacity: 0;
  /* For scroll-reveal animation */
  transform: translateY(20px);
  /* For scroll-reveal animation */
}

.product-card.is-visible {
  /* Class added by JS for scroll-reveal */
  animation: fadeInSlideUp 0.8s var(--transition-ease) forwards;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px var(--hover-shadow);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  transition: transform var(--transition-speed) var(--transition-ease);
  position: relative;
  overflow: hidden;
}

.product-image::after {
  /* Gradient overlay on image */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
  transition: background var(--transition-speed) var(--transition-ease);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-card:hover .product-image::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.product-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-color);
}

.product-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: end;
  margin-top: auto;
  padding-top: 10px;
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px;
  padding-top: 10px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-color);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: color var(--transition-speed) var(--transition-ease);
}

.add-to-cart-btn .fas {
  margin-right: 8px;
  color: var(--text-color);
  transition: color var(--transition-speed) var(--transition-ease);
}

.add-to-cart-btn:hover .fas {
  color: var(--accent-color);
}

.add-to-cart-content {
  position: relative;
  display: flex;
  color: var(--accent-color);
  align-items: center;
}

.add-to-cart-content::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.add-to-cart-btn:hover .add-to-cart-content::after {
  transform: scaleX(1);
  transform-origin: left;
}

.add-to-cart-btn:hover {
  color: var(--accent-color);
}

.add-to-cart-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  color: var(--dark-gray);
}

.add-to-cart-btn:disabled:hover::after {
  transform: scaleX(0);
}

.add-to-cart-btn:disabled .fas {
  color: var(--dark-gray);
}

/* Cart Panel - open as right side drawer, 30% width */
.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  /* Hidden off-screen */
  width: 300px;
  height: 100%;
  background: #1a1a1a;
  color: white;
  padding: 20px;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.cart-panel.open {
  right: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  color: #00ffaa;
  /* border-bottom: 3px solid #00ffaa; */
  display: inline-block;
  font-weight: 700;
  padding-bottom: 2.5rem;
  margin-right: 24px;
  opacity: 0;
  margin-top: -1rem;
  margin-left: 2rem;
  /* For scroll-reveal */
  transform: translateY(20px);
  /* For scroll-reveal */
}

.section-title.is-visible {
  animation: fadeInSlideUp 1s var(--transition-ease) forwards;
}

@media (max-width: 768px) {
  .empty-cart-icon img {
    width: 70px;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
  }

  .page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-ease);
  }

  .page-overlay.active {
    display: block;
    opacity: 1;
  }

  Banner Section .banner-section {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-bottom: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 40px;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.4)
      ),
      url("https://images.unsplash.com/photo-1516321497487-e288ad792749?auto=format&fit=crop&q=80&w=2070&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
        center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .banner-content {
    max-width: 90%;
    width: 90%;
    /* Use auto margins to center the block itself */
    margin-left: -1rem;
    margin-right: auto;
    padding: 0 10px;
  }

  .banner-content h1 {
    margin-left: auto;
    margin-right: auto;
    /* Let the width be automatic */
    width: auto;
    /* Adjusting font size for better mobile readability */
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .banner-content p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #f1f1f1;
    animation: fadeInSlideUp 1s var(--transition-ease) 0.3s forwards;
  }

  /* Products Grid & Filters */
  .products-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding-bottom: 40px;
  }

  .filter-category {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
  }

  .filter-category:last-child {
    border-bottom: none;
  }

  .filter-category h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #00ffaa;
  }

  /* Custom Select Styling */
  .filter-select select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: #fff;
    font-size: 0.95rem;
    color: var(--text-color);
    cursor: pointer;
    transition: border-color 0.3s;
  }

  .filter-select select:focus {
    border-color: var(--primary-color);
    outline: none;
  }

  .filter-select select:disabled {
    background-color: var(--medium-gray);
    cursor: not-allowed;
    opacity: 0.7;
  }

  /* Price Slider */
  .filter-slider input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: var(--medium-gray);
    border-radius: 5px;
    outline: none;
    margin-top: 10px;
    transition: background var(--transition-speed) var(--transition-ease);
  }

  .filter-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: grab;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background var(--transition-speed) var(--transition-ease),
      transform var(--transition-speed) var(--transition-ease);
  }

  .filter-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: grab;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background var(--transition-speed) var(--transition-ease),
      transform var(--transition-speed) var(--transition-ease);
  }

  .filter-slider input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
  }

  .filter-slider input[type="range"]::-moz-range-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
  }

  .price-range-display {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: 10px;
    text-align: center;
  }

  .report-btn {
    margin-top: 15px;
    display: inline-block;
    background: #00ff9d;
    padding: 8px 10px;
    border-radius: 6px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
  }

  .report-btn:hover {
    background: #00d982;
  }

  .product-card {
    background-color: #ffffff;
    box-shadow: 0px 4px 16px var(--card-shadow);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition-speed) var(--transition-ease),
      box-shadow var(--transition-speed) var(--transition-ease);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    opacity: 0;
    /* For scroll-reveal animation */
    transform: translateY(20px);
    /* For scroll-reveal animation */
  }

  .product-card.is-visible {
    /* Class added by JS for scroll-reveal */
    animation: fadeInSlideUp 0.8s var(--transition-ease) forwards;
  }

  .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--hover-shadow);
  }

  .product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    transition: transform var(--transition-speed) var(--transition-ease);
    position: relative;
    overflow: hidden;
  }

  .product-image::after {
    /* Gradient overlay on image */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
    transition: background var(--transition-speed) var(--transition-ease);
  }

  .product-card:hover .product-image {
    transform: scale(1.08);
  }

  .product-card:hover .product-image::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
  }

  .product-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .product-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
  }

  .product-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: end;
    margin-top: auto;
    padding-top: 10px;
  }

  .add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 15px;
    padding-top: 10px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-color);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: color var(--transition-speed) var(--transition-ease);
  }

  .add-to-cart-btn .fas {
    margin-right: 8px;
    color: var(--accent-color);
    transition: color var(--transition-speed) var(--transition-ease);
  }

  .add-to-cart-btn:hover .fas {
    color: var(--accent-color);
  }

  .add-to-cart-content {
    position: relative;
    display: flex;
    align-items: center;
  }

  .add-to-cart-content::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .add-to-cart-btn:hover .add-to-cart-content::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .add-to-cart-btn:hover {
    color: var(--accent-color);
  }

  .add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    color: var(--dark-gray);
  }

  .add-to-cart-btn:disabled:hover::after {
    transform: scaleX(0);
  }

  .add-to-cart-btn:disabled .fas {
    color: var(--dark-gray);
  }

  /* Products Header (Heading + Sort Dropdown) */
  .products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
    margin-left: -9rem;
    /* aligned with filter */
  }

  .section-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.8rem;
    color: #00ffaa;
    /* border-bottom: 3px solid #00ffaa; */
    display: inline-block;
    font-weight: 700;
    padding-bottom: 0.5rem;
    margin-right: 24px;
    opacity: 0;
    margin-top: -1rem;
    margin-left: 11rem;
    /* For scroll-reveal */
    transform: translateY(20px);
    /* For scroll-reveal */
  }

  .section-title.is-visible {
    animation: fadeInSlideUp 1s var(--transition-ease) forwards;
  }

  .sort-container {
    min-width: 200px;
    opacity: 0;
    /* For scroll-reveal */
    transform: translateY(20px);
    /* For scroll-reveal */
  }

  .sort-container.is-visible {
    animation: fadeInSlideUp 1s var(--transition-ease) 0.2s forwards;
  }

  .sort-container select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: #fff;
    font-size: 0.95rem;
    color: var(--text-color);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2C114.7L159.2%2C242.5c-3.2%2C3.2-8.3%2C3.2-11.5%2C0L5.4%2C114.7c-3.2-3.2-3.2-8.3%2C0-11.5l11.5-11.5c3.2-3.2%2C8.3-3.2%2C11.5%2C0L144%2C184.5l115.6-115.6c3.2-3.2%2C8.3-3.2%2C11.5%2C0l11.5%2C11.5C290.2%2C106.4%2C290.2%2C111.5%2C287%2C114.7z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px;
    cursor: pointer;
    transition: border-color var(--transition-speed) var(--transition-ease),
      box-shadow var(--transition-speed) var(--transition-ease);
  }

  .sort-container select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25);
    outline: none;
  }

  /* Pagination */
  .pagination-buttons button {
    background-color: #fff;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    min-width: 40px;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color var(--transition-speed) var(--transition-ease),
      color var(--transition-speed) var(--transition-ease),
      border-color var(--transition-speed) var(--transition-ease),
      transform 0.2s var(--transition-ease);
  }

  .pagination-buttons button:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .pagination-buttons button:disabled {
    background-color: var(--medium-gray);
    color: var(--dark-gray);
    border-color: var(--medium-gray);
    cursor: not-allowed;
    box-shadow: none;
  }

  .pagination-buttons button.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .pagination-info {
    margin-top: 15px;
    color: var(--dark-gray);
    font-size: 0.9rem;
  }
}

/* --- START: REPLACEMENT FOOTER CSS --- */
/* This block is copied directly from index.html to ensure a perfect match */
      /* Footer Styles */
      footer {
        background-color: black;
        color: #fff;
        padding: 2.5rem 0 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
      }

footer .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
      }

footer .footer-col nav {
        flex: 1 1 280px;
        margin-bottom: 30px;
        padding-top: -1rem;
        position: absolute;
      }

footer .footer-col nav:nth-child(2) {
        flex-basis: 100px;
        margin-left: -12rem;
        margin-top: -0.5rem;
      }

      footer .footer-col nav:nth-child(3) {
        flex-basis: 150px;
      }
      footer .footer-col {
        flex: 1 1 280px;
        margin-bottom: 15px;
        padding-top: -1rem;
      }



      footer h5 {
        font-family: "Montserrat", sans-serif;
        font-size: 1.1rem;
        margin-bottom: 20px;
        color: #fff;
        font-weight: 600;
        padding-top: -1rem;
      }

      footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      footer ul li {
        margin-bottom: 10px;
      }

      footer ul li a {
        text-decoration: none;
        color: #ffffff;
        font-size: 0.9rem;
        transition: color var(--transition-speed) var(--transition-ease);
      }

      footer ul li a:hover {
        color: #00ffc3;
      }

      footer .contact-info p {
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        color: rgba(255, 255, 255, 0.8);
      }

      footer .contact-info svg {
        margin-right: 8px;
        color: rgba(255, 255, 255, 0.8);
      }

      footer .social-links a {
        display: inline-block;
        margin-right: 15px;
      }

      footer .social-links img {
        width: 25px;
        height: 25px;
        margin-top: 0.4rem;
        display: block;
        transition: transform var(--transition-speed) var(--transition-ease);
      }

      footer .social-links img:hover {
        transform: translateY(-3px);
      }

      footer .app-buttons button {
        background-color: var(--secondary-color);
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 6px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: background-color var(--transition-speed)
            var(--transition-ease),
          transform var(--transition-speed) var(--transition-ease);
      }

      footer .app-buttons button:hover {
        background-color: #218838;
        transform: translateY(-2px);
      }

      .footer-heading {
        font-family: "Montserrat", sans-serif;
        font-weight: 600;
        font-size: 1rem;
        color: #00ffc3;
        margin-bottom: 8px;
        /* This moves "What You Can Expect:" to the right */
        margin-left: -8rem;
        margin-top: -0.5rem;
      }

      /* Specific Desktop Spacing for 2nd/3rd col headings */
      .company-heading {
        margin-top: 2.8rem;
        margin-left: 3.9rem;
      }
      .follow-us-heading {
        margin-top: 3rem;
        margin-left: 5.5rem;
      }

      /* All Footer Lists (Desktop) */
      .footer-list {
        font-size: 0.9rem;
        line-height: 1.2;
        list-style: none;
        padding-top: 5px;
        margin-top: 0;
        /* This moves the list items to the right */
        margin-left: -8rem;
      }
      .footer-list li {
        margin-bottom: 10px;
      }
      .footer-list li a {
        text-decoration: none;
        color: #f8f4f4;
        transition: color 0.3s ease;
      }
      .footer-list li a:hover {
        color: #00ffc3;
      }

      /* Specific list style for company */
      .company-list {
        line-height: 1;
        margin-left: 4rem;
        margin-top: 0.8rem;
        font-size: 1rem;
      }
      .company-list li a {
        color: white; /* optional: set link color */
        transition: all 0.2s ease-in-out;
      }

      .company-list li a:hover {
        text-decoration: underline; /* underline on hover */
      }

      /* Social Links (Desktop) */
      .social-links {
        display: flex;
        gap: 5px;
        margin-top: 16px;
        margin-left: 5.5rem;
      }
      .social-links img {
        width: 25px;
        height: 25px;
        transition: transform 0.3s ease;
      }
      .social-links img:hover {
        transform: translateY(-3px);
      }

      /* Contact Info (Phone/Email) (Desktop) */
      .footer-contact-item {
        display: flex;
        align-items: center;
        margin-top: 1rem;
      }
      .contact-icon {
        width: 23px;
        height: 23px;
        margin-left: 5.5rem;
      }
      .contact-text {
        font-size: 1rem;
        margin: 0 0 0 0.8rem; /* Clean alignment */
      }
      .contact-text a {
        color: white;
        text-decoration: none;
        margin-top: 5rem;
      }

      /* Copyright (Desktop) */
      .copyright {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 15px;
        margin-top: 0rem;
        text-align: center;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
      }
      /* footer .logo1 {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  margin-top: -8rem;
  margin-left: -8rem;
} */
      footer .logo1 p {
        display: inline-block; /* Important for margins */
        font-size: 2rem;
        text-decoration: none;
        background: linear-gradient(90deg, #ff9933, #ffffff, #138808);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: bold;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
        margin-top: -8rem;
        margin-left: -8.2rem;
      }
/* --- END: REPLACEMENT FOOTER CSS --- */

/* PDF Modal Styles */
.pdf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1002;
  opacity: 0;
  transition: opacity var(--transition-speed) var(--transition-ease);
}

.pdf-modal.active {
  display: block;
  opacity: 1;
}

.pdf-modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: transform var(--transition-speed) var(--transition-ease);
}

.pdf-modal.active .pdf-modal-content {
  transform: translateY(0);
}

.pdf-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.pdf-modal-header h2 {
  font-family: "Montserrat", sans-serif;
  color: var(--primary-color);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark-gray);
  transition: color var(--transition-speed) var(--transition-ease);
}

.modal-close:hover {
  color: var(--accent-color);
}

.pdf-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.pdf-item {
  background-color: var(--light-gray);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: transform var(--transition-speed) var(--transition-ease),
    box-shadow var(--transition-speed) var(--transition-ease);
}

.pdf-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pdf-icon {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 10px;
}

.pdf-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.pdf-download-btn {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background-color var(--transition-speed) var(--transition-ease);
}

.pdf-download-btn:hover {
  background-color: #004085;
}

/* New styles for view reports button */
.view-reports-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary-color);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: color var(--transition-speed) var(--transition-ease);
}

.view-reports-content {
  position: relative;
  display: flex;
  align-items: center;
}

.view-reports-btn .fas {
  margin-right: 8px;
}

.view-reports-content::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.view-reports-btn:hover .view-reports-content::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Disabled state styles for download button */
.pdf-download-btn.disabled {
  background-color: var(--medium-gray);
  cursor: not-allowed;
  opacity: 0.7;
}

.pdf-download-btn.disabled:hover {
  background-color: var(--medium-gray);
}

.pdf-download-btn.disabled .fas {
  color: var(--dark-gray);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .products-layout {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .filter-panel {
    width: 100%;
    /* position: static; */
    /* Disable sticky on smaller screens */
    margin-bottom: 20px;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  footer .footer-col:nth-child(2) {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .header-desk {
    display: none;
  }

  .header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0px;
  }

  .mobile-menu {
    width: 250px;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: -250px;
    bottom: 0;
    z-index: 1002;
    /* Higher than overlay */
    transition: right var(--transition-speed) var(--transition-ease);
    box-shadow: rgba(0, 0, 0, 0.5) -2px 0px 5px;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu.open {
    right: 0;
  }

  .mobile-menu button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    align-self: flex-end;
    color: var(--dark-gray);
  }

  .mobile-navigation .navigation__list {
    flex-direction: column;
    gap: 15px;
  }

  .mobile-navigation .navigation__link {
    padding: 0.5rem 1rem;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* --- START: Mobile Footer CSS (from index.html) --- */
  .footer-contact-item {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    margin-left: -0.4rem;
    margin-bottom: 0.6rem;
  }

  .contact-icon {
    width: 23px;
    height: 23px;
    margin-left: 1rem;
  }

  .contact-text {
    font-size: 1rem;
    margin: 0 0 0 0.8rem;
    /* Clean alignment */
  }

  .contact-text a {
    color: white;
    text-decoration: none;
  }

  footer {
    background-color: black;
    color: #fff;
    padding: 30px 20px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  footer .footer-grid {
    display: grid;
    /* This is the fix */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin-bottom: -42px;
  }

  footer .footer-col {
    margin-bottom: -35px;
    /* All the old fragile flex-basis and margin hacks are gone */
  }

  footer h5 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #00ffc3;
    font-weight: 600;
    /* Note: your inline-style for padding-top is still respected */
  }

  footer ul {
    list-style: none;
    padding: 0;
    margin-left: 9rem;
  }

  footer ul li {
    margin-bottom: 10px;
  }

  footer ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }

  footer ul li a:hover {
    color: #30e4e8;
  }

  footer .contact-info p {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
  }

  footer .social-links {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    margin-left: -12.6rem;
  }

  footer .social-links a {
    display: inline-block;
  }

  footer .social-links img {
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
  }

  footer .social-links img:hover {
    transform: translateY(-3px);
  }

  .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 90px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
  }
  /* --- END: Mobile Footer CSS (from index.html) --- */
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .product-content {
    padding: 10px;
  }

  .product-image {
    height: 180px;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .sort-container {
    width: 100%;
    min-width: unset;
  }

  footer .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  footer .footer-col {
    text-align: center;
    margin-left: 0 !important;
  }

  footer .social-links {
    justify-content: flex-start;
  }

  footer .app-buttons {
    justify-content: center;
  }

  .copyright {
    text-align: center;
    margin-right: 0;
    margin-left: 0;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animations for product cards */
.product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card:nth-child(3) {
  animation-delay: 0.3s;
}

.product-card:nth-child(4) {
  animation-delay: 0.4s;
}

.product-card:nth-child(5) {
  animation-delay: 0.5s;
}

.product-card:nth-child(6) {
  animation-delay: 0.6s;
}

.product-card:nth-child(7) {
  animation-delay: 0.7s;
}

.product-card:nth-child(8) {
  animation-delay: 0.8s;
}

.product-card:nth-child(9) {
  animation-delay: 0.9s;
}

.product-card:nth-child(10) {
  animation-delay: 1s;
}

/* Add more for additional cards if needed */

.report-type {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 10px;
  font-style: italic;
}

/* Extra small devices (phones) */
@media (max-width: 480px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
  }

  .products-layout {
    flex-direction: column;
    gap: 20px;
  }

  .filter-panel {
    width: 100%;
    margin-left: -15px;
    /* position: static; */
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
  }

  .grid-container {
    grid-template-columns: 1fr;
    /* 1 product per row on phone */
  }

  .product-image {
    height: 160px;
  }

  .product-content {
    padding: 12px;
  }

  footer .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  footer .footer-col {
    text-align: center;
    margin-left: 0 !important;
  }

  footer .social-links {
    justify-content: flex-start;
  }

  footer .app-buttons {
    justify-content: center;
  }

  .copyright {
    text-align: center;
    margin-right: 0;
    margin-left: 0;
  }
}

/* Searche Bar Suggestions dropdown */
.search-suggestions {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  font-size: 0.9rem;
}

.search-suggestions div {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.search-suggestions div:hover {
  background: #f5f5f5;
}

.search-suggestions .category {
  font-size: 0.75rem;
  font-weight: bold;
  color: #666;
  margin-top: 6px;
  margin-bottom: -4px;
  padding: 4px 12px;
  background: #fafafa;
}

#suggestionsBox div.highlighted {
  background-color: #e0e0e0;
  cursor: pointer;
}

/* your existing CSS here */
/* .just-paid-highlight {
      outline: 3px solid #00ffcc;
      box-shadow: 0 0 0 6px rgba(0,255,204,.25);
      border-radius: 14px;
      transition: box-shadow .3s ease;
    } */
/* Proceed to checkout button changes */
.checkout-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Login Page User dropdown
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown:hover .dropdown-content {
  display: block;
}

#auth-link {
  cursor: pointer;
  font-weight: bold;
  color: #00ffcc;
}

#auth-link:hover {
  color: #00ffcc;
} */
.principles {
  color: #ccc;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  width: 65rem;
  height: auto;
  padding: 2rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 3rem;
}

/* .principles ul {
        padding-left: 1.2rem;
      }

      .principles li {
        margin-bottom: 1.25rem;
        font-size: 1rem;
        color: white;
      } */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 15px rgba(0, 255, 195, 0.4);
}

.feature-card i {
  font-size: 2rem;
  color: #00ffaa;
  margin-bottom: 0.8rem;
}

.feature-card h4 {
  color: #fff;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-card p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.4;
}

#carousel-text {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-top: 2rem;
  margin-left: -10rem;
  width: 70rem;
  color: #fff;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#carousel-text.fade-in {
  opacity: 1;
}

/* 🔥 Slideshow for Banner Background */
.banner-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.banner-slideshow img {
  position: absolute;
  width: 104%;
  margin-left: -50rem;
  height: 100%;
  object-fit: cover;
  /* border-radius: 2rem; */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-slideshow img.active {
  opacity: 5;
}

.banner-section .banner-content {
  position: relative;
  z-index: 1;
  left: 1.5rem;
  /* ensures text stays above slideshow */
}

.default-message {
  text-align: center;
  padding: 5rem;
  color: #666;
  margin-bottom: -8rem;
  grid-column: 1/-1;
}

/* --- START: Mobile View Code (Adapted from index.html) --- */

/* Hamburger Menu Base Styles (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  background: transparent;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #00ffc3;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Header Container (for alignment) */
.header-container {
  display: flex;
  justify-content: space-between; /* <-- 1. This is the main fix */
  align-items: center; /* <-- 2. This vertically centers everything */
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  /* position: relative; */
  /* We removed justify-content: center */
}
/*
 * =========================================
 * Mobile Responsive Styles (768px and below)
 * =========================================
 */
@media (max-width: 768px) {
  /* Adjust header padding & layout */
  header {
    padding: 1.25rem 1.7rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .header-container {
    justify-content: space-between;
    /* Space out items on mobile */
  }

  .logo {
    font-size: 1.2rem;
    margin-bottom: 0;
    /* Override desktop style */
    flex-grow: 1;
    text-align: center;
    margin-left: 1rem;
    /* Adjust to center */
    margin-top: -0.2rem;
  }

  /* Hide desktop search bar */
  .search-container {
    display: none;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
    margin-left: -1rem;
  }

  /* Hide desktop nav, prep mobile nav */
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #111;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px 30px;
    margin: 0;
    gap: 0;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    transform: none;
    /* Override inline style */
  }

  /* Show mobile nav */
  nav.active {
    left: 0;
  }

  nav a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    font-size: 1rem;
  }

  nav .dropdown {
    width: 100%;
  }

  nav .dropdown-content {
    /* position: static; */
    box-shadow: none;
    background: #0d0d0d;
    margin-left: 20px;
  }

  nav .dropdown:hover .dropdown-content {
    display: none;
  }

  nav .dropdown.active .dropdown-content {
    display: block;
  }

  #auth-status-container {
    width: 100%;
    padding: 15px 0;
    /* border-bottom: 1px solid #333; */
  }

  /* Adjust Cart (now in .header-container) */
  .cart {
    padding: 0rem;
    min-width: 44px;
    min-height: 44px;
    margin-top: 0;
    margin-left: 0;
    position: static;
    /* Remove desktop positioning */
  }

  .cart img {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.6rem;
    margin: 0; /* Override desktop style */
    margin-top: 0.32rem;
    margin-left: 1.2rem;
  }

  .cart span {
    position: absolute;
    top: -32.2px;
    right: 1.45rem;
    background-color: red;
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    /* width:0.5rem;
  height: 0.9rem; */
    padding: 2px 6px;
  }

  /* Adjust Page Content */

  #carousel-text {
    margin-left: auto;
    margin-right: auto;
    /* This was already set, but good to be explicit */
    width: auto;
    font-size: 1rem;
  }

  .products-layout {
    flex-direction: column;
    margin-left: 0;
    padding: 0 1rem;
  }

  .filter-panel {
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
    /* Include padding in width */
  }

  .products-header {
    margin-left: 0;
    padding: 0 1rem;
  }

  .section-title {
    font-size: 1.3rem;
    margin-left: 0.3rem;
  }

  .grid-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 2rem;
    margin-bottom: 2rem;
  }

  .report-card {
    width: 76%;
    /* Fill container */
    padding: 1.5rem;
    margin-left: -19px;
  }

  .principles {
    width: 86%;
    margin-left: -33px;
    margin-right: 0;
    padding: 0.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Adjust Cart Panel */
  .cart-panel {
    width: 70%;
    max-width: 300px;
  }
  .cart-header h3 {
    font-size: 1.2rem;
    font-weight: bold;
  }

  .banner-slideshow img {
    position: absolute;
    width: 150%;
    margin-left: -16rem;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .banner-slideshow img.active {
    opacity: 5;
  }

  /* Adjust Footer */
  footer {
    padding: 30px 20px 15px;
  }

  footer .footer-grid {
    grid-template-columns: 1fr;
    /* Stack columns */
    gap: 30px;
  }

  footer .footer-col {
    margin-bottom: 20px;
    text-align: left;
    /* Reset text-align if needed */
  }

  footer .logo1 p {
          font-size: 1.5rem;
          margin-right: 0; /* Or remove this line */
          margin-top: -1rem;
          margin-left: 0rem;
        }

  footer p[style*="margin-left: 2rem"] {
    margin-left: 0;
    /* Reset inline style */
  }

  footer ul[style*="margin-left: 2rem"],
  footer ul[style*="margin-left: 12rem"] {
    margin-left: 0;
    /* Reset inline style */
  }

  footer h5 {
    padding-top: 1rem;
    /* Adjust spacing */
    font-size: 1.1rem;
  }

  .copyright {
    margin-top: 30px;
    /* Ensure spacing above copyright */
  }

  /* Add these footer-specific ones */
  .footer-contact-item {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    margin-left: -0.4rem;
    margin-bottom: 0.6rem;
  }
  .contact-icon {
    width: 23px;
    height: 23px;
    margin-left: 1rem;
  }
  .contact-text {
    font-size: 1rem;
    margin: 0 0 0 0.8rem; /* Clean alignment */
  }
  .contact-text a {
    color: white;
    text-decoration: none;
  }
  /* Adjust Footer */
  /* --- START: Footer CSS --- */
  /* Paste this into your index.html <style> block, replacing all old footer styles */

  footer {
    background-color: black;
    color: #fff;
    padding: 30px 20px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  footer .footer-grid {
    display: grid; /* This is the fix */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin-bottom: -42pm;
  }

  footer .footer-col {
    margin-bottom: -35px;
    /* All the old fragile flex-basis and margin hacks are gone */
  }

  footer h5 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #00ffc3;
    font-weight: 600;
    /* Note: your inline-style for padding-top is still respected */
  }

  footer ul {
    list-style: none;
    padding: 0;
    margin-left: 9rem;
  }

  footer ul li {
    margin-bottom: 10px;
  }

  footer ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }

  footer ul li a:hover {
    color: #30e4e8;
  }

  footer .contact-info p {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
  }

  footer .social-links {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    margin-left: 0.6rem;
  }

  footer .social-links a {
    display: inline-block;
  }

  footer .social-links img {
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
  }

  footer .social-links img:hover {
    transform: translateY(-3px);
  }

  .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 90px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
  }
  .typed-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    font-size: 0.8rem;
    animation: typing 4s steps(40, end), blink-caret 0.75s step-end infinite;
  }
  .default-message h3 {
    width: 18rem;
    margin-left: -6rem;
    text-align: center;
    padding: 1rem;
    color: #666;
  }
  .default-message p {
    width: 18rem;
    margin-top: -1rem;
    margin-left: -6rem;
    text-align: center;
    padding: 1rem;
    color: #666;
  }
}

/*
 * =========================================
 * Extra Small Screen Adjustments (576px and below)
 * =========================================
 */
@media (max-width: 576px) {
  .logo {
    font-size: 1.2rem;
  }

  .banner-content h1 {
    font-size: 1rem;
  }

  #carousel-text {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: -1.7rem;
  }

  .principles h3 {
    font-size: 1.1rem;
  }

  .feature-card {
    padding: 1rem;
  }

  .feature-card h4 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.85rem;
  }
  footer .logo p {
    font-size: 1.2rem;
    margin-right: 0; /* Or remove this line */
    margin-top: 0;
    margin-left: 1.3rem;
  }

  /* Footer Headings & Lists (Mobile) */
  .footer-heading {
    margin-left: 0.4rem;
    margin-top: 0rem;
  }
  .footer-list {
    margin-left: 0.4rem; /* Resets desktop margin */
  }
  .company-list {
    margin-left: 0.5rem;
  }

  /* Remove extra desktop padding on mobile */
  .company-heading {
    margin-left: 0.5rem;
    padding-top: 1.5rem;
  }
  .follow-us-heading {
    padding-top: 1.5rem;
    margin-left: 0.7rem;
  }

  /* --- END: Mobile Footer CSS (from index.html) --- */

  .default-message {
    text-align: center;
    padding: 5rem;
    color: #666;
    margin-bottom: -5rem;
    grid-column: 1/-1;
  }
}

/* --- END: Mobile View Code --- */
