/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background-color: #a52714;
  color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #0D0D0D;
  --accent: #8B1A1A;
  --accent-dark: #5C0F0F;
  --accent-darker: #3D0808;
  --accent-muted: #A84444;
  --accent-light: #F5E6E6;
  --accent-soft: #FBF3F3;
  --accent-glow: rgba(139, 26, 26, 0.12);

  --text: #1C1C1C;
  --text-dark: #111111;
  --text-light: #72726F;
  --text-xlight: #A8A8A4;
  --bg: #FAFAF8;
  --bg-light: #F4F3EF;
  --bg-warm: #EEECE6;
  --card-bg: #FFFFFF;

  --border: #E8E6E0;
  --border-strong: #D1CEC6;
  --overlay: rgba(10, 4, 4, 0.52);

  --footer-bg: #200808;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(139, 26, 26, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(139, 26, 26, 0.10), 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 40px rgba(139, 26, 26, 0.13), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-premium: 0 24px 64px rgba(139, 26, 26, 0.16), 0 8px 24px rgba(0, 0, 0, 0.08);
}


body.dark-mode {
  --primary: #ffffff;
  --accent: #d52b1e;
  --accent-dark: #b82316;
  --accent-darker: #8b1a1a;
  --accent-muted: #c0392b;
  --accent-light: #2d1515;
  --accent-soft: #1a0a0a;
  --accent-glow: rgba(213, 43, 30, 0.2);

  --text: #f5f5f5;
  --text-dark: #ffffff;
  --text-light: #b0b0b0;
  --text-xlight: #707070;

  --bg: #0a0a0a;
  --bg-light: #141414;
  --bg-warm: #1a1a1a;
  --card-bg: #121212;

  --border: #262626;
  --border-strong: #333333;
  --overlay: rgba(0, 0, 0, 0.85);

  --footer-bg: #050505;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.7);
  --shadow-premium: 0 24px 64px rgba(0, 0, 0, 0.8);
}

/* Image readability in dark mode */
body.dark-mode img:not(.logo-img):not(.footer-logo):not(.social-link img):not(.exclude-dark-filter) {
  filter: brightness(0.85) contrast(1.05);
  transition: filter 0.3s ease;
}

body.dark-mode img:not(.logo-img):not(.footer-logo):hover {
  filter: brightness(1) contrast(1);
}

/* ================= BASE ================= */
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading,
.section-title,
.products-title,
.info-header h2,
.solutions-content h2,
.why-card h3,
.career-hero h1,
.contact-hero h1,
.clients-title,
.brand-name,
.menu-toggle span {
  font-family: 'Poppins', sans-serif !important;
}

.section-label,
.products-label,
.info-label,
.clients-label {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600;
  letter-spacing: 1px;
}

img {
  max-width: 100%;
  display: block;
}

/* ================= COMPONENT: PREMIUM HERO LABEL ================= */
.hero-label-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 22px;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-label-premium i {
  font-size: 12px;
  color: #f87171;
}

.highlight-text {
  background: linear-gradient(135deg, #ff8e8e 0%, #f87171 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-label-wrapper {
  margin-bottom: 5px;
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 38px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--accent);
  box-shadow: 0 15px 30px -12px rgba(213, 43, 30, 0.5);
  font-size: 1rem;
}

.btn-primary i {
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateX(5px);
  box-shadow: 0 20px 35px -14px var(--accent);
}

.btn-primary:hover i {
  transform: translateX(5px);
}

/* HEADER & FOOTER CSS has been moved to header.php and footer.php */

/* ===============================================================
   HERO SLIDER
   =============================================================== */

.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  background: #000;
}

/* Shading transition to the next section */
.hero-slider::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(to top, rgba(14, 10, 10, 1) 0%, rgba(14, 10, 10, 0.4) 50%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 6;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.8s;
  z-index: 1;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1.1);
  transition: transform 12s ease;
}

