/* ========================================
   SRI DURGAI CORE TECH - PREMIUM CSS
   Industrial Manufacturing Website
   ======================================== */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand Colors */
  --primary: #A4C639;
  --primary-dark: #7A9629;
  --primary-light: #b8d44d;
  --primary-glow: rgba(164, 198, 57, 0.3);
  --charcoal: #1A1A1A;
  --charcoal-light: #2a2a2a;
  --charcoal-lighter: #333333;
  --white: #FFFFFF;
  --light-grey: #F5F5F5;
  --mid-grey: #E0E0E0;
  --dark-grey: #666666;
  --text-dark: #1A1A1A;
  --text-muted: #555555;
  --text-light: #888888;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #A4C639, #7A9629);
  --gradient-dark: linear-gradient(135deg, #1A1A1A, #2a2a2a);
  --gradient-hero: linear-gradient(135deg, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.75) 50%, rgba(122,150,41,0.4) 100%);
  --gradient-card: linear-gradient(180deg, rgba(164,198,57,0.08) 0%, rgba(255,255,255,0) 100%);
  
  /* Typography */
  --font-heading: 'Barlow', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;
  
  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.16);
  --shadow-primary: 0 4px 20px rgba(164,198,57,0.3);
  --shadow-primary-lg: 0 8px 40px rgba(164,198,57,0.4);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- CSS Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
  outline: none;
}

/* ---- Utility Classes ---- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--charcoal);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(164,198,57,0.1);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--charcoal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(122, 150, 41, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 0;
  box-shadow: 0 4px 30px rgba(122,150,41,0.25);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo svg {
  height: 44px;
  width: auto;
  transition: all var(--transition-base);
}

.navbar.scrolled .nav-logo svg {
  height: 40px;
}

.nav-logo img {
  height: 45px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.nav-logo-text .brand-tagline {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition-base);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-cta {
  margin-left: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition-base);
}

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

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

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

/* ========================================
   HERO SECTION
   ======================================== */
/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--charcoal);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.8) 50%, rgba(122, 150, 41, 0.35) 100%),
    url('images/hero-bg.png');
  background-size: 100% 100%, 24px 24px, 48px 48px, 48px 48px, cover, cover;
  background-position: center, center, center, center, center, center;
  background-attachment: scroll, scroll, scroll, scroll, scroll, fixed;
}

.hero-bg {
  display: none;
}

.hero-bg img {
  display: none;
}

.hero-overlay {
  display: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.25;
  animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.25; }
  90% { opacity: 0.25; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  padding: 160px 24px 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease forwards;
  font-family: var(--font-tech);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  text-align: center;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
  max-width: 100%;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-title .highlight {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  background: none;
  font-weight: 900;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: center;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.hero-stat {
  text-align: center;
  padding: 24px 20px;
  background: rgba(26, 26, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all var(--transition-bounce);
}

.hero-stat:hover {
  background: rgba(164, 198, 57, 0.08);
  border-color: rgba(164, 198, 57, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-primary);
}

.hero-stat .stat-number {
  font-family: var(--font-tech);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-stat .stat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Media Queries for Hero Redesign */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
  .hero-content {
    padding: 120px 20px 60px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 320px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
  }
  .hero-buttons .btn {
    width: 100%;
  }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  padding: var(--section-padding);
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gradient-primary);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about-image-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1;
}

.about-image-badge .badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content .section-label {
  justify-content: flex-start;
}

.about-content .section-label::before {
  display: none;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--light-grey);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.about-feature:hover {
  background: rgba(164,198,57,0.1);
  transform: translateX(4px);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 18px;
  height: 18px;
  color: var(--charcoal);
}

.about-feature span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products {
  padding: var(--section-padding);
  background: var(--light-grey);
}

.products-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 32px;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.products-grid::-webkit-scrollbar {
  height: 5px;
}

.products-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.products-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  flex: 1 1 calc(33.333% - 22px);
  min-width: 270px;
  scroll-snap-align: start;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,26,26,0.7) 0%, transparent 60%);
}

