/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Updated color palette to red, white, and black only */
:root {
  --primary-red: #dc2626;
  --dark-red: #991b1b;
  --light-red: #ef4444;
  --black: #000000;
  --dark-gray: #1f1f1f;
  --mid-gray: #4b4b4b;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  line-height: 1.6;
  color: var(--black);
  overflow-x: hidden;
  letter-spacing: 0.2px;

}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar .container {
  padding-left: 20px;
  padding-right: 20px;
}

.nav-left {
  padding-left: 0px;
}



/* Updated navigation with red, white, and black theme */

/* ===== Brand (Logo + Text) ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 50px;          /* desktop size */
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: white;
  white-space: nowrap;
}

@media (max-width: 968px) {
  .brand-logo {
    height: 36px;
  }

  .brand-text {
    font-size: 1.4rem;
  }
}


@media (max-width: 480px) {
  .brand-text {
    display: none; /* clean mobile navbar */
  }

  .brand-logo {
    height: 38px;
  }
}



.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  background: transparent;
  backdrop-filter: none;
  transition: all 0.4s ease;
}


/* DARK NAVBAR AFTER SCROLL */
.navbar.scrolled-dark {
  background: #000000;
  backdrop-filter: blur(8px);
}

/* lighten glass pill slightly after scroll */
.navbar.scrolled-dark .nav-menu {
  background: rgba(255, 255, 255, 0.22);
}



.nav-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1rem 0;
}


.nav-center {
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;

  padding: 0.5rem 1.5rem;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.15);
}


.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 0.4rem 0.6rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-red);
}


.nav-link.active {
  color: var(--primary-red);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 15%;
  bottom: -6px;
  width: 70%;
  height: 2px;
  background: white;
  border-radius: 2px;
  
}


.contact-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;

  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: 700;

  background: transparent;
  transition: all 0.35s ease;
}

.contact-btn:hover,
.contact-btn.active{
  background: white;
  color: black;
}


.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

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

/* Redesigned hero section with company name, tagline and image first */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 90px 0 50px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-title .brand-name {
  color: var(--primary-red);
  display: block;
  font-size: 5rem;
}



/* Modern Stats Section */


.stats-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--dark-red), var(--primary-red));
}

.stats-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.stat-card-modern {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--light-gray);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
  transition: left 0.6s ease;
}

.stat-card-modern:hover::before {
  left: 100%;
}

.stat-card-modern:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
  background: var(--white);
}

.stat-number-modern {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 1rem;
}

.stat-number-modern::after {
  content: "+";
  color: var(--primary-red);
}

.stat-number-modern.percent::after {
  content: "%";
}

.stat-label-modern {
  font-size: 1rem;
  color: var(--mid-gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features Section */
.features {
  background: var(--light-gray);
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.75rem;
  margin-bottom: 3rem;
  color: var(--black);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: var(--primary-red);
  margin: 1rem auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* More prominent hover effects with scale and shadow */
.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid transparent;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-red);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.feature-card:hover .feature-icon {
  filter: grayscale(0%);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--black);
  font-weight: 700;
}

.feature-card p {
  color: var(--mid-gray);
  line-height: 1.8;
}

/* Modern CTA Section */
.cta-modern {
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  background: var(--light-gray);
}

.cta-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.05) 20px, rgba(255,255,255,0.05) 40px);
}

.cta-content-modern {
  position: relative;
  z-index: 2;
  text-align: center;
  color: black;
}

.cta-content-modern h2 {
  font-size: 2rem;
  letter-spacing: -0.5px;
  font-weight: 900;
  margin-bottom: 0rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-top: 1rem;
}

.cta-content-modern p {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.btn-cta-modern {
  display: inline-block;
  padding: 10px 42px;
  background: var(--dark-red);
  color: var(--white);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.btn-cta-modern:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Updated button styles with red, white, black theme and enhanced hover */
.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-red);
  border: 3px solid var(--white);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: var(--primary-red);
  color: var(--white);
  border: 3px solid var(--primary-red);
}

.btn-secondary:hover {
  background: var(--dark-red);
  border-color: var(--dark-red);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 35px 0 20px;
}

/* Red divider at top of footer (matches hero/page header) */
.footer {
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-red),
    var(--dark-red),
    var(--primary-red)
  );

  
}


