/* ==========================================================================
   Design System & Premium Variables
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary-color: #1a202c;
  /* Navy Slate */
  --secondary-color: #f2c205ca;
  /* Gold/Amber */
  --accent-color: #fbbf24;

  --bg-dark: #0f172a;
  /* Premium Dark Navy */
  --bg-dark-elem: #1e293b;
  /* Elevated card */
  --text-light: #f8fafc;
  --text-muted: #94a3b8;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #1976d2 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-dark) 0%, #1a1a1a 100%);

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 15px rgba(255, 143, 0, 0.4);
  --glass-bg: rgba(30, 30, 36, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-main: 'Outfit', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--secondary-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* ==========================================================================
   Utility Classes & Layout
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #e65100;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--glass-border);
  transition: var(--transition-smooth);
  padding: 1rem 0;
}

.header.scrolled {
  background: rgba(18, 18, 18, 0.95);
  padding: 0.8rem 0;
  box-shadow: var(--shadow-lg);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 15%;
  min-width: 120px;
}

.logo img {
  width: 100% !important;
  max-width: 160px !important;
  height: auto !important;
  max-height: 46px !important;
  object-fit: contain;
  display: block;
}

.logo span {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary-color);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  transition: transform 6s cubic-bezier(0.1, 0.8, 0.3, 1);
  transform: scale(1.1);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide.active::before {
  transform: scale(1);
}

/* Slide Content Entrance Animations */
.hero-slide .hero-content {
  max-width: 800px;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.6s, opacity 1s ease 0.6s;
}

.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide .hero-content h1 {
  font-size: 4rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-slide .hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-slide .hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Dots Navigation */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-dots .dot.active {
  background: var(--secondary-color);
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}


/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0d1527;
  padding: 5rem 0 2.5rem;
  border-top: var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 1.5rem;
}

.footer-links-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-links-group {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-links-group {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.footer-col h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.brand-desc {
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 450px;
}

.footer-logo {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-logo img {
  height: 52px !important;
  max-height: 52px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain;
  display: block;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-subscribe-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-subscribe-title {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.footer-subscribe-form {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto 1.2rem;
}

.footer-subscribe-input {
  flex: 1;
  background: #0b0f19;
  border: 1px solid #1e293b;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 0;
}

.footer-subscribe-input::placeholder {
  color: #475569;
}

.footer-subscribe-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
  background: #0d1527;
}

.footer-subscribe-btn {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  padding: 0.85rem 2.25rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
  white-space: nowrap;
}

.footer-subscribe-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%);
}

.footer-subscribe-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 480px) {
  .logo {
    max-width: 40%;
    min-width: 90px;
  }
  .logo img {
    width: 100% !important;
    max-width: 110px !important;
    height: auto !important;
    max-height: 34px !important;
  }
  .footer-logo img {
    height: 42px !important;
    max-height: 42px !important;
    width: auto !important;
    max-width: 160px !important;
  }
  .footer-subscribe-form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .footer-subscribe-btn {
    width: 100%;
  }
}

.footer-socials-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 1.5rem;
}

.socials-label {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
}