.hero-slide.active .hero-bg {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.25) 45%,
      rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 0 100px 5%;
  z-index: 10;
  pointer-events: none;
}

.hero-content-inner {
  max-width: 850px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.4s, transform 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.4s;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 580px;
  line-height: 1.6;
  opacity: 0;
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(20px);
  transition: opacity 1s ease 0.8s, transform 1s cubic-bezier(0.23, 1, 0.32, 1) 0.8s;
}

.hero-slide.active .hero-content h1,
.hero-slide.active .hero-content p {
  opacity: 1;
  transform: translateY(0);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: #d52b1e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-nav:hover {
  background: #d52b1e;
  color: #fff;
  border-color: #d52b1e;
  box-shadow: 0 6px 20px rgba(213, 43, 30, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.hero-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-prev {
  left: 25px;
}

.hero-next {
  right: 25px;
}


.hero-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.4s ease;
}

.indicator.active {
  background: var(--accent);
  width: 60px;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
    min-height: 480px;
  }

  .hero-content {
    padding-bottom: 70px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 100%;
  }

  .hero-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.85);
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }


  .hero-slider::after {
    height: 160px;
  }
}

/* ===============================================================
   PAGE HERO (STANDARD)
   =============================================================== */

.page-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroKenBurns 12s ease forwards;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1);
  }
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.65) 40%,
      rgba(0, 0, 0, 0.25) 100%);
  z-index: 2;
}

.page-hero-overlay::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, rgba(10, 3, 3, 1) 0%, rgba(10, 3, 3, 0.4) 55%, transparent 100%);
  z-index: 3;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-bottom: 50px;
  padding-top: 60px;
  padding-left: 5%;
  color: #fff;
  text-align: left;
}

.page-hero-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  text-align: left;
}

.page-hero-content p {
  font-size: clamp(0.97rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  line-height: 1.7;
  text-align: left;
  font-family: 'Inter', sans-serif;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.page-breadcrumb .sep {
  opacity: 0.4;
}

@media (max-width: 992px) {
  .page-hero {
    height: 70vh;
    min-height: 480px;
  }
}

@media (max-width: 600px) {
  .page-hero-content {
    padding-bottom: 70px;
  }
}

/* ===============================================================
   COMPANY INTRO
   =============================================================== */

.company-intro {
  padding: 40px 20px;
  /* Desktop spacing lebih lega */
  background: var(--bg-light);
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: center;
}

@media (max-width: 768px) {

  .company-intro {
    padding: 30px 20px;
  }

  .intro-text {
    text-align: left;
  }

  .intro-text h2 {
    font-size: 24px;
    line-height: 1.2;
    text-align: left;
  }

  .intro-text .subtitle {
    font-size: 13px;
    text-align: left;
  }

  .intro-text p {
    font-size: 14px;
    text-align: left;
  }

}

.intro-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}

.intro-text .subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.dark-mode .intro-text h2 {
  color: #ffffff;
}

.intro-text p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 16px;
}

.intro-video {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background: #000;
  aspect-ratio: 16 / 9;
}

.intro-video video,
.intro-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 900px) {
  .intro-container {
    grid-template-columns: 1fr;
  }

  .intro-text {
    text-align: center;
  }
}

.info-link {
  text-decoration: none;
  color: inherit;
  display: block;
}


/* ===============================================================
   SECTION HEADER (UNIVERSAL)
   =============================================================== */

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.7rem;
  }
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===============================================================
   PRODUCTS SECTION – PROJECT SLIDER
   =============================================================== */

.products-section {
  padding: 15px 0 20px;
  background: var(--bg);
  transition: background 0.3s ease;
}

.products-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 35px;
}

.products-label {
  font-family: 'Outfit', sans-serif;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: inline-block;
  background: var(--accent-light);
  padding: 5px 18px;
  border-radius: 40px;
  border: 1px solid rgba(213, 43, 30, 0.15);
}

.products-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.products-title span {
  color: var(--accent);
}

