/* ============================================================
   AZIZ PACKAGING LIMITED — styles.css
   Brand colours from logo:
     Navy  #173672 | Teal #00AEEF | Green #8DC63F | Red #D42B1E
   ============================================================ */

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

:root {
  --blue:          #173672;   /* logo wing navy */
  --blue-dark:     #0F2550;
  --blue-mid:      #2660A8;
  --blue-light:    #CCE4F7;
  --orange:        #00AEEF;   /* brand teal/cyan — primary accent */
  --orange-hover:  #0099D5;
  --orange-light:  #E0F4FD;
  --brand-red:     #D42B1E;   /* "Limited" red */
  --brand-green:   #8DC63F;   /* "P" green */
  --white:         #ffffff;
  --gray-50:       #f8fafc;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-400:      #94a3b8;
  --gray-600:      #475569;
  --gray-900:      #0f172a;
  --green:         #22c55e;

  --font-body:    'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:   0 2px 8px rgba(23,54,114,0.08);
  --shadow-card: 0 8px 32px rgba(23,54,114,0.10);
  --shadow-hover:0 20px 56px rgba(23,54,114,0.18);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--gray-900); }
p { color: var(--gray-600); }

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}
.section-alt {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.highlight {
  color: var(--orange);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.body-text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,174,239,0.35);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { left: -100%; }
  40%  { left: 160%; }
  100% { left: 160%; }
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,174,239,0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #25d366;
  color: var(--white);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 8px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}


/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
  background: transparent;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(11,60,93,0.10);
}
/* On mobile, always show a solid background so hamburger/logo are legible */
@media (max-width: 768px) {
  #navbar {
    background: var(--blue);
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  }
  #navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(11,60,93,0.12);
  }
  #navbar.scrolled .logo-text { color: var(--blue); }
  #navbar.scrolled .hamburger span { background: var(--blue); }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #00AEEF 0%, #173672 100%);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,174,239,0.40);
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.2;
  transition: color var(--transition);
}
.logo-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0.8;
}
#navbar.scrolled .logo-text { color: var(--blue); }
#navbar.scrolled .nav-link  { color: var(--gray-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: all var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--orange);
  background: rgba(249,115,22,0.1);
}
#navbar.scrolled .nav-link {
  color: var(--gray-600);
}
#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active {
  color: var(--orange);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 22px;
  font-size: 0.88rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--blue); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  background: var(--blue);
  display: flex;
  align-items: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

/* Diagonal brand stripe */
#hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 2;
}

/* Two-column hero layout */
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  /* text lives inside hero-inner now */
}

/* 3D Cone container */
.hero-3d {
  position: relative;
  height: 100%;
  min-height: 460px;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#coneCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}
#coneCanvas:active { cursor: grabbing; }

.cone-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 1s ease;
}
.cone-hint.hidden { opacity: 0; }

.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero-gradient {
  background: linear-gradient(120deg, #00AEEF 0%, #8DC63F 50%, #00AEEF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: gradientShift 5s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.scroll-down {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.55);
  animation: bounce 2.2s ease-in-out infinite;
  transition: color var(--transition);
}
.scroll-down:hover { color: var(--orange); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-heading {
  margin-bottom: 20px;
}

.about-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}
.about-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.about-badge:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.about-badge svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-badge strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 2px;
}
.about-badge span {
  font-size: 0.83rem;
  color: var(--gray-600);
}

/* About visual / stat card */
.about-visual {
  display: flex;
  justify-content: center;
}
.about-stat-card {
  background: var(--blue);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  color: var(--white);
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}
.about-stat-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,174,239,0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.stat-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
}
.stat-ring svg { width: 100%; height: 100%; }
.ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.ring-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
  margin-top: 3px;
  line-height: 1.2;
}

.about-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.mini-stat {
  text-align: center;
}
.mini-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
}
.mini-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.3;
}