.socials-list {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.social-btn.facebook { background: #1877f2; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.linkedin { background: #0077b5; }
.social-btn.instagram { background: #e1306c; }
.social-btn.youtube { background: #ff0000; }
.social-btn.github { background: #333333; }

.footer-support-box {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.support-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.support-email {
  color: var(--secondary-color) !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.support-email:hover {
  color: #e65100 !important;
}

.support-response {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Footer bottom bar styles removed */

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: var(--transition-fast);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* ==========================================================================
   Responsive Design & Grid Utilities
   ========================================================================== */

.grid-responsive-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-responsive-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.grid-responsive-contact {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.grid-responsive-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Laptops & Smaller Desktop Screens */
@media (max-width: 1200px) {
  .hero-slide .hero-content h1 {
    font-size: 3.2rem;
  }

  .hero-slide .hero-content p {
    font-size: 1.1rem;
  }
}

/* Tablets (Portrait & Landscape) */
@media (max-width: 992px) {
  .hero-slide .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-slide .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .grid-responsive-2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .grid-responsive-2 .section-title {
    text-align: center !important;
  }

  .grid-responsive-2 img {
    max-width: 80%;
    margin: 0 auto;
  }

  .grid-responsive-contact {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Small Tablets & Mobile Phones (max-width: 768px) */
@media (max-width: 768px) {
  .header {
    padding: 0.8rem 0;
  }

  .logo {
    max-width: 35%;
    min-width: 100px;
  }

  .logo img {
    width: 100% !important;
    max-width: 130px !important;
    height: auto !important;
    max-height: 38px !important;
  }

  .nav-links {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-slide .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-slide .hero-content p {
    font-size: 1.05rem;
  }

  .hero-slide .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-slide .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }

/* Global Full-Section Scroll Snapping (Laptop + Mobile) */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 70px;
}

section.section, 
section.hero,
.hero,
.home-page #services, 
.home-page #products, 
.home-page #why-us, 
.home-page #projects, 
.home-page #cta {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Section Reveal Animation */
.reveal-section {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1), transform 0.75s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.reveal-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

  /* Mobile Services, Products, Why-Us, Projects & CTA Sections with Infographic Timeline Layout */
  .home-page #services, .home-page #products, .home-page #why-us, .home-page #projects, .home-page #cta {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #000;
  }

  /* Background image - visible by default */
  .home-page #services::before, .home-page #products::before, .home-page #why-us::before, .home-page #projects::before, .home-page #cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transform: translateX(0);
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .home-page #services::before {
    background: url('../images/Hero1.png') center/cover no-repeat;
  }

  .home-page #products::before {
    background: url('../images/container_office_bg.png') center/cover no-repeat;
  }

  .home-page #why-us::before {
    background: url('../images/why_us_bg.png') center/cover no-repeat;
  }

  .home-page #projects::before {
    background: url('../images/projects_bg.png') center/cover no-repeat;
  }

  .home-page #cta::before {
    background: url('../images/cta-bg.png') center/cover no-repeat;
  }

  /* Hide off-screen only if JavaScript animates it */
  .home-page #services.js-animated::before, .home-page #products.js-animated::before, .home-page #why-us.js-animated::before, .home-page #projects.js-animated::before, .home-page #cta.js-animated::before {
    transform: translateX(100%);
  }

  .home-page #services.js-animated.in-view::before, .home-page #products.js-animated.in-view::before, .home-page #why-us.js-animated.in-view::before, .home-page #projects.js-animated.in-view::before, .home-page #cta.js-animated.in-view::before {
    transform: translateX(0);
  }

  /* Dark overlay - visible by default */
  .home-page #services::after, .home-page #products::after, .home-page #why-us::after, .home-page #projects::after, .home-page #cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 1.2s ease;
  }

  /* Hide overlay only if JavaScript animates it */
  .home-page #services.js-animated::after, .home-page #products.js-animated::after, .home-page #why-us.js-animated::after, .home-page #projects.js-animated::after, .home-page #cta.js-animated::after {
    opacity: 0;
  }

  .home-page #services.js-animated.in-view::after, .home-page #products.js-animated.in-view::after, .home-page #why-us.js-animated.in-view::after, .home-page #projects.js-animated.in-view::after, .home-page #cta.js-animated.in-view::after {
    opacity: 0.7;
  }

  .home-page #services .container, .home-page #products .container, .home-page #why-us .container, .home-page #projects .container, .home-page #cta .container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    padding: 0;
    position: relative;
    z-index: 3;
  }

  /* Section Title - visible by default */
  .home-page #services .section-title, .home-page #products .section-title, .home-page #why-us .section-title, .home-page #projects .section-title {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 10;
    color: #ffffff !important;
    margin: 0;
    font-size: 2rem;
    width: 100%;
    text-align: center;
    text-shadow: none !important;
    opacity: 1;
    transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s, opacity 1s ease 0.1s;
  }

  /* Offset title only if JavaScript animates it */
  .home-page #services.js-animated .section-title, .home-page #products.js-animated .section-title, .home-page #why-us.js-animated .section-title, .home-page #projects.js-animated .section-title {
    transform: translate(-50%, -30px);
    opacity: 0;
  }

  .home-page #services.js-animated.in-view .section-title, .home-page #products.js-animated.in-view .section-title, .home-page #why-us.js-animated.in-view .section-title, .home-page #projects.js-animated.in-view .section-title {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  .home-page #services .section-title::after, .home-page #products .section-title::after, .home-page #why-us .section-title::after, .home-page #projects .section-title::after {
    background: var(--secondary-color) !important;
  }

  .home-page #services .section-title .text-accent, .home-page #products .section-title .text-accent, .home-page #why-us .section-title .text-accent, .home-page #projects .section-title .text-accent {
    color: var(--secondary-color) !important;
  }

  .services-desktop-grid, .why-us-desktop-grid, .projects-desktop-grid, .cta-desktop-grid {
    display: none !important;
  }

  /* Mobile text list - visible by default */
  .home-page .services-mobile-layout, .home-page #categories-container, .home-page .why-us-mobile-layout, .home-page .projects-mobile-layout {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 140px;
    left: 0;
    width: 100%;
    height: calc(100vh - 160px);
    z-index: 2;
    overflow: hidden;
    transform: translateX(0);
    opacity: 1;
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s, opacity 1.2s ease 0.1s;
  }

  .home-page #categories-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    gap: 1.5rem !important;
    padding: 10px 0 15px 0 !important;
    box-sizing: border-box !important;
    z-index: 10 !important;
    pointer-events: auto !important;
  }

  .category-slide-group {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    box-sizing: border-box !important;
  }

  @media (min-width: 769px) {
    .category-slide-group {
      grid-template-columns: repeat(4, 1fr) !important;
    }
  }

  /* Standardized Category Card Image Sizing */
  .category-card, 
  .category-card.product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 250px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: var(--bg-dark-elem, #111827) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
  }

  .category-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 12px 32px rgba(255, 143, 0, 0.25) !important;
  }

  /* Fixed Standard Size Image Container */
  .category-card .cat-image-wrapper {
    width: 100% !important;
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: #1e293b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  @media (min-width: 769px) {
    .category-card .cat-image-wrapper {
      height: 175px !important;
      min-height: 175px !important;
      max-height: 175px !important;
    }
  }

  .category-card .cat-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.5s ease !important;
    display: block !important;
  }

  .category-card:hover .cat-card-img {
    transform: scale(1.08) !important;
  }

  .category-card .cat-info {
    padding: 0.85rem 0.95rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-grow: 1 !important;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.95) 0%, rgba(10, 16, 28, 0.98) 100%) !important;
  }

  .cat-scroll-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(18, 28, 48, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .cat-scroll-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    transform: scale(1.08);
  }

  .home-page #categories-container::-webkit-scrollbar {
    height: 6px;
  }
  .home-page #categories-container::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
  }
  .home-page #categories-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
  }

  .home-page .why-us-mobile-layout {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow-y: auto !important;
    top: 200px !important;
    height: calc(100vh - 220px) !important;
  }

  /* Offset text only if JavaScript animates it */
  .home-page #services.js-animated .services-mobile-layout,
  .home-page #products.js-animated #categories-container,
  .home-page #why-us.js-animated .why-us-mobile-layout,
  .home-page #projects.js-animated .projects-mobile-layout,
  .home-page #cta.js-animated .cta-inner-content {
    transform: translateX(-100%);
    opacity: 0;
  }

  .home-page #services.js-animated.in-view .services-mobile-layout,
  .home-page #products.js-animated.in-view #categories-container,
  .home-page #why-us.js-animated.in-view .why-us-mobile-layout,
  .home-page #projects.js-animated.in-view .projects-mobile-layout,
  .home-page #cta.js-animated.in-view .cta-inner-content {
    transform: translateX(0);
    opacity: 1;
  }

  /* Mobile & Desktop style for category and product cards (Matching Screenshot Design) */
  .category-card,
  .product-card {
    display: flex !important;
    flex-direction: column !important;
    background: rgba(18, 28, 48, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    padding: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    text-align: left !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-decoration: none !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
  }

  .category-card:active,
  .category-card:hover,
  .product-card:active,
  .product-card:hover {
    border-color: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
  }

  .cat-image-wrapper,
  .product-card-img-wrapper {
    width: 100% !important;
    height: 135px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    position: relative !important;
    background: #111a2e !important;
    flex-shrink: 0 !important;
  }

  .cat-card-img,
  .product-card-img,
  .prod-img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.4s ease !important;
  }

  .category-card:hover .cat-card-img,
  .product-card:hover .product-card-img,
  .product-card:hover .prod-img {
    transform: scale(1.06) !important;
  }

  .cat-card-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--secondary-color) !important;
    background: rgba(255, 255, 255, 0.03) !important;
  }

  .cat-info,
  .product-card-content {
    padding: 2px 2px 0 2px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
  }

  .cat-tag {
    font-size: 0.65rem !important;
    text-transform: uppercase !important;
    color: var(--secondary-color) !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
    font-weight: 600 !important;
  }

  .category-card h3,
  .product-card-title {
    font-size: 0.95rem !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    margin: 4px 0 4px 0 !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .cat-price,
  .product-card-price {
    font-size: 0.88rem !important;
    color: var(--secondary-color) !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
  }

  .cat-btn,
  .product-card-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 8px 0 !important;
    background: #c69214 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(198, 146, 20, 0.3) !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
    margin-top: auto !important;
    text-decoration: none !important;
    text-align: center !important;
  }

  .cat-btn:hover,
  .product-card-btn:hover {
    background: #d49f19 !important;
    transform: translateY(-1px) !important;
  }

  .infographic-timeline {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 1.2rem 0 0;
    position: relative;
    box-sizing: border-box;
  }

  /* Timeline connecting vertical line */
  .timeline-line {
    position: absolute;
    left: 1.1rem;
    top: 13px;
    bottom: 13px;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
  }

  .info-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }

  /* Circular pointer bullet on timeline */
  .info-pointer {
    position: absolute;
    left: calc(1.1rem - 4px);
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color) !important;
    box-shadow: 0 0 10px rgba(242, 194, 5, 0.8), 0 0 20px rgba(242, 194, 5, 0.5);
    z-index: 2;
    transition: all 0.3s ease;
  }

  .info-pointer::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 1px solid rgba(242, 194, 5, 0.4);
    animation: pointer-pulse 2s infinite;
  }

  @keyframes pointer-pulse {
    0% {
      transform: scale(1);
      opacity: 0.8;
    }

    100% {
      transform: scale(1.8);
      opacity: 0;
    }
  }

  /* Transparent info card to let the container image pop out */
  .info-card {
    flex: 1;
    display: flex;
    align-items: center;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0;
    padding: 0 0.5rem 0 2.8rem;
    height: 100%;
    box-shadow: none !important;
    box-sizing: border-box;
    transition: all 0.3s ease;
  }

  .info-card:hover {
    transform: translateX(4px);
  }

  /* Card content with high contrast text shadows */
  .info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .info-text h3 {
    font-size: 1.05rem;
    color: var(--secondary-color) !important;
    margin: 0 0 3px 0 !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: none !important;
  }

  .info-text p {
    font-size: 0.76rem;
    color: #ffffff !important;
    line-height: 1.35;
    margin: 0 !important;
    font-weight: 500;
    text-shadow: none !important;
  }
}

