/* ============================================
   PAC Solution Inc. - Premium Industrial Site
   ============================================ */

:root {
  --navy: #0a1628;
  --navy-2: #122a4a;
  --navy-3: #1e3a5f;
  --navy-soft: #1a2f52;
  --white: #ffffff;
  --bg: #f6f8fb;
  --bg-2: #eef2f7;
  --steel: #64748b;
  --steel-light: #94a3b8;
  --steel-dark: #334155;
  --line: #dbe2ec;
  --cyan: #06b6d4;
  --cyan-2: #22d3ee;
  --cyan-deep: #0891b2;
  --text: #0f172a;
  --muted: #5a6577;

  --shadow-sm: 0 2px 6px rgba(10,22,40,0.06);
  --shadow: 0 12px 30px rgba(10,22,40,0.10);
  --shadow-lg: 0 30px 60px rgba(10,22,40,0.18);

  --radius: 14px;
  --radius-sm: 8px;

  --container: 1240px;

  --ff-head: 'Manrope', system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--navy); margin: 0 0 .5em; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* Loader */


/* Top bar */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; gap: 18px; flex-wrap: wrap;
}
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: var(--cyan-2); }
.topbar .info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .info span i { color: var(--cyan-2); margin-right: 6px; }
.topbar .socials a { margin-left: 12px; }

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { background: rgba(255,255,255,0.95); box-shadow: var(--shadow-sm); }
.nav .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  display: grid; place-items: center; color: var(--cyan-2);
  font-family: var(--ff-head); font-weight: 800; font-size: 18px;
  box-shadow: 0 6px 14px rgba(10,22,40,0.25);
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-name { font-family: var(--ff-head); font-weight: 800; color: var(--navy); font-size: 1.15rem; line-height: 1; }
.brand-sub { font-size: 11px; color: var(--steel); letter-spacing: .14em; text-transform: uppercase; }

.nav-links { display: flex; gap: 6px; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  padding: 10px 14px; border-radius: 8px; font-weight: 500; color: var(--steel-dark);
  font-size: 14.5px; transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: var(--navy); background: var(--bg); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--cyan); border-radius: 2px;
}
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 600; font-size: 14.5px;
  cursor: pointer; border: 0; transition: transform .2s ease, box-shadow .2s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: var(--cyan-2); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(6,182,212,0.35); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-3); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(10,22,40,0.25); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn i { font-size: 12px; }

