/* ---- NEW BRAND COLOR PALETTE ---- */
:root {
  /* New Color Palette Definitions */
  --color-primary-green: #10b981; /* Replaced Red with Green */
  --color-dark-charcoal: #1a202c;
  --color-accent-blue: #3b82f6;   /* Updated to a brighter blue */
  --color-text-slate: #2d3748;
  --color-background-blue-gray: #f7fafc;
  --color-white: #ffffff;

  /* Functional Color Mapping */
  --color-navbar-bg: var(--color-dark-charcoal);
  --color-cta-button: var(--color-primary-green);
  --color-button-hover: var(--color-accent-blue);
  --color-heading: var(--color-dark-charcoal);
  --color-text-body: var(--color-text-slate);
  --color-background: var(--color-background-blue-gray);
  --color-footer-bg: var(--color-dark-charcoal);
  --color-link: var(--color-primary-green);
  --color-link-hover: var(--color-accent-blue);
  
  /* Helper Colors */
  --color-section-bg-white: var(--color-white);
  --color-light-text: #e2e8f0; /* A soft white for text on dark backgrounds */
  --color-subtle-text-dark-bg: #a0aec0;

  /* Variables for sparkle button - Mapped to new palette */
  --color: var(--color-cta-button);
  --shadow: #047857; /* Darker green for shadow effect */
  --glare: hsl(0 0% 100% / 0.75);
  --font-size: 1.5rem;
}


/* ---- ENHANCED CONTACT LINK STYLES (ALL DEVICES) ---- */

/* Hero Phone Links - Enhanced for all devices */
.hero-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-light-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  position: relative;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-phone-link:hover {
  color: var(--color-white);
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--color-primary-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
}

.hero-phone-link:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.2);
}

.hero-phone-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-green), var(--color-accent-blue));
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 8px 8px;
}

.hero-phone-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.hero-phone-link i {
  color: var(--color-primary-green);
  font-size: 1rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.hero-phone-link:hover i {
  color: var(--color-white);
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

/* Footer Contact Links - Enhanced for all devices */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--color-subtle-text-dark-bg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.footer-contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-contact-item:hover::before {
    left: 100%;
}

.footer-contact-item:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-white);
    border-color: var(--color-primary-green);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.2);
}

.footer-contact-item:active {
    transform: translateX(3px);
    background: rgba(16, 185, 129, 0.15);
}

.footer-contact-item i {
    font-size: 1.1rem;
    color: var(--color-primary-green);
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.footer-contact-item:hover i {
    color: var(--color-white);
    transform: scale(1.15) rotate(5deg);
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}

.footer-contact-item span {
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.025em;
}

.footer-contact-item:hover span {
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Responsive enhancements for smaller devices */
@media (max-width: 768px) {
    .hero-phone-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
        gap: 0.625rem;
    }

    .footer-contact-item {
        padding: 0.75rem 0.875rem;
        gap: 0.875rem;
    }

    .footer-contact-item i {
        font-size: 1rem;
        width: 22px;
    }
}

@media (max-width: 480px) {
    .hero-phone-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .footer-contact-item {
        padding: 0.625rem 0.75rem;
        gap: 0.75rem;
    }

    .footer-contact-item i {
        font-size: 0.95rem;
        width: 20px;
    }
}

/* ---- END ENHANCED CONTACT LINK STYLES ---- */


* {
  box-sizing: border-box;
}

body {
  display: block; 
  font-family: "Google Sans", sans-serif, system-ui;
  background: var(--color-background);
  color: var(--color-text-body);
  margin: 0;
}

/* ---- Header/Ribbon Styles ---- */
header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 0.75rem 1.5rem;
  z-index: 10;
  background-color: hsla(0, 0%, 100%, 0.65); /* Transparent version of charcoal */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* ADDED: Style for the new image logo in the navbar */
.brand-logo img {
  height: 40px; /* Adjust height as needed */
  width: auto;
  display: block;
}
      
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #6b7280; /* Grey for all nav links */
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover {
  color: #374151; /* Slightly darker on hover */
}

.nav-links li.active-link a {
  color: #1f2937; /* Dark grey for active/current tab */
  font-weight: 700;
}

.nav-links li.active-link a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary-green);
}

.hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 2rem; height: 2rem; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 11; }
.hamburger-menu .bar { width: 2rem; height: 3px; background-color: var(--color-text-slate); border-radius: 10px; transition: all 0.3s ease-in-out; }

/* ---- Main Content Area (Hero Section) ---- */
main { display: grid; }

/* UPDATED: Changed hero to use a background image from your folder */
.hero { 
  display: flex; 
  align-items: center; 
  width: 100%; 
  padding: 2.5rem 2rem; 
  min-height: 85vh; 
  color: var(--color-white); 
  /* This adds a dark overlay so white text is readable */
  background-image: linear-gradient(rgba(26, 32, 44, 0.7), rgba(26, 32, 44, 0.7)), url('images/hero-background.jpg');
  background-size: cover;
  background-position: center;
}
.hero-content { max-width: 650px; }
/* UPDATED: Tagline color changed to new blue */
.hero .tagline { font-size: 1rem; margin-bottom: 0.75rem; color: var(--color-accent-blue); }
.hero h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); font-weight: 900; line-height: 1.1; text-transform: uppercase; margin: 0 0 1.5rem 0; }

/* ---- Vertical Scroller for Hero H1 ---- */
.scroller {
  height: 1.1em;
  line-height: 1.1em;
  position: relative;
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  width: 20ch; 
}
.scroller > span {
  position: absolute;
  top: 0;
  animation: slide-up 12.5s infinite;
  font-weight: 900;
  color: var(--color-primary-green); /* Green for key highlight */
}
@keyframes slide-up {
  0%   { top: 0; }
  16%  { top: 0; } 
  20%  { top: -1.1em; } 
  36%  { top: -1.1em; } 
  40%  { top: -2.2em; } 
  56%  { top: -2.2em; } 
  60%  { top: -3.3em; } 
  76%  { top: -3.3em; } 
  80%  { top: -4.4em; }
  96%  { top: -4.4em; } 
  100% { top: 0; }
}

/* ---- Sparkle Button (CTA) Styles ---- */
.sparkle-btn {
  --padding: 0.5rem;
  --hover: 0.4;
  --pos: 0;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: var(--padding);
  border-radius: 1rem;
  transition: background 0.2s;
}
.sparkle-btn:hover {
  --hover: 1;
  --pos: 1;
  background: hsla(0, 0%, 100%, 0.1);
}
.sparkle-btn:active {
  --hover: 0;
  --pos: 1;
}
.sparkle-btn span {
  display: inline-block;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
  transform: translate(calc(var(--hover) * (var(--font-size) * 0.10)), calc(var(--hover) * (var(--font-size) * -0.10)));
  transition: transform 0.2s;
}
.sparkle-btn span:first-of-type {
  color: var(--shadow);
  text-shadow:
    calc(var(--hover) * (var(--font-size) * -0.02)) calc(var(--hover) * (var(--font-size) * 0.02)) var(--shadow),
    calc(var(--hover) * (var(--font-size) * -0.04)) calc(var(--hover) * (var(--font-size) * 0.04)) var(--shadow),
    calc(var(--hover) * (var(--font-size) * -0.06)) calc(var(--hover) * (var(--font-size) * 0.06)) var(--shadow),
    calc(var(--hover) * (var(--font-size) * -0.08)) calc(var(--hover) * (var(--font-size) * 0.08)) var(--shadow),
    calc(var(--hover) * (var(--font-size) * -0.10)) calc(var(--hover) * (var(--font-size) * 0.10)) var(--shadow);
}
.sparkle-btn span:last-of-type {
  position: absolute;
  inset: var(--padding);
  z-index: 2;
  text-shadow: none;
  color: transparent;
  background: linear-gradient(108deg, transparent 0 55%, var(--glare) 55% 60%, transparent 60% 70%, var(--glare) 70% 85%, transparent 85%) calc(var(--pos) * -200%) 0% / 200% 100%, var(--color);
  -webkit-background-clip: text;
  background-clip: text;
  transition: transform 0.2s, background-position 0s;
}
.sparkle-btn:hover span:last-of-type {
  transition: transform 0.2s, background-position calc(var(--hover) * 1.5s) calc(var(--hover) * 0.25s);
}
.sparkle-btn svg {
  position: absolute; z-index: 3; width: calc(var(--font-size) * 0.5); aspect-ratio: 1;
}
.sparkle-btn svg path { fill: var(--glare); }
.sparkle-btn:hover svg { animation: sparkle 0.75s calc((var(--delay-step) * var(--d)) * 1s) both; }
@keyframes sparkle { 50% { transform: translate(-50%, -50%) scale(var(--s, 1)); } }
.sparkle-btn svg { --delay-step: 0.15; top: calc(var(--y, 50) * 1%); left: calc(var(--x, 0) * 1%); transform: translate(-50%, -50%) scale(0); }
.sparkle-btn svg:nth-of-type(1) { --x: 0; --y: 20; --s: 1.1; --d: 1; }
.sparkle-btn svg:nth-of-type(2) { --x: 15; --y: 80; --s: 1.25; --d: 2; }
.sparkle-btn svg:nth-of-type(3) { --x: 45; --y: 40; --s: 1.1; --d: 3; }
.sparkle-btn svg:nth-of-type(4) { --x: 75; --y: 60; --s: 0.9; --d: 2; }
.sparkle-btn svg:nth-of-type(5) { --x: 100; --y: 30; --s: 0.8; --d: 4; }

