/* ==============================================
   ZARAR CHEMICALS — Premium Redesign
   Font: Playfair Display + Inter (Ellipsus-style)
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0a3d5c;
  --primary-dark: #072d44;
  --accent: #e8820c;
  --accent-light: #f59730;
  --white: #ffffff;
  --off-white: #f4f7fa;
  --text-dark: #1a2634;
  --text-gray: #5b6a7a;
  --border: #dde4ed;
  --radius: 5px;
  --container: 1260px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --ease-out: cubic-bezier(0.25, 0.7, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }
.accent { color: var(--accent); }

/* ===== TYPOGRAPHY HELPERS ===== */
.eyebrow {
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,130,12,.3); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-dark-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-dark-outline:hover { background: var(--primary); color: var(--white); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.09);
  transition: box-shadow 0.3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.header-inner .btn-primary { flex-shrink: 0; padding: 9px 20px; font-size: 0.77rem; }
.header-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  background: #25D366;
  color: var(--white);
  border: 1px solid #25D366;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.77rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.header-whatsapp-btn:hover { background: #1ebe57; transform: translateY(-2px); }
.header-whatsapp-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 26px; width: auto; display: block; }
.logo-footer { background: #fff; border-radius: 4px; padding: 8px 14px; display: inline-flex; width: fit-content; margin-bottom: 16px; }
.logo-footer .logo-img { height: 22px; }

/* NAV */
.main-nav { flex: 1; min-width: 0; }
.main-nav > ul { display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; }
.main-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  padding: 7px 11px;
  white-space: nowrap;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: rgba(10,61,92,.06); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 11px; right: 11px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* DROPDOWN */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  min-width: 230px;
  box-shadow: 0 16px 40px rgba(0,0,0,.14);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 6px 6px;
  z-index: 200;
  padding: 6px 0;
  animation: dropFade 0.18s var(--ease-out);
}
@keyframes dropFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--text-dark);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  background: none;
  border-radius: 0;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.dropdown li a:hover { background: var(--off-white); color: var(--primary); padding-left: 26px; }
.dropdown li:last-child a { color: var(--accent); font-weight: 800; border-top: 1px solid var(--border); margin-top: 4px; }
.dropdown li:last-child a:hover { background: rgba(232,130,12,.06); }

/* MOBILE TOGGLE */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== PAGE LOAD ANIMATION ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--primary-dark);
  overflow: hidden;
  color: var(--white);
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%) scale(1.12);
  object-fit: cover;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(7,45,68,.92) 0%, rgba(10,61,92,.80) 50%, rgba(10,61,92,.45) 100%);
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: center;
  padding: 88px 0;
  width: 100%;
}
.eyebrow.hero-eyebrow {
  color: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 16px;
  animation: slideRight 0.7s var(--ease-out) 0.2s both;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.18;
  animation: fadeUp 0.75s var(--ease-out) 0.35s both;
}
.hero-content h1 .accent { color: var(--accent); }
.hero-desc {
  max-width: 500px;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  font-size: 0.96rem;
  line-height: 1.75;
  animation: fadeUp 0.75s var(--ease-out) 0.5s both;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.75s var(--ease-out) 0.65s both;
}