/* =====================================
   Global red divider before key sections
===================================== */
.features-scroll-stack,
.testimonials-section,
.cta-modern {
  position: relative;
}

/* Red line before section */
.features-scroll-stack::before,
.testimonials-section::before,
.cta-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-red),
    var(--dark-red),
    var(--primary-red)
  );

  
  z-index: 5;
}


.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  column-gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  max-width: 100%;
}

.footer-section:first-child p {
  max-width: 90%;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  text-decoration: underline;
}


@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section:first-child p {
    max-width: 100%;
  }

  .footer-section a {
    display: inline-block;
    padding: 4px 0;
  }
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--primary-red);
  font-weight: 700;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-section p span {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(189, 191, 190, 0.4);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}


.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.3rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: var(--primary-red);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--dark-red);
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* Page Header */
.page-header {
  background:
    linear-gradient(
      to bottom,
      #000000 0%,
      #0d0000 40%,
      #6b0000 75%,
      #dc2626 100%
    );
  color: var(--white);
  padding: 150px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle radial highlight — adds depth without breaking the gradient */
.page-header::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.page-header::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-red);
  z-index: 1;
}

/* Tablet — same gradient, just reduce padding */
@media (max-width: 1024px) {
  .page-header {
    padding: 120px 0 70px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .page-header {
    padding: 100px 0 55px;
  }

  .page-header h1 {
    letter-spacing: 0;
    /* font-size handled by clamp() above */
  }

  .page-header h3 {
    padding: 0 15px;
    /* font-size handled by clamp() above */
  }
}

@keyframes headerGlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(120%);
  }
}

.page-header h1 {
  font-size: clamp(1.4rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.page-header h3 {
  font-size: clamp(0.75rem, 2.8vw, 1.25rem);
  font-weight: 400;
  opacity: 0.95;
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Products page with category filters and popup modal */
.products-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.products-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.products-intro p {
  font-size: 1.125rem;
  color: var(--mid-gray);
  line-height: 1.8;
}

.category-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-btn {
  padding: 12px 28px;
  background: var(--white);
  color: var(--black);
  border: 3px solid var(--mid-gray);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.category-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-red);
}

.category-btn.active {
  background: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid transparent;
  display: none;
}

.product-card.show {
  display: block;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-red);
}

.product-image {
  height: 250px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
  text-align: center;
}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--black);
  font-weight: 700;
}

.quick-view-btn {
  padding: 10px 24px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.quick-view-btn:hover {
  background: var(--primary-red);
  transform: scale(1.05);
}

/* Product popup modal */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.product-modal.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-red);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--dark-red);
  transform: rotate(90deg) scale(1.1);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.modal-image {
  background: var(--light-gray);
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 1rem;
  background: var(--white);
}

.modal-details h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--black);
  font-weight: 900;
}

.modal-details .product-category {
  color: var(--primary-red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  display: block;
}

.modal-details p {
  color: var(--mid-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.product-features {
  list-style: none;
  padding: 0;
}

.product-features li {
  padding: 0.75rem 0;
  color: var(--mid-gray);
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-features li:last-child {
  border-bottom: none;
}

.product-features li::before {
  content: "✓";
  color: var(--primary-red);
  font-weight: bold;
  font-size: 1.25rem;
}

/* Timeline design for about page */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--primary-red);
  top: 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 45%;
  position: relative;
  border: 3px solid transparent;
  transition: all 0.4s ease;
}

.timeline-content:hover {
  border-color: var(--primary-red);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.timeline-year {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--black);
  font-weight: 700;
}

.timeline-content p {
  color: var(--mid-gray);
  line-height: 1.8;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: var(--primary-red);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px var(--primary-red);
  z-index: 2;
}

/* Professional industries design with sales data */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.industry-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid transparent;
}

.industry-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-red);
}

.industry-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.industry-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.industry-title h3 {
  font-size: 1.5rem;
  color: var(--black);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.industry-sales {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 1.125rem;
}

.industry-card p {
  color: var(--mid-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.collaboration-stats {
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.collaboration-stats strong {
  color: var(--primary-red);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.25rem;
}

.collaboration-stats span {
  color: var(--mid-gray);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Food safety certifications for quality page */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cert-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-red);
}

.cert-badge {
  width: 120px;
  height: 120px;
  background: var(--primary-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--light-gray);
}

.cert-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--black);
  font-weight: 700;
}

.cert-card p {
  color: var(--mid-gray);
  line-height: 1.6;
}

.quality-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.metric-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 3px solid var(--light-gray);
  transition: all 0.3s ease;
}

