/* --- Base Reset & Variable Definitions --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

:root {
  --primary-red: #ff3333;
  --dark-red: #cc0000;
  --bg-white: #ffffff;
  --light-gray: #f8f9fa;
  --border-gray: #eaeaea;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  background-color: var(--bg-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* --- Global Button Styles with Micro-interactions --- */
.btn-primary {
  background-color: var(--primary-red);
  color: var(--bg-white);
  border: none;
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--text-dark);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  padding: 12px 26px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-outline:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 51, 51, 0.2);
}

/* --- Header Section --- */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 6%;
  border-bottom: 1px solid var(--border-gray);
  /* position: sticky; */
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  animation: fadeInSlideRight 0.6s ease-out both;
}

.logo span {
  color: var(--primary-red);
}

.nav-links {
  display: flex;
  animation: fadeInSlideLeft 0.6s ease-out both;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  margin: 0 18px;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
  transition: var(--transition-smooth);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition-smooth);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary-red);
}

/* Mobile Toggle Layout Defaults */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
/* --- FIXED & ENHANCED HERO CAROUSEL --- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0 140px 0; /* Clear vertical padding to center items perfectly */
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Background Image Handler with Dark Industrial Overlay */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Replace with your actual background asset path */
  background-image: url("images/industrial-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Dark overlay gradient ensures crisp text contrast */
.hero-bg-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(20, 24, 33, 0.95) 40%,
    rgba(32, 39, 51, 0.8) 100%
  );
}

.carousel-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2; /* Sits cleanly over background image */
}

/* Core Alignment Fix: Active layout state handles centering */
.hero-slide {
  display: none; /* Keeps hidden items completely out of alignment space */
  width: 100%;
}

.hero-slide.active {
  display: flex;
  align-items: center; /* PERFECT VERTICAL ALIGNMENT */
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 550px;
  text-align: left;
}

/* Adjusted typography colors to pop against the dark background image */
.hero-content h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin: 15px 0 0 0;
  line-height: 1.2;
}
.hero-content h2 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-content p {
  color: #e0e6ed;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-content p b {
  color: var(--primary-red); /* Makes materials pop visually */
}

.hero-tag {
  color: var(--primary-red);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-img-placeholder {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  z-index: 3;
}

/* --- HERO BUTTONS CONTAINER & LAYER FIX --- */
.hero-buttons {
  position: relative;
  z-index: 20; /* Forces buttons above all accent shapes or sliding image layers */
  display: flex;
  gap: 16px;
  margin-top: 30px;
  pointer-events: auto; /* Guarantees link elements remain clickable */
}

/* --- VIEW PRODUCTS LIST (PRIMARY BUTTON) --- */
.hero-section .btn-primary {
  display: inline-block;
  background-color: var(--primary-red); /* Industrial Orange */
  color: #ffffff;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--primary-red);
  transition: all 0.3s ease; /* Fluid transition timing for hover */
  cursor: pointer;
}

/* Fixed Hover Action */
.hero-section .btn-primary:hover {
  background-color: var(--primary-red); /* Darkens slightly on hover */
  border-color: var(--primary-red);
  transform: translateY(-2px); /* Subtle creative lift effect */
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

/* --- KNOW MORE (WHITE OUTLINE BUTTON) --- */
.hero-section .btn-outline {
  display: inline-block;
  background-color: transparent;
  color: #ffffff; /* Turned to white for contrast against dark background image */
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid #ffffff; /* Crisp white boundary */
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Know More Hover Action */
.hero-section .btn-outline:hover {
  background-color: #ffffff;
  color: #141821; /* Flips text color to contrast dark slate when filled */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Responsive adjustment for small viewports */
@media (max-width: 800px) {
  .carousel-controls {
    bottom: 3px !important; /* Moves controls closer to the image for better reachability on mobile */
  }
  .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 6%;
    border-bottom: 1px solid var(--border-gray);
    position: sticky !important;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
}
}
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-section .btn-primary,
  .hero-section .btn-outline {
    text-align: center;
    width: 100%;
  }
}

/* Slide Entry Keyframe Core Triggers */
.hero-slide.active h1 {
  animation: slideFadeUp 0.6s ease forwards 0.1s;
}
.hero-slide.active p {
  animation: slideFadeUp 0.6s ease forwards 0.2s;
}
.hero-slide.active .hero-buttons {
  animation: slideFadeUp 0.6s ease forwards 0.3s;
}
.hero-slide.active .hero-image-container {
  animation: scaleFadeIn 0.7s ease forwards;
}

.hero-slide h1,
.hero-slide p,
.hero-slide .hero-buttons {
  opacity: 0;
  transform: translateY(25px);
}
.hero-slide .hero-image-container {
  opacity: 0;
  transform: scale(0.95);
}

/* Carousel Control Trackers */
.carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  width: 90%;
  max-width: 1200px;
  z-index: 10;
}

.control-item {
  background: none;
  border: none;
  outline: none;
  flex: 1;
  text-align: left;
  cursor: pointer;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.control-item.active {
  opacity: 1;
}
.control-num {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 0.8rem;
}
.control-label {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
}

.control-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--primary-red);
}