/* HERO CARD */
aside.hero-card {
  background: rgba(7,45,68,.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  border-top: 3px solid var(--accent);
  overflow: hidden;
  animation: fadeIn 1s var(--ease-out) 0.8s both;
}
aside.hero-card ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 22px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  transition: background 0.2s;
}
aside.hero-card ul li:hover { background: rgba(255,255,255,.04); }
aside.hero-card ul li:last-child { border-bottom: none; }
aside.hero-card ul li .icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: rgba(232,130,12,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
aside.hero-card ul li .icon svg { width: 16px; height: 16px; color: var(--accent); }

/* ===== NEWS BAR ===== */
.news-bar {
  background: var(--primary);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 44px;
  border-bottom: 3px solid var(--accent);
}
.news-label {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-ticker { flex: 1; overflow: hidden; display: flex; align-items: center; padding: 0 20px; }
.news-ticker span { font-size: 0.82rem; color: rgba(255,255,255,.8); white-space: nowrap; margin-right: 48px; }
.news-ticker .sep { color: rgba(255,255,255,.3); margin-right: 48px; }
.news-link { flex-shrink: 0; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; color: var(--accent); letter-spacing: 0.06em; padding: 0 20px; white-space: nowrap; transition: color 0.2s; }
.news-link:hover { color: var(--accent-light); }

/* TICKER ANIMATION */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 18s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

/* ===== SOLUTIONS ===== */
.solutions { padding: 80px 0; background: var(--white); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }

.solution-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  border-top: 3px solid transparent;
  background: var(--white);
  transition: box-shadow 0.28s, transform 0.28s, border-color 0.28s, opacity 0.7s var(--ease-out), translate 0.7s var(--ease-out);
  opacity: 0;
  translate: 0 40px;
}
.solution-card.in-view { opacity: 1; translate: 0 0; }
.card-grid .solution-card:nth-child(1) { transition-delay: 0s; }
.card-grid .solution-card:nth-child(2) { transition-delay: 0.1s; }
.card-grid .solution-card:nth-child(3) { transition-delay: 0.2s; }
.card-grid .solution-card:nth-child(4) { transition-delay: 0.3s; }
.solution-card:hover { border-top-color: var(--accent); box-shadow: 0 12px 32px rgba(10,61,92,.1); transform: translateY(-5px); }
.solution-card.in-view:hover { translate: 0 0; transform: translateY(-5px); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(10,61,92,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease-spring), background 0.3s;
}
.solution-card:hover .card-icon { transform: rotate(-8deg) scale(1.12); background: var(--accent); }
.solution-card:hover .card-icon svg { color: var(--white); }
.card-icon svg { width: 24px; height: 24px; color: var(--primary); transition: color 0.3s; }
.solution-card h3 { font-family: var(--font-display); font-size: 0.98rem; color: var(--primary); margin-bottom: 10px; }
.solution-card p { color: var(--text-gray); font-size: 0.87rem; margin-bottom: 18px; line-height: 1.65; }
.card-link { color: var(--accent); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.2s, letter-spacing 0.2s; }
.card-link:hover { color: var(--accent-light); letter-spacing: 0.08em; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--primary); padding: 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 26px;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background 0.25s;
}
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(255,255,255,.04); }
.stat-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.stat:hover .stat-icon { background: rgba(232,130,12,.2); transform: scale(1.1); }
.stat-icon svg { width: 20px; height: 20px; color: var(--accent); }
.stat div { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; color: var(--accent); line-height: 1; }
.stat span, .stat small { font-family: var(--font-body); font-size: 0.74rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 5px; }
.stat small { font-size: 0.63rem; color: rgba(255,255,255,.5); margin-top: 0; }

/* ===== ABOUT ===== */
.about { padding: 80px 0; background: var(--off-white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 8px 0 18px; }
.about-desc { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 22px; line-height: 1.8; }
.check-list { margin: 18px 0 30px; }
.check-list li {
  padding: 9px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  font-size: 0.89rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.2s;
}
.check-list li:hover { color: var(--primary); }

/* ABOUT VISUAL */
.about-visual { position: relative; }
.plant-illustration {
  border-radius: 10px;
  height: 370px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(7,45,68,.15);
}
.plant-illustration img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.plant-illustration:hover img { transform: scale(1.04); }
.cert-badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--white);
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  max-width: 195px;
  border-left: 4px solid var(--accent);
}
.badge-icon { color: var(--primary); margin-bottom: 8px; display: block; }
.badge-icon svg { width: 22px; height: 22px; }
.cert-badge strong { font-family: var(--font-body); font-size: 0.76rem; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 4px; letter-spacing: 0.03em; }
.cert-badge p { font-size: 0.74rem; color: var(--text-gray); margin-bottom: 8px; line-height: 1.45; }
.cert-badge a { color: var(--accent); font-weight: 700; font-size: 0.76rem; }
.cert-badge a:hover { color: var(--accent-light); }

/* ===== PORTFOLIO ===== */
.portfolio { padding: 80px 0; background: var(--white); }
.portfolio-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; gap: 20px; flex-wrap: wrap; }
.portfolio-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); max-width: 500px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; }
.portfolio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease-spring);
}
.portfolio-item:hover { transform: translateY(-5px); }
.portfolio-item span {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  transition: all 0.25s;
  background: var(--white);
}
.portfolio-item:hover span { background: var(--primary); color: var(--white); box-shadow: 0 6px 18px rgba(10,61,92,.25); }
.portfolio-item span svg { width: 24px; height: 24px; }
.portfolio-item p { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.35; }

