/* ==========================================================================
   MAX SPACE RACKING SYSTEMS - CORE STYLES & HEADER
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  --primary: #EA622B;
  --primary-hover: #d14e18;
  --primary-light: #fef0eb;
  --secondary: #3B60AF;
  --secondary-hover: #2f4f92;
  --secondary-light: #eef2fa;

  --primary-gradient: linear-gradient(135deg, #EA622B 0%, #ff8352 100%);
  --secondary-gradient: linear-gradient(135deg, #3B60AF 0%, #587ccf 100%);
  --dark-navy: #0f172a;

  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --white: #ffffff;

  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 80px;
  --topbar-height: 40px;
}

/* --- Resets --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER COMPONENT
   ========================================================================== */

/* Header Wrapper */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform var(--transition-normal);
}

/* --- Top Utility Bar --- */
.top-bar {
  background-color: var(--dark-navy);
  color: rgba(255, 255, 255, 0.9);
  height: var(--topbar-height);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-item i {
  color: var(--primary);
  font-size: 14px;
}

.top-bar-item a:hover {
  color: var(--primary);
}

/* --- Main Navigation Bar --- */
.main-navbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.logo-container:hover img {
  transform: scale(1.02);
}

/* Desktop Menu Links */
.desktop-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.nav-link i.fa-chevron-down {
  font-size: 10px;
  transition: transform var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--bg-light);
}

/* Hover Chevron Rotation */
.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

/* --- Premium Mega Menu --- */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: calc(100vw - 48px);
  max-width: 1200px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 150;
}

/* Mega Menu Trigger */
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Mega Menu Column */
.mega-menu-col {
  display: flex;
  flex-direction: column;
}

.mega-menu-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--secondary-light);
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-menu-title i {
  color: var(--primary);
  font-size: 14px;
}

.mega-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-menu-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.mega-menu-item i {
  font-size: 12px;
  color: var(--text-light);
  opacity: 0;
  transform: translateX(-5px);
  transition: all var(--transition-fast);
}

.mega-menu-item:hover {
  color: var(--primary);
  background-color: var(--primary-light);
  padding-left: 16px;
}

.mega-menu-item:hover i {
  opacity: 1;
  color: var(--primary);
  transform: translateX(0);
}

/* Mega Menu Promo Card */
.mega-menu-promo {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--dark-navy) 100%);
  color: var(--white);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2);
}

.mega-menu-promo::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(234, 98, 43, 0.15);
  border-radius: 50%;
  z-index: 0;
}

.mega-menu-promo-content {
  position: relative;
  z-index: 1;
}

.mega-menu-promo-tag {
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 12px;
  display: inline-block;
}

.mega-menu-promo h4 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.mega-menu-promo p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.mega-menu-promo-btn {
  background-color: var(--white);
  color: var(--secondary);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
  align-self: flex-start;
  transition: all var(--transition-fast);
  border: 1px solid var(--white);
  position: relative;
  z-index: 1;
  display: inline-block;
}

.mega-menu-promo-btn:hover {
  background-color: transparent;
  color: var(--white);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(234, 98, 43, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(234, 98, 43, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Navbar Action (Right Section) */
.navbar-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  z-index: 1010;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background-color: var(--text-dark);
  transition: all var(--transition-normal);
  border-radius: 2px;
  transform-origin: center;
}

/* Hamburger animation on active state */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 990;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Drawer Container */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
  right: 0;
}

/* Header inside drawer */
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.drawer-header .logo-container img {
  height: 40px;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
}

/* Drawer Links */
.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav-link {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
  background-color: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.drawer-nav-link:hover,
.drawer-nav-link.active {
  color: var(--primary);
  background-color: var(--bg-light);
}

.drawer-nav-link i {
  font-size: 12px;
  transition: transform var(--transition-normal);
}

.drawer-nav-link.active i {
  transform: rotate(180deg);
}

/* Accordion for Products in Mobile */
.drawer-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 16px;
}

.drawer-accordion-content.open {
  max-height: 400px;
  overflow-y: auto;
  border-left: 2px solid var(--border-color);
  margin-left: 24px;
  margin-bottom: 8px;
}

.drawer-product-link {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  transition: color var(--transition-fast);
}

.drawer-product-link:hover {
  color: var(--primary);
}

/* Drawer Footer */
.drawer-footer {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-medium);
}

.drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-contact-item i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.drawer-cta-btn {
  width: 100%;
  text-align: center;
}


/* ==========================================================================
   RESPONSIVENESS MEDIA QUERIES
   ========================================================================== */