/* ============================================================
   PRODUCTS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  will-change: transform;
  border-top: 4px solid var(--orange);
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(0,174,239,0.08), transparent 70%);
  border-radius: 0 var(--radius-lg) 0 100%;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: transparent;
  border-top-color: var(--orange);
}

.product-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.product-badge.popular {
  background: var(--orange);
  color: var(--white);
}
.product-badge.precision {
  background: var(--blue);
  color: var(--white);
}

.product-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.product-icon {
  width: 80px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(11,60,93,0.2));
}
.product-title-block {
  padding-top: 4px;
}
.product-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.product-tagline {
  font-size: 0.88rem;
  color: var(--gray-600);
}

.product-specs h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}
.specs-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.88rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row dt {
  color: var(--gray-600);
  font-weight: 400;
}
.spec-row dd {
  color: var(--gray-900);
  font-weight: 500;
  text-align: right;
}
.spec-row dd strong {
  color: var(--orange);
  font-size: 1rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tag {
  padding: 5px 12px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
}

.product-cta {
  width: 100%;
  justify-content: center;
}

.products-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-600);
  padding: 14px 20px;
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius);
  max-width: 540px;
  margin: 0 auto;
}
.products-note svg { color: var(--blue); flex-shrink: 0; }


/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--orange);
  transition: width var(--transition);
  border-radius: 0 0 0 var(--radius-lg);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.why-card:hover::after { width: 100%; }

.why-icon {
  width: 52px; height: 52px;
  background: var(--orange-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  transition: all var(--transition);
}
.why-card:hover .why-icon {
  background: var(--orange);
  color: var(--white);
  animation: iconBounce 0.5s ease;
}
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  30%  { transform: translateY(-6px); }
  60%  { transform: translateY(-2px); }
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--gray-600);
}


/* ============================================================
   PRODUCTION PROCESS
   ============================================================ */
.process-track {
  position: relative;
  padding-top: 16px;
}

.process-line {
  position: absolute;
  top: 52px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 4px;
  z-index: 0;
  pointer-events: none;
}
.process-line svg {
  width: 100%;
  height: 4px;
  overflow: visible;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.process-step {
  text-align: center;
  padding: 0 12px;
}

.step-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 8px;
}

.step-icon {
  width: 56px; height: 56px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.process-step.visible .step-icon {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}

.process-step h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.6;
}


/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--blue-light);
}

.industry-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.industry-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}
.industry-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}


/* ============================================================
   TRUST BAND
   ============================================================ */
.trust-band {
  background: var(--blue);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.trust-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 30px,
    rgba(255,255,255,0.02) 30px,
    rgba(255,255,255,0.02) 60px
  );
}
.trust-band::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,174,239,0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.trust-stat {
  text-align: center;
  padding: 24px;
}

.trust-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}

.trust-label {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-heading {
  margin-bottom: 16px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 40px; height: 40px;
  background: var(--orange-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-item span {
  font-size: 0.92rem;
  color: var(--gray-600);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: 0.01em;
}
.required { color: var(--orange); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--gray-900);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.field-error {
  font-size: 0.78rem;
  color: #ef4444;
  min-height: 16px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-400);
  justify-content: center;
}
.form-note svg { color: var(--gray-400); }

/* Form success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success svg {
  color: var(--green);
  margin: 0 auto 20px;
  animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.form-success h3 {
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.form-success p {
  color: var(--gray-600);
  font-size: 0.95rem;
}


/* ============================================================
   MD INTRODUCTION
   ============================================================ */
.md-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.md-video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--gray-900);
  box-shadow: var(--shadow-hover);
}
.md-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 2;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  transition: opacity 0.4s ease;
}
.video-placeholder.hidden {
  opacity: 0;
  pointer-events: none;
}
.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.75);
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  width: 80px; height: 80px;
  transition: transform var(--transition);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.12); }
.play-btn svg { width: 100%; height: 100%; }

.md-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}
.md-eyebrow-row .eyebrow {
  margin-bottom: 0;
}
.md-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
  flex-shrink: 0;
}
.md-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.md-title-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: block;
}

.md-profile-links {
  margin-top: 24px;
}
.md-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #0A66C2;
  color: var(--white);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(10,102,194,0.3);
}
.md-social-link:hover {
  background: #0851a0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,102,194,0.4);
}