/* ===== INDUSTRIES ===== */
.industries { padding: 80px 0 100px; background: var(--white); overflow: hidden; }
.industry-grid { display: flex; align-items: stretch; margin-top: 56px; padding: 0 10px; }
.industry-card {
  position: relative;
  flex: 1;
  height: 330px;
  margin-left: -42px;
  cursor: pointer;
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.industry-card.in-view { opacity: 1; transform: translateX(0); }
.industry-grid .industry-card:nth-child(1) { transition-delay: 0s; }
.industry-grid .industry-card:nth-child(2) { transition-delay: 0.12s; }
.industry-grid .industry-card:nth-child(3) { transition-delay: 0.24s; }
.industry-grid .industry-card:nth-child(4) { transition-delay: 0.36s; }
.industry-card:first-child { margin-left: 0; }
.industry-card .ind-clip {
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  box-shadow: 0 18px 40px rgba(7,45,68,.18);
  z-index: 1;
}
.industry-card .ind-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.industry-card:hover .ind-img { transform: scale(1.08); }
.industry-card .ind-label {
  position: absolute;
  left: -6%; right: 16%; bottom: -26px;
  z-index: 2;
  background: var(--white);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  padding: 26px 30px 22px 44px;
  box-shadow: 0 16px 30px rgba(7,45,68,.14);
  transition: transform 0.3s ease;
}
.industry-card:hover .ind-label { transform: translateY(-6px); }
.industry-card .ind-label span { display: block; font-family: var(--font-body); color: var(--primary); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.35; margin-bottom: 10px; }
.industry-card .ind-more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 800; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; transition: gap 0.2s; }
.industry-card:hover .ind-more { gap: 10px; color: var(--accent-light); }

/* ===== ANGLED DIVIDERS ===== */
.angle-divider { position: relative; z-index: 6; pointer-events: none; height: 56px; margin-top: -56px; }
.angle-divider.sm { height: 34px; margin-top: -34px; }
.angle-divider.lg { height: 74px; margin-top: -74px; }
.angle-divider.flip { transform: scaleX(-1); }
.angle-divider.to-primary { background: var(--primary); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.angle-divider.to-primary-dark { background: var(--primary-dark); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.angle-divider.to-offwhite { background: var(--off-white); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.angle-divider.to-white { background: var(--white); clip-path: polygon(0 100%, 100% 0, 100% 100%); }

/* ===== FOOTER ===== */
.site-footer { background: var(--primary-dark); color: var(--white); padding-top: 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
}
.footer-brand p { color: rgba(255,255,255,.55); font-size: 0.87rem; line-height: 1.75; margin-bottom: 18px; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 18px;
  display: block;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255,255,255,.55); font-size: 0.87rem; transition: color 0.2s, padding-left 0.2s; display: inline-block; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.55);
  font-size: 0.87rem;
  margin-bottom: 14px;
  line-height: 1.55;
}
.contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--accent);
}
.contact-icon svg { width: 100%; height: 100%; display: block; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.22s var(--ease-spring);
}
.socials a:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }
.newsletter-form { display: flex; gap: 0; margin-top: 12px; }
.newsletter-form input {
  flex: 1;
  padding: 10px 13px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 14px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,.4); transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; top: 50%; right: 0; transform: translateY(-50%); z-index: 1500; }
.whatsapp-float a {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--accent);
  color: var(--white);
  border-radius: 8px 0 0 8px;
  box-shadow: -4px 4px 18px rgba(0,0,0,.28);
  transition: all 0.25s var(--ease-spring);
}
.whatsapp-float a:hover { background: #25D366; width: 62px; }
.whatsapp-float svg { width: 26px; height: 26px; flex-shrink: 0; }

/* ===== SCROLL REVEAL UTILITY ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(232,130,12,.35);
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.08s, opacity 0.3s;
  mix-blend-mode: multiply;
}

/* ===== PRODUCTS PAGE ===== */
.products-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 60px 0 44px;
  border-bottom: 4px solid var(--accent);
}
.products-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 10px 0 16px; color: var(--white); }
.products-hero-desc { color: rgba(255,255,255,.72); max-width: 720px; font-size: 0.93rem; line-height: 1.75; }