.metric-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
}

.metric-value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.metric-label {
  color: var(--mid-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

/* Professional contact page design */
.contact-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--black);
  font-weight: 900;
}

.contact-info > p {
  color: var(--mid-gray);
  margin-bottom: 3rem;
  line-height: 1.8;
  font-size: 1.125rem;
}

.company-details,
.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: none;
}


.company-details h3 {
  font-size: 1.75rem;
  color: var(--primary-red);
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.detail-item {
  margin-bottom: 1rem;
}

.detail-item a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.detail-item a:hover {
  color: var(--primary-red);
  text-decoration: underline;
}


.detail-item h4 {
  font-size: 0.875rem;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.detail-item p {
  color: var(--black);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}


.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

/* ===== TRUE RUNNING BORDER (FULL OUTLINE) ===== */
.running-border {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.running-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;

  /* SINGLE smooth line */
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 200deg,
    #dc2626 350deg,
    transparent 360deg
  );


  /* slow, steady, clockwise */
  animation: borderSpinCW 8s linear infinite;

  opacity: 0;
}


@keyframes borderSpinCW {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}



.running-border::after {
  content: "";
  position: absolute;
  inset: 3px; /* border thickness */
  background: var(--white);
  border-radius: 9px;
  z-index: 1;
}

.running-border > * {
  position: relative;
  z-index: 2;
}

.running-border:hover::before {
  opacity: 1;
}

@keyframes borderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.contact-form h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--black);
  font-weight: 900;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--black);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 3px solid rgb(243, 243, 243);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: rgb(254, 254, 254);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}



/* Responsive Design */
@media (max-width: 968px) {
  
    .features-horizontal {
    flex-direction: column;
  }

  .feature-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(
      to right,
      transparent,
      var(--primary-red),
      transparent
    );
  }

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

  .hero-title .brand-name {
    font-size: 3rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    justify-content: flex-end !important;
  }

  .timeline-content {
    width: calc(100% - 60px);
  }

  .timeline-dot {
    left: 20px;
  }

  .category-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .category-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .stats-grid-modern {
    grid-template-columns: 1fr;
  }

/* page-header h1 size at 640px handled in the page-header block above */

  .section-title {
    font-size: 2rem;
  }
  .brand-name-modern {
    font-size: 2.6rem;
  }
}

.map-wrapper {
  margin-top: 0.75rem;
  width: 100%;
  height: 200px; /* balanced with form height */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.map-link {
  margin-top: 0.5rem;
}

.map-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: black;
  text-decoration: none;
}

.map-link a:hover {
  text-decoration: underline;
}







/* HOME PAGE STYLES (NEW) */

.industries-preview {
  background: var(--light-gray);
  padding: 80px 0;
}

.industries-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}

.industry-preview-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
  transition: all 0.35s ease;
  text-decoration: none;
  color: inherit;
}

.industry-preview-card:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--primary-red);
  box-shadow: var(--shadow-xl);
}

.industry-preview-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

/* ================= NAV OVERLAY ================= */
#navOverlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 280px;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

#navOverlay.active {
  opacity: 1;
  pointer-events: auto;}