/* ============================================================
   VIDEO GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gallery-thumb {
  position: relative;
  height: 280px;
  background: var(--blue);
  overflow: hidden;
}
.gallery-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.gallery-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-thumb iframe.visible {
  opacity: 1;
}

.gallery-placeholder {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 54, 114, 0.35);
  cursor: pointer;
  transition: opacity 0.4s ease;
}
.gallery-placeholder.hidden {
  opacity: 0;
  pointer-events: none;
}
.gallery-placeholder svg {
  opacity: 0.7;
  transition: all var(--transition);
}
.gallery-card:hover .gallery-placeholder svg {
  opacity: 1;
  transform: scale(1.15);
}

.gallery-info {
  padding: 20px 24px;
}
.gallery-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 6px;
}
.gallery-info p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.gallery-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--gray-600);
}
.gallery-note a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ============================================================
   CONTACT SOCIAL LINKS
   ============================================================ */
.contact-social {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.contact-social-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 12px;
}
.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--white);
  transition: all var(--transition);
}
.social-btn.linkedin {
  background: #0A66C2;
  box-shadow: 0 3px 12px rgba(10,102,194,0.25);
}
.social-btn.linkedin:hover {
  background: #0851a0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,102,194,0.35);
}
.social-btn.facebook {
  background: #1877F2;
  box-shadow: 0 3px 12px rgba(24,119,242,0.25);
}
.social-btn.facebook:hover {
  background: #0c63d4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24,119,242,0.35);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--blue-dark);
  padding: 72px 0 0;
  color: var(--white);
}

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

.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-mark { }

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 14px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
  color: var(--orange);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: var(--orange);
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-list li svg { color: var(--orange); flex-shrink: 0; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}
.footer-seo-text {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.2) !important;
}


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.scale-in {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in-up    { transform: translateY(40px); }
.fade-in-left  { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }
.scale-in      { transform: scale(0.94); }

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delay via CSS variable */
.why-card,
.industry-card,
.process-step,
.trust-stat {
  transition-delay: var(--delay, 0ms);
}
.why-card.fade-in-up,
.industry-card.fade-in-up,
.process-step.fade-in-up,
.trust-stat.fade-in-up {
  transition-delay: var(--delay, 0ms);
}


/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual { display: none; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

/* ============================================================
   RESPONSIVE — 768px (tablet/mobile)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .section { padding: 72px 0; }

  /* Nav */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 16px 24px;
    gap: 4px;
    box-shadow: 0 12px 32px rgba(11,60,93,0.18);
    /* slide up out of view — starts just above its own top position */
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 1001; /* above the navbar */
    align-items: stretch;
    border-top: 3px solid var(--orange);
  }
  .nav-links.open {
    clip-path: inset(0 0 0% 0);
  }
  .nav-link {
    color: var(--gray-700, #374151);
    padding: 13px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--gray-100);
    font-weight: 500;
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-link:hover, .nav-link.active {
    background: var(--orange-light);
    color: var(--orange);
  }
  .nav-cta { display: none; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; padding: 100px 20px 60px; }
  .hero-3d { display: none; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  #hero::after { height: 40px; }

  /* MD intro */
  .md-grid { grid-template-columns: 1fr; gap: 40px; }

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

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

  /* Why */
  .why-grid { grid-template-columns: 1fr 1fr; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-line { display: none; }

  /* Industries */
  .industries-grid { grid-template-columns: 1fr 1fr; }

  /* Trust */
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

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

/* ============================================================
   RESPONSIVE — 480px (small mobile)
   ============================================================ */
@media (max-width: 480px) {
  .why-grid      { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .trust-grid    { grid-template-columns: 1fr 1fr; }
  .hero-badges   { flex-direction: column; align-items: flex-start; }

  .product-card { padding: 24px 20px; }
  .section-header { margin-bottom: 40px; }
}


/* ============================================================
   MISC UTILITIES
   ============================================================ */
[hidden] { display: none !important; }

::selection {
  background: rgba(249,115,22,0.2);
  color: var(--blue);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