.cat-cards-section { padding: 60px 0 68px; background: var(--off-white); }
.cat-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 24px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s, opacity 0.7s var(--ease-out), translate 0.7s var(--ease-out);
  border-top: 4px solid transparent;
  opacity: 0;
  translate: 0 40px;
}
.cat-card.in-view { opacity: 1; translate: 0 0; }
.cat-cards-grid .cat-card:nth-child(1) { transition-delay: 0s; }
.cat-cards-grid .cat-card:nth-child(2) { transition-delay: 0.1s; }
.cat-cards-grid .cat-card:nth-child(3) { transition-delay: 0.2s; }
.cat-cards-grid .cat-card:nth-child(4) { transition-delay: 0.3s; }
.cat-card:hover { box-shadow: 0 16px 36px rgba(0,0,0,.09); transform: translateY(-5px); border-top-color: var(--accent); }
.cat-card-icon { width: 50px; height: 50px; border-radius: 50%; background: rgba(10,61,92,.09); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: background 0.3s, transform 0.3s var(--ease-spring); }
.cat-card:hover .cat-card-icon { background: var(--accent); color: var(--white); transform: rotate(-8deg) scale(1.1); }
.cat-card-icon svg { width: 22px; height: 22px; transition: color 0.3s; }
.cat-card:hover .cat-card-icon svg { color: var(--white); }
.cat-card h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 6px; color: var(--primary); }
.cat-card p { color: var(--text-gray); font-size: 0.86rem; margin-bottom: 8px; line-height: 1.6; }
.cat-card-count { font-size: 0.71rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 12px; }
.cat-card-link { color: var(--primary); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; }

/* CAT NAV */
.cat-nav { display: none; position: sticky; top: 68px; z-index: 90; background: var(--primary); border-bottom: 3px solid var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.cat-nav.is-active { display: block; }
.cat-nav-inner { display: flex; gap: 4px; overflow-x: auto; padding: 9px 22px; align-items: center; }
.cat-nav-back { white-space: nowrap; padding: 7px 14px; border-radius: 4px; font-family: var(--font-body); font-weight: 700; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--white); background: var(--accent); border: none; cursor: pointer; margin-right: 8px; transition: background 0.2s; }
.cat-nav-back:hover { background: var(--accent-light); }
.cat-nav a { white-space: nowrap; padding: 7px 13px; border-radius: 4px; font-family: var(--font-body); font-weight: 600; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.03em; color: rgba(255,255,255,.78); transition: all 0.2s; }
.cat-nav a:hover, .cat-nav a.active { background: rgba(255,255,255,.15); color: var(--white); }

/* PRODUCT SECTIONS */
.product-category { padding: 64px 0; background: var(--white); display: none; }
.product-category.is-active { display: block; }
.product-category.alt { background: var(--off-white); }
.category-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 32px; }
.category-num { flex-shrink: 0; width: 52px; height: 52px; border-radius: 6px; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.category-head h2 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 8px; color: var(--primary); }
.category-head p { color: var(--text-gray); font-size: 0.91rem; max-width: 760px; line-height: 1.7; }

/* PRODUCT TABLE */
.product-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.product-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.product-table thead th { background: var(--primary); color: var(--white); text-align: left; padding: 13px 18px; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; font-size: 0.73rem; letter-spacing: 0.06em; white-space: nowrap; }
.product-table tbody td { padding: 12px 18px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-dark); }
.product-table tbody td:first-child { font-weight: 700; color: var(--accent); white-space: nowrap; }
.product-table tbody td:nth-child(2) { font-weight: 600; }
.product-table tbody tr:last-child td { border-bottom: none; }
.product-table tbody tr { transition: background 0.15s; }
.product-table tbody tr:hover { background: var(--off-white); }

/* PRODUCTS CTA */
.products-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 56px 0;
  border-top: 4px solid var(--accent);
}
.products-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.products-cta h2 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; color: var(--white); }
.products-cta .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  border: 1px solid #25D366;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.products-cta .btn-whatsapp:hover { background: #1ebe57; transform: translateY(-2px); }
.products-cta .btn-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }
.products-cta p { color: rgba(255,255,255,.72); font-size: 0.93rem; max-width: 500px; }