/* Extra Small Phones (max-width: 576px) */
@media (max-width: 576px) {
  .hero-slide .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .hero-slide .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .grid-responsive-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .grid-responsive-inputs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   New Components for Redesign
   ========================================================================== */

/* Services Grid Extended */
.services-desktop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .services-desktop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.services-mobile-layout {
  display: none;
}

.service-card {
  background: var(--bg-dark-elem);
  padding: 1.8rem 1.4rem;
  border-radius: 12px;
  border: var(--glass-border);
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(30, 41, 59, 0.85);
  border-color: var(--secondary-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-card i {
  font-size: 2.3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: block;
}

/* Gallery / Projects Base Styles */
.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-img {
  transform: scale(1.1);
}

/* Projects Section Horizontal Scroll on Laptop Screens */
@media (min-width: 769px) {
  .projects-desktop-grid {
    display: block !important;
    position: relative;
    width: 100%;
    margin-top: 1rem;
  }

  .projects-grid-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    padding: 10px 2px 20px 2px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .projects-grid-container::-webkit-scrollbar {
    height: 6px !important;
  }
  .projects-grid-container::-webkit-scrollbar-thumb {
    background: var(--secondary-color) !important;
    border-radius: 4px !important;
  }
  .projects-grid-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px !important;
  }

  .projects-desktop-grid .project-card {
    flex: 0 0 calc(50% - 0.75rem) !important;
    min-width: calc(50% - 0.75rem) !important;
    max-width: calc(50% - 0.75rem) !important;
    height: 380px !important;
    border-radius: 16px !important;
    position: relative !important;
    overflow: hidden !important;
    scroll-snap-align: start !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    border: var(--glass-border) !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
  }

  .projects-desktop-grid .project-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--secondary-color) !important;
  }

  .projects-desktop-grid .project-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
  }

  .projects-desktop-grid .project-card:hover .project-img {
    transform: scale(1.08) !important;
  }

  .projects-desktop-grid .project-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(10, 16, 28, 0.95) 0%, rgba(10, 16, 28, 0.3) 50%, transparent 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 1.8rem !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
  }

  .projects-desktop-grid .project-overlay h3 {
    font-size: 1.4rem !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    margin: 0 0 4px 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
  }

  .projects-desktop-grid .project-overlay p {
    font-size: 0.9rem !important;
    color: var(--secondary-color) !important;
    margin: 0 !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
  }
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-dark-elem);
  padding: 2.5rem;
  border-radius: 12px;
  border: var(--glass-border);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin: 0;
  font-size: 1rem;
}