/* ================= MOBILE SIDEBAR NAV ================= */
@media (max-width: 1075px) {

  /* Keep the fixed drawer above the page overlay and viewport-sized. */
  .navbar {
    z-index: 2000;
  }

  .navbar.scrolled-dark {
    backdrop-filter: none;
  }

  /* Make nav-center invisible but keep it in layout —
     if we use display:none the fixed nav-menu child also disappears */
  .nav-center {
    visibility: hidden;
    pointer-events: none;
    width: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
  }

  /* The nav-menu itself MUST stay visible/rendered even inside hidden parent */
  .nav-menu {
    visibility: visible;   /* override parent's visibility:hidden */
    pointer-events: auto;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;

    background: #2a2a2a;
    flex-direction: column;
    align-items: flex-start;
    display: flex;

    padding: 100px 30px 40px;
    gap: 0;
    list-style: none;

    transition: none;
    z-index: 2000;
    border-radius: 0;
    overflow-y: auto;
    /* Reset pill styles */
    border-radius: 0 !important;
    background: #2a2a2a !important;
  }

  .nav-menu.active {
    right: 0;
  }

  /* All li items visible inside the drawer */
  .nav-menu > li {
    display: block;
    width: 100%;
  }

  .hamburger {
    display: flex;
    z-index: 2001;
    position: relative;
  }

  /* Ensure hamburger is visible in the grid */
  .nav-wrapper {
    grid-template-columns: auto 1fr auto;
  }

  .nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 2001;
  }

  .nav-link {
    visibility: visible;
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.85rem 0;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-link:hover {
    color: var(--primary-red);
    padding-left: 8px;
    transition: all 0.2s ease;
  }

  .nav-link.active {
    color: var(--primary-red);
  }

  .nav-link::after,
  .nav-link.active::after {
    display: none;
  }

}

/* Decorative Background Elements */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px);
  opacity: 0.5;
  pointer-events: none;
  display: none;
}

.floating-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-red), transparent);
  opacity: 0.1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation: float 20s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  right: 10%;
  animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  left: 80%;
  animation: float 18s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}




/* Modern Hero Section */
.hero-modern {
  min-height: calc(100vh - 80px);
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .hero-grid {
    padding: 0 20px;
    gap: 2rem;
  }
}


.hero-left {
  padding: 2rem 0;
}

/* Right Side - Spotlight Image */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

/* Hero image responsive — always square, no fixed heights */
@media (max-width: 1024px) {
  .image-carousel-modern {
    width: min(340px, 72vw);
    height: min(340px, 72vw);
  }
}

@media (max-width: 640px) {
  .hero-right {
    /* No fixed height — sized entirely by the carousel inside */
    height: auto;
    margin-bottom: 0;
  }

  .image-carousel-modern {
    /* 1024×1024 source → always render as a perfect square */
    width: min(280px, 78vw);
    height: min(280px, 78vw);
  }
}



.hero-content-wrapper {
  max-width: 600px;
  text-align: center;
}

.hero-title-modern {
  margin-bottom: 1.5rem;
}

.brand-name-modern {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
  letter-spacing: -2px;
  /* background: linear-gradient(135deg, var(--white) 0%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite; */
}

@keyframes titleGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.3)); }
  50% { filter: drop-shadow(0 0 40px rgba(220, 38, 38, 0.6)); }
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding: 0 4px;
  text-align: center;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-buttons-modern {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-buttons-mobile {
  display: none;
}

.hero-buttons-modern .btn-modern {
  flex: 1;
  min-width: 160px;
}

.btn-modern {
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
}

.btn-primary-modern {
  background: var(--primary-red);
  color: var(--white);
  border: 3px solid var(--primary-red);
}

.btn-primary-modern:hover {
  transform: translateY(-3px) scale(1.05);
  
}

.btn-secondary-modern {
  background: transparent;
  color: var(--white);
  border: 3px solid var(--white);
}

.btn-secondary-modern:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-3px) scale(1.05);
}

.spotlight-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-carousel-modern {
  position: relative;
  z-index: 1;
  width: 450px;
  height: 450px;
  max-width: 100%;        /* never wider than parent */
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(220, 38, 38, 0.25);
  border: 4px solid rgba(220, 38, 38, 0.5);
}

/* Square glow */
.image-carousel-modern::before {
  content: "";
  position: absolute;
  inset: -14px;                 /* glow distance from edges */
  border-radius: 28px;          /* slightly larger than image */
  background: rgba(220, 38, 38, 0.35);
  filter: blur(28px);
  opacity: 0.85;
  z-index: -1;
}

.image-carousel-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow:
    0 0 0 2px rgba(220, 38, 38, 0.6),
    0 0 25px rgba(220, 38, 38, 0.6),
    0 0 60px rgba(220, 38, 38, 0.35);
  pointer-events: none;
}

.spotlight-glow {
  display: none;
}