/* ===== R&D / QHSE PAGES ===== */
.page-section { padding: 70px 0; background: var(--white); }
.page-section.alt { background: var(--off-white); }
.page-section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.page-section-head h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--primary); margin-bottom: 12px; }
.page-section-head p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.75; }
.page-body-text { max-width: 820px; margin: 0 auto; color: var(--text-gray); font-size: 0.96rem; line-height: 1.85; }
.page-body-text p { margin-bottom: 18px; }
.page-body-text strong { color: var(--primary); }

.mission-quote {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-left: 5px solid var(--accent);
  padding: 40px 48px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,.94);
  line-height: 1.85;
  border-radius: 8px;
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}
.mission-quote::before {
  content: '"';
  position: absolute;
  top: 2px; left: 18px;
  font-size: 3.4rem;
  color: var(--accent);
  font-style: normal;
  opacity: .45;
  line-height: 1;
  font-family: var(--font-display);
}

.trust-bar { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; text-align: center; }
.trust-bar-badge { width: 46px; height: 46px; border-radius: 50%; background: rgba(10,61,92,.09); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.trust-bar-badge svg { width: 22px; height: 22px; }
.trust-bar-text strong { color: var(--primary); font-size: 0.87rem; text-transform: uppercase; letter-spacing: 0.03em; }
.trust-bar-text span { display: block; color: var(--text-gray); font-size: 0.8rem; margin-top: 2px; }

.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.status-done { background: rgba(31,157,85,.12); color: #1f9d55; }
.status-progress { background: rgba(232,130,12,.14); color: var(--accent); }
.status-ongoing { background: rgba(10,61,92,.1); color: var(--primary); }

.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.policy-col { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 32px 30px; border-top: 4px solid var(--accent); }
.policy-col h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--primary); margin-bottom: 20px; }
.policy-col ul li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.87rem; color: var(--text-dark); line-height: 1.55; }
.policy-col ul li:last-child { border-bottom: none; }
.policy-col ul li .tick { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(232,130,12,.14); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.policy-col ul li .tick svg { width: 11px; height: 11px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.tag-chip { background: var(--off-white); border: 1px solid var(--border); color: var(--primary); font-size: 0.78rem; font-weight: 600; padding: 8px 16px; border-radius: 20px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.tag-chip:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 30px 26px; border-top: 4px solid var(--accent); transition: box-shadow 0.25s, transform 0.25s; }
.tech-card:hover { box-shadow: 0 16px 36px rgba(0,0,0,.09); transform: translateY(-5px); }
.tech-card .tech-code { display: inline-block; background: rgba(10,61,92,.08); color: var(--primary); font-size: 0.72rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }
.tech-card h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--primary); margin-bottom: 10px; line-height: 1.35; }
.tech-card p { font-size: 0.87rem; color: var(--text-gray); line-height: 1.7; margin-bottom: 14px; }
.tech-card .tech-spec { font-size: 0.76rem; font-family: var(--font-body); font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.03em; }

.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 28px 26px; text-align: center; transition: box-shadow 0.25s, transform 0.25s; }
.partner-card:hover { box-shadow: 0 16px 36px rgba(0,0,0,.09); transform: translateY(-5px); }
.partner-card .partner-icon { width: 54px; height: 54px; border-radius: 50%; background: rgba(10,61,92,.08); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--primary); }
.partner-card .partner-icon svg { width: 24px; height: 24px; }
.partner-card h4 { font-family: var(--font-display); font-size: 0.96rem; color: var(--primary); margin-bottom: 8px; }
.partner-card p { font-size: 0.83rem; color: var(--text-gray); line-height: 1.65; }
.capability-note { max-width: 820px; margin: 28px auto 0; color: var(--text-gray); font-size: 0.89rem; line-height: 1.75; text-align: center; }