.testimonial-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--secondary-color);
}

/* Categories Grid Extended (Desktop) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Why Choose Us Section (Desktop Layout) */
#why-us {
  position: relative;
  background: var(--bg-dark);
}

@media (min-width: 769px) {
  #why-us {
    padding: 2.5rem 0 !important;
  }

  #why-us .section-title {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    white-space: nowrap !important;
  }

  #why-us .section-title br {
    display: none !important;
  }

  .why-us-desktop-grid {
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
    margin-top: 1rem !important;
  }

  .why-us-left-card {
    height: 100% !important;
    min-height: 360px !important;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/why_us_bg.png') center/cover no-repeat !important;
    border-radius: 16px !important;
    border: var(--glass-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.2rem !important;
    box-shadow: var(--shadow-lg) !important;
    box-sizing: border-box !important;
  }

  .brand-board {
    text-align: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.8rem 1.2rem;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    width: 100%;
  }

  .board-sub {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
  }

  .board-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
  }

  .board-title span {
    color: var(--secondary-color);
  }

  .why-us-points-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem 1rem !important;
    align-content: center !important;
  }

  .why-us-point-card {
    background: var(--bg-dark-elem) !important;
    border: var(--glass-border) !important;
    border-radius: 10px !important;
    padding: 0.75rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: var(--transition-smooth) !important;
    box-sizing: border-box !important;
  }

  .why-us-point-card:hover {
    transform: translateY(-2px) !important;
    border-color: var(--secondary-color) !important;
    box-shadow: var(--shadow-glow) !important;
  }

  .point-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    background: #c69214 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
  }

  .point-content h4 {
    font-size: 0.92rem !important;
    color: #ffffff !important;
    margin: 0 0 2px 0 !important;
    font-weight: 600 !important;
  }

  .point-content p {
    font-size: 0.78rem !important;
    color: var(--text-muted) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }
}