/* Animation Frames */
@keyframes slideFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Viewports */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0 160px 0;
  }
  .hero-slide.active {
    flex-direction: column-reverse; /* Keeps text stacked elegantly under image on phone viewports */
    text-align: center;
    gap: 30px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .control-label {
    display: none;
  } /* Saves clean spacing parameters across devices */
}

/* --- Partners Section --- */
.partners-section {
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
  padding: 45px 6%;
  background-color: var(--light-gray);
}

.partners-title {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.partners-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-logo {
  font-size: 22px;
  font-weight: 800;
  color: #ccc;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  cursor: default;
}

.partner-logo:hover {
  color: var(--text-dark);
  transform: scale(1.05);
}

.partner-logo span {
  color: var(--primary-red);
}

/* --- Shared Section Formatting --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* --- Products Section --- */
.products-section {
  padding: 120px 6%;
  max-width: 1400px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.d-flex {
  display: flex;
}

.gap-1 {
  gap: 50px;
}

.max-w {
  max-width: 300px;
  border-radius: 10px;
  height: 100%;
}

.mtb-2 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.product-card {
  /* background: var(--bg-white); */
  /* border: 1px solid var(--border-gray); */
  transition: var(--transition-smooth);
  /* cursor: pointer; */
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-red);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.prod-img-placeholder {
  width: 100%;
  /* aspect-ratio: 1.1 / 1;
  background-color: var(--light-gray);
  border-bottom: 1px solid var(--border-gray); */
  position: relative;
  overflow: hidden;
  /* margin-left: 10px; */
}

/* .prod-img-placeholder::after {
  content: "View Product";
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  background-color: var(--primary-red);
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
} */
.prod-img {
  max-width: 150px;
}
.about-logo-img {
  width: 100%;
  height: 100%;
}

.product-card:hover .prod-img-placeholder::after {
  bottom: 0;
}

.prod-info {
  padding: 5px;
  transition: var(--transition-smooth);
  color: #000;
}

.product-card:hover .prod-info h3 {
  color: var(--primary-red);
}

.prod-info h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}

.prod-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.view-product-buttons {
  position: relative;
  z-index: 20; /* Forces buttons above all accent shapes or sliding image layers */
  display: flex;
  gap: 16px;
  margin-top: 30px;
  pointer-events: auto; /* Guarantees link elements remain clickable */
}
.m-auto {
  margin: 0 auto;
}

/* --- About Us Section --- */
.about-section {
  background-color: var(--light-gray);
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
  padding: 120px 6%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-img-placeholder {
  width: 100%;
  /* aspect-ratio: 1.3 / 1;
  background-color: var(--bg-white);
  border: 1px solid var(--border-gray); */
  position: relative;
  transition: var(--transition-smooth);
}

.bg-white {
  background-color: #ffffff !important;
}

.about-img-placeholder::after {
  content: "";
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 97%;
  border: 3px solid var(--primary-red);
  z-index: 1;
  border-radius: 10px;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.about-grid:hover .about-img-placeholder::after {
  top: 10px;
  left: -10px;
}

.section-subtitle {
  color: var(--primary-red);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 12px;
}

.about-content h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* --- Testimonials Section --- */
/* Testimonials Section Styling */
.testimonials-section {
  padding: 60px 20px;
  /* background-color: #f9f9f9; Soft contrast background */
  text-align: center;
}

.testimonials-carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.testimonials-container {
  position: relative;
  min-height: 200px; /* Prevents layout shifting based on text length */
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease-in-out,
    visibility 0.6s ease-in-out;
  z-index: 1;
}

.testimonial-slide.active {
  position: relative; /* Allows the active slide to dictate wrapper height */
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.testimonial-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonials-section .quote {
  font-size: 1.25rem;
  line-height: 1.6;
  font-style: italic;
  color: #333;
  margin-bottom: 20px;
}

.testimonials-section .user-info strong {
  display: block;
  font-size: 1.1rem;
  color: #000;
}

.testimonials-section .user-info span {
  font-size: 0.9rem;
  color: #666;
}

/* Controls & Navigation */
.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.test-nav-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
  padding: 5px 10px;
}

.test-nav-btn:hover {
  color: #000; /* Darkens on hover to match site interactivity styles */
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.test-dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.test-dot.active {
  background-color: #000; /* Active state indicator matching structural font coloring */
}
/* --- Contact Us Section --- */
.contact-section {
  padding: 60px 6% 120px 6%;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border: 1px solid var(--border-gray);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.contact-info {
  padding: 60px;
  background-color: var(--light-gray);
  border-right: 1px solid var(--border-gray);
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 35px;
}

.contact-details p {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.contact-form {
  padding: 60px;
  background-color: var(--bg-white);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border-gray);
  font-size: 15px;
  outline: none;
  background-color: var(--light-gray);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-red);
  background-color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(255, 51, 51, 0.05);
}

.text-sm {
  font-size: 24px !important;
  margin-bottom: 05px !important;
}
.about-img {
  width: 100%;
  max-width: 430px;
}
.about-main-img {
  width: 100%;
}

/* --- Footer Section --- */
.main-footer {
  background-color: var(--light-gray);
  border-top: 1px solid var(--border-gray);
  padding: 70px 6% 30px 6%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-col h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-col ul li a:hover {
  color: var(--primary-red);
  padding-left: 5px;
}

.follow-us {
  display: flex;
  gap: 8px;
}

.social-icon {
  width: 25px;
}
.mb-1 {
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid var(--border-gray);
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Animation Keyframes Layout --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInSlideRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInSlideLeft {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes continuousFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: continuousFloat 5s ease-in-out infinite;
}

/* --- Comprehensive Fluid Responsive Systems --- */
@media (max-width: 1100px) {
  .hero-content h1 {
    font-size: 50px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .about-grid {
    gap: 40px;
  }
}

@media (max-width: 850px) {
  /* Mobile Menu Toggle State Switch */
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .d-flex {
    display: block;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
  }

  .nav-links {
    position: fixed;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    padding: 100px 40px;
    gap: 25px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: none; /* Disable entry overlay default */
    display: none;
  }

  .nav-links.open {
    right: 0;
    top: 0;
    display: flex;
  }

  .nav-links a {
    margin: 0;
    font-size: 18px;
  }

  /* Column Reductions */
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 6%;
    gap: 40px;
  }
  .hero-content p {
    margin: 0 auto 35px auto;
  }
  .hero-buttons {
    justify-content: center;
  }

  .partners-grid {
    justify-content: center;
    gap: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-img-placeholder::after {
    display: none;
  } /* Clear overlay on mobile */

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--border-gray);
    padding: 40px;
  }
  .contact-form {
    padding: 40px;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 38px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .about-content h2 {
    font-size: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .subscribe-form {
    flex-direction: column;
  }
}

/* Produt Page */

/* --- Core Split Layout Container --- */
.showcase-container {
  flex: 1;
  display: grid;
  grid-template-columns: 320px 1fr;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  border-left: 1px solid var(--border-gray);
  border-right: 1px solid var(--border-gray);
}

/* --- Left Side: Sidebar Product List --- */
.product-sidebar {
  border-right: 1px solid var(--border-gray);
  /* background-color: var(--light-gray); */
  padding: 30px 20px;
  overflow-y: auto;
  max-height: calc(100vh - 85px);
  background: linear-gradient(
    135deg,
    rgba(20, 24, 33, 0.95) 40%,
    rgba(32, 39, 51, 0.8) 100%
  );
}

.product-sidebar h2 {
  font-size: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card {
  display: flex;
  align-items: center;
  /* background: var(--bg-white); */
  /* background: linear-gradient(
    135deg,
    rgba(20, 24, 33, 0.95) 40%,
    rgba(32, 39, 51, 0.8) 100%
  ); */

  color: #ffffff;
  padding: 10px 5px;
  border-left: 4px solid transparent;
  /* cursor: pointer; */
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  border-bottom: #e1e1e1 1px dashed;
}

.product-card:hover {
  background-color: #fff5f5;
  color: #cc0000 !important;
}
.product-card.product-text:hover {
  cursor: pointer;
}

.product-card.active {
  border-left-color: var(--primary-red);
  /* background-color: var(--bg-white); */
  font-weight: 700;
}

.product-name {
  font-size: 15px;
  transition: color 0.2s ease;
}

.product-card.active .product-name {
  color: var(--primary-red);
}

/* --- Right Side: Product Details Panel --- */
.product-display {
  padding: 60px;
  transition: opacity 0.15s ease-in-out;
}

.display-layout {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  gap: 50px;
  align-items: center;
}

.main-img-placeholder {
  width: 100%;
  height: 150px;
  background-color: var(--light-gray);
  border: 1px solid var(--border-gray);
  position: relative;
}

.main-img-placeholder::after {
  content: "";
  position: absolute;
  width: 30%;
  height: 30%;
  background-color: var(--primary-red);
  top: 35%;
  left: 35%;
  border-radius: 4px;
}

.badge {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--bg-white);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 8px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

#det-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.display-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 35px;
}

.action-zone {
  border-top: 1px solid var(--border-gray);
  padding-top: 30px;
}

/* about us */
.grid-template-col-auto {
  grid-template-columns: auto !important;
}

/* Features */
/* --- Features Row Flexbox Layout --- */
.features-container {
  display: flex;
  flex-direction: column; /* Positions columns side-by-side */
  justify-content: space-between; /* Spreads out columns evenly */
  gap: 30px; /* Clean spacing gap between the columns */
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 4%;
}

.features-container h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  display: block;
}

.features-grid {
  display: flex;
  gap: 30px;
}

.feature-item {
  flex: 1; /* Forces all 3 columns to take up identical equal width */
  background-color: var(
    --light-gray,
    #f8f9fa
  ); /* Clean fallback block background */
  padding: 30px 25px;
  border-left: 4px solid var(--primary-red, #ff3333); /* Matches the REDSTORE accent theme */
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark, #1a1a1a);
}

.feature-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted, #666666);
}

/* --- Responsive Media Query Adjustment --- */
@media (max-width: 850px) {
  .features-container {
    flex-direction: column; /* Automatically stacks columns vertically on tablets/mobiles */
    gap: 20px; /* Tightens space for smaller screens */
    margin: 25px auto;
  }

  .features-grid {
    display: block;
    gap: 30px;
  }

  .feature-item {
    padding: 20px; /* Slightly smaller internal padding on mobile devices */
  }
}

/* --- Footer --- */
.main-footer {
  /* background-color: var(--light-gray); */
  border-top: 1px solid var(--border-gray);
  padding: 50px 4% 20px 4%;
  margin-top: auto;
  background: linear-gradient(
    135deg,
    rgba(20, 24, 33, 0.95) 40%,
    rgba(32, 39, 51, 0.8) 100%
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-col h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-col p {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-red);
}

.subscribe-form {
  display: flex;
  gap: 5px;
}

.subscribe-form input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border-gray);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-gray);
  font-size: 13px;
  color: #ffffff;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .showcase-container {
    grid-template-columns: 1fr;
  }
  .product-sidebar {
    max-height: 180px;
    border-right: none;
    border-bottom: 1px solid var(--border-gray);
    padding: 20px;
  }
  .product-list {
    flex-direction: row;
    overflow-x: auto;
  }
  .product-card {
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 5px;
    /* white-space: nowrap; */
    display: flex;
    flex-direction: column;
  }
  .prod-img {
    max-width: 100%;
  }
  .product-card.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary-red);
  }
  .display-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-display {
    padding: 30px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

img {
  width: 100%;
}

.max-250 {
  max-width: 250px !important;
}

.whatsapp-float {
  width: 60px;
  height: 60px;
  position: relative;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
}
.whatsapp-fix {
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
}