/* ===== GET A QUOTE PAGE ===== */
.quote-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 60px 0;
  border-bottom: 4px solid var(--accent);
  text-align: center;
}
.quote-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 12px; }
.quote-hero p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto; }
.quote-section { padding: 64px 0; background: var(--off-white); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.quote-info h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--primary); margin-bottom: 18px; }
.quote-info-item { display: flex; gap: 14px; margin-bottom: 18px; padding: 15px; background: var(--white); border-radius: 8px; border-left: 4px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: box-shadow 0.2s, transform 0.2s; }
.quote-info-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateX(3px); }
.quote-info-item .icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: rgba(10,61,92,.09); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.quote-info-item .icon svg { width: 18px; height: 18px; }
.quote-info-item .text h4 { font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); margin-bottom: 4px; font-weight: 700; }
.quote-info-item .text p, .quote-info-item .text a { font-size: 0.87rem; color: var(--text-gray); }
.quote-form-box { background: var(--white); border-radius: 10px; padding: 38px; box-shadow: 0 6px 28px rgba(0,0,0,.08); border-top: 4px solid var(--accent); }
.quote-form-box h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-group label { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.89rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--off-white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,61,92,.08);
}
.form-group textarea { resize: vertical; min-height: 105px; }
.form-submit {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.form-submit:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,130,12,.3); }
.form-note { font-size: 0.76rem; color: var(--text-gray); text-align: center; margin-top: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .card-grid, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { flex-wrap: wrap; gap: 60px 0; }
  .industry-card { flex: 0 0 calc(50% - 21px); height: 260px; }
  .industry-card:nth-child(2) { margin-left: -42px; }
  .industry-card:nth-child(3) { margin-left: 0; }
  .cat-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(5, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr 300px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding: 50px 0; }
  .hero-card { display: none; }
  .hero-content h1 { font-size: 2rem; }
  .card-grid, .card-grid-3, .about-inner { grid-template-columns: 1fr; }
  .industry-grid { flex-direction: column; gap: 50px; padding: 0; }
  .industry-card { margin-left: 0 !important; flex: 1 1 auto; height: 240px; }
  .industry-card .ind-label { left: 0; right: 10%; bottom: -22px; padding: 20px 22px 18px 30px; }
  .cat-cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-inner .btn-primary { display: none; }
  .header-whatsapp-btn { display: none; }
  .category-head { flex-direction: column; }
  .quote-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .products-cta-inner { flex-direction: column; align-items: flex-start; }
  .tech-grid, .partner-grid, .policy-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-direction: column; }
  .angle-divider { height: 28px; margin-top: -28px; }
  .angle-divider.sm { height: 18px; margin-top: -18px; }
  .angle-divider.lg { height: 36px; margin-top: -36px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.7rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .stat strong { font-size: 1.5rem; }
  .solutions, .about, .portfolio, .industries { padding: 52px 0; }
  .whatsapp-float a { width: 44px; height: 44px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}

/* ===== TICKER ANIMATION FIX ===== */
.news-ticker { overflow: hidden; flex: 1; }
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  animation: ticker 22s linear infinite;
  gap: 0;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== MOBILE NAV FADEIN ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION TITLE UNDERLINE ACCENT ===== */
.section-title-wrap { text-align: center; margin-bottom: 48px; }
.section-title-wrap .section-title { display: inline-block; }
.section-title-wrap::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ===== PRODUCTS NAV MOBILE FIX ===== */
@media (max-width: 780px) {
  .has-dropdown .dropdown { display: none; position: static; box-shadow: none; border: none; border-left: 3px solid var(--accent); margin-left: 14px; border-radius: 0; padding: 4px 0; }
  .has-dropdown.mob-open .dropdown { display: block; }
  .quote-section .quote-grid { grid-template-columns: 1fr; }
}

/* ==============================================
   NEW PREMIUM EFFECTS & ANIMATIONS — v3 REFRESH
   ============================================== */

/* ── PAGE ENTRANCE FADE ── */
body { animation: pageFadeIn 0.5s ease both; }
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 2000;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% 100%;
  animation: progressShimmer 2.5s linear infinite;
  box-shadow: 0 0 8px rgba(232,130,12,.6);
  transition: width 0.08s linear;
}
@keyframes progressShimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* ── ANIMATED GRADIENT ACCENT TEXT (hero heading highlight) ── */
.hero-content h1 .accent {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-light) 30%, #ffd77a 50%, var(--accent-light) 70%, var(--accent) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
  animation: shineText 5s linear infinite;
}
@keyframes shineText {
  0% { background-position: 0% center; }
  100% { background-position: -250% center; }
}

/* ── BUTTON SHIMMER SWEEP ── */
.btn, .form-submit, .newsletter-form button {
  position: relative;
  overflow: hidden;
}
.btn::before, .form-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.45) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}
.btn:hover::before, .form-submit:hover::before { left: 130%; }