.hero .sparkle-btn { --font-size: 2rem; }
.hero .sparkle-btn span { font-size: 2rem; }

/* ---- START: NEW HERO PHONE STYLES ---- */
.hero-phone-numbers {
  display: flex;
  flex-wrap: wrap; 
  gap: 1rem 2rem; 
  margin-top: 2.5rem;
  justify-content: flex-start;
}


/* ---- END: NEW HERO PHONE STYLES ---- */


/* ---- About Section Styles ---- */
.about-section {
  background: var(--color-background);
  padding: 2.5rem 2rem 4rem;
  position: relative; 
  overflow: hidden; 
}
.about-foreground-content {
  position: relative; 
  z-index: 2;
}
.about-section .tagline {
  color: var(--color-text-body);
  font-weight: 500;
  margin-bottom: 1rem;
}
.about-section .main-heading {
  color: var(--color-heading);
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 2.25rem;
}
.about-section .container {
  max-width: 1200px;
  margin-inline: auto;
}
.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
}
.about-content-grid img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}
.about-text-content {
  position: relative;
}
.about-text-content h2 {
  color: var(--color-heading);
  font-size: 1.75rem;
  font-weight: 600;
  margin-block: 0 1rem;
}
.about-text-content p {
  color: var(--color-text-body);
  line-height: 1.6;
  max-width: 65ch;
  margin-bottom: 2rem;
}

.about-button-wrapper {
  margin-top: 1.5rem;
}

/* ---- Scrolling Background Text Styles ---- */
@keyframes text-scrolling {
  0% { transform: translate3d(-100%, 0, 0); }
  100% { transform: translate3d(0%, 0, 0); }
}
.bg-text-container {
  position: absolute;
  z-index: 1; 
  left: 50%;
  top: 20%;
  transform: translateX(-50%) skewY(-5deg);
  user-select: none;
  pointer-events: none;
}
.animate-text {
  animation: text-scrolling 30s linear infinite;
  will-change: transform;
  display: block;
  position: relative;
  white-space: nowrap;
}
.animate-text.left {
  animation-direction: reverse;
}
.animate-text span {
  font-family: 'Montserrat', sans-serif;
  font-size: 18vw; 
  font-weight: 800;
  line-height: 0.75;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 6px hsla(222, 23%, 11%, 0.05); /* subtle charcoal stroke */
  display: inline-block;
  min-width: auto;
}