/* Hide top bar items, reduce sizes on smaller screens */
@media (max-width: 1024px) {
  .top-bar-item.address {
    display: none;
  }
}

/* Tablets and Mobile - Toggle between desktop nav & hamburger */
@media (max-width: 991px) {
  :root {
    --header-height: 70px;
  }

  .top-bar {
    display: none;
    /* Hide top utility bar on smaller screens to keep clean UI */
  }

  .desktop-nav {
    display: none;
    /* Hide desktop nav link container */
  }

  .navbar-action .btn-primary {
    display: none;
    /* Hide primary CTA in nav bar (it's in the mobile drawer instead) */
  }

  .mobile-toggle {
    display: flex;
    /* Show hamburger button as flex container */
  }
}

@media (max-width: 480px) {
  .logo-container img {
    height: 55px;
  }
}

/* ==========================================================================
   FOOTER COMPONENT
   ========================================================================== */
.site-footer {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-family: var(--font-body);
  margin-top: 0;
  position: relative;
}

/* Footer CTA Section */
.footer-cta-wrapper {
  position: relative;
  z-index: 10;
  padding: 0 0 45px 0;
}

.footer-cta-card {
  background: var(--primary-gradient);
  border-radius: 16px;
  padding: 40px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: 0 15px 35px rgba(234, 98, 43, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

/* Subtle background accent glow */
.footer-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.footer-cta-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.footer-cta-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.footer-cta-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  max-width: 680px;
}

.footer-cta-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.btn-cta-primary {
  background-color: var(--white);
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-cta-primary i {
  transition: transform var(--transition-fast);
}

.btn-cta-primary:hover {
  background-color: var(--dark-navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover i {
  transform: translateX(4px);
}

.btn-cta-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal);
}

.btn-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Responsiveness for Footer CTA */
@media (max-width: 991px) {
  .footer-cta-wrapper {
    padding: 0 0 35px 0;
  }
  
  .footer-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 30px;
    gap: 24px;
  }
  
  .footer-cta-description {
    margin: 0 auto;
  }
  
  .footer-cta-actions {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .site-footer {
    margin-top: 0;
  }
  
  .footer-cta-wrapper {
    padding: 0 0 25px 0;
  }
  
  .footer-cta-card {
    padding: 30px 20px;
    gap: 20px;
  }
  
  .footer-cta-title {
    font-size: 22px;
  }
  
  .footer-cta-description {
    font-size: 14px;
  }
  
  .footer-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

.footer-top {
  background-color: var(--dark-navy);
  padding: 80px 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-container img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0px;
}

.footer-desc {
  line-height: 1.6;
  font-weight: 400;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer-links a i {
  font-size: 10px;
  color: var(--text-light);
  transition: transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-links a:hover i {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  line-height: 1.5;
}

.footer-contact-list li i {
  color: var(--primary);
  font-size: 16px;
  margin-top: 4px;
}

.footer-contact-list .phones,
.footer-contact-list .emails {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact-list a:hover {
  color: var(--primary);
}

.footer-map {
  margin-top: 12px;
  width: 100%;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  padding: 30px 0;
  background-color: #0b0f19;
  font-size: 13px;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* Responsive Footer */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-flex {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   MAIN CONTENT & HERO SECTION
   ========================================================================== */

.main-content {
  padding-top: calc(var(--header-height) + var(--topbar-height));
  min-height: 100vh;
  background-color: var(--bg-light);
}

.hero-section {
  position: relative;
  min-height: calc(85vh - (var(--header-height) + var(--topbar-height)));
  background-image: url('../stock-images/spacious-warehouse-with-rows-shelves-forklift.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 100px 0;
  z-index: 1;
}

/* Base overlay for the background image to enhance contrast */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  /* subtle dark overlay over the whole image */
  z-index: -1;
}

/* Semi-transparent black/navy overlay container on the left */
.hero-content {
  max-width: 680px;
  background: rgba(15, 23, 42, 0.75);
  /* Dark background with medium transparency */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

.hero-title {
  font-family: var(--font-title);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-title span {
  color: var(--primary);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark-navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Responsiveness for Hero Section */
@media (max-width: 991px) {
  .main-content {
    padding-top: var(--header-height);
  }

  .hero-section {
    min-height: calc(75vh - var(--header-height));
    padding: 80px 0;
  }

  .hero-content {
    max-width: 100%;
    padding: 40px;
    border-radius: 12px;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: auto;
    padding: 60px 0;
  }

  .hero-content {
    padding: 28px;
    background: rgba(15, 23, 42, 0.85);
    /* Slightly darker for better readability on small screens */
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   OUR PRODUCTS CAROUSEL SECTION
   ========================================================================== */

.products-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-navy);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  margin: 0 auto;
  border-radius: 2px;
}

/* Carousel Outer Wrapper */
.carousel-wrapper {
  position: relative;
  padding: 0 50px;
}

/* Container limits the view */
.carousel-container {
  overflow: hidden;
  width: 100%;
}

/* Track holds all cards and slides horizontally */
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateX(calc(-1 * var(--current-index) * (100% / var(--cards-per-view))));
  margin: 0 -15px;
  /* Offset the padding on the outer edges */
}

/* Individual card container */
.product-card {
  flex: 0 0 calc(100% / var(--cards-per-view));
  padding: 15px;
  box-sizing: border-box;
  display: flex;
}

/* Inner card styling with glassmorphism/shadows */
.product-card-inner {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  border: 1px solid var(--border-color);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.product-card-inner:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(234, 98, 43, 0.3);
}

/* Aspect Ratio Image Container (4:3 aspect ratio) */
.product-image-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background-color: var(--secondary-light);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Card Details */
.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.product-card-inner:hover .product-title {
  color: var(--primary);
}

.product-description {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  font-weight: 400;
}

/* Navigation Buttons */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.carousel-control:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(234, 98, 43, 0.25);
}

.carousel-control.prev {
  left: -2px;
}

.carousel-control.next {
  right: -2px;
}

.carousel-control i {
  font-size: 14px;
}

/* Pagination Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 35px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-hover);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 5px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .products-section {
    padding: 60px 0;
  }

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

@media (max-width: 768px) {
  .carousel-wrapper {
    padding: 0;
  }

  .carousel-control {
    display: none;
    /* Hide arrows on touch screens, rely on touch swipe */
  }

  .product-card {
    padding: 10px;
  }

  .carousel-track {
    margin: 0 -10px;
  }
}

/* ==========================================================================
   STATISTICS / NUMBERS SECTION (LIGHT THEME, NO ICONS, COMPACT)
   ========================================================================== */
.stats-section {
  padding: 45px 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.stat-number-wrapper {
  font-family: var(--font-title);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.stat-number {
  letter-spacing: -0.02em;
}

.stat-suffix {
  color: var(--primary);
  margin-left: 2px;
  font-weight: 700;
}

.stat-label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  transition: color var(--transition-normal);
}

.stat-card:hover .stat-label {
  color: var(--primary);
}

/* Responsive Media Queries for Stats Section */
@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .stats-section {
    padding: 35px 0;
  }

  .stat-card {
    padding: 20px 16px;
  }

  .stat-number-wrapper {
    font-size: 2.25rem;
  }
}

@media (max-width: 575px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   CONTACT US PAGE STYLES
   ========================================================================== */

/* --- Contact Hero Banner --- */
.contact-hero {
  position: relative;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('../stock-images/spacious-warehouse-with-rows-shelves-forklift.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: calc(var(--header-height) + var(--topbar-height) + 60px) 24px 60px;
  z-index: 1;
}

.contact-hero-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-breadcrumbs {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-breadcrumbs a {
  color: var(--primary);
}

.contact-breadcrumbs a:hover {
  color: var(--white);
}

.contact-breadcrumbs i {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Contact Section Content --- */
.contact-section {
  padding: 80px 0 0;
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
}

/* Left Column: Info Cards */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-header {
  margin-bottom: 0;
}

.contact-info-header h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark-navy);
  text-transform: uppercase;
  margin-bottom: 0;
}

.contact-info-header p {
  color: var(--text-medium);
  font-size: 15px;
  line-height: 1.6;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(234, 98, 43, 0.3);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.contact-card:hover .contact-card-icon {
  background-color: var(--primary);
  color: var(--white);
  transform: rotate(360deg);
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-card-content h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-card-content p,
.contact-card-content span {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

.contact-card-content a {
  font-weight: 500;
  color: var(--text-dark);
}

.contact-card-content a:hover {
  color: var(--primary);
}

/* Socials section in Left Column */
.contact-socials-wrapper {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.contact-socials-wrapper h4 {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.contact-social-icons {
  display: flex;
  gap: 12px;
}

.contact-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--white);
  color: var(--dark-navy);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.contact-social-icons a:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(234, 98, 43, 0.2);
}

/* Right Column: Contact Form */
.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
}

.contact-form-header {
  margin-bottom: 36px;
}

.contact-form-title {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-navy);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-form-subtitle {
  color: var(--text-medium);
  font-size: 15px;
}

/* Form Styling */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
  margin-bottom: 24px;
}

.form-label {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(234, 98, 43, 0.12);
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 48px;
}

textarea.form-input {
  height: 140px;
  resize: vertical;
}

/* Submit Button & Spinners */
.btn-submit {
  width: 100%;
  padding: 16px 28px;
  font-size: 15px;
  letter-spacing: 0.05em;
  gap: 10px;
}

.btn-submit i {
  transition: transform var(--transition-fast);
}

.btn-submit:hover i {
  transform: translateX(4px);
}

.spinner-icon {
  display: none;
  animation: fa-spin 1s infinite linear;
}

/* --- Inline Success Card State --- */
.contact-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 10px;
  animation: heroFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.15);
}

.success-title {
  font-family: var(--font-title);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark-navy);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.success-text {
  color: var(--text-medium);
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 32px;
}

/* --- Map Embed Section --- */
.map-section {
  padding: 0 0 80px;
  background-color: var(--bg-light);
}

.map-container {
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Contact Page Responsive Styles --- */
@media (max-width: 991px) {
  .contact-hero {
    padding: calc(var(--header-height) + 50px) 24px 50px;
  }

  .contact-hero-title {
    font-size: 2.25rem;
  }

  .contact-section {
    padding: 60px 0 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .contact-form-card {
    padding: 32px;
  }

  .map-section {
    padding-bottom: 60px;
  }

  .map-container {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 24px;
  }

  .contact-form-title {
    font-size: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .form-group.full-width {
    grid-column: span 1;
    margin-bottom: 20px;
  }

  .map-container {
    height: 320px;
  }
}

/* ==========================================================================
   CITIES WE SERVE SECTION (LIGHT THEME)
   ========================================================================== */
.cities-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.cities-section .section-title {
  color: var(--dark-navy);
}

.cities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.city-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  width: calc(25% - 22.5px);
  overflow: hidden;
}

.city-card:hover {
  transform: translateY(-6px);
  border-color: rgba(234, 98, 43, 0.4);
  box-shadow: var(--shadow-lg);
}

.city-img-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.city-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.city-card:hover .city-image {
  transform: scale(1.06);
}

.city-info-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
}

.city-name {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-navy);
  transition: color var(--transition-fast);
}

.city-card:hover .city-name {
  color: var(--primary);
}

/* Responsiveness */
@media (max-width: 1024px) {
  .city-card {
    width: calc(33.333% - 20px);
  }
}

@media (max-width: 768px) {
  .city-card {
    width: calc(50% - 15px);
  }

  .cities-grid {
    gap: 20px;
    margin-top: 30px;
  }

  .cities-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .city-card {
    width: 100%;
  }
}

/* ==========================================================================
   WHY CHOOSE US SECTION (INDUSTRIAL RACKING BLUEPRINT STYLE - LIGHT THEME)
   ========================================================================== */
.why-choose-section {
  position: relative;
  padding: 80px 0;
  background-color: var(--white);
  overflow: hidden;
}

/* Blueprint Grid Background Pattern (Light) */
.blueprint-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(59, 96, 175, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 96, 175, 0.04) 1px, transparent 1px);
  background-size: 35px 35px;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.why-choose-section .container {
  position: relative;
  z-index: 1;
}

.racking-system-container {
  width: 100%;
  margin-top: 50px;
}

/* The Racking Grid Layout */
.racking-system {
  display: grid;
  grid-template-columns: 14px 1fr 14px 1fr 14px 1fr 14px;
  grid-template-rows: 20px auto 40px auto 35px;
  /* Added 20px top clearance row and 35px ground clearance row */
  align-items: stretch;
}

/* Upright Frame Styles (Vertical Blue Steel Beams) */
.racking-upright {
  position: relative;
  background: linear-gradient(90deg, #284480 0%, #3B60AF 50%, #203666 100%);
  border-radius: 2px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5), 0 3px 8px rgba(15, 23, 42, 0.15);
  z-index: 2;
}

.upright-holes {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 4px;
  right: 4px;
  background-image: linear-gradient(transparent 6px, #070a10 6px, #070a10 14px, transparent 14px);
  background-size: 100% 26px;
  opacity: 0.8;
  border-radius: 1px;
}

.upright-base {
  position: absolute;
  bottom: -4px;
  left: -5px;
  right: -5px;
  height: 10px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Position Upright Columns on Desktop */
.upright-col-1 {
  grid-column: 1;
  grid-row: 1 / span 5;
}

.upright-col-2 {
  grid-column: 3;
  grid-row: 1 / span 5;
}

.upright-col-3 {
  grid-column: 5;
  grid-row: 1 / span 5;
}

.upright-col-4 {
  grid-column: 7;
  grid-row: 1 / span 5;
}

/* Bay Styles (Pallet Cards) */
.racking-bay {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  position: relative;
  z-index: 3;
}

/* Spacing bays slightly inside their slots */
.bay-col-1 {
  padding-left: 2px;
  padding-right: 2px;
}

.bay-col-2 {
  padding-left: 2px;
  padding-right: 2px;
}

.bay-col-3 {
  padding-left: 2px;
  padding-right: 2px;
}

/* Grid Positions on Desktop */
.bay-row-1.bay-col-1 {
  grid-column: 2;
  grid-row: 2;
}

.bay-row-1.bay-col-2 {
  grid-column: 4;
  grid-row: 2;
}

.bay-row-1.bay-col-3 {
  grid-column: 6;
  grid-row: 2;
}

.bay-row-2.bay-col-1 {
  grid-column: 2;
  grid-row: 4;
}

.bay-row-2.bay-col-2 {
  grid-column: 4;
  grid-row: 4;
}

.bay-row-2.bay-col-3 {
  grid-column: 6;
  grid-row: 4;
}

/* Bay Card Container (Light Mode Glassmorphism) */
.bay-card {
  background: rgba(241, 245, 249, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 96, 175, 0.12);
  border-radius: 12px 12px 0 0;
  padding: 36px 30px;
  margin: 0 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  transition: all var(--transition-normal);
}

.bay-card:hover {
  background: var(--white);
  border-color: rgba(234, 98, 43, 0.35);
  box-shadow:
    0 12px 30px rgba(59, 96, 175, 0.08),
    inset 0 0 15px rgba(234, 98, 43, 0.02);
}

/* Blueprint Corner Technical Accents (Light) */
.bay-card::before,
.bay-card::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(59, 96, 175, 0.25);
  pointer-events: none;
  transition: all var(--transition-normal);
}

.bay-card::before {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.bay-card::after {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.bay-card:hover::before,
.bay-card:hover::after {
  border-color: rgba(234, 98, 43, 0.6);
}

/* Stylized Background Numbers (Light Theme Contrast) */
.bay-number {
  position: absolute;
  top: 10px;
  right: 15px;
  font-family: var(--font-title);
  font-size: 90px;
  font-weight: 800;
  color: rgba(234, 98, 43, 0.08);
  line-height: 1;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.bay-card:hover .bay-number {
  color: rgba(234, 98, 43, 0.18);
  transform: scale(1.08) translateY(5px);
}

/* Icon Design */
.bay-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(59, 96, 175, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
  border: 1px solid rgba(59, 96, 175, 0.15);
  transition: all var(--transition-normal);
}

.bay-card:hover .bay-icon {
  background: var(--primary-gradient);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(234, 98, 43, 0.35);
}

/* Card Content Details */
.bay-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.bay-card:hover .bay-title {
  color: var(--primary);
}

.bay-desc {
  font-size: 14px;
  color: #3b200c;
  /* High contrast dark brown stenciled text */
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
  background: rgba(59, 96, 175, 0.05);
  /* Original technical grid label background */
  border-left: 3px solid var(--secondary);
  /* Original secondary blue border */
  border-top: 1px solid rgba(59, 96, 175, 0.12);
  border-right: 1px solid rgba(59, 96, 175, 0.12);
  border-bottom: 1px solid rgba(59, 96, 175, 0.12);
  padding: 14px 18px;
  border-radius: 0 4px 4px 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
}

.bay-card:hover .bay-desc {
  border-left-color: var(--primary);
  /* Original orange hover highlight */
  background: rgba(234, 98, 43, 0.08);
  /* Original orange hover background */
  border-top-color: rgba(234, 98, 43, 0.15);
  border-right-color: rgba(234, 98, 43, 0.15);
  border-bottom-color: rgba(234, 98, 43, 0.15);
  color: #000000;
}

/* Horizontal Steel Beams (Bottom Shelf Supports - No hover glow as requested) */
.load-beam {
  display: flex;
  align-items: center;
  height: 16px;
  width: 100%;
  position: relative;
  z-index: 4;
}

.beam-shaft {
  flex-grow: 1;
  height: 10px;
  background: linear-gradient(180deg, #EA622B 0%, #b34114 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.beam-connector {
  width: 8px;
  height: 16px;
  background: #94340d;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.beam-connector::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  top: 3px;
  left: 2px;
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.4);
}


/* ==========================================================================
   WHY CHOOSE US RESPONSIVE STYLES
   ========================================================================== */

/* Tablets (2 Columns of Bays) */
@media (max-width: 991px) and (min-width: 577px) {
  .racking-system {
    grid-template-columns: 14px 1fr 14px 1fr 14px;
    grid-template-rows: 20px auto 40px auto 40px auto 35px;
    /* Added 20px top clearance */
  }

  /* Redefine Upright spans */
  .upright-col-1 {
    grid-column: 1;
    grid-row: 1 / span 7;
  }

  .upright-col-2 {
    grid-column: 3;
    grid-row: 1 / span 7;
  }

  .upright-col-3 {
    grid-column: 5;
    grid-row: 1 / span 7;
  }

  .upright-col-4 {
    display: none;
  }

  /* Redefine Bay positions */
  .bay-row-1.bay-col-1 {
    grid-column: 2;
    grid-row: 2;
  }

  .bay-row-1.bay-col-2 {
    grid-column: 4;
    grid-row: 2;
  }

  .bay-row-1.bay-col-3 {
    grid-column: 2;
    grid-row: 4;
  }

  .bay-row-2.bay-col-1 {
    grid-column: 4;
    grid-row: 4;
  }

  .bay-row-2.bay-col-2 {
    grid-column: 2;
    grid-row: 6;
  }

  .bay-row-2.bay-col-3 {
    grid-column: 4;
    grid-row: 6;
  }

  /* Reset padding */
  .racking-bay {
    padding: 0;
  }
}

/* Mobile (1 Column of Bays) */
@media (max-width: 576px) {
  .racking-system {
    grid-template-columns: 14px 1fr 14px;
    grid-template-rows: 20px auto 30px auto 30px auto 30px auto 30px auto 30px auto 30px;
    /* Added 20px top clearance */
  }

  /* Redefine Upright spans */
  .upright-col-1 {
    grid-column: 1;
    grid-row: 1 / span 13;
  }

  .upright-col-2 {
    grid-column: 3;
    grid-row: 1 / span 13;
  }

  .upright-col-3 {
    display: none;
  }

  .upright-col-4 {
    display: none;
  }

  /* Redefine Bay positions */
  .bay-row-1.bay-col-1 {
    grid-column: 2;
    grid-row: 2;
  }

  .bay-row-1.bay-col-2 {
    grid-column: 2;
    grid-row: 4;
  }

  .bay-row-1.bay-col-3 {
    grid-column: 2;
    grid-row: 6;
  }

  .bay-row-2.bay-col-1 {
    grid-column: 2;
    grid-row: 8;
  }

  .bay-row-2.bay-col-2 {
    grid-column: 2;
    grid-row: 10;
  }

  .bay-row-2.bay-col-3 {
    grid-column: 2;
    grid-row: 12;
  }

  .bay-card {
    padding: 30px 20px;
  }

  .bay-number {
    font-size: 70px;
  }
}

/* ==========================================================================
   INDUSTRIES WE SERVE SECTION (LIGHT THEME)
   ========================================================================== */
.industries-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.industry-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 0;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

/* Expansion Orange Line at the Top */
.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background: var(--primary-gradient);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
  z-index: 3;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 96, 175, 0.2);
}

.industry-card:hover::before {
  width: 100%;
}

/* Image Container & Image styling */
.industry-img-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-light);
}

.industry-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.industry-card:hover .industry-image {
  transform: scale(1.06);
}

/* Info container styling */
.industry-info {
  padding: 24px 20px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Typography */
.industry-name {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.industry-card:hover .industry-name {
  color: var(--primary);
}

.industry-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-medium);
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 991px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  
  .industries-section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background-color: var(--white);
  padding: 80px 0;
}

.testimonials-carousel-wrapper {
  position: relative;
  padding: 0 50px;
}

.testimonials-carousel-container {
  overflow: hidden;
  width: 100%;
}

.testimonials-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateX(calc(-1 * var(--current-index) * (100% / var(--cards-per-view))));
}

.testimonial-card {
  flex: 0 0 calc(100% / var(--cards-per-view) - 30px);
  margin: 15px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary);
  border-radius: 12px;
  padding: 36px 30px;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.testimonial-quote-icon {
  font-size: 30px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 20px;
  display: inline-block;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.read-more-link {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 6px;
  transition: color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.read-more-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.testimonial-author {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-navy);
}

.testimonial-stars {
  margin-top: 4px;
  display: flex;
  gap: 3px;
}

.testimonial-stars i {
  color: #f59e0b;
  font-size: 13px;
}

.testimonials-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.testimonials-control:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(234, 98, 43, 0.25);
}

.testimonials-control.prev {
  left: -2px;
}

.testimonials-control.next {
  right: -2px;
}

.testimonials-control i {
  font-size: 14px;
}

.testimonials-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 35px;
}

.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-hover);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.testimonials-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 5px;
}

/* Testimonials Responsive Styles */
@media (max-width: 1200px) {
  .testimonials-carousel-track .testimonial-card {
    flex: 0 0 calc(100% / var(--cards-per-view) - 24px);
    margin: 12px;
  }
}

@media (max-width: 991px) {
  .testimonials-section {
    padding: 60px 0;
  }
  .testimonials-carousel-wrapper {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .testimonials-carousel-track .testimonial-card {
    flex: 0 0 calc(100% / var(--cards-per-view) - 20px);
    margin: 10px;
  }
}

@media (max-width: 576px) {
  .testimonials-carousel-wrapper {
    padding: 0;
  }
  .testimonials-control {
    display: none;
  }
}

/* ==========================================================================
   ABOUT US PAGE STYLES
   ========================================================================== */

/* --- About Hero Banner --- */
.about-hero {
  position: relative;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('../stock-images/spacious-warehouse-with-rows-shelves-forklift.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: calc(var(--header-height) + var(--topbar-height) + 60px) 24px 60px;
  z-index: 1;
}

.about-hero-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-breadcrumbs {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- About Intro Section --- */
.about-intro-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text-wrapper {
  display: flex;
  flex-direction: column;
}

.about-subtitle {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: inline-block;
}

.about-main-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.about-title-divider {
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
  margin-bottom: 28px;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 35px;
}

.about-lead-para {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 600;
}

.about-body-para {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-medium);
}

/* Feature List (Pillars) */
.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.about-feature-icon {
  background: var(--primary-light);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.about-feature-content h4 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 4px;
}

.about-feature-content p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.4;
}

/* --- Video Container Box --- */
.about-video-wrapper {
  position: relative;
  z-index: 2;
}

.video-container-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  aspect-ratio: 16 / 9;
  background: var(--dark-navy);
}

.video-container-box:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.about-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Glowing back accent for video */
.video-overlay-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(234, 98, 43, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(10px);
}

/* --- Responsiveness --- */
@media (max-width: 991px) {
  .about-intro-section {
    padding: 80px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-main-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2.5rem;
  }
  .about-intro-section {
    padding: 60px 0;
  }
}

/* --- Vision & Mission --- */
.about-vision-mission-section {
  padding: 80px 0;
  background-color: var(--white);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vision-mission-card {
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.vision-mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.vision-card {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--dark-navy) 100%);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mission-card {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.card-icon-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card-icon-header i {
  font-size: 32px;
}

.vision-card .card-icon-header i {
  color: var(--primary);
}

.mission-card .card-icon-header i {
  color: var(--secondary);
}

.card-icon-header h3 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
}

.card-text {
  font-size: 16px;
  line-height: 1.7;
}

.vision-card .card-text {
  color: rgba(255, 255, 255, 0.9);
}

.mission-card .card-text {
  color: var(--text-medium);
}

/* --- Core Values --- */
.about-values-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.text-center-title {
  text-align: center;
}

.text-center-divider {
  margin: 0 auto 28px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-card {
  background: var(--white);
  padding: 35px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.value-card:hover .value-icon {
  background-color: var(--primary);
  color: var(--white);
}

.value-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.5;
}

/* --- Objectives --- */
.about-objectives-section {
  padding: 80px 0;
  background-color: var(--white);
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.objective-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-light);
  border-radius: 12px;
  border-left: 4px solid var(--secondary);
  transition: all var(--transition-normal);
}

.objective-item:hover {
  transform: translateX(5px);
  background: var(--secondary-light);
  border-left-color: var(--primary);
}

.objective-number {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.objective-item p {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

/* Additional Responsive Styling */
@media (max-width: 991px) {
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .objectives-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  .about-vision-mission-section,
  .about-values-section,
  .about-objectives-section {
    padding: 60px 0;
  }
}

/* ==========================================================================
   GALLERY PAGE STYLES
   ========================================================================== */

.gallery-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

/* Category Filters */
.gallery-filters-wrapper {
  margin-bottom: 40px;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.filter-btn {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  color: var(--text-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(234, 98, 43, 0.2);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  transition: all var(--transition-normal);
}

.gallery-item {
  position: relative;
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-hover);
}

.gallery-image-container {
  position: relative;
  width: 100%;
  padding-top: 67%; /* 3:2 Aspect Ratio */
  overflow: hidden;
  background-color: var(--dark-navy);
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.08);
}

/* Hover tint effect */
.gallery-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
  pointer-events: none;
}

.gallery-item:hover .gallery-image-container::after {
  opacity: 1;
}

.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  opacity: 0;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(234, 98, 43, 0.4);
  z-index: 2;
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content-wrapper {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.lightbox.active .lightbox-image {
  transform: scale(1);
}


/* Close & Navigation buttons */
.lightbox-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  transition: color var(--transition-fast), transform var(--transition-fast);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
}

.lightbox-btn:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.lightbox-btn:active {
  transform: scale(0.95);
}

.lightbox-close {
  top: -60px;
  right: 0;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* responsive controls for lightbox */
@media (max-width: 1200px) {
  .lightbox-prev {
    left: -20px;
    background-color: rgba(15, 23, 42, 0.6);
    z-index: 10;
  }
  .lightbox-next {
    right: -20px;
    background-color: rgba(15, 23, 42, 0.6);
    z-index: 10;
  }
  .lightbox-close {
    top: -50px;
    right: 10px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }
  .filter-btn {
    padding: 8px 18px;
    font-size: 13px;
  }
  .lightbox-content-wrapper {
    width: 95%;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* ==========================================================================
   PRODUCTS DETAIL PAGE STYLES
   ========================================================================== */

.products-hero {
  position: relative;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('../stock-images/spacious-warehouse-with-rows-shelves-forklift.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: calc(var(--header-height) + var(--topbar-height) + 60px) 24px 60px;
  z-index: 1;
}

.products-hero-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.products-breadcrumbs {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.products-breadcrumbs a {
  color: var(--primary);
  transition: color var(--transition-fast);
}

.products-breadcrumbs a:hover {
  color: var(--white);
}

.products-breadcrumbs i {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.products-page-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.products-tabs-wrapper {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}

.products-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tab-btn {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 26px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  color: var(--text-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.tab-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(234, 98, 43, 0.2);
}

.products-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.products-detail-grid .product-card {
  flex: none;
  width: auto;
  padding: 0;
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.products-detail-grid .product-card.highlight-glow .product-card-inner {
  animation: glowEffect 2s ease-in-out;
  border-color: var(--primary);
}


.product-detail-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.product-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(234, 98, 43, 0.3);
}

.product-detail-card.highlight-glow {
  animation: glowEffect 2s ease-in-out;
  border-color: var(--primary);
}

@keyframes glowEffect {
  0%, 100% {
    box-shadow: var(--shadow-xl);
    border-color: rgba(234, 98, 43, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(234, 98, 43, 0.6);
    border-color: var(--primary);
    transform: scale(1.02);
  }
}

.product-detail-img-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background-color: var(--secondary-light);
}

.product-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-detail-card:hover .product-detail-img {
  transform: scale(1.06);
}

.product-detail-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-detail-tag {
  align-self: flex-start;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background-color: rgba(234, 98, 43, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.product-detail-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 14px;
  line-height: 1.3;
}

.product-detail-desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-detail-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.product-detail-actions .btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 13px;
  text-align: center;
  justify-content: center;
}

.product-detail-actions .btn-secondary {
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.product-detail-actions .btn-secondary:hover {
  background-color: var(--bg-light);
  color: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 991px) {
  .products-hero-title {
    font-size: 2.5rem;
  }
  .product-detail-info {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .products-page-section {
    padding: 60px 0;
  }
  .products-tabs {
    gap: 8px;
  }
  .tab-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
  .products-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */
.legal-hero {
  position: relative;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('../stock-images/spacious-warehouse-with-rows-shelves-forklift.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: calc(var(--header-height) + var(--topbar-height) + 60px) 24px 60px;
  z-index: 1;
}

.legal-hero-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.legal-breadcrumbs {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.legal-content-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.legal-card {
  background: var(--white);
  padding: 50px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 960px;
  margin: 0 auto;
}

.legal-text {
  font-family: var(--font-body);
  color: var(--text-medium);
  line-height: 1.7;
}

.legal-text h2 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-top: 35px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.legal-text h2:first-of-type {
  margin-top: 0;
}

.legal-text h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-navy);
  margin-top: 25px;
  margin-bottom: 12px;
}

.legal-text p {
  margin-bottom: 20px;
  font-size: 15px;
}

.legal-text ul, .legal-text ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-text li {
  margin-bottom: 8px;
  font-size: 15px;
}

.legal-text strong {
  color: var(--dark-navy);
}

@media (max-width: 768px) {
  .legal-hero-title {
    font-size: 2.2rem;
  }
  .legal-content-section {
    padding: 50px 0;
  }
  .legal-card {
    padding: 30px 20px;
  }
  .legal-text h2 {
    font-size: 19px;
    margin-top: 25px;
  }
}