.product-card-number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal);
}

.product-card-body {
  padding: 28px;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.product-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-card-benefits {
  margin-bottom: 24px;
}

.product-card-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dark);
  padding: 6px 0;
}

.product-card-benefits li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ---- Product Badge ---- */
.product-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--gradient-primary);
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(164,198,57,0.4);
}

/* ---- Product Tags ---- */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.product-tag {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(164,198,57,0.1);
  border: 1px solid rgba(164,198,57,0.3);
  padding: 4px 12px;
  border-radius: 50px;
}

/* ---- Product Specs Table ---- */
.product-specs {
  background: var(--light-grey);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
  border-left: 3px solid var(--primary);
}

.product-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--charcoal);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ========================================
   FLOWCHART (Process Section)
   ======================================== */
.flowchart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 50px;
  padding: 40px 0;
  row-gap: 24px;
}

.flowchart-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 140px;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  transition: all var(--transition-bounce);
  animation: flowchartPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes flowchartPop {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.flowchart.active .flowchart-step {
  animation-play-state: running;
}

.flowchart-step:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-primary);
}

.flowchart-step-icon {
  width: 56px;
  height: 56px;
  background: rgba(164,198,57,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.flowchart-step:hover .flowchart-step-icon {
  background: var(--gradient-primary);
}

.flowchart-step-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
  transition: var(--transition-base);
}

.flowchart-step:hover .flowchart-step-icon svg {
  color: var(--charcoal);
}

.flowchart-step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--charcoal);
  box-shadow: var(--shadow-primary);
  border: 2px solid var(--light-grey);
}

.flowchart-step-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

.flowchart-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  opacity: 0.4;
  flex-shrink: 0;
}

.flowchart-arrow svg {
  width: 22px;
  height: 22px;
  color: var(--primary-dark);
}

.flowchart-cta {
  text-align: center;
}

.flowchart-cta-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   GALLERY SLIDESHOW
   ======================================== */
.gallery-slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 40px;
  background: var(--charcoal);
  aspect-ratio: 16 / 7;
}

.gallery-slides-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 28px;
  background: linear-gradient(0deg, rgba(26,26,26,0.85) 0%, transparent 100%);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 5;
  backdrop-filter: blur(8px);
}

.slide-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.slide-nav svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.slide-prev { left: 16px; }
.slide-next { right: 16px; }

.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.slide-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 10px;
}

.gallery-cta {
  text-align: center;
  margin-top: 8px;
}

.gallery-cta-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .gallery-slideshow {
    aspect-ratio: 4 / 3;
  }
  .slide-nav {
    width: 38px;
    height: 38px;
  }
  .gallery-slide-caption {
    font-size: 0.85rem;
    padding: 14px 16px;
  }
}

@media (max-width: 900px) {
  .flowchart {
    gap: 0;
    row-gap: 16px;
  }
  .flowchart-step {
    min-width: 110px;
    padding: 22px 12px;
  }
  .flowchart-step-label {
    font-size: 0.74rem;
  }
  .flowchart-arrow {
    padding: 0 2px;
  }
}

@media (max-width: 600px) {
  .flowchart {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 0;
  }
  .flowchart-step {
    min-width: unset;
    flex-direction: row;
    text-align: left;
    gap: 16px;
    padding: 18px 20px;
  }
  .flowchart-step-num {
    position: static;
    transform: none;
    flex-shrink: 0;
  }
  .flowchart-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
    align-self: center;
  }
  .flowchart-step-label {
    font-size: 0.9rem;
  }
}

/* ========================================
   INDUSTRIES SECTION
   ======================================== */
.industries {
  padding: var(--section-padding);
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.industries::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(164,198,57,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.industries .section-title {
  color: var(--white);
}

.industries .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.industry-card:hover::before {
  transform: scaleX(1);
}

.industry-card:hover {
  background: rgba(164,198,57,0.08);
  border-color: rgba(164,198,57,0.2);
  transform: translateY(-5px);
}

.industry-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(164,198,57,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition-base);
}

.industry-card:hover .industry-card-icon {
  background: var(--gradient-primary);
}

.industry-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: var(--transition-base);
}