/* ---- Stats Section Styles ---- */
.stats-section {
  background: var(--color-section-bg-white); /* Using pure white for contrast */
  padding: 2.25rem 2rem;
}
.stats-container {
  max-width: 1200px;
  margin-inline: auto;
  border-top: 1px solid hsla(0, 0%, 0%, 0.1);
  border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid hsla(0, 0%, 0%, 0.1);
}
.stat-item:last-child {
  border-right: none;
}
.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-heading);
  margin: 0 0 0.5rem 0;
}
.stat-item .stat-label {
  font-size: 0.875rem;
  color: var(--color-text-body);
  margin: 0;
}

/* ---- Products Section Styles ---- */
.products-section {
  background-color: var(--color-background);
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.products-section .tagline { color: var(--color-text-body); }
.products-section .main-heading {
  color: var(--color-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  text-transform: uppercase;
}
.products-page {
  display: grid;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
  grid-template-columns: repeat(3, 1fr);
}

/* DESIGN UPDATE: Switched to light cards on a light background */
.product-card {
  background-color: var(--color-section-bg-white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  overflow: hidden; 
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
@keyframes fadeInUp { to { transform: translateY(0); opacity: 1; } }

.product-card:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  /* UPDATED: Hover effect changed to new blue */
  background: var(--color-accent-blue);
  clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%));
  transition: 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.product-card:hover::before {
  clip-path: circle(141.4% at var(--cx, 50%) var(--cy, 50%));
}

.card-content {
  position: relative;
  z-index: 2;
}
.card-image-wrapper {
  position: relative;
  margin-bottom: 1.25rem;
}
.card-image-wrapper img {
  width: 100%;
  border-radius: 0.5rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--color-primary-green); /* Green tag */
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.product-card h3 {
  color: var(--color-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  transition: color 0.8s;
}
.product-card p {
  color: var(--color-text-body);
  font-size: 0.875rem;
  line-height: 1.5;
  transition: color 0.8s;
}
.product-card:hover h3,
.product-card:hover p {
  color: var(--color-white);
}

/* ---- Products Section Styles ---- */
.products-section {
  background-color: var(--color-background);
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.products-section .tagline { color: var(--color-text-body); }
.products-section .main-heading {
  color: var(--color-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  text-transform: uppercase;
}
/* This is now just a container */
.products-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
}

/* The grid styling is now applied to each page */
.product-page {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

/* Helper classes for pagination */
.product-page.hidden {
  display: none;
}
.product-page.active {
  display: grid; /* This ensures it's visible and laid out as a grid */
}

/* DESIGN UPDATE: Switched to light cards on a light background */
.product-card {
  background-color: var(--color-section-bg-white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  overflow: hidden; 
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
@keyframes fadeInUp { to { transform: translateY(0); opacity: 1; } }

.product-card:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  /* UPDATED: Hover effect changed to new blue */
  background: var(--color-accent-blue);
  clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%));
  transition: 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.product-card:hover::before {
  clip-path: circle(141.4% at var(--cx, 50%) var(--cy, 50%));
}

.card-content {
  position: relative;
  z-index: 2;
}
.card-image-wrapper {
  position: relative;
  margin-bottom: 1.25rem;
}
.card-image-wrapper img {
  width: 100%;
  border-radius: 0.5rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--color-primary-green); /* Green tag */
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.product-card h3 {
  color: var(--color-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  transition: color 0.8s;
}
.product-card p {
  color: var(--color-text-body);
  font-size: 0.875rem;
  line-height: 1.5;
  transition: color 0.8s;
}
.product-card:hover h3,
.product-card:hover p {
  color: var(--color-white);
}

/* --- ADD THIS NEW CSS --- */
.product-pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.pagination-btn {
    background-color: var(--color-section-bg-white);
    border: 1px solid #e2e8f0;
    color: var(--color-heading);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-btn:hover {
    background-color: var(--color-primary-green);
    color: var(--color-white);
    border-color: var(--color-primary-green);
    transform: scale(1.1);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #e2e8f0;
    transform: scale(1);
    border-color: #e2e8f0;
    color: #a0aec0;
}

#page-indicator {
    font-weight: 500;
    color: var(--color-text-body);
    min-width: 50px;
    text-align: center;
}

/* Don't forget to update the responsive rules for the new layout */
@media (max-width: 950px) {
  .product-page { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .product-page { grid-template-columns: 1fr; }
}

/* ---- Footer Section Styles ---- */
.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-light-text);
  padding: 2.5rem 2rem;
  font-size: 0.875rem;
}
.footer-container {
  max-width: 1400px;
  margin-inline: auto;
  display: grid;
  gap: 2.25rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
}
.footer-about p {
  max-width: 45ch;
  line-height: 1.6;
  font-size: 1rem;
}
.footer-column h3 {
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 1rem 0;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.footer-links a {
  color: var(--color-light-text);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--color-link-hover);
}
.footer-contact p,
.footer-contact a {
  margin: 0 0 0.5rem 0;
  line-height: 1.6;
  font-style: normal;
  color: var(--color-light-text);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: var(--color-link-hover);
}
.newsletter-form {
  position: relative;
}
.newsletter-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.2);
  padding: 0.75rem 2rem 0.75rem 0;
  color: var(--color-white);
  font-size: 0.875rem;
}
.newsletter-input::placeholder {
  color: var(--color-subtle-text-dark-bg);
}
.newsletter-submit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  font-size: 1.5rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-subtle-text-dark-bg);
}
.footer-bottom a {
  color: var(--color-light-text);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  text-decoration: underline;
  color: var(--color-white);
}

/* ---- Social Button Styles ---- */
.footer-social-group {
  display: grid;
  gap: 1rem;
}
.social-btn {
  width: 100%;
  height: 45px;
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 30px;
  background-color: hsla(0, 0%, 100%, 0.1);
  color: var(--color-light-text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
  text-decoration: none;
  overflow: hidden; 
}
.social-btn .btn-icon {
  width: 92px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.3s ease-in-out;
  z-index: 1;
  clip-path: polygon(0% 0%, calc(100% - 25px) 0%, 100% 100%, 0% 100%);
}
.social-btn .social-name {
  position: relative;
  padding-left: 110px;
  z-index: 2;
}
.btn-icon i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.2em;
  z-index: 2;
}
.social-btn:hover { color: #fff; }
.social-btn:hover .btn-icon {
  width: 100%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.social-btn.facebook .btn-icon { background-color: #1877F2; }
/* Add this new rule for the LinkedIn button */
.social-btn.linkedin .btn-icon { background-color: #0077B5; }

/* It should go with your other social button styles like this: */
.social-btn.facebook .btn-icon { background-color: #1877F2; }
.social-btn.linkedin .btn-icon { background-color: #0077B5; } /* <--- ADD THIS LINE */
.social-btn.instagram .btn-icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-btn.instagram .btn-icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-btn.twitter-x .btn-icon { background-color: #000000; }
/* ADDED: Style for the custom 'X' icon */
.social-btn .x-icon {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 900;
}
.social-btn.youtube .btn-icon { background-color: #FF0000; }


/* ---- Arrow Button Styles ---- */
.learn-more-btn {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: 'Mukta', sans-serif;
  width: 14rem; 
  height: auto;
}
.learn-more-btn .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: var(--color-heading); 
  border-radius: 1.625rem;
}
.learn-more-btn .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: var(--color-white);
}
.learn-more-btn .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}
.learn-more-btn .circle .icon.arrow::before {
  position: absolute;
  content: '';
  top: -0.25rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid var(--color-white);
  border-right: 0.125rem solid var(--color-white);
  transform: rotate(45deg);
}
.learn-more-btn .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: var(--color-heading); 
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}
.learn-more-btn:hover .circle { width: 100%; background: var(--color-primary-green); } /* Hover to green */
.learn-more-btn:hover .circle .icon.arrow { background: var(--color-white); transform: translate(1rem, 0); }
.learn-more-btn:hover .button-text { color: var(--color-white); }


/* START: NEW FOOTER CONTACT STYLES */
.footer-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}


/* END: NEW FOOTER CONTACT STYLES */


/* ---- Responsive Styles ---- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 950px) {
  .products-page { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
  nav#main-nav { flex-wrap: wrap; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: hsla(222, 23%, 11%, 0.95); flex-direction: column; align-items: center; padding: 1rem 0; gap: 1rem; }
  nav.nav-active .nav-links { display: flex; }
  .hamburger-menu { display: flex; }
  nav.nav-active .hamburger-menu .bar:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  nav.nav-active .hamburger-menu .bar:nth-child(2) { opacity: 0; }
  nav.nav-active .hamburger-menu .bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
  .hero { min-height: 60vh; }
  .about-content-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid hsla(0, 0%, 0%, 0.1); }
}

@media (max-width: 600px) {
  .products-page { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .scroller { width: 10ch; } 
  .bg-text-container { display: none; } /* HIDE SCROLLING TEXT ON MOBILE */
}

@media (max-width: 500px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid hsla(0, 0%, 0%, 0.1); }
  .stat-item:last-child { border-bottom: none; }
}

/* ---- ADD THESE NEW STYLES TO THE BOTTOM OF YOUR CSS FILE ---- */

/* ---- Product Detail Page Styles ---- */

/* Hero Section for the Detail Page */
.detail-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-white);
  background-image: linear-gradient(rgba(26, 32, 44, 0.6), rgba(26, 32, 44, 0.6)), url('images/hero-background.jpg');
  background-size: cover;
  background-position: center;
}