.why-us-mobile-layout {
  display: none;
}

/* Projects Section (Desktop Layout) */
#projects {
  position: relative;
  background: var(--bg-dark);
}

.projects-desktop-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  padding-top: 1rem;
  box-sizing: border-box;
}

.projects-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
}

/* Mobile Projects Swipe Carousel CSS */
.projects-mobile-layout {
  display: none;
}

@media (max-width: 768px) {
  .home-page .projects-mobile-layout {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    position: absolute;
    top: 160px !important;
    left: 0;
    width: 100%;
    height: calc(100vh - 180px) !important;
    z-index: 2;
  }

  .projects-carousel-track {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }

  .projects-carousel-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
  }

  .project-slide-card {
    flex: 0 0 calc(100vw - 3rem);
    scroll-snap-align: center;
    background: var(--bg-dark-elem);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    box-sizing: border-box;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .project-slide-img-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
  }

  .project-slide-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .project-slide-info {
    padding: 0.2rem 0.5rem;
  }

  .project-slide-info h3 {
    font-size: 1.15rem;
    color: #fff;
    margin: 0 0 4px 0;
    font-weight: 600;
  }

  .project-slide-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
  }

  .projects-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
  }

  .projects-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
  }

  .projects-dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
  }

  /* Mobile CTA CSS */
  #cta .container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100vh !important;
    box-sizing: border-box !important;
  }

  .cta-inner-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem;
    padding: 0 2rem;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 2;
    transform: translateX(0);
    opacity: 1;
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s, opacity 1.2s ease 0.1s;
  }

  .cta-inner-content p {
    font-size: 1rem;
    color: var(--text-light) !important;
    line-height: 1.6;
    margin: 0;
    max-width: 500px;
  }

  .cta-inner-content .btn {
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
    width: auto;
  }

  #cta .section-title {
    position: relative;
    top: auto;
    left: auto;
    transform: translateY(0);
    margin: 0 auto 1.5rem auto;
    text-align: center;
    z-index: 10;
    color: #ffffff !important;
    font-size: 2rem !important;
    opacity: 1;
    width: 100%;
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s, opacity 1.2s ease 0.1s;
  }

  #cta.js-animated .section-title {
    transform: translateY(-30px);
    opacity: 0;
  }

  #cta.js-animated.in-view .section-title {
    transform: translateY(0);
    opacity: 1;
  }

  .home-page .footer {
    scroll-snap-align: end !important;
  }

  .footer-brand-col {
    text-align: center;
  }

  .brand-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-subscribe-form {
    max-width: 100%;
  }

  .footer-socials-box {
    justify-content: center;
  }

  .footer-support-box {
    align-items: center;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom-left {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 1rem;
  }
}

