/* ===========================
   NOVALINK - MAIN STYLESHEET
   =========================== */

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

:root {
  --primary: #0a2a6e;
  --primary-dark: #061a4a;
  --accent: #1e6fbf;
  --accent-light: #3a8fd4;
  --gold: #f0a500;
  --gold-light: #ffc94d;
  --white: #ffffff;
  --light-gray: #f4f6fa;
  --medium-gray: #6b7a99;
  --dark: #0d1b2a;
  --text: #2c3e50;
  --border: #e0e6f0;
  --shadow: 0 8px 32px rgba(10, 42, 110, 0.12);
  --shadow-hover: 0 16px 48px rgba(10, 42, 110, 0.22);
  --radius: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 7px 0;
  position: relative;
  z-index: 1001;
  direction: ltr;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left a {
  color: rgba(255,255,255,0.82);
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.top-bar-left a:hover { color: var(--gold); }
.top-bar-left a i { font-size: 0.75rem; }
.top-bar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* ===== CUSTOM LANGUAGE DROPDOWN ===== */
/* direction: ltr keeps this control's internal layout fixed in every language */
.lang-dropdown { position: relative; z-index: 1002; direction: ltr; }
.lang-current {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.92);
  border-radius: 50px;
  padding: 7px 16px 7px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.lang-current:hover, .lang-dropdown.open .lang-current { border-color: var(--gold); color: var(--gold); background: rgba(255,255,255,0.14); }
.lang-current img.lang-flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); }
.lang-current i { font-size: 0.65rem; transition: var(--transition); }
.lang-dropdown.open .lang-current i { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(10,42,110,0.25);
  border: 1px solid var(--border);
  min-width: 200px;
  max-height: 340px;
  overflow-y: auto;
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  direction: ltr;
}
.lang-dropdown.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.lang-menu li:hover { background: var(--light-gray); color: var(--primary); }
.lang-menu li.active { background: linear-gradient(135deg, rgba(10,42,110,0.08), rgba(30,111,191,0.08)); color: var(--primary); font-weight: 700; }
.lang-menu li img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(10,42,110,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(10,42,110,0.18);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
  direction: ltr;
}
.logo {
  display: flex; align-items: baseline; gap: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  color: var(--primary);
  letter-spacing: -0.3px;
  line-height: 1;
}
.logo-nova { font-weight: 500; }
.logo-link { font-weight: 800; }
.footer-brand .logo, .footer .logo { color: white; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links li { position: relative; }
.nav-links a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--light-gray);
  color: var(--primary);
}
.nav-links a i { font-size: 0.7rem; transition: var(--transition); }
.nav-links li:hover > a i { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(10,42,110,0.16);
  min-width: 260px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  border: 1px solid var(--border);
  z-index: 999;
}
.nav-links li:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links li.dd-open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links li.dd-open > a i { transform: rotate(180deg); }
.nav-links a i { cursor: pointer; padding: 4px; margin: -4px; }
.dropdown-menu li a {
  padding: 10px 20px;
  border-radius: 0;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 400;
  display: block;
}
.dropdown-menu li a:hover {
  background: var(--light-gray);
  color: var(--primary);
  padding-left: 26px;
}
.dropdown-cat {
  padding: 6px 20px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-quote {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,42,110,0.3);
}
.btn-search {
  background: var(--light-gray);
  border: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--medium-gray);
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-search:hover { background: var(--border); color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none; border: none; padding: 6px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 680px;
  overflow: hidden;
  display: flex; align-items: center;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(201, 206, 221, 0.85) 0%, rgba(106, 123, 158, 0.6) 45%, rgba(6,26,74,0.4) 75%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  color: white;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  animation: fadeInUp 0.7s 0.1s ease forwards;
}
.hero-badge i { color: var(--gold); }
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
  opacity: 0;
  animation: fadeInUp 0.7s 0.25s ease forwards;
}
.hero h1 .gold-span { color: var(--gold); }
.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  animation: fadeInUp 0.7s 0.4s ease forwards;
}
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.7s 0.55s ease forwards;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
  border: none; cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30,111,191,0.45);
}
.btn-outline-white {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: white;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-white:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}
.hero-stats {
  position: absolute; bottom: 40px; left: 0; right: 0; z-index: 2;
}
.hero-stats .container { display: flex; gap: 0; }
.hero-stat {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.15);
  border-left: none;
  padding: 20px 30px;
  text-align: center;
  color: white;
  flex: 1;
  transition: var(--transition);
  position: relative;
}
.hero-stat:first-child { border-radius: 14px 0 0 14px; border-left: 1px solid rgba(255,255,255,0.15); }
.hero-stat:last-child { border-radius: 0 14px 14px 0; }
.hero-stat:hover { background: rgba(255,255,255,0.2); transform: translateY(-4px); }
.hero-stat h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
}
.hero-stat p { font-size: 0.78rem; opacity: 0.88; margin-top: 3px; letter-spacing: 0.2px; }