.detail-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}

/* Two-column container */
.detail-page-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  max-width: 1400px;
  margin: 2.5rem auto;
  padding: 0 2rem;
}

/* Left Sidebar Styles */
.detail-sidebar {
  position: sticky;
  top: 120px; /* Adjust based on your header height */
  align-self: start; /* Makes sticky positioning work correctly */
}

.sidebar-nav {
  background-color: var(--color-white);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  border-bottom: 1px solid #e2e8f0;
}
.sidebar-nav li:last-child {
  border-bottom: none;
}

.sidebar-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  color: var(--color-text-body);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.sidebar-nav a:hover {
  color: var(--color-primary-green);
}

.sidebar-nav .active-service a {
  font-weight: 700;
  color: var(--color-heading);
}

.sidebar-nav a::after {
  content: '\f35d'; /* Font Awesome arrow icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

/* Sidebar CTA Box */
.sidebar-cta {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 1rem;
  color: var(--color-white);
  background-image: linear-gradient(rgba(26, 32, 44, 0.8), rgba(26, 32, 44, 0.8)), url('images/hero-background.jpg');
  background-size: cover;
  text-align: center;
}

.sidebar-cta h3 {
  font-size: 1.75rem;
  margin: 0 0 1.5rem 0;
  line-height: 1.3;
}
/* Reusing the arrow button from homepage */
.sidebar-cta .learn-more-btn .circle { background: var(--color-white); }
.sidebar-cta .learn-more-btn .circle .icon.arrow::before { border-color: var(--color-heading); }
.sidebar-cta .learn-more-btn .button-text { color: var(--color-white); }
.sidebar-cta .learn-more-btn:hover .circle { background: var(--color-primary-green); }
.sidebar-cta .learn-more-btn:hover .circle .icon.arrow::before { border-color: var(--color-white); }

/* Right Main Content Styles */
.detail-main-content h2 {
  font-size: 2.25rem;
  color: var(--color-heading);
  margin-top: 0;
}
.detail-main-content h3 {
  font-size: 1.75rem;
  color: var(--color-heading);
  margin-top: 2.5rem;
}
.detail-main-content p {
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 1rem;
}

.detail-image-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
.detail-image-gallery img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  margin-top: 1.5rem;
}
.feature-item i {
  font-size: 2rem;
  color: var(--color-primary-green);
  margin-bottom: 1rem;
}
.feature-item h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  color: var(--color-heading);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}
.benefits-list li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.benefits-list li::before {
  content: '\f058'; /* Font Awesome check-circle icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--color-accent-blue);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.1rem;
}


/* Responsive styles for detail page */
@media(max-width: 950px) {
  .detail-page-container {
    grid-template-columns: 1fr; /* Stack columns on smaller screens */
  }
  .detail-sidebar {
    position: static; /* Unstick the sidebar */
  }
  .features-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .feature-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .feature-item i {
    flex-basis: 40px;
    margin-bottom: 0;
  }
  .feature-item h4 {
    flex: 1;
    margin: 0;
  }
  .feature-item p {
    flex-basis: 100%;
    margin-left: 40px;
  }
}

@media(max-width: 600px) {
  .detail-image-gallery {
    grid-template-columns: 1fr;
  }
}

/* ---- ADD THIS TO THE BOTTOM OF YOUR CSS FILE ---- */

/* Styling for the product card link wrapper */
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  outline: none;
}