/* Hero */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #122a4a 60%, #1e3a5f 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1565793298595-6a879b1d9492?w=1800&q=80');
  background-size: cover; background-position: center;
  opacity: 0.18; mix-blend-mode: luminosity;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(34,211,238,0.18), transparent 60%),
    radial-gradient(700px 400px at -10% 80%, rgba(6,182,212,0.10), transparent 60%);
}
.hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 110px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(34,211,238,0.12); color: var(--cyan-2);
  border: 1px solid rgba(34,211,238,0.25);
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-2); box-shadow: 0 0 10px var(--cyan-2); }
.hero h1 { color: var(--white); margin: 18px 0 18px; }
.hero h1 .accent { color: var(--cyan-2); }
.hero p.lead { color: #c8d3e3; font-size: 1.08rem; max-width: 600px; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px;
  max-width: 600px;
}
.hero-stat { padding: 18px 16px; border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; background: rgba(255,255,255,0.03); }
.hero-stat .num { font-family: var(--ff-head); font-size: 1.8rem; font-weight: 800; color: var(--cyan-2); }
.hero-stat .lbl { font-size: 12.5px; color: #9fb0c5; letter-spacing: .04em; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--white); margin-bottom: 14px; }
.hero-card .img-wrap {
  border-radius: 14px; overflow: hidden; aspect-ratio: 4/3;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card .meta { display: flex; justify-content: space-between; margin-top: 16px; color: #9fb0c5; font-size: 13.5px; }
.hero-card .meta b { color: var(--cyan-2); font-weight: 600; }

/* Sections */
.section { padding: 90px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-head .eyebrow { background: rgba(6,182,212,0.10); color: var(--cyan-deep); border-color: rgba(6,182,212,0.20); }
.section-head .eyebrow .dot { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.section-head h2 { margin-top: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.left { margin-left: 0; text-align: left; }

/* Intro grid */
.intro { display: grid; gap: 60px; }
.intro .intro-note { margin: 18px 0 24px; font-weight: 700; color: var(--navy); }
.intro ul { padding: 0; list-style: none; margin: 18px 0 22px; }
.intro li { padding: 8px 0; padding-left: 28px; position: relative; color: var(--steel-dark); }
.intro li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 9px; color: var(--cyan-deep);
  background: rgba(6,182,212,0.12); width: 20px; height: 20px; border-radius: 50%;
  font-size: 10px; display: grid; place-items: center;
}

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  padding: 30px 26px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.why-card .ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--cyan-2); font-size: 20px; margin-bottom: 18px;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { font-size: .95rem; margin: 0; }

/* Products grid */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card .img {
  aspect-ratio: 4/3; overflow: hidden; background: var(--bg-2);
}
.product-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .img img { transform: scale(1.06); }
.product-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card .cat { font-size: 11.5px; color: var(--cyan-deep); letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }
.product-card h3 { margin: 8px 0 8px; font-size: 1.05rem; }
.product-card p { font-size: .92rem; flex: 1; }
.product-card .more {
  color: var(--navy); font-weight: 600; font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
}
.product-card .more i { transition: transform .25s; }
.product-card:hover .more i { transform: translateX(4px); }

/* Industries */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.industry {
  position: relative; padding: 34px 26px; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .25s, background .25s, color .25s, border-color .25s;
  overflow: hidden;
}
.industry::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  opacity: 0; transition: opacity .25s; z-index: 0;
}
.industry:hover { transform: translateY(-4px); border-color: transparent; }
.industry:hover::before { opacity: 1; }
.industry > * { position: relative; z-index: 1; transition: color .25s; }
.industry .ico {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; font-size: 22px;
  background: rgba(6,182,212,0.10); color: var(--cyan-deep); margin-bottom: 18px;
  transition: background .25s, color .25s;
}
.industry:hover .ico { background: rgba(34,211,238,0.18); color: var(--cyan-2); }
.industry:hover h3, .industry:hover p { color: var(--white); }
.industry h3 { font-size: 1.05rem; margin-bottom: 6px; }
.industry p { font-size: .9rem; margin: 0; }

/* Stats / counters */
.stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white); padding: 70px 0; position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% -10%, rgba(34,211,238,0.15), transparent 60%);
}
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.stat { text-align: center; padding: 14px; }
.stat .num { font-family: var(--ff-head); font-size: 3rem; font-weight: 800; color: var(--cyan-2); line-height: 1; }
.stat .num span { font-size: 1.6rem; }
.stat .lbl { color: #c8d3e3; font-size: 14px; letter-spacing: .04em; margin-top: 8px; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  padding: 30px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); position: relative;
}
.testimonial .quote { color: var(--cyan); font-size: 28px; opacity: .25; position: absolute; top: 18px; right: 22px; }
.testimonial .stars { color: #f59e0b; margin-bottom: 12px; font-size: 14px; }
.testimonial p { font-size: .95rem; color: var(--steel-dark); }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial .av { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--bg-2); }
.testimonial .av img { width: 100%; height: 100%; object-fit: cover; }
.testimonial .name { font-family: var(--ff-head); font-weight: 700; color: var(--navy); font-size: .95rem; }
.testimonial .pos { font-size: 12.5px; color: var(--steel); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white); border-radius: 24px; padding: 60px;
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 30px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 250px at 100% 0%, rgba(34,211,238,0.20), transparent 60%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: #c8d3e3; margin: 0; }
.cta-banner .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* Footer */
.footer {
  background: var(--navy); color: #c8d3e3; padding: 70px 0 0;
}
.footer h4 { color: var(--white); font-family: var(--ff-head); font-weight: 700; margin-bottom: 18px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer p, .footer li, .footer a { color: #9fb0c5; font-size: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 5px 0; }
.footer ul a:hover { color: var(--cyan-2); }
.footer .brand-mark { box-shadow: none; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); }
.footer .brand-name { color: var(--white); }
.footer .brand-sub { color: #6f7f95; }
.footer .contact-row { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.footer .contact-row i { color: var(--cyan-2); width: 18px; padding-top: 4px; }
.footer .socials a {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  color: #c8d3e3; transition: background .25s, color .25s, transform .25s;
}
.footer .socials a:hover { background: var(--cyan); color: var(--navy); transform: translateY(-2px); }
.footer .socials { display: flex; gap: 10px; margin-top: 14px; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input {
  flex: 1; padding: 11px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); color: var(--white); font-family: inherit; font-size: 14px;
}
.newsletter input::placeholder { color: #6f7f95; }
.newsletter button {
  padding: 11px 18px; border-radius: 8px; background: var(--cyan); color: var(--navy);
  font-family: var(--ff-head); font-weight: 700; border: 0; cursor: pointer; font-size: 14px;
}
.newsletter button:hover { background: var(--cyan-2); }
.footer .map {
  margin-top: 14px; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.footer .map iframe { width: 100%; height: 160px; border: 0; display: block; filter: invert(0.9) hue-rotate(180deg); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 50px; padding: 22px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px;
}

/* Page hero (sub-pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white); padding: 80px 0 90px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1581090700227-1e8d6c8a9b80?w=1600&q=80');
  background-size: cover; background-position: center;
  opacity: 0.10; mix-blend-mode: luminosity;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 350px at 90% 0%, rgba(34,211,238,0.15), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); }
.page-hero .crumbs { color: #9fb0c5; font-size: 14px; }
.page-hero .crumbs a { color: var(--cyan-2); }

/* About specific */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mvv .card {
  padding: 32px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); position: relative; overflow: hidden;
}
.mvv .card .ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--cyan-2); font-size: 22px; margin-bottom: 18px;
}
.timeline { position: relative; padding-left: 30px; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding: 10px 0 28px 30px; }
.timeline-item::before {
  content: ""; position: absolute; left: -2px; top: 14px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(6,182,212,0.18);
}
.timeline-item .yr { font-family: var(--ff-head); color: var(--cyan-deep); font-weight: 800; font-size: 1.15rem; }
.timeline-item h3 { font-size: 1.1rem; margin: 4px 0 6px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card .img { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-2); }
.team-card .img img { width: 100%; height: 100%; object-fit: cover; }
.team-card .body { padding: 18px 20px; }
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--cyan-deep); font-weight: 600; }

