/* ============================================
   MetalForm Enterprise - Main Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary:     #1a3a5c;
  --primary-dark:#0f2540;
  --accent:      #e8820c;
  --accent-dark: #c96b00;
  --steel:       #4a5568;
  --light-steel: #a0aec0;
  --bg-dark:     #0d1b2a;
  --bg-mid:      #1a2a3a;
  --bg-light:    #f4f6f9;
  --white:       #ffffff;
  --text-dark:   #1a202c;
  --text-muted:  #718096;
  --border:      rgba(255,255,255,0.1);
  --shadow:      0 4px 24px rgba(0,0,0,0.18);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.28);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  all 0.3s ease;
  --font-main:   'Rajdhani', 'Segoe UI', sans-serif;
  --font-body:   'Open Sans', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utility ---------- */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--font-main);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p  { color: rgba(255,255,255,0.75); }

.divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,130,12,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
#preloader .loader-logo {
  width: 120px;
  margin-bottom: 28px;
  animation: pulse 1.5s ease-in-out infinite;
}
.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: loadBar 2s ease forwards;
}
@keyframes loadBar { from { width: 0; } to { width: 100%; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
#preloader.hide { opacity: 0; pointer-events: none; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--accent); }
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-item svg { width: 14px; height: 14px; fill: var(--accent); flex-shrink: 0; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(26,58,92,0.97);
  backdrop-filter: blur(10px);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-logo-text {
  font-family: var(--font-main);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.nav-logo-text span { color: var(--accent); display: block; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  position: relative;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
}
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.35);
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,37,64,0.85) 0%, rgba(26,58,92,0.5) 50%, rgba(232,130,12,0.15) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-10vh) translateX(80px); opacity: 0; }
}