/* ── RIPPLE CLICK EFFECT ── */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(2.6); opacity: 0; }
}

/* ── WHATSAPP FLOAT PULSE ── */
.whatsapp-float a {
  animation: waPulse 2.6s ease-in-out infinite;
}
.whatsapp-float a:hover { animation: none; }
@keyframes waPulse {
  0%, 100% { box-shadow: -4px 4px 18px rgba(0,0,0,.28), 0 0 0 0 rgba(232,130,12,.55); }
  50% { box-shadow: -4px 4px 18px rgba(0,0,0,.28), 0 0 0 10px rgba(232,130,12,0); }
}

/* ── LOGO GENTLE HOVER ── */
.logo-img { transition: transform 0.35s var(--ease-spring), filter 0.35s; }
.logo:hover .logo-img { transform: scale(1.05); }

/* ── GLOWING BORDER ON QUOTE FORM (premium highlight) ── */
.quote-form-box {
  position: relative;
}
.quote-form-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(120deg, var(--accent), var(--primary), var(--accent));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  animation: borderFlow 4s linear infinite;
  pointer-events: none;
  z-index: -1;
}
.quote-form-box:hover::before { opacity: 1; }
@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── FLOATING MICRO-ANIMATION for card icons ── */
.card-icon, .cat-card-icon, .stat-icon, .partner-card .partner-icon {
  animation: iconFloat 3.6s ease-in-out infinite;
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.solution-card:hover .card-icon,
.cat-card:hover .cat-card-icon { animation-play-state: paused; }

/* ── TICK / CHECK LIST ANIMATED IN ── */
.check-list li, .policy-col ul li {
  opacity: 0;
  transform: translateX(-14px);
  animation: fadeSlideIn 0.5s var(--ease-out) forwards;
}
.check-list.in-view li, .policy-col.in-view ul li { opacity: 1; }
@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateX(0); }
}

/* ── GENERIC REVEAL (auto-applied via script to more elements) ── */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.reveal-fade.in-view { opacity: 1; }
.reveal-zoom {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-zoom.in-view { opacity: 1; transform: scale(1); }

/* ── NAV LINK UNDERLINE SWEEP ── */
.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 3px; left: 11px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease-out);
}
.main-nav a:hover::before { width: calc(100% - 22px); }
.main-nav a.active::before { width: 0; }

/* ── STAT NUMBER POP ON REVEAL ── */
.stat strong { display: inline-block; }
.stat.in-view strong { animation: popIn 0.5s var(--ease-spring) both; }
@keyframes popIn {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ── REDUCE MOTION SAFETY ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ===== NEWS LISTING PAGE ===== */
.news-list-section { padding: 64px 0 90px; background: var(--off-white); }
.news-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.news-item-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 28px;
  border-top: 4px solid var(--accent);
  transition: box-shadow 0.28s, transform 0.28s;
  opacity: 0;
  translate: 0 40px;
  transition: box-shadow 0.28s, transform 0.28s, opacity 0.7s var(--ease-out), translate 0.7s var(--ease-out);
}
.news-item-card.in-view { opacity: 1; translate: 0 0; }
.news-list-grid .news-item-card:nth-child(1) { transition-delay: 0s; }
.news-list-grid .news-item-card:nth-child(2) { transition-delay: 0.08s; }
.news-list-grid .news-item-card:nth-child(3) { transition-delay: 0.16s; }
.news-list-grid .news-item-card:nth-child(4) { transition-delay: 0.24s; }
.news-list-grid .news-item-card:nth-child(5) { transition-delay: 0.32s; }
.news-list-grid .news-item-card:nth-child(6) { transition-delay: 0.4s; }
.news-item-card:hover { box-shadow: 0 16px 36px rgba(0,0,0,.09); transform: translateY(-5px); }
.news-item-card .news-date {
  display: inline-block;
  background: rgba(10,61,92,.08);
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.news-item-card h3 { font-family: var(--font-display); font-size: 1.08rem; color: var(--primary); margin-bottom: 10px; line-height: 1.35; }
.news-item-card p { color: var(--text-gray); font-size: 0.89rem; line-height: 1.7; }
@media (max-width: 780px) {
  .news-list-grid { grid-template-columns: 1fr; }
}