/* Scroll-down cue */
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 118px; z-index: 2;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: 1.3rem;
  animation: bounceDown 2.2s infinite;
  pointer-events: none;
}
@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 10px); opacity: 1; }
}
@media (max-width: 860px) {
  .hero-scroll-cue { display: none; }
}

/* ===== SECTION COMMONS ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(10,42,110,0.08), rgba(30,111,191,0.08));
  color: var(--accent);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-label::before, .section-label::after {
  content: '';
  width: 20px; height: 1.5px;
  background: var(--accent);
  opacity: 0.4;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--medium-gray);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== PRODUCTS SECTION ===== */
.products-section { background: var(--light-gray); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(10,42,110,0.06), 0 14px 30px rgba(10,42,110,0.10);
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 18px rgba(10,42,110,0.12), 0 30px 54px rgba(10,42,110,0.24);
  border-color: var(--accent-light);
}
.product-card-img {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
}
.product-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-overlay {
  position: absolute; inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.78;
  transition: var(--transition);
}
.product-card:hover .product-card-overlay { opacity: 0.62; }
/* Icon-style category cards (product PNGs on light background, e.g. homepage categories) */
.product-card-img-icon {
  background: linear-gradient(150deg, #eef1f8 0%, #dfe6f2 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
}
.product-card-img-icon img {
  position: static;
  width: auto; height: 100%; max-width: 94%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(10,42,110,0.18));
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .product-card-img-icon img { transform: scale(1.08) translateY(-4px); }
.product-card-body { padding: 20px; }
.product-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.product-card-body p {
  font-size: 0.83rem;
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 14px;
}
.product-card-body .tag {
  display: inline-block;
  background: var(--light-gray);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin-right: 4px;
  margin-bottom: 4px;
}
.card-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 14px;
  transition: var(--transition);
}
.card-link:hover { color: var(--primary); gap: 10px; }

/* ===== ABOUT STRIP ===== */
.about-strip { background: white; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  height: 420px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,0.15);
  overflow: hidden;
}
.about-img-main img { object-fit: cover; width: 100%; height: 100%; border-radius: 16px; }
.about-img-secondary {
  position: absolute;
  left: -30px; bottom: -36px;
  width: 54%;
  border-radius: 14px;
  overflow: hidden;
  border: 6px solid white;
  box-shadow: 0 20px 44px rgba(10,42,110,0.28);
  z-index: 2;
  transition: var(--transition);
}
.about-img-secondary img { width: 100%; height: 170px; object-fit: cover; display: block; }
.about-visual:hover .about-img-secondary { transform: translateY(-6px); }
.about-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(240,165,0,0.35);
}
.about-badge-float h4 { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.about-badge-float p { font-size: 0.72rem; font-weight: 600; }
.about-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.2;
}
.about-text p { color: var(--medium-gray); line-height: 1.8; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.about-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  background: var(--light-gray);
  border-radius: 10px;
  transition: var(--transition);
}
.about-feature:hover { background: linear-gradient(135deg, rgba(10,42,110,0.06), rgba(30,111,191,0.06)); }
.about-feature-icon {
  width: 38px; height: 38px; min-width: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem;
}
.about-feature-text h4 { font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.about-feature-text p { font-size: 0.78rem; color: var(--medium-gray); margin: 0; }

/* ===== INDUSTRIES ===== */
.industries-section { background: var(--primary); color: white; }
.industries-section .section-label { background: rgba(255,255,255,0.1); color: var(--gold); }
.industries-section .section-label::before, .industries-section .section-label::after { background: var(--gold); }
.industries-section .section-title { color: white; }
.industries-section .section-subtitle { color: rgba(255,255,255,0.7); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.industry-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 28px 18px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.industry-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.3);
}
.industry-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.industry-card h4 { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.92); }