.products-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Slider Container */
.products-slider {
  position: relative;
  height: 450px;
  overflow: hidden;
  width: 100%;
  border-radius: 36px;
  box-shadow: 0 25px 45px -20px rgba(213, 43, 30, 0.25);
  margin: 20px 0 25px;
}

.products-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.products-slide {
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
}

.products-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.products-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  opacity: 0.9;
}

.products-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 90px;
  color: white;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
}

.project-year {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.95rem;
  padding: 6px 24px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 20px -8px rgba(190, 35, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.products-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  color: white !important;
  max-width: 750px;
}

.project-spec {
  font-size: 1.15rem;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 400;
}

/* Navigation Buttons */
.products-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: var(--accent);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 60px;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.products-nav:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-50%) scale(1.07);
  box-shadow: 0 20px 35px -10px var(--accent);
}

.products-prev {
  left: 30px;
}

.products-next {
  right: 30px;
}

body.dark-mode .products-nav {
  background: var(--card-bg);
  color: var(--text);
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.6);
}

body.dark-mode .products-nav:hover {
  background: var(--accent);
  color: white;
}

/* Indicators */
.products-indicators {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
}

.products-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.products-indicators .indicator.active {
  width: 40px;
  background: var(--accent);
  opacity: 1;
  box-shadow: 0 0 12px #ff6b4a;
}

.products-indicators .indicator:hover {
  background: white;
  width: 20px;
}

/* Dark mode overrides */
body.dark-mode .products-section {
  background: var(--bg);
}

body.dark-mode .products-slider {
  box-shadow: 0 25px 45px -20px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 800px) {
  .products-title {
    font-size: 2.2rem;
  }

  .products-content {
    padding: 40px 40px;
  }

  .products-content h3 {
    font-size: 2rem;
  }

  .products-nav {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 600px) {
  .products-slider {
    height: 360px;
    border-radius: 24px;
  }

  .products-content {
    padding: 30px 25px;
  }

  .products-content h3 {
    font-size: 1.6rem;
  }

  .products-prev {
    left: 16px;
  }

  .products-next {
    right: 16px;
  }

  .products-nav {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .products-indicators {
    bottom: 20px;
    gap: 10px;
  }
}

/* ===============================================================
   PRODUCT GALLERY – PREMIUM INDUSTRIAL VERSION
   =============================================================== */

.product-gallery {
  padding: 30px 0 0;
  background: var(--bg-light);
}

/* ===== HEADER ===== */

.gallery-header {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(90deg,
      var(--accent),
      var(--accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== CATEGORY WRAPPER ===== */

.product-category {
  background: var(--card-bg);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 5px;
  border: 1px solid var(--border);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.product-category:hover {
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.15);
}

/* ===== CATEGORY HEADER ===== */

.category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 36px;
  cursor: pointer;
  background: linear-gradient(90deg,
      var(--card-bg),
      rgba(0, 0, 0, 0.02));
  position: relative;
  border: none;
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg,
      var(--accent),
      var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.product-category.active .category-icon {
  transform: scale(1.08);
}

.category-icon svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
  stroke-width: 1.5;
}

.category-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  flex: 1;
}

.category-badge {
  background: linear-gradient(135deg,
      var(--accent),
      var(--accent-dark));
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.category-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-toggle:hover {
  background: var(--accent-dark);
}

.product-category.active .category-toggle {
  transform: rotate(45deg);
}

/* ===== GRID ===== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  padding: 0 36px 36px;
  max-height: 2000px;
  opacity: 1;
  transition: all 0.5s ease;
}

.product-category:not(.active) .product-grid {
  max-height: 0;
  opacity: 0;
  padding: 0 36px;
  overflow: hidden;
}

/* ===== PRODUCT CARD ===== */

.product-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

/* ===== IMAGE ===== */

.product-image {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.15);
}

/* ===== OVERLAY ===== */

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85),
      rgba(0, 0, 0, 0.6),
      transparent);
  opacity: 0;
  transition: all 0.4s ease;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

/* ===== OVERLAY CONTENT ===== */

.overlay-content {
  color: #fff;
  transform: translateY(15px);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.product-card:hover .overlay-content {
  transform: translateY(0);
  opacity: 1;
}

.product-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.4px;
}

.overlay-content h4 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.overlay-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
  opacity: 0.95;
}