.product-card-link:focus .product-card {
  box-shadow: 0 0 0 3px var(--color-accent-blue);
}


/* ---- MOBILE SCALING FIXES ---- */

/* Fix 1: Prevent horizontal scrolling */
html, body {
    overflow-x: hidden; /* Prevents horizontal scroll */
    max-width: 100vw; /* Ensures content doesn't exceed viewport */
}

/* Fix 2: Make all containers responsive */
.hero-content,
.container,
.stats-container,
.products-grid-container,
.footer-container {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Fix 3: Responsive scroller width adjustments */
.scroller {
    width: clamp(8ch, 15vw, 15ch); /* Responsive width that scales with viewport */
    max-width: 90vw; /* Never exceed 90% of viewport width */
}

/* Fix 4: Enhanced mobile breakpoints */
@media (max-width: 768px) {
    .scroller {
        width: clamp(6ch, 20vw, 12ch);
        font-size: 0.9em; /* Slightly smaller on mobile */
    }

    /* Reduce padding on mobile to prevent overflow */
    .hero {
        padding: 2rem 1rem;
    }

    .about-section,
    .products-section,
    .stats-section {
        padding: 2rem 1rem;
    }

    /* Make sure hero content doesn't cause overflow */
    .hero-content {
        max-width: 100%;
        width: 100%;
    }

    /* Adjust hero title for mobile */
    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 3rem);
        word-break: break-word; /* Prevents long words from overflowing */
    }
}

@media (max-width: 480px) {
    .scroller {
        width: clamp(5ch, 25vw, 10ch);
        font-size: 0.8em;
    }

    /* Ultra-small mobile adjustments */
    .hero {
        padding: 1.5rem 0.75rem;
        min-height: 70vh;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 9vw, 2.5rem);
        line-height: 1.2;
    }

    /* Ensure no element exceeds viewport */
    * {
        max-width: 100vw;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Fix 5: Prevent specific elements from causing overflow */
.bg-text-container .animate-text span {
    white-space: nowrap;
    will-change: transform;
    /* Ensure background text doesn't cause horizontal scroll */
    max-width: 100vw;
    overflow: hidden;
}

/* Fix 6: Make sure navigation doesn't overflow on small screens */
@media (max-width: 480px) {
    header {
        padding: 0.5rem 0.75rem;
    }

    .brand-logo img {
        height: 32px; /* Smaller logo on very small screens */
    }
}

/* Fix 7: Ensure footer content is responsive */
@media (max-width: 600px) {
    .footer-container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* SCROLLER WIDTH FIX */
.scroller {
  width: 16ch !important;
}

@media (max-width: 768px) {
  .scroller {
    width: clamp(16ch, 20vw, 16ch) !important;
  }
}