/* ===== GENERIC SLIDER COMPONENT (Industries, Client Logos) ===== */
.slider-wrap { position: relative; display: flex; align-items: center; gap: 12px; }
.slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.industries-grid.slider-track .industry-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 160px;
}
.slider-arrow {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-arrow:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
/* Light variant for sections on a white background (e.g. client logos slider) */
.slider-wrap.slider-light .slider-arrow {
  background: white;
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(10,42,110,0.1);
}
.slider-wrap.slider-light .slider-arrow:hover { background: var(--primary); color: white; border-color: var(--primary); }

.clients-section { background: var(--light-gray); }
.clients-grid { padding-bottom: 8px; }
.client-logo-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 280px;
  height: 210px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(10,42,110,0.08);
  transition: var(--transition);
}
.client-logo-card:hover { box-shadow: 0 16px 34px rgba(10,42,110,0.2); transform: translateY(-6px); }
.client-logo-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.client-logo-card:hover img { transform: scale(1.06); }

.certs-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.certificates-grid {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: certsMarquee 22s linear infinite;
}
.certs-marquee:hover .certificates-grid { animation-play-state: paused; }
@keyframes certsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 10px)); }
}
.certificate-card {
  flex: 0 0 auto;
  width: 240px;
  height: 320px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(10,42,110,0.08);
  transition: var(--transition);
  display: block;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.certificate-card:hover { box-shadow: 0 16px 34px rgba(10,42,110,0.2); transform: translateY(-6px); }
.certificate-card img { width: 100%; height: 100%; object-fit: contain; display: block; background: white; transition: transform 0.5s; }
.certificate-card:hover img { transform: scale(1.05); }
@media (max-width: 768px) {
  .certificate-card { width: 190px; height: 260px; }
}
@media (max-width: 480px) {
  .certificate-card { width: 160px; height: 220px; }
}

/* ===== WHY NOVALINK ===== */
.why-section { background: var(--light-gray); }
.why-content-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }
.why-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10,42,110,0.22);
  min-height: 480px;
}
.why-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.why-visual-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  right: auto;
  max-width: calc(100% - 40px);
  background: rgba(10,42,110,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 14px 20px 14px 14px;
  display: flex; align-items: center; gap: 14px;
  color: white;
  box-shadow: 0 14px 32px rgba(0,0,0,0.3);
}
.why-visual-badge-icon {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 11px;
  background: var(--gold);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.why-visual-badge h4 { font-size: 1.3rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.why-visual-badge p { font-size: 0.76rem; color: rgba(255,255,255,0.85); margin-top: 2px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.about-stat-num { font-size: 2.4rem; font-weight: 800; color: var(--gold); font-family: 'Poppins', sans-serif; }
.about-stat-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 6px; }
.why-card {
  background: white;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 2px 6px rgba(10,42,110,0.05), 0 14px 28px rgba(10,42,110,0.09);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1.5px solid transparent;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--accent-light); }
.why-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 20px;
  transition: var(--transition);
}
.why-card:hover .why-icon { transform: scale(1.1) rotate(5deg); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.why-card p { font-size: 0.85rem; color: var(--medium-gray); line-height: 1.7; }

/* ===== NEWS ===== */
.news-section { background: white; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(10,42,110,0.06), 0 14px 28px rgba(10,42,110,0.10);
  transition: var(--transition);
  border: 1.5px solid var(--border);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent-light); }
.news-img {
  height: 200px;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}
.news-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.news-card:hover .news-img img { transform: scale(1.08); }
.news-date-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold);
  color: var(--dark);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}
.news-body { padding: 22px; }
.news-cat {
  font-size: 0.72rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.8px; margin-bottom: 8px;
}
.news-body h3 { font-size: 0.98rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
.news-body p { font-size: 0.83rem; color: var(--medium-gray); line-height: 1.6; }
.news-meta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--medium-gray);
}