/* CTA Section (Desktop Layout) */
#cta {
  position: relative;
  background: var(--bg-dark);
}

#cta .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  min-height: 50vh;
  padding: 5rem 1.5rem;
  box-sizing: border-box;
}

#cta .section-title {
  position: relative;
  top: auto;
  left: auto;
  transform: translateY(0);
  margin: 0 auto 2.5rem auto;
  text-align: center;
  z-index: 10;
  color: #ffffff !important;
  font-size: 3.5rem;
  opacity: 1;
  width: 100%;
  line-height: 1.2;
  transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s, opacity 1.2s ease 0.1s;
}

#cta.js-animated .section-title {
  transform: translateY(-30px);
  opacity: 0;
}

#cta.js-animated.in-view .section-title {
  transform: translateY(0);
  opacity: 1;
}

.cta-desktop-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  text-align: center;
  box-sizing: border-box;
  transform: translateY(0);
  opacity: 1;
  transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s, opacity 1.2s ease 0.2s;
}

#cta.js-animated .cta-desktop-grid {
  transform: translateY(30px);
  opacity: 0;
}

#cta.js-animated.in-view .cta-desktop-grid {
  transform: translateY(0);
  opacity: 1;
}

.cta-desktop-grid p {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 700px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-desktop-grid .btn {
  padding: 1rem 3.5rem;
  font-size: 1.1rem;
}

/* Locations We Work At */
.locations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-top: 0.8rem;
}

.locations-grid span {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.locations-grid span i {
  color: var(--secondary-color);
  font-size: 0.75rem;
}

.locations-grid span:hover {
  color: #fff;
}

/* Category Filters Horizontal Scroll Container */
.category-filters-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: center;
  padding: 0.5rem 1rem;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.category-filters-container::-webkit-scrollbar {
  display: none;
}

.category-filters-container .btn {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .category-filters-container {
    justify-content: flex-start;
  }
}

/* Product Cards Layout on Products Page */
.product-card {
  background: var(--bg-dark-elem);
  border: var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: inherit;
  text-decoration: none;
}

.product-card:hover .prod-img {
  transform: scale(1.1);
}

.product-card-img-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.product-card-img-wrapper .prod-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: var(--transition-smooth);
}