.carousel-item-modern {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.carousel-item-modern.active {
  opacity: 1;
  transform: scale(1);
}

.spotlight-beam {
  position: absolute;
  inset: -25%;
  background: radial-gradient(
    circle at center,
    rgba(220, 38, 38, 0.22) 0%,
    rgba(220, 38, 38, 0.12) 35%,
    transparent 65%
  );
  animation: beamPulse 4s ease-in-out infinite;
  pointer-events: none;
}


@keyframes beamPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.spotlight-glow {
  position: absolute;
  inset: auto 10% -15% 10%;
  height: 30%;
  background: radial-gradient(
    circle at center,
    rgba(220, 38, 38, 0.28) 0%,
    transparent 65%
  );
  filter: blur(45px);
  pointer-events: none;
}

.stats-modern {
  background: var(--white);
  padding: 100px 0;
  position: relative;
}

.stats-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--dark-red), var(--primary-red));
}

.stats-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.stat-card-modern {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--light-gray);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card-modern:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
  background: var(--white);
}

.stat-number-modern {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 1rem;
}

.stat-number-modern::after {
  content: "+";
}

.stat-number-modern.percent::after {
  content: "%";
}

.stat-label-modern {
  font-size: 1rem;
  color: var(--mid-gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title-modern {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 0.25rem;
  color: var(--black);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.section-subtitle-modern {
  text-align: center;
  font-size: 1.2rem;
  color: var(--mid-gray);
  margin-bottom: 0rem;
}

/* Testimonials Section */



.testimonials-section {
  background: var(--black);
  padding: 45px 0;
  overflow: hidden;
  position: relative;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.02) 30px, rgba(255,255,255,0.02) 60px);
  pointer-events: none;
}

.testimonials-section .section-title-modern,
.testimonials-section .section-subtitle-modern {
  color: var(--white);
}

.testimonials-section .section-subtitle-modern {
  color: rgba(255, 255, 255, 0.7);
}

.testimonials-carousel {
  margin-top: 2rem;
  overflow: hidden;
  padding: 2px 0;
  position: relative;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(200px, 1fr));
  gap: 40px;
}


@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Make testimonial carousel wider than container */
.testimonials-carousel {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0px;
  padding-right: 0px;
}

.testimonials-section .container {
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 1075px) {
  .testimonials-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 640px) {
  .testimonials-section .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .testimonial-track {
    gap: 16px;
  }
}


.testimonial-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 22px;
  min-height: 260px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;

  transition: all 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 38, 38, 0.6);
  
}

.testimonial-image {
  width: 100%;
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  background: #E4E8ED;   /* was #000 */
  padding: 10px;         /* new: keeps the product off the edges */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.3);
}

.avatar-btn {
  width: 100%;          /* was 120px */
  min-height: 40px;     /* was height: 40px */
  padding: 8px 12px;    /* new */
  border-radius: 2%;
  background: var(--primary-red);
  color: white;
  border: none;

  font-weight: 900;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;   /* new */

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: all 0.3s ease;
}

.avatar-btn:hover {
    
  box-shadow:
    0 0 0 1px rgb(255, 255, 255);
}

@media (max-width: 1200px) {
  .testimonial-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .testimonial-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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



.quote-icon {
  font-size: 3rem;
  opacity: 0.35;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.testimonial-text {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--primary-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.author-info h4 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ===============================
   FINAL SCROLL-LOCK STACK SECTION
================================ */

/* Scroll area */
.features-scroll-stack {
  position: relative;
  height: 260vh; /* controls scroll lock duration */
}

.features-scroll-stack {
  background: linear-gradient(
    180deg,
    #100000 0%,
    #1d0000 40%,
    #1f0000 70%,
    #2a0000 100%
  );
  transition: background 0.6s ease;
}

.features-scroll-stack.scrolled {
  background: linear-gradient(
    180deg,
    #000000 0%,
    #1a0000 35%,
    #3b0000 70%,
    #5b0000 100%
  );
}


/* Sticky viewport */
.features-scroll-stack .stack-sticky {
  position: sticky;
  top: 100px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Title */
.features-scroll-stack .stack-title {
  text-align: center;
  margin-bottom: 0.5rem;   /* reduced spacing */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.features-scroll-stack .stack-title h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  margin-top: 30px;
}

.features-scroll-stack .stack-title p {
  max-width: 720px;
  margin: 0.4rem auto 0.5rem;  /* clean controlled spacing */
  color: var(--white);
  line-height: 1.6;
}

/* Card stage */
.features-scroll-stack .stack-stage {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -10px;   /* pulls cards slightly upward */
}

/* Cards */
.features-scroll-stack .stack-item {
  position: absolute;
  width: 550px;
  min-height: 260px;
  padding: 1.8rem;
  height: auto;
  max-width: 90vw;
  background: #ffffff;
  padding: 2.2rem 2rem;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.15);

  opacity: 0;                  /* default hidden */
  transform: translateY(100px) scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;

  z-index: 1;
  
}


/* Active card */
.features-scroll-stack .stack-item.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow:
    0 35px 70px rgba(0,0,0,0.15),
    0 0 0 1px rgba(220,38,38,0.15);
  z-index: 3;
}

/* Passed card */
.features-scroll-stack .stack-item.passed {
  opacity: 0;
  transform: translateY(-60px) scale(0.92);
  z-index: 2;
}

/* Card content */
.features-scroll-stack .stack-icon {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
}

.features-scroll-stack h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
  color: var(--black);
}

.features-scroll-stack p {
  font-size: 1.1rem;
  color: var(--mid-gray);
  line-height: 1.2;
}

.stack-progress {
  display: none;
}

.stack-progress span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
}