/* ===== CTA STRIP ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="90" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/><circle cx="100" cy="100" r="60" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/></svg>') center/60% no-repeat;
}
.cta-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; margin-bottom: 16px;
}
.cta-section p { opacity: 0.82; font-size: 1rem; max-width: 540px; margin: 0 auto 32px; line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: white; color: var(--primary);
  padding: 13px 30px; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.btn-outline-gold {
  background: transparent; color: var(--gold);
  padding: 13px 30px; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--gold);
  transition: var(--transition); cursor: pointer;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--dark); transform: translateY(-3px); }

/* ===== FOOTER ===== */
.footer { background: var(--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; margin-bottom: 48px; }
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.75; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 0.9rem;
}
.footer-social:hover { background: var(--accent); color: white; transform: translateY(-3px); }
.footer-col h4 {
  font-size: 0.9rem; font-weight: 700; color: white;
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a {
  font-size: 0.83rem; color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul a::before {
  content: '→';
  opacity: 0;
  transition: var(--transition);
  color: var(--accent);
}
.footer-col ul a:hover { color: white; }
.footer-col ul a:hover::before { opacity: 1; }
.footer-contact-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.83rem; margin-bottom: 14px;
}
.footer-contact-item i { color: var(--accent); margin-top: 2px; min-width: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== FLOATING ELEMENTS ===== */
/* direction: ltr locks this UI widget in place regardless of page language/RTL */
.float-sidebar {
  position: fixed;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex; flex-direction: column; gap: 12px;
  direction: ltr;
}
.float-btn {
  display: flex; align-items: center;
  flex-direction: row;
  background: var(--primary);
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1), border-radius 0.35s, box-shadow 0.35s, background 0.35s;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 6px 18px rgba(10,42,110,0.28);
}
.float-btn:hover {
  width: 200px;
  box-shadow: 0 10px 28px rgba(10,42,110,0.4);
  background: var(--accent);
}
.float-btn i {
  min-width: 54px;
  text-align: center;
  font-size: 1.25rem;
  transition: transform 0.35s;
}
.float-btn:hover i { transform: scale(1.1); }
.float-btn span {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s 0.08s, transform 0.25s 0.08s;
  padding-left: 2px;
  padding-right: 14px;
}
.float-btn:hover span { opacity: 1; transform: translateX(0); }
.float-btn.whatsapp { background: #25d366; }
.float-btn.whatsapp:hover { background: #1da851; }
.float-btn.wechat { background: #09b83e; }
.float-btn.wechat:hover { background: #07902f; }
.float-btn.email-btn { background: #ea4335; }
.float-btn.email-btn:hover { background: #c62828; }
.float-btn.phone-btn { background: #1565c0; }
.float-btn.phone-btn:hover { background: #0d47a1; }

/* Tooltip/scanner popup on hover */
.float-btn .qr-popup {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: var(--dark);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  margin-left: 10px;
}
.float-btn:hover .qr-popup { opacity: 1; }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 90px; right: 20px;
  z-index: 900;
  background: #25d366;
  color: white;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  cursor: pointer;
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
  direction: ltr;
}
.whatsapp-fab:hover { transform: scale(1.12); box-shadow: 0 10px 30px rgba(37,211,102,0.6); }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 26px; right: 22px;
  z-index: 900;
  background: var(--primary);
  color: white;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0; pointer-events: none;
  box-shadow: 0 4px 16px rgba(10,42,110,0.35);
  direction: ltr;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--accent); transform: translateY(-4px); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(10,42,110,0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box {
  width: 90%; max-width: 600px;
  background: white;
  border-radius: 16px;
  padding: 30px;
  transform: scale(0.9);
  transition: var(--transition);
}
.search-overlay.active .search-box { transform: scale(1); }
.search-input-wrap { display: flex; gap: 12px; }
.search-input-wrap input {
  flex: 1; border: 2px solid var(--border);
  border-radius: 10px; padding: 12px 18px;
  font-size: 1rem; outline: none;
  transition: var(--transition);
}
.search-input-wrap input:focus { border-color: var(--accent); }
.search-input-wrap button {
  background: var(--primary); color: white;
  border: none; border-radius: 10px;
  padding: 12px 20px; cursor: pointer;
  font-size: 1rem; transition: var(--transition);
}
.search-input-wrap button:hover { background: var(--accent); }
.search-close {
  background: none; border: none;
  font-size: 1.2rem; color: var(--medium-gray);
  cursor: pointer; margin-top: 14px;
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.search-close:hover { color: var(--primary); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: white;
  z-index: 1100;
  padding: 80px 24px 30px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close {
  position: absolute; top: 20px; right: 20px;
  background: var(--light-gray); border: none;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: var(--transition);
}
.mobile-nav-close:hover { background: var(--border); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul li a {
  display: block; padding: 13px 16px;
  border-radius: 10px; font-size: 1rem;
  font-weight: 500; color: var(--text);
  transition: var(--transition);
}
.mobile-nav ul li a:hover { background: var(--light-gray); color: var(--primary); }
.mobile-nav-footer { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.mobile-nav-footer .btn-quote { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

/* Expandable "Products" accordion inside mobile hamburger nav */
.mobile-nav-row { display: flex; align-items: center; justify-content: space-between; border-radius: 10px; }
.mobile-nav-row a { flex: 1; }
.mobile-submenu-toggle {
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--medium-gray); font-size: 0.85rem;
  transition: var(--transition);
}
.mobile-nav-parent.open .mobile-submenu-toggle { transform: rotate(180deg); color: var(--primary); }
.mobile-submenu {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
  display: flex !important; flex-direction: column; gap: 0 !important;
  padding-left: 12px;
}
.mobile-nav-parent.open .mobile-submenu { max-height: 800px; }
.mobile-nav .mobile-submenu li a { padding: 10px 16px; font-size: 0.9rem; font-weight: 400; color: var(--medium-gray); }
.mobile-nav .mobile-submenu li a:hover { color: var(--primary); background: none; }

/* ===== ABOUT PAGE ===== */
.page-hero {
  background: linear-gradient(135deg, rgba(6, 26, 74, 0.88), rgba(20, 80, 160, 0.84)), url('../images/About-Img/imgi_38_CNC-Cutting.jpg') center/cover no-repeat;
  color: white;
  padding: 85px 0 75px;
  position: relative;
  overflow: hidden;
}
.page-hero-about {
  background: linear-gradient(135deg, rgba(3, 16, 48, 0.88), rgba(120, 161, 214, 0.84)), url('../images/About-Img/imgi_67_Door-Panel-Production-Line.jpg') center/cover no-repeat;
}
.page-hero-contact {
  background: linear-gradient(135deg, rgba(6, 26, 74, 0.88), rgba(20, 80, 160, 0.84)), url('../images/Contact/imgi_26_conatct-us.jpg') center/cover no-repeat;
}
.page-hero-products {
  background: linear-gradient(135deg, rgba(6, 26, 74, 0.88), rgba(20, 80, 160, 0.84)), url('../images/product/imgi_44_high-speed-roll-up-door.jpg') center/cover no-repeat;
}
.page-hero-news {
  background: linear-gradient(135deg, rgba(6, 26, 74, 0.88), rgba(20, 80, 160, 0.84)), url('../images/News/imgi_36_111-1.jpg') center/cover no-repeat;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><circle cx="150" cy="150" r="140" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>') center/80% no-repeat;
}
.page-hero-content { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 0.6rem; }
.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; margin-bottom: 14px;
}
.page-hero p { opacity: 0.82; max-width: 580px; line-height: 1.7; }

/* Timeline */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 60px 1fr;
  gap: 20px; align-items: center; margin-bottom: 40px;
}
.timeline-item:nth-child(even) .tl-content:first-child { order: 3; text-align: left; }
.timeline-item:nth-child(even) .tl-dot { order: 2; }
.timeline-item:nth-child(even) .tl-content:last-child { order: 1; text-align: right; }
.tl-dot {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.75rem;
  box-shadow: 0 0 0 6px var(--light-gray);
  margin: 0 auto;
  z-index: 1;
}
.tl-content { padding: 20px 24px; background: var(--light-gray); border-radius: 12px; }
.tl-content h4 { font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.tl-content p { font-size: 0.82rem; color: var(--medium-gray); line-height: 1.6; margin: 0; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.team-card {
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(10,42,110,0.07);
  transition: var(--transition);
  border: 1.5px solid var(--border);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--accent-light); }
.team-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(255,255,255,0.5);
}
.team-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.team-card p { font-size: 0.8rem; color: var(--medium-gray); }

/* ===== PRODUCTS PAGE ===== */
.filter-bar {
  background: white;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 70px;
  z-index: 800;
}
.products-filter {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-select {
  display: none;
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230a2a6e" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 14px center/18px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.filter-select:focus { outline: none; border-color: var(--accent); }
.filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 2fr 1.2fr; gap: 48px; }
.contact-form-wrap {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none; transition: var(--transition);
  color: var(--text);
  background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,111,191,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--light-gray);
  border-radius: 14px; padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: var(--transition);
}
.contact-card:hover { background: white; box-shadow: var(--shadow); }
.contact-card-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
}
.contact-card-text h4 { font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.contact-card-text p, .contact-card-text a {
  font-size: 0.85rem; color: var(--medium-gray);
  line-height: 1.6; transition: var(--transition);
}
.contact-card-text a:hover { color: var(--accent); }

/* ===== NEWS PAGE ===== */
.news-list { display: flex; flex-direction: column; gap: 28px; }
.news-list-card {
  background: white; border-radius: 14px;
  overflow: hidden; border: 1.5px solid var(--border);
  display: grid; grid-template-columns: 280px 1fr;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(10,42,110,0.06);
}
.news-list-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent-light); }
.news-list-img {
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
  min-height: 180px;
}
.news-list-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.news-list-card:hover .news-list-img img { transform: scale(1.06); }
.news-list-body { padding: 28px; }
.news-list-body .news-cat { margin-bottom: 10px; }
.news-list-body h2 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; line-height: 1.4; }
.news-list-body p { font-size: 0.88rem; color: var(--medium-gray); line-height: 1.7; margin-bottom: 18px; }
.news-list-footer {
  display: flex; justify-content: space-between;
  align-items: center;
  font-size: 0.8rem; color: var(--medium-gray);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 36px rgba(37,211,102,0.8), 0 0 0 10px rgba(37,211,102,0.12); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ============================================
   RESPONSIVE — FULL SITE
   Desktop (>1024px) design is unchanged.
   Breakpoints below adapt layout only.
   ============================================ */

/* ---- Large tablets / small laptops ---- */
@media (max-width: 1100px) {
  .container { padding: 0 20px; }
}

@media (max-width: 1024px) {
  .why-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 36px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 32px; }
  .hero-content { max-width: 560px; }
}

/* ---- Tablets ---- */
@media (max-width: 900px) {
  .navbar .container { padding: 0 18px; }
  .top-bar-left { flex-wrap: wrap; row-gap: 4px; }
  .section { padding: 70px 0; }
  .hero-scroll-cue { display: none; }
}

@media (max-width: 860px) {
  .hero-scroll-cue { display: none; }
}

/* ---- Tablets / large phones (landscape) ---- */
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-search { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .filter-bar { padding: 16px 0; }
  .products-filter { display: none; }
  .filter-select { display: block; }

  .slider-arrow { width: 38px; height: 38px; font-size: 0.85rem; }
  .industries-grid.slider-track .industry-card { width: 130px; }
  .client-logo-card { width: 220px; height: 165px; }
  .slider-track { scroll-snap-type: none; }

  .hero { height: auto; min-height: 0; padding: 48px 0 40px; flex-direction: column; align-items: stretch; }
  .hero-video { position: absolute; filter: blur(4px) brightness(1.3) saturate(0.9); }
  .hero-overlay { position: absolute; }
  .hero-content { max-width: 100%; width: 100%; }
  .hero-badge { margin-bottom: 14px; }
  .hero h1 { font-size: 1.7rem; line-height: 1.28; margin-bottom: 12px; }
  .hero p { max-width: 100%; font-size: 0.92rem; line-height: 1.55; margin-bottom: 22px; }
  .hero-btns { gap: 10px; }
  .hero-stats { display: none; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 40px; }
  .about-img-main { height: 280px; }
  .about-badge-float { right: 10px; bottom: auto; top: 14px; left: auto; }
  .about-img-secondary { left: 12px; bottom: -22px; width: 58%; }
  .about-img-secondary img { height: 130px; }
  .about-features { gap: 12px; }

  .news-grid, .why-grid, .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .why-content-grid { grid-template-columns: 1fr; gap: 30px; }
  .why-visual { min-height: 280px; }
  .why-visual-badge {
    left: 14px; bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 10px 16px 10px 10px;
    gap: 10px;
    border-radius: 12px;
  }
  .why-visual-badge-icon { width: 34px; height: 34px; min-width: 34px; font-size: 0.9rem; border-radius: 9px; }
  .why-visual-badge h4 { font-size: 1.05rem; }
  .why-visual-badge p { font-size: 0.68rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
  .product-card-img-icon { padding: 8px; }
  .news-list-card { grid-template-columns: 1fr; }
  .news-list-img { height: 200px; }

  .footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .timeline::before { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
  .timeline-item:nth-child(even) .tl-content:first-child,
  .timeline-item:nth-child(even) .tl-content:last-child { order: initial; text-align: left; }
  .tl-dot { width: 36px; height: 36px; font-size: 0.65rem; margin: 0; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 30px 24px; }

  .page-hero { padding: 56px 0 46px; }

  .team-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }

  .float-sidebar { display: none !important; }
  .whatsapp-fab { width: 50px; height: 50px; font-size: 1.35rem; bottom: 78px; right: 16px; }
  .back-top { width: 42px; height: 42px; font-size: 0.95rem; bottom: 22px; right: 18px; }
}

/* ---- Phones ---- */
@media (max-width: 640px) {
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
  .hero-btns { gap: 10px; }
  .btn-primary, .btn-outline-white, .btn-white, .btn-outline-gold { padding: 12px 20px; font-size: 0.88rem; }

  .products-filter { gap: 8px; margin-bottom: 28px; }
  .filter-btn { padding: 7px 14px; font-size: 0.8rem; }

  .cta-section { padding: 56px 0; }
  .cta-btns { gap: 12px; }

  .contact-card { padding: 18px; }
  .contact-card-icon { width: 42px; height: 42px; min-width: 42px; font-size: 1rem; }

  .search-box { padding: 22px; }
  .search-input-wrap { flex-direction: column; }
  .search-input-wrap button { width: 100%; justify-content: center; }
}

/* ---- Small phones ---- */
@media (max-width: 560px) {
  .navbar .container { padding: 0 16px; height: 64px; }
  .filter-bar { top: 64px; }
  .logo { font-size: 1.55rem; }

  .hero { padding: 44px 0 36px; }
  .hero h1 { font-size: 1.6rem; margin-bottom: 11px; }
  .hero-stats .container { flex-direction: column; gap: 10px; }
  .hero-stat { border-radius: 12px !important; border-left: 1px solid rgba(255,255,255,0.15) !important; }

  .news-grid, .why-grid, .industries-grid { grid-template-columns: 1fr; }
  .why-visual-badge { padding: 8px 14px 8px 8px; gap: 8px; }
  .why-visual-badge-icon { width: 30px; height: 30px; min-width: 30px; font-size: 0.8rem; }
  .why-visual-badge h4 { font-size: 0.95rem; }
  .why-visual-badge p { font-size: 0.62rem; }
  .about-stat-num { font-size: 1.8rem; }
  .about-stats-grid { gap: 24px 14px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .product-card-img-icon { padding: 6px; height: 150px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-features { grid-template-columns: 1fr; }
  .about-img-main { height: 220px; }
  .about-img-secondary { width: 62%; left: 8px; bottom: -18px; }
  .about-img-secondary img { height: 100px; }

  .why-card { padding: 26px 22px; }
  .contact-form-wrap { padding: 24px 18px; }
  .contact-info { gap: 14px; }

  .page-hero h1 { font-size: 1.7rem; }
  .breadcrumb { flex-wrap: wrap; }

  .top-bar-left { gap: 10px; font-size: 0.72rem; }
}

/* ---- Very small phones ---- */
@media (max-width: 420px) {
  .navbar .container { padding: 0 14px; }
  .logo { font-size: 1.4rem; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-quote { padding: 7px 12px; font-size: 0.74rem; }
  .hamburger { padding: 4px; }

  .slider-wrap { gap: 6px; }
  .slider-arrow { width: 32px; height: 32px; font-size: 0.75rem; }
  .industries-grid.slider-track .industry-card { width: 115px; padding: 20px 12px; }
  .client-logo-card { width: 180px; height: 135px; }

  .top-bar-left a { font-size: 0.7rem; }
  .lang-current { padding: 5px 12px 5px 6px; font-size: 0.75rem; }
  .lang-current img.lang-flag { width: 18px; height: 13px; }
  .lang-menu { min-width: 175px; }

  .hero { padding: 40px 0 34px; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
  .hero h1 { font-size: 1.5rem; margin-bottom: 10px; }
  .hero p { font-size: 0.88rem; margin-bottom: 18px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns a { justify-content: center; }

  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.9rem; }

  .about-badge-float { padding: 14px 16px; }
  .about-badge-float h4 { font-size: 1.4rem; }

  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}