.director {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center;
  background: var(--white); border-radius: 22px; padding: 40px;
  border: 1px solid var(--line);
}
.director .ph { aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; }
.director .ph img { width: 100%; height: 100%; object-fit: cover; }
.director blockquote {
  margin: 0; padding: 0; border-left: 3px solid var(--cyan); padding-left: 20px;
  font-family: var(--ff-head); font-size: 1.15rem; color: var(--steel-dark); line-height: 1.55; font-style: italic;
}
.director .sig { margin-top: 18px; font-family: var(--ff-head); font-weight: 700; color: var(--navy); }
.director .sig small { color: var(--steel); font-weight: 500; display: block; }

/* Filters / Search */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--white); padding: 14px; border-radius: 14px;
  border: 1px solid var(--line); margin-bottom: 30px;
}
.search-box { position: relative; flex: 1; min-width: 240px; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--steel); }
.search-box input {
  width: 100%; padding: 11px 14px 11px 38px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14px; color: var(--text);
  background: var(--bg);
}
.search-box input:focus { outline: 0; border-color: var(--cyan); background: var(--white); }
.chip {
  padding: 9px 16px; border-radius: 999px; background: var(--bg);
  border: 1px solid var(--line); font-size: 13px; font-weight: 500;
  color: var(--steel-dark); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--cyan); }
.chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: 14px;
  aspect-ratio: 4/3; cursor: pointer; background: var(--bg-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .ov {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,22,40,0.85), transparent 60%);
  opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: 18px; color: var(--white);
}
.gallery-item:hover .ov { opacity: 1; }
.gallery-item .ov i { background: var(--cyan); color: var(--navy); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-right: 10px; }
.gallery-item:nth-child(7n+1) { grid-column: span 2; aspect-ratio: 16/10; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,22,40,0.92); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox .close, .lightbox .ctrl {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.10); color: var(--white); font-size: 18px;
}
.lightbox .ctrl.prev { left: 24px; right: auto; top: 50%; transform: translateY(-50%); }
.lightbox .ctrl.next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.contact-info {
  background: var(--navy); color: var(--white); border-radius: 22px; padding: 40px;
  position: relative; overflow: hidden;
}
.contact-info::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 250px at 100% 100%, rgba(34,211,238,0.18), transparent 60%);
}
.contact-info > * { position: relative; }
.contact-info h2 { color: var(--white); }
.contact-info p { color: #c8d3e3; }
.contact-info .row {
  display: flex; gap: 16px; align-items: flex-start; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.contact-info .row:last-of-type { border-bottom: 0; }
.contact-info .row .ico {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(34,211,238,0.14); color: var(--cyan-2); font-size: 16px; flex-shrink: 0;
}
.contact-info .row h4 { color: var(--white); margin-bottom: 4px; font-size: .95rem; font-family: var(--ff-head); }
.contact-info .row a, .contact-info .row p { color: #c8d3e3; font-size: 14px; margin: 0; }

.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 40px;
}
.form-card h2 { margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; }
.field label { font-size: 13px; font-weight: 600; color: var(--steel-dark); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; color: var(--text); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}
.full { grid-column: 1 / -1; }
.form-msg { margin-top: 12px; font-size: 13.5px; color: var(--cyan-deep); }

/* Map */
.map-block { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); margin-top: 30px; }
.map-block iframe { width: 100%; height: 380px; border: 0; display: block; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer; font-family: var(--ff-head); font-weight: 600; color: var(--navy);
}
.faq-q i { color: var(--cyan-deep); transition: transform .3s; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; color: var(--steel-dark); font-size: .95rem; }
.faq-item.open .faq-a { max-height: 280px; padding: 0 22px 18px; }

/* Floats */
.whatsapp-fab, .top-fab {
  position: fixed; right: 22px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white); font-size: 22px;
  box-shadow: 0 10px 24px rgba(10,22,40,0.25); z-index: 90; cursor: pointer; border: 0;
  transition: transform .25s ease;
}
.whatsapp-fab { bottom: 22px; background: #25d366; }
.whatsapp-fab:hover { transform: scale(1.06); }
.top-fab { bottom: 84px; background: var(--navy); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.top-fab.show { opacity: 1; pointer-events: auto; }
.top-fab:hover { transform: translateY(-3px); }

/* Reveal animation */


/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid, .products-grid, .industries-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .testimonials, .mvv { grid-template-columns: 1fr; }
  .intro, .contact-grid, .director, .cta-banner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(7n+1) { grid-column: span 2; aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav-links { position: fixed; right: 0; top: 0; bottom: 0; width: 78%; max-width: 320px;
    background: var(--white); flex-direction: column; padding: 80px 18px 24px; gap: 4px;
    transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
    align-items: stretch;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 16px; border-radius: 10px; font-size: 15.5px; }
  .menu-toggle { display: block; z-index: 110; }
  .nav-cta .btn { display: none; }
  .topbar .info { gap: 14px; font-size: 12px; }
  .topbar .socials { display: none; }
  .why-grid, .products-grid, .industries-grid, .team-grid, .footer-grid, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(7n+1) { grid-column: auto; aspect-ratio: 4/3; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 26px; }
  .cta-banner .actions { justify-content: flex-start; }
  .director, .form-card, .contact-info { padding: 26px; }
  .hero .container { padding-top: 60px; padding-bottom: 80px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
}
/* ============================================
   FINAL GITHUB SAFE FIXES
   ============================================ */

/* Force all reveal content visible */
.reveal,
.reveal.in,
.reveal.delay-1,
.reveal.delay-2,
.reveal.delay-3,
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-down {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

/* Force all images visible */
img,
.product-card img,
.industry img,
.gallery-item img,
.brand-mark img,
.hero-card img,
.team-card img,
.testimonial img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  transform: none !important;
  filter: none !important;
}

/* Prevent hidden sections */
section,
.section,
.hero,
.page-hero,
.products-grid,
.industries-grid,
.gallery-grid,
.team-grid,
.testimonials,
.product-card,
.industry,
.gallery-item,
.team-card {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Safe product images */
.product-card .img {
  overflow: hidden;
  background: #f3f4f6;
}

.product-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Safe gallery images */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card {
    display: flex;
}

.product-card.hidden {
    display: none !important;
}