.stack-progress span.active {
  background: var(--primary-red);
}


/* Mobile */
@media (max-width: 640px) {
  .features-scroll-stack {
    height: 240vh;
  }

  .features-scroll-stack .stack-sticky {
    top: 60px;
    padding-top: 50px;
  }

  .features-scroll-stack .stack-stage {
    height: 320px;
    margin-top: 0;
  }

  .features-scroll-stack .stack-item {
    width: min(300px, 86vw);
    padding: 1.5rem 1.25rem;
    min-height: 200px;
  }

  .features-scroll-stack .stack-title h2 {
    font-size: 1.6rem;
    margin-top: 16px;
    padding: 0 15px;
  }

  .features-scroll-stack .stack-title p {
    font-size: 0.9rem;
    padding: 0 15px;
  }

  .features-scroll-stack h3 {
    font-size: 1.2rem;
  }

  .features-scroll-stack p {
    font-size: 0.95rem;
  }

  .about-section,
  .about-content,
  .about-text {
    padding: 40px 20px;
  }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 641px) {
  .features-scroll-stack {
    height: 250vh;
  }

  .features-scroll-stack .stack-sticky {
    top: 0;
    min-height: 100vh;
    padding: 80px 0 60px;
  }

  .features-scroll-stack .stack-stage {
    height: 380px;
    margin-top: 0;
  }

  .features-scroll-stack .stack-item {
    width: min(500px, 80vw);
    min-height: 240px;
  }

  .features-scroll-stack .stack-title h2 {
    font-size: 2rem;
  }
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 30px;
  }

  .hero-left {
    order: 1;
  }

  .hero-right {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-content-wrapper {
    max-width: 100%;
  }

  .hero-buttons-modern {
    justify-content: center;
  }

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

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

/* ================= MOBILE ================= */
@media (max-width: 640px) {

  .stats-grid-modern,
  .products-grid,
  .products-grid-modern {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 15px;
  }

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

  section {
    padding: 50px 0;
  }

  .timeline-content {
    width: calc(100% - 40px);
  }

  /* Hero: stack as text → buttons → image, nothing bleeds */
  .hero-modern {
    padding-top: 70px;
    padding-bottom: 30px;
    min-height: auto;
    overflow: hidden;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 16px;
    text-align: center;
    overflow: hidden;
  }

  .hero-left {
    order: 1;
    padding: 0.75rem 0 0;
    width: 100%;
  }

  .hero-right {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.25rem;
    /* height is auto — driven by carousel's square size */
    height: auto;
  }

  .hero-content-wrapper {
    max-width: 100%;
    overflow: hidden;
    text-align: center;
  }

  .brand-name-modern {
    font-size: clamp(1.8rem, 8vw, 3rem);
    letter-spacing: -1px;
    word-break: break-word;
    white-space: normal;
  }

  .hero-tagline {
    font-size: 1rem;
    white-space: normal;
    text-align: center;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.65;
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero-buttons-modern {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 0;
  }

  .hero-buttons-modern .btn-modern {
    flex: unset;
    width: 100%;
    min-width: unset;
  }

  .btn-modern {
    width: 100%;
    text-align: center;
    min-width: unset;
  }

  /* Swap order for mobile only: image above buttons */
  .hero-buttons-desktop {
    display: none !important;
  }

  .hero-buttons-mobile {
    order: 3;
    display: flex !important;
    width: 100%;
    padding-top: 1.5rem;
  }
}


/* ================= SMALL MOBILE (≤425px) ================= */
@media (max-width: 425px) {
  .hero-grid {
    padding: 0 16px;
  }

  .hero-left {
    padding: 0.5rem 0 0;
  }

  .hero-content-wrapper {
    width: 100%;
    text-align: center;
  }

  /* Brand name clearly larger than everything below */
  .brand-name-modern {
    font-size: clamp(1.6rem, 8.5vw, 2.2rem);
    letter-spacing: -0.5px;
    white-space: normal;
    word-break: break-word;
  }

  .hero-tagline {
    font-size: clamp(0.72rem, 3.2vw, 0.88rem);
    padding: 0;
    text-align: center;
    white-space: normal;
  }

  .hero-description {
    font-size: clamp(0.75rem, 3vw, 0.85rem);
    line-height: 1.6;
    text-align: center;
    padding: 0;
    margin-bottom: 1.2rem;
    word-break: normal;
    overflow-wrap: break-word;
  }

  /* Buttons: stacked, full width, text never wraps */
  .hero-buttons-modern {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-buttons-modern .btn-modern {
    flex: unset;
    width: 100%;
    min-width: unset;
    padding: 12px 16px;
    font-size: clamp(0.7rem, 3.2vw, 0.85rem);
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  .image-carousel-modern {
    width: min(260px, 80vw);
    height: min(260px, 80vw);
  }
}

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

/* page-header mobile padding handled in the page-header block */
/* @media (max-width: 640px) {
  .page-header {
    padding: 110px 0 60px;
  }
} */

@media (max-width: 640px) {
  .footer {
    padding: 30px 0 15px;
  }

  .footer-section {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .nav-wrapper {
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .about-section p {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 80px 0 40px;
  }
}

@media (max-width: 640px) {
  .stat-number-modern {
    font-size: 3rem;
  }

  .stat-label-modern {
    font-size: 0.9rem;
  }
}

/*same font size fot founded by and we dont justify*/
@media (max-width: 640px) {
  .hero-description,
  .stack-title p {
    font-size: 0.9rem !important;
  }
}

/*font size increase of finest gift... */
@media (max-width: 640px) {
  .hero-tagline {
    font-size: 1.2rem !important;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
  }
}

/*contact us today...*/
@media (max-width: 640px) {
  .contact-cta-text {
    margin-top: 10px;
    font-size: 1.2rem !important;
    max-width: 88%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .cta-content-modern h2,
  .section-title-modern {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
}

/*browse by categories single line*/
/* @media (max-width: 640px) {
  .testimonials-section .section-title-modern {
    white-space: nowrap;
    font-size: 1.7rem !important;
  }
} */

@media (max-width: 640px) {
  .stack-title h2 {
    max-width: 88%;
    margin-left: auto;
    margin-right: auto;
  }
}

/*home page: shorten the width of box*/
@media (max-width: 640px) {
  .hero-description {
    max-width: 88%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .company-details .detail-item p {
    font-size: 1rem;
  }
}

.contact-wrapper {
  align-items: stretch;
}

.company-details,
.contact-form-wrapper {
  height: 100%;
}

@media (max-width: 640px) {
  .footer-section a {
    text-decoration: underline !important;
  }
}

/*we dont just manufacture...*/
@media (max-width: 640px) {
  .why-choose-text {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .hero-buttons-modern {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
  }

  .hero-buttons-modern .btn-modern {
    flex: 1;
    width: 50%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.75rem;
    white-space: nowrap;
    text-align: center;
  }
}

/*about us page*/
@media (max-width: 640px) {
  .about-header-description {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

/*contact us page*/
@media (max-width: 640px) {
  .contact-header-description {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

/*about us text main*/
@media (max-width: 640px) {
  .about-main-text {
    width: 88%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-main-text p {
    line-height: 1.8 !important;
  }
}