.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,130,12,0.15);
  border: 1px solid rgba(232,130,12,0.4);
  color: var(--accent);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease 0.2s both;
}
.hero-badge svg { width: 14px; height: 14px; fill: var(--accent); }
.hero h1 {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease 0.4s both;
}
.hero h1 .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.8;
  animation: fadeInDown 0.8s ease 0.6s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInDown 0.8s ease 0.8s both;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1s both;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-family: var(--font-main);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
  z-index: 2;
}
.hero-scroll svg { width: 20px; height: 20px; fill: none; stroke: rgba(255,255,255,0.5); stroke-width: 2; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ---------- Features Strip ---------- */
.features-strip {
  background: var(--primary);
  padding: 0;
}
.features-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: rgba(255,255,255,0.05); }
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,130,12,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 24px; height: 24px; fill: var(--accent); }
.feature-text h4 {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.feature-text p { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* ---------- About Section ---------- */
.about { background: var(--bg-light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-img-main:hover img { transform: scale(1.04); }
.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-img-badge .big { font-family: var(--font-main); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.about-img-badge .small { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; }

.about-content .tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.about-content h2 {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.97rem;
}
.about-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.about-list li svg { width: 20px; height: 20px; fill: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ---------- Products Section ---------- */
.products { background: var(--white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border: 1px solid #e8ecf0;
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.product-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.product-info { padding: 20px; }
.product-info h3 {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.product-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.spec-tag {
  background: var(--bg-light);
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

/* ---------- Process Section ---------- */
.process {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/process_bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.process .container { position: relative; z-index: 1; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 20px;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: rgba(232,130,12,0.4);
  border-top: 2px dashed rgba(232,130,12,0.4);
}
.step-num {
  width: 72px;
  height: 72px;
  background: rgba(232,130,12,0.12);
  border: 2px solid rgba(232,130,12,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  transition: var(--transition);
}
.process-step:hover .step-num {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: scale(1.1);
}
.process-step h3 {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.process-step p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ---------- Why Choose Us ---------- */
.why-us { background: var(--bg-light); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.why-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.why-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,58,92,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.why-img-caption {
  color: var(--white);
}
.why-img-caption h4 {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.why-img-caption p { font-size: 0.85rem; opacity: 0.8; }

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.why-feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #e8ecf0;
  transition: var(--transition);
}
.why-feature:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(232,130,12,0.12);
  transform: translateY(-4px);
}
.why-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,130,12,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.why-feature-icon svg { width: 24px; height: 24px; fill: var(--accent); }
.why-feature h4 {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.why-feature p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- Stats Section ---------- */
.stats-section {
  background: var(--primary);
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item { padding: 16px; }
.stat-item .stat-num {
  font-family: var(--font-main);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

/* ---------- Gallery Section ---------- */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  min-height: 200px;
}
.gallery-item:first-child img { min-height: 400px; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,58,92,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { width: 40px; height: 40px; fill: var(--white); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-dark); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(232,130,12,0.4);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testimonial-stars svg { width: 18px; height: 18px; fill: var(--accent); }
.testimonial-card blockquote {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.author-info h5 {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.author-info p { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/cta_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.25);
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.85), rgba(15,37,64,0.9));
}
.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact Section ---------- */
.contact { background: var(--bg-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.contact-info p { color: var(--text-muted); margin-bottom: 32px; font-size: 0.95rem; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid #e8ecf0;
  transition: var(--transition);
}
.contact-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(232,130,12,0.1);
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; fill: var(--accent); }
.contact-detail h4 {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-detail p, .contact-detail a {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-detail a:hover { color: var(--accent); }

.contact-map {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e8ecf0;
}
.contact-map iframe {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid #e8ecf0;
}
.contact-form-wrap h3 {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.contact-form-wrap p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(232,130,12,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; cursor: pointer; }

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,130,12,0.3);
}
.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.form-submit svg { width: 20px; height: 20px; fill: var(--white); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--accent); }
.social-link svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.8); }
.social-link:hover svg { fill: var(--white); }

.footer-col h4 {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a svg { width: 14px; height: 14px; fill: var(--accent); flex-shrink: 0; }

.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: var(--accent); }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
  box-shadow: 0 4px 16px rgba(232,130,12,0.4);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-4px); }
.back-to-top svg { width: 22px; height: 22px; fill: var(--white); }

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

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--accent); }
.lightbox-close svg { width: 22px; height: 22px; fill: var(--white); }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* ---------- Tablet Large (≤1100px) ---------- */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-strip .container { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: none; }
  .feature-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.1); }
  .feature-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); border-right: none; }
}

/* ---------- Tablet (≤900px) ---------- */
@media (max-width: 900px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-badge { bottom: -16px; right: 16px; }
  .about-img-main img { height: 320px; }
  .why-img img { height: 340px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .hero-stats { gap: 20px; }
}

/* ---------- Mobile (≤768px) ---------- */
@media (max-width: 768px) {

  /* ---- Top Bar ---- */
  .top-bar { display: none; }

  /* ---- Navbar ---- */
  .navbar .container {
    height: 64px;
    padding: 0 16px;
  }

  /* ---- Logo ---- */
  .nav-logo {
    gap: 8px;
    flex: 1;
    min-width: 0;
  }
  .nav-logo img {
    height: 36px;
    width: auto;
    flex-shrink: 0;
  }
  .nav-logo-text {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-logo-text span {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  /* ---- Hamburger ---- */
  .hamburger {
    display: flex;
    flex-shrink: 0;
    margin-left: 12px;
    padding: 6px;
  }

  /* ---- Mobile Menu Panel ---- */
  .nav-menu {
    position: fixed;
    top: 64px;           /* matches new navbar height */
    left: 0;
    right: 0;
    width: 100%;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 2px;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    z-index: 999;
    border-top: 2px solid var(--accent);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateY(0);
  }

  /* ---- Nav Links in mobile ---- */
  .nav-link {
    width: 100%;
    display: block;
    padding: 13px 16px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-link::after { display: none; }
  .nav-link:hover,
  .nav-link.active {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    padding-left: 20px;
  }

  /* ---- CTA button in mobile menu ---- */
  .nav-cta {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 13px 16px !important;
    background: var(--accent) !important;
    border-radius: var(--radius) !important;
    border-bottom: none !important;
  }
  .nav-cta:hover {
    background: var(--accent-dark) !important;
    padding-left: 16px !important;
  }

  /* ---- Hero ---- */
  .hero {
    min-height: 100svh;
    padding: 80px 0 60px;
    align-items: flex-start;
    padding-top: 80px;
  }
  .hero .container { padding: 0 20px; }
  .hero-badge { font-size: 0.72rem; padding: 5px 12px; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: 14px; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 13px 24px; }
  .hero-stats {
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hero-stat .num { font-size: 1.6rem; }
  .hero-stat .label { font-size: 0.72rem; }
  .hero-scroll { display: none; }

  /* ---- Features Strip ---- */
  .features-strip .container { grid-template-columns: 1fr 1fr; }
  .feature-item {
    padding: 20px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .feature-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.1); }
  .feature-item:nth-child(3),
  .feature-item:nth-child(4)    { border-bottom: none; }
  .feature-icon { width: 40px; height: 40px; }
  .feature-icon svg { width: 20px; height: 20px; }
  .feature-text h4 { font-size: 0.88rem; }
  .feature-text p  { font-size: 0.73rem; }

  /* ---- About ---- */
  .about-img-main img { height: 260px; }
  .about-img-badge {
    bottom: -12px;
    right: 12px;
    padding: 14px 18px;
  }
  .about-img-badge .big { font-size: 1.8rem; }
  .about-img-badge .small { font-size: 0.7rem; }

  /* ---- Products ---- */
  .products-grid { grid-template-columns: 1fr; }
  .product-img { height: 200px; }

  /* ---- Process ---- */
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-step::after { display: none !important; }
  .step-num { width: 60px; height: 60px; font-size: 1.3rem; }

  /* ---- Why Us ---- */
  .why-features { grid-template-columns: 1fr; }
  .why-img img { height: 260px; }

  /* ---- Stats ---- */
  .stats-section { padding: 50px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-item .stat-num { font-size: 2.2rem; }

  /* ---- Gallery ---- */
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-item img { min-height: 160px; }
  .gallery-item:first-child img { min-height: 200px; }

  /* ---- Testimonials ---- */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* ---- CTA ---- */
  .cta-section { padding: 70px 0; }
  .cta-section h2 { font-size: 1.7rem; }
  .cta-actions { flex-direction: column; align-items: center; gap: 12px; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* ---- Contact ---- */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-item { padding: 16px; }
  .contact-icon { width: 42px; height: 42px; }

  /* ---- Footer ---- */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 50px 0 0; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* ---- Section spacing ---- */
  .section-pad { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section-header p { font-size: 0.92rem; }

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

/* ---------- Small Mobile (≤480px) ---------- */
@media (max-width: 480px) {
  .navbar .container { height: 60px; padding: 0 14px; }
  .nav-logo img { height: 32px; }
  .nav-logo-text { font-size: 1rem; }
  .nav-menu { top: 60px; max-height: calc(100vh - 60px); }

  .hero h1 { font-size: 1.75rem; }
  .hero-badge { font-size: 0.68rem; }
  .hero-stats { gap: 12px; }
  .hero-stat .num { font-size: 1.4rem; }

  .features-strip .container { grid-template-columns: 1fr; }
  .feature-item { border-right: none !important; }
  .feature-item:nth-child(4) { border-bottom: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item .stat-num { font-size: 1.9rem; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }

  .contact-form-wrap { padding: 20px 16px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; } /* prevent iOS zoom */

  .footer-grid { gap: 24px; }

  .section-pad { padding: 48px 0; }
  .container { padding: 0 16px; }
}

/* ---------- Extra Small (≤360px) ---------- */
@media (max-width: 360px) {
  .navbar .container { height: 56px; padding: 0 12px; }
  .nav-logo img { height: 28px; }
  .nav-logo-text { font-size: 0.9rem; }
  .nav-menu { top: 56px; max-height: calc(100vh - 56px); }
  .hero h1 { font-size: 1.55rem; }
  .hero-stat .num { font-size: 1.3rem; }
  .stat-item .stat-num { font-size: 1.7rem; }
  .container { padding: 0 12px; }
}