.industry-card:hover .industry-card-icon svg {
  color: var(--charcoal);
}

.industry-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.why-choose {
  padding: var(--section-padding);
  background: var(--white);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--mid-grey);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
  transform: translateY(-6px);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  background: var(--light-grey);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition-base);
}

.why-card:hover .why-card-icon {
  background: var(--gradient-primary);
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: var(--transition-base);
}

.why-card:hover .why-card-icon svg {
  color: var(--charcoal);
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.why-card-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   MANUFACTURING PROCESS
   ======================================== */
.process {
  padding: var(--section-padding);
  background: var(--light-grey);
}

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--mid-grey);
  border-radius: 3px;
}

.process-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
}

.process-item:last-child {
  margin-bottom: 0;
}

.process-item:nth-child(odd) {
  flex-direction: row;
}

.process-item:nth-child(even) {
  flex-direction: row-reverse;
}

.process-item-content {
  flex: 1;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.process-item:nth-child(odd) .process-item-content {
  text-align: right;
}

.process-item:nth-child(even) .process-item-content {
  text-align: left;
}

.process-item-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.process-item-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  box-shadow: var(--shadow-primary);
  z-index: 2;
  border: 4px solid var(--light-grey);
}

.process-item-icon {
  margin-bottom: 12px;
}

.process-item-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.process-item:nth-child(odd) .process-item-icon {
  display: flex;
  justify-content: flex-end;
}

.process-item-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.process-item-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================
   QUALITY ASSURANCE
   ======================================== */
.quality {
  padding: var(--section-padding);
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.quality::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(164,198,57,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.quality .section-title {
  color: var(--white);
}

.quality .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.quality-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition-base);
}

.quality-card:hover {
  background: rgba(164,198,57,0.08);
  border-color: rgba(164,198,57,0.2);
  transform: translateY(-4px);
}

.quality-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(164,198,57,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.quality-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.quality-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.quality-card-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.quality-certifications {
  text-align: center;
  padding: 40px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
}

.quality-cert-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.quality-cert-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
  padding: var(--section-padding);
  background: var(--white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--light-grey);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-base);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--gradient-primary);
  color: var(--charcoal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin-bottom: 8px;
}

.gallery-item-overlay span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.lightbox-close:hover {
  background: var(--primary);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.lightbox-nav:hover {
  background: var(--primary);
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ========================================
   QUOTE SECTION
   ======================================== */
.quote-section {
  padding: var(--section-padding);
  background: var(--light-grey);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.quote-info {
  padding-right: 20px;
}

.quote-info .section-label {
  justify-content: flex-start;
}

.quote-info .section-label::before {
  display: none;
}

.quote-info .section-title {
  text-align: left;
}

.quote-info-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.quote-info-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-info-feature {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-info-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(164,198,57,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quote-info-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.quote-info-feature-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
}

.quote-info-feature-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.quote-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.quote-form-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.quote-form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group label span {
  color: #e74c3c;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--light-grey);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(164,198,57,0.15);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show {
  display: block;
}

.form-success svg {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
  padding: var(--section-padding);
  background: var(--white);
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 48px;
  text-align: center;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.testimonial-stars svg {
  width: 22px;
  height: 22px;
  color: #f4b400;
  fill: #f4b400;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--primary);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
}

.testimonial-author-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}

.testimonial-author-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  background: var(--mid-grey);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-base);
}

.testimonial-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 10px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  padding: var(--section-padding);
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(164,198,57,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.contact .section-title {
  color: var(--white);
}

.contact .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: all var(--transition-base);
}

.contact-card:hover {
  background: rgba(164,198,57,0.08);
  border-color: rgba(164,198,57,0.2);
  transform: translateY(-4px);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(164,198,57,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.contact-card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-card-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.contact-card-text a {
  color: var(--primary);
}

.contact-card-text a:hover {
  text-decoration: underline;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
  position: relative;
}

.map-container {
  width: 100%;
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) contrast(1.05);
}

.map-overlay {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 20px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
  pointer-events: none;
}

.map-overlay * {
  pointer-events: auto;
}

.map-overlay-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-overlay-icon svg {
  width: 20px;
  height: 20px;
  color: var(--charcoal);
}

.map-overlay-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
}

.map-overlay-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--charcoal);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  padding-right: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 42px;
  width: auto;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.7);
  transition: var(--transition-base);
}