.product-card-content {
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.product-card-specs {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.product-card-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.product-card-badges span {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-card-price {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.product-card-btn {
  display: block;
  text-align: center;
  padding: 0.8rem;
}

/* Mobile responsive styles with horizontal card peek scroll and filter-only control bar */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .category-filters-container {
    justify-content: flex-start !important;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
  }

  .products-control-bar {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
    box-shadow: none !important;
  }

  .mobile-filter-toggle-btn {
    display: flex !important;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
  }

  .sort-selector-wrapper,
  .results-count {
    display: none !important;
  }

  #products-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 !important;
  }

  .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .product-card-img-wrapper {
    height: 120px;
  }

  .product-card-content {
    padding: 0.8rem;
  }

  .product-card-title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-card-specs {
    display: none !important; /* Hide description on mobile to decrease text spacing */
  }

  .product-card-badges {
    display: none !important; /* Hide specs badges on mobile for a clean layout */
  }

  .product-card-price {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .product-card-btn {
    padding: 0.5rem !important;
    font-size: 0.8rem !important;
  }
}

/* ==========================================================================
   Product Filter & Sidebar Layout (Desktop & Mobile)
   ========================================================================== */
.products-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.products-main-area {
  min-width: 0;
  width: 100%;
}

/* Sidebar */
.products-sidebar {
  background: var(--bg-dark-elem);
  border: var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem;
  position: sticky;
  top: 90px;
  z-index: 10;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.products-sidebar::-webkit-scrollbar {
  width: 4px;
}
.products-sidebar::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 4px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.8rem;
}

.sidebar-header h3 {
  font-size: 1.2rem;
  margin: 0;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-sidebar-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Filter Groups */
.filter-group {
  margin-bottom: 1.8rem;
}

.filter-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Checkbox Custom Styling */
.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.filter-checkbox-label:hover {
  color: #fff;
}

.filter-checkbox-label input[type="checkbox"] {
  accent-color: var(--secondary-color);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Price Range */
.price-range-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.price-input-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-input-field span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.price-input-field input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 6px 10px;
  color: #fff;
  font-size: 0.85rem;
  width: 100%;
}

.price-input-field input:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.price-slider-wrapper {
  margin-top: 5px;
}

.range-slider {
  width: 100%;
  accent-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.1);
  height: 6px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.price-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.reset-filters-btn {
  width: 100%;
  padding: 0.6rem;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Control Bar */
.products-control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-dark-elem);
  border: var(--glass-border);
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  margin-bottom: 2rem;
}

.mobile-filter-toggle-btn {
  display: none;
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 6px 15px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.mobile-filter-toggle-btn:hover {
  transform: translateY(-1px);
}

.results-count {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.sort-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-selector-wrapper label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sort-select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.sort-select:focus {
  border-color: var(--secondary-color);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99;
  backdrop-filter: blur(4px);
}

/* Category Filter Cards styling refinement */
.category-filter-card {
  background: var(--bg-dark-elem);
  border: var(--glass-border);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
  min-width: 140px;
  user-select: none;
}

.category-filter-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.03);
}

.category-filter-card.active-filter-card {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

.category-filter-card.active-filter-card i {
  color: #fff !important;
}

.category-filter-img-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}

.category-filter-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-filter-name {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Mobile responsive sidebar rules */
@media (max-width: 992px) {
  .products-layout-grid {
    grid-template-columns: 1fr;
  }

  .products-control-bar {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .products-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border-right: var(--glass-border);
    transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 100;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    display: block !important; /* overrides display none from other scripts */
  }

  .products-sidebar.active {
    left: 0;
  }

  .close-sidebar-btn {
    display: block;
  }

  .mobile-filter-toggle-btn {
    display: flex;
  }

  .sidebar-overlay.active {
    display: block;
  }
}