.product-specs {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
}

.product-specs span {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 10px;
  border-radius: 8px;
}

.product-specs strong {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 2px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .product-gallery {
    padding: 40px 20px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    padding: 0 0 28px;
    gap: 20px;
  }

  .category-header {
    padding: 22px 20px;
    flex-wrap: wrap;
  }

  .product-image {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .product-image {
    height: 220px;
  }

  .overlay-content h4 {
    font-size: 1.2rem;
  }
}

/* ===============================================================
   CLIENTS SECTION
   =============================================================== */

.clients-section {
  padding: 20px 20px 45px;
  background: var(--bg);
  overflow: hidden;
}

.clients-header {
  text-align: center;
  margin-bottom: 30px;
}

.clients-label {
  font-family: 'Outfit', sans-serif;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 10px;
  display: block;
}

.clients-title {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-top: 8px;
  color: var(--text);
}

.clients-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.clients-track {
  display: flex;
  width: max-content;
  animation: scrollClients 30s linear infinite;
}

.client-logo {
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
}

.client-logo img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(1);
}

body.dark-mode .client-logo {
  background: var(--bg-light);
  border-radius: 12px;
  margin: 0 10px;
}

body.dark-mode .client-logo img {
  filter: none;
  opacity: 1;
  transition: all 0.3s ease;
}

body.dark-mode .client-logo:hover img {
  filter: none;
  opacity: 1;
}

.clients-slider:hover .clients-track {
  animation-play-state: paused;
}

@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


.why-slider-section {
  padding: 0 20px;
  background: linear-gradient(180deg, #f9fafb, #ffffff);
  font-family: "Segoe UI", system-ui, sans-serif;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}

.why-slide {
  min-width: 33.333%;
  padding: 30px;
}

.why-card {
  background: var(--card-bg);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
  border: 1px solid var(--border);
}

.why-card h3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.why-card h3 i {
  font-size: 28px;
  color: var(--accent);
}

.why-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #111827;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.85;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: opacity 0.2s;
}

.slider-btn:hover {
  opacity: 1;
}

.slider-wrapper .prev {
  left: 10px;
}

.slider-wrapper .next {
  right: 10px;
}

.slider-dots {
  text-align: center;
  margin-top: 30px;
}

.slider-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #d1d5db;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots span.active {
  background: #b91c1c;
}

@media (max-width: 900px) {
  .why-slide {
    min-width: 50%;
  }
}

@media (max-width: 600px) {
  .why-slide {
    min-width: 100%;
  }
}

/* FOOTER CSS has been moved to footer.php */

/* ===============================================================
   GLOBAL CTA SECTION
   =============================================================== */

.mfg-cta {
  padding: 100px 0;
  background: #111;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.mfg-cta h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.mfg-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-primary {
  padding: 16px 32px;
  background: var(--accent, #d52b1e);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-dark, #b82316);
  transform: translateY(-3px);
}

.btn-outline-white {
  padding: 16px 32px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-outline-white:hover {
  background: #fff;
  color: #111;
  transform: translateY(-3px);
}

.will-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================================================
   RESPONSIVE: GLOBAL CTA
   =============================================================== */

@media (max-width: 768px) {
  .mfg-cta {
    padding: 70px 0;
    text-align: center;
  }

  .mfg-cta h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .btn-primary,
  .btn-outline-white {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .mfg-cta {
    padding: 50px 0;
  }

  .mfg-cta h2 {
    font-size: 1.8rem;
  }

  .mfg-cta p {
    font-size: 1rem;
  }
}