.footer-social a:hover svg {
  color: var(--charcoal);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-copyright a {
  color: var(--primary);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-primary);
  cursor: pointer;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-primary-lg);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  color: var(--charcoal);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.whatsapp-float.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-float a {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition-base);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(164,198,57,0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(26,26,26,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 40px;
    transition: right var(--transition-base);
  }

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

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 0;
    width: 100%;
  }

  .nav-link::after {
    bottom: 8px;
    left: 0;
    transform: none;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

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

  .about-grid,
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .industries-grid,
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* ========================================
   MOBILE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 56px 0;
    --container-padding: 0 16px;
  }

  /* --- Typography --- */
  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .section-subtitle {
    font-size: 0.92rem;
  }

  /* --- Hero --- */
  .hero {
    min-height: 75vh !important;
    overflow: visible; /* Prevents overflow clipping */
  }

  .hero-content {
    padding: 90px 16px 40px;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6.5vw, 2.4rem);
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .hero-badge span {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    margin-bottom: 24px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 100%;
  }

  .hero-stat {
    padding: 12px 6px;
  }

  .hero-stat .stat-number {
    font-size: 1.25rem;
  }

  .hero-stat .stat-label {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
  }

  /* --- About --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-image img {
    height: 240px;
  }

  .about-image-badge {
    padding: 12px 16px;
  }

  .about-image-badge .badge-number {
    font-size: 1.6rem;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .about-feature {
    padding: 10px 12px;
  }

  .about-feature span {
    font-size: 0.8rem;
  }

  /* --- Products --- */
  .products-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 16px !important;
    padding: 8px 4px 16px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .products-grid::-webkit-scrollbar {
    height: 5px;
  }

  .products-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
  }

  .products-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }

  .product-card {
    flex: 0 0 270px !important;
    width: 270px !important;
    max-width: 270px !important;
    scroll-snap-align: start !important;
  }

  .product-card-image {
    height: 180px;
  }

  .product-card-body {
    padding: 16px;
  }

  .product-card-footer {
    flex-direction: column;
    gap: 8px;
  }

  .product-card-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Industries --- */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .industry-card {
    padding: 20px 14px;
  }

  .industry-card-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
  }

  .industry-card-title {
    font-size: 0.82rem;
  }

  /* --- Why Choose Us --- */
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .why-card {
    padding: 22px 16px;
  }

  .why-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .why-card-title {
    font-size: 0.9rem;
  }

  .why-card-text {
    font-size: 0.8rem;
  }

  /* --- Process / Flowchart --- */
  .process-timeline::before {
    left: 25px;
  }

  .process-item,
  .process-item:nth-child(odd),
  .process-item:nth-child(even) {
    flex-direction: row;
    gap: 20px;
    padding-left: 56px;
  }

  .process-item-number {
    left: 25px;
    transform: translateX(-50%);
  }

  .process-item-content,
  .process-item:nth-child(odd) .process-item-content,
  .process-item:nth-child(even) .process-item-content {
    text-align: left;
    padding: 18px 20px;
  }

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

  .flowchart-cta-text {
    font-size: 0.9rem;
    padding: 0 8px;
  }

  /* --- Gallery --- */
  .gallery-slideshow {
    aspect-ratio: 4 / 3;
    margin-bottom: 24px;
  }

  .slide-nav {
    width: 36px;
    height: 36px;
  }

  .gallery-slide-caption {
    font-size: 0.8rem;
    padding: 12px 14px;
  }

  /* --- Quote --- */
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .quote-info {
    padding-right: 0;
  }

  .quote-form-card {
    padding: 22px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-buttons {
    flex-direction: column;
  }

  .form-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Quality Grid --- */
  .quality-grid {
    grid-template-columns: 1fr;
  }

  /* --- Contact --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    padding: 22px 18px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Map --- */
  .map-overlay {
    width: calc(100% - 32px);
    left: 16px;
    bottom: 12px;
    padding: 8px 12px;
    transform: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .map-overlay-icon {
    display: none;
  }

  .map-overlay-text p {
    display: none;
  }

  .map-overlay-text h4 {
    font-size: 0.82rem;
    margin: 0;
  }

  .map-overlay .btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .map-container {
    height: 280px;
  }

  /* --- Footer --- */
  .footer {
    padding-top: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    padding-right: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* --- Testimonials --- */
  .testimonial-card {
    padding: 20px 14px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  /* --- Lightbox --- */
  .lightbox {
    padding: 16px;
  }

  /* --- Floating buttons --- */
  .back-to-top {
    bottom: 20px;
    right: 16px;
    width: 42px;
    height: 42px;
  }

  .whatsapp-float {
    bottom: 20px;
    left: 16px;
  }

  .whatsapp-float a {
    width: 48px;
    height: 48px;
  }

  /* --- Reveal Animations on Mobile --- */
  .reveal-left {
    transform: translateX(-20px);
  }
  .reveal-right {
    transform: translateX(20px);
  }
}

/* ========================================
   SMALL MOBILE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
  :root {
    --section-padding: 44px 0;
    --container-padding: 0 14px;
  }

  /* Hero optimization for small mobile */
  .hero {
    overflow: visible;
  }

  .hero-content {
    padding: 80px 12px 24px;
  }

  .hero-badge {
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 0.82rem;
    margin-bottom: 14px;
    line-height: 1.5;
  }

  .hero-buttons {
    margin-bottom: 16px;
    gap: 8px;
  }

  .hero-buttons .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .hero-stat {
    padding: 8px 4px;
  }

  .hero-stat .stat-number {
    font-size: 1.05rem;
  }

  .hero-stat .stat-label {
    font-size: 0.55rem;
  }

  /* Nav: shrink logo text further */
  .nav-logo-text .brand-name {
    font-size: 0.85rem;
  }

  .nav-logo-text .brand-tagline {
    display: none;
  }

  .nav-logo svg {
    height: 36px;
  }

  /* About features: single column on very small screens */
  .about-features {
    grid-template-columns: 1fr;
  }

  /* Industries: 2 col compact */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Why choose: 2 col compact */
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .why-card {
    padding: 16px 12px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Quote form */
  .quote-form-card {
    padding: 18px 14px;
  }

  /* Contact buttons */
  .contact-buttons .btn {
    font-size: 0.85rem;
    padding: 12px 16px;
  }

  /* Section header */
  .section-title {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }

  .section-subtitle {
    font-size: 0.88rem;
  }

  /* Section label lines — hide on tiny */
  .section-label::before,
  .section-label::after {
    width: 18px;
  }

  /* Footer bottom links — wrap */
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  /* Map overlay: single line compact */
  .map-overlay {
    flex-direction: row;
    text-align: left;
    padding: 6px 10px;
    gap: 8px;
    left: 14px;
    width: calc(100% - 28px);
    transform: none;
  }

  .map-container {
    height: 240px;
  }

  /* Flowchart CTA button full width */
  .flowchart-cta .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 14px 16px;
    text-align: center;
  }

  /* Btn-lg sizing on mobile */
  .btn-lg {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  /* Disable horizontal translation on tiny screens to completely prevent overflow */
  .reveal-left,
  .reveal-right {
    transform: translateX(0);
  }
}
