/* ============================================================
   PICKSHIELD SECURITY SERVICES ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ ULTRA-MODERN BRIGHT THEME
   Premium Corporate Security Brand
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --announcement-offset: 0px;
  --clr-primary-bg:   #ffffff;
  --clr-section-bg:   #f9fafb;
  --clr-brand:        #1f2937;
  --clr-accent:       #6b7280;
  --clr-accent-2:     #374151;
  --clr-highlight:    #111827;
  --clr-text:         #111827;
  --clr-text-muted:   #4b5563;
  --clr-border:       #e5e7eb;
  --clr-white:        #ffffff;
  /* Legacy aliases for compatibility */
  --clr-black:        #111827;
  --clr-dark:         #1f2937;
  --clr-dark-2:       #374151;
  --clr-grey:         #f3f4f6;
  --clr-grey-2:       #e5e7eb;
  --clr-grey-3:       #d1d5db;
  --clr-light:        #ffffff;
  --clr-lighter:      #f9fafb;
  --clr-accent-d:     #111827;
  --clr-accent-l:     #6b7280;

  --font-heading: 'Bebas Neue', sans-serif;
  --font-sub:     'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-height: 80px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 24px 48px rgba(17, 24, 39, 0.15);
  --border-default: 1px solid var(--clr-border);
  --radius: 8px;
  --radius-lg: 12px;
  --clr-contact: #22c55e;
  --clr-contact-hover: #16a34a;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--clr-primary-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
select, input, textarea { font-family: var(--font-body); }
::selection { background: var(--clr-brand); color: var(--clr-white); }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-section-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-brand); border-radius: 3px; }

/* ---------- PRELOADER ---------- */
#preloader {
  position: fixed; inset: 0; background: linear-gradient(135deg, #1f2937, #374151);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5rem; transition: opacity 0.6s, visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.shield-icon { margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; }
.preloader-logo { height: 80px; width: auto; max-width: 200px; object-fit: contain;
  animation: shieldPulse 1s ease-in-out infinite alternate; }
@keyframes shieldPulse {
  from { transform: scale(1); opacity: 0.9; }
  to   { transform: scale(1.1); opacity: 1; }
}
.preloader-bar {
  width: 220px; height: 4px; background: var(--clr-border);
  border-radius: 4px; overflow: hidden; margin: 0 auto 1rem;
}
.preloader-fill {
  height: 100%; background: linear-gradient(90deg, var(--clr-brand), var(--clr-highlight));
  animation: fillBar 1.8s ease-in-out infinite;
}
@keyframes fillBar { 0%{width:0%} 50%{width:100%} 100%{width:0%; margin-left:100%;} }
.preloader-inner p {
  font-family: var(--font-sub); letter-spacing: 3px; font-size: 0.75rem;
  color: var(--clr-brand); text-transform: uppercase;
}

/* ---------- CONTAINER ---------- */
.container { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 100px 0; position: relative; overflow: hidden; }

/* ---------- SECTION HEADER ---------- */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block; font-family: var(--font-sub); font-size: 0.8rem;
  letter-spacing: 4px; text-transform: uppercase; color: var(--clr-brand);
  border: 1px solid rgba(17, 17, 17, 0.3); padding: 6px 18px; border-radius: 20px;
  margin-bottom: 1rem; background: rgba(17, 17, 17, 0.08);
}
.section-title {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--clr-text); letter-spacing: 3px; line-height: 1.1;
  text-transform: uppercase; margin-bottom: 1rem;
}
.section-title.left-align { text-align: left; }
.title-line {
  width: 60px; height: 4px; background: linear-gradient(90deg, var(--clr-brand), var(--clr-accent));
  margin: 0 auto; border-radius: 2px;
}
.title-line.left-align { margin: 0; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #1f2937;
  color: var(--clr-white); font-family: var(--font-sub); font-weight: 700;
  font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 32px; border-radius: 50px; transition: var(--transition);
  position: relative; overflow: hidden; z-index: 1; box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: #374151;
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.35);
}

/* ---------- Contact / Call primary actions (green) ---------- */
a.hero-btn-primary[href*="contact"],
a.btn-primary[href*="contact"],
form#contactForm button.btn-primary[type="submit"],
a.ssvc-btn[href*="contact"],
a.pke-svc-btn[href*="contact"] {
  background: var(--clr-contact);
  color: #fff;
  box-shadow: 0 8px 26px rgba(34, 197, 94, 0.38);
}
a.hero-btn-primary[href*="contact"]:hover,
a.btn-primary[href*="contact"]:hover,
form#contactForm button.btn-primary[type="submit"]:hover,
a.ssvc-btn[href*="contact"]:hover,
a.pke-svc-btn[href*="contact"]:hover {
  background: var(--clr-contact-hover);
  color: #fff;
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 14px 36px rgba(22, 163, 74, 0.45);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(43, 43, 43, 0.95); color: var(--clr-text); font-family: var(--font-sub);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 13px 32px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.9);
  transition: var(--transition); position: relative; box-shadow: var(--shadow-soft);
}
.btn-secondary:hover {
  background: var(--clr-section-bg); border-color: var(--clr-brand); color: var(--clr-brand);
  transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

/* ============================================================
   NAVBAR ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Apple/Tesla Level Premium Motion Header
   ============================================================ */

/* ============================================================
   KEYFRAMES ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Complete Motion System
   ============================================================ */

/* Logo cinematic entrance: blur dissolve + spring scale + lift */
@keyframes logoEntrance {
  0%   {
    opacity: 0;
    transform: scale(0.85) translateY(-20px);
    filter: invert(1) brightness(0.6) blur(8px);
  }
  40%  {
    opacity: 1;
    filter: invert(1) brightness(1.15) blur(0);
  }
  72%  { transform: scale(1.06) translateY(2px); }
  88%  { transform: scale(0.98) translateY(-1px); }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: invert(1) brightness(1.15)
      drop-shadow(0 0 16px rgba(200,168,75,0.55))
      drop-shadow(0 3px 12px rgba(0,0,0,0.85));
  }
}

/* Gentle floating micro-motion ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â makes logo feel alive */
@keyframes logoFloat {
  0%   { transform: translateY(0px) rotate(0deg); }
  30%  { transform: translateY(-3px) rotate(0.3deg); }
  60%  { transform: translateY(-2px) rotate(-0.2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Energy glow pulse rings radiating outward */
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Glow pulse — filter-based (works without a badge background) */
@keyframes logoGlowPulse {
  0%, 100% {
    filter: invert(1) brightness(1.15)
      drop-shadow(0 0 10px rgba(200,168,75,0.35))
      drop-shadow(0 3px 10px rgba(0,0,0,0.8));
  }
  50% {
    filter: invert(1) brightness(1.25)
      drop-shadow(0 0 22px rgba(200,168,75,0.75))
      drop-shadow(0 0 8px rgba(200,168,75,0.4))
      drop-shadow(0 3px 12px rgba(0,0,0,0.9));
  }
}

/* Light streak ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â diagonal shimmer passing across logo */
@keyframes lightStreak {
  0%   { left: -120%; opacity: 0; }
  8%   { opacity: 1; }
  38%  { left: 140%; opacity: 0.8; }
  40%  { opacity: 0; left: 150%; }
  100% { opacity: 0; left: 150%; }
}

/* Rotating conic halo behind logo */
@keyframes haloRotate {
  from { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.08); }
  to   { transform: rotate(360deg) scale(1); }
}

/* Gradient accent line flow */
@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Nav links stagger entrance */
@keyframes navLinkFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CTA button subtle glow pulse */
@keyframes ctaGlowPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(17,17,17,0.35), 0 1px 4px rgba(0,0,0,0.12); }
  50%       { box-shadow: 0 4px 24px rgba(75,85,99,0.50), 0 8px 20px rgba(17,17,17,0.30); }
}

/* Hamburger line dance */
@keyframes hamburgerAppear {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

/* ============================================================
   NAVBAR BASE
   ============================================================ */
#navbar {
  position: fixed; top: var(--announcement-offset, 0px); left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  overflow: visible;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s ease,
    backdrop-filter 0.5s ease;
}
#navbar.scrolled {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--clr-border);
}

/* ============================================================
   ANIMATED ACCENT GRADIENT LINE
   ============================================================ */
.nav-accent-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    #1f2937 0%,
    #6b7280 25%,
    #4b5563 50%,
    #1f2937 75%,
    #6b7280 100%
  );
  background-size: 300% 100%;
  animation: gradientFlow 10s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 0 0 1px 1px;
}
#navbar.scrolled .nav-accent-line {
  opacity: 1;
}

/* ============================================================
   NAV CONTAINER
   ============================================================ */
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  overflow: visible;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* ============================================================
   LOGO ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â VISUAL CENTERPIECE
   ============================================================ */
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
  perspective: 800px;
  perspective-origin: center;
}

/* Halo wrap ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â positions energy rings + rotating glow */
.logo-halo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* === Energy Pulse Rings === */
.logo-halo-wrap::before,
.logo-halo-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  pointer-events: none;
  z-index: 0;
}

/* Ring 1 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â blue pulse */
.logo-halo-wrap::before {
  background: transparent;
  border: 1.5px solid rgba(200,168,75,0.6);
  opacity: 0;
  animation: pulseRing 3s cubic-bezier(0.215, 0.61, 0.355, 1) 1.8s infinite;
}

/* Ring 2 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â indigo pulse (offset timing) */
.logo-halo-wrap::after {
  background: transparent;
  border: 1.5px solid rgba(200,168,75,0.35);
  opacity: 0;
  animation: pulseRing 3s cubic-bezier(0.215, 0.61, 0.355, 1) 2.4s infinite;
}

/* === Rotating Conic Glow Halo === */
.logo-glow-ring {
  position: absolute;
  inset: -14px;
  border-radius: 22px;
  background: conic-gradient(
    rgba(200,168,75,0.3) 0deg,
    rgba(255,215,100,0.15) 90deg,
    rgba(200,168,75,0.25) 180deg,
    rgba(139,106,20,0.12) 270deg,
    rgba(200,168,75,0.3) 360deg
  );
  filter: blur(14px);
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: haloRotate 10s linear infinite;
  z-index: 0;
  pointer-events: none;
}
#navbar.scrolled .logo-glow-ring,
.nav-logo:hover .logo-glow-ring {
  opacity: 1;
}

/* ============================================================
   LOGO IMAGE ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â 3D RAISED BADGE
   ============================================================ */
.nav-logo-img {
  position: relative; z-index: 2;
  height: 70px; width: auto; max-width: 240px;
  object-fit: contain;

  /* Transparent — no white badge box */
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;

  /* Invert for dark navbar + gold glow */
  filter: invert(1) brightness(1.15)
    drop-shadow(0 0 16px rgba(200,168,75,0.55))
    drop-shadow(0 3px 12px rgba(0,0,0,0.85));

  /* Cinematic entrance + float */
  animation:
    logoEntrance 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both,
    logoFloat 5s ease-in-out 1.4s infinite;

  transition: filter 0.45s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
  will-change: transform, filter;
}

/* === Light Streak (shimmer) === */
.nav-logo-img::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.55) 50%,
    transparent 80%
  );
  animation: lightStreak 8s ease-in-out 2s infinite;
  pointer-events: none;
  z-index: 3;
  border-radius: 14px;
}

/* === Hover — 3D Tilt + Lifted Glow (not-scrolled / dark navbar) === */
#navbar:not(.scrolled) .nav-logo:hover .nav-logo-img {
  transform: rotateX(6deg) rotateY(8deg) scale(1.06);
  filter: invert(1) brightness(1.3)
    drop-shadow(0 0 24px rgba(200,168,75,0.85))
    drop-shadow(0 0 8px rgba(200,168,75,0.4))
    drop-shadow(0 4px 14px rgba(0,0,0,1));
  animation: none;
}

/* === Hover — scrolled / white navbar === */
#navbar.scrolled .nav-logo:hover .nav-logo-img {
  transform: rotateX(6deg) rotateY(8deg) scale(1.06);
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.22)) drop-shadow(0 0 0 transparent);
  animation: none;
}

/* === Scrolled state — white navbar: show original dark logo, no invert === */
#navbar.scrolled .nav-logo-img {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
  animation: logoFloat 5s ease-in-out 0s infinite;
}

/* ============================================================
   NAVIGATION MENU
   ============================================================ */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  overflow: visible;
  position: relative;
  z-index: 1;
}

@media (min-width: 901px) {
  .nav-menu {
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    min-width: 0;
  }
}

/* === Nav Link Base === */
.nav-link {
  font-family: var(--font-sub); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 1.5px; text-transform: uppercase; color: #111827;
  padding: 8px 14px; border-radius: var(--radius);
  position: relative; background: none; border: none; cursor: pointer;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), text-shadow 0.3s ease;
  animation: navLinkFadeIn 0.5s ease both;
}
/* Stagger entrance delays */
.nav-link:nth-child(1) { animation-delay: 0.40s; }
.nav-link:nth-child(2) { animation-delay: 0.50s; }
.nav-link:nth-child(3) { animation-delay: 0.60s; }
.nav-link:nth-child(4) { animation-delay: 0.70s; }
.nav-link:nth-child(5) { animation-delay: 0.80s; }
.nav-link:nth-child(6) { animation-delay: 0.90s; }
.nav-link:nth-child(7) { animation-delay: 1.00s; }

/* === Animated underline expands from center === */
.nav-link::after {
  content: ''; position: absolute; bottom: 3px; left: 50%;
  width: 0; height: 2px; background: #374151;
  transition: width 0.35s cubic-bezier(0.25,0.46,0.45,0.94), left 0.35s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.35s ease;
  border-radius: 2px;
}
.nav-link:hover { color: #374151; text-shadow: 0 0 8px rgba(55,65,81,0.3); transform: translateY(-2px); }
.nav-link:hover::after { width: calc(100% - 28px); left: 14px; }
.nav-link.active { color: #1f2937; }
.nav-link.active::after { width: calc(100% - 28px); left: 14px; }

/* === Transparent state (over hero) === */
#navbar:not(.scrolled) .nav-link { color: #ffffff; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
#navbar:not(.scrolled) .nav-link::after { background: #ffffff; }
#navbar:not(.scrolled) .nav-link:hover { color: #ffffff; text-shadow: 0 0 12px rgba(255,255,255,0.8); }
#navbar:not(.scrolled) .nav-link:hover::after { box-shadow: 0 0 8px rgba(255,255,255,0.6); }
#navbar:not(.scrolled) .nav-link.active { color: #ffffff; }

/* ============================================================
   NAV DROPDOWN — "More" menu
   (Must stack above .btn-protected z-index:1 or clicks hit the CTA instead)
   ============================================================ */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 100;
}

/* Invisible hover bridge — closes gap between toggle and panel so :hover isn’t lost */
.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  max-width: 92vw;
  top: 100%;
  height: 0;
  pointer-events: none;
  z-index: 9998;
}
.nav-dropdown:hover::after,
.nav-dropdown.open::after {
  height: 20px;
  pointer-events: auto;
}

.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  white-space: nowrap; cursor: pointer;
}

/* Animated chevron */
.nav-dropdown-chevron {
  font-size: 0.58rem;
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
  display: inline-block;
}
.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.open .nav-dropdown-chevron { transform: rotate(180deg); }

/* ── Dropdown panel (.nav-dropdown-menu = “More” dropdown) ── */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.97);
  transform-origin: top center;
  min-width: 230px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 18px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.12),
    0 6px 18px rgba(0,0,0,0.07),
    0 0 0 1px rgba(255,255,255,0.8) inset;
  padding: 0.55rem 0.45rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s cubic-bezier(0.4,0,0.2,1),
    transform 0.28s cubic-bezier(0.34,1.4,0.64,1),
    visibility 0.25s;
  z-index: 9999;
}

/* Small arrow caret at top — never steal clicks */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  background: #fff;
  border-left: 1px solid rgba(0,0,0,0.07);
  border-top: 1px solid rgba(0,0,0,0.07);
  border-radius: 2px 0 0 0;
  transform: translateX(-50%) rotate(45deg);
  z-index: 0;
  pointer-events: none;
}

/* Desktop: open on hover or .open class */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* ── Dropdown items ── */
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 9px 12px;
  border-radius: 12px;
  font-family: var(--font-sub);
  font-size: 0.76rem;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

/* Icon wrap */
.nav-dropdown-item .ddi-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  background: #f3f4f6;
  color: #6b7280;
  transition: background 0.18s, color 0.18s, transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

/* For pages that use bare <i> tags without .ddi-icon wrapper — backward compat */
.nav-dropdown-item > i {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  background: #f3f4f6;
  color: #6b7280;
  transition: background 0.18s, color 0.18s, transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

.nav-dropdown-item:hover {
  background: rgba(37,99,235,0.06);
  color: #1d4ed8;
  transform: translateX(3px);
}
.nav-dropdown-item:hover .ddi-icon,
.nav-dropdown-item:hover > i {
  background: rgba(37,99,235,0.1);
  color: #2563eb;
  transform: scale(1.1);
}

.nav-dropdown-item.active {
  background: rgba(37,99,235,0.08);
  color: #1d4ed8;
}
.nav-dropdown-item.active .ddi-icon,
.nav-dropdown-item.active > i {
  background: rgba(37,99,235,0.12);
  color: #2563eb;
}

/* Divider before last item */
.nav-dropdown-item.divider-above {
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 0.3rem;
  padding-top: 12px;
}
.nav-dropdown-item.divider-above .ddi-icon,
.nav-dropdown-item.divider-above > i {
  background: rgba(16,185,129,0.1);
  color: #059669;
}
.nav-dropdown-item.divider-above:hover .ddi-icon,
.nav-dropdown-item.divider-above:hover > i {
  background: rgba(16,185,129,0.18);
  color: #059669;
}
.nav-dropdown-item.divider-above:hover {
  background: rgba(16,185,129,0.06);
  color: #059669;
}

/* "More" toggle active state (when a child page is current) */
.nav-dropdown-toggle.active { color: #1f2937; }
.nav-dropdown-toggle.active::after { width: calc(100% - 28px); left: 14px; }
#navbar:not(.scrolled) .nav-dropdown-toggle.active { color: #fff; }

/* Mobile overrides injected in responsive section below */

/* ============================================================
   DOWNLOAD BROCHURE — nav-actions only (premium subtle CTA)
   ============================================================ */
.nav-actions .btn-protected.nav-cta-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 10px 22px;
  border-radius: 30px;
  margin: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 2px 14px rgba(34, 197, 94, 0.28),
    0 1px 6px rgba(0, 0, 0, 0.12),
    0 0 24px rgba(34, 197, 94, 0.12);
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
    filter 0.3s ease;
  animation: navLinkFadeIn 0.5s ease 1s both;
  will-change: transform;
}

.nav-actions .btn-protected.nav-cta-full::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.nav-actions .btn-protected.nav-cta-full:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #16a34a, #15803d);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 4px 22px rgba(34, 197, 94, 0.38),
    0 2px 10px rgba(0, 0, 0, 0.14),
    0 0 32px rgba(22, 163, 74, 0.2);
  filter: brightness(0.98);
}

.nav-actions .btn-protected.nav-cta-full.mag-active {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.22),
    0 8px 26px rgba(34, 197, 94, 0.42),
    0 0 36px rgba(74, 222, 128, 0.18);
}

.nav-actions .btn-protected.nav-cta-full:hover::after {
  left: 150%;
}

#navbar.scrolled .nav-actions .btn-protected.nav-cta-full {
  color: #ffffff;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: rgba(22, 163, 74, 0.45);
  box-shadow:
    0 3px 16px rgba(34, 197, 94, 0.32),
    0 1px 6px rgba(0, 0, 0, 0.08);
  filter: none;
}

#navbar.scrolled .nav-actions .btn-protected.nav-cta-full:hover,
#navbar.scrolled .nav-actions .btn-protected.nav-cta-full.mag-active {
  background: linear-gradient(135deg, #15803d, #166534);
  border-color: rgba(21, 128, 61, 0.85);
  box-shadow:
    0 5px 22px rgba(22, 163, 74, 0.4),
    0 0 28px rgba(34, 197, 94, 0.15);
  filter: none;
}

/* Mobile: compact brochure icon (header stays uncluttered) */
.nav-brochure-icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow:
    0 2px 12px rgba(34, 197, 94, 0.35),
    0 0 18px rgba(34, 197, 94, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  flex-shrink: 0;
}

.nav-brochure-icon-btn:hover {
  transform: scale(1.05);
  filter: brightness(0.92);
  box-shadow:
    0 4px 18px rgba(34, 197, 94, 0.45),
    0 0 24px rgba(34, 197, 94, 0.18);
}

#navbar.scrolled .nav-brochure-icon-btn {
  box-shadow:
    0 2px 14px rgba(34, 197, 94, 0.3),
    0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
  position: relative;
  z-index: 1005;
}
.hamburger span {
  display: block; width: 25px; height: 2px;
  background: var(--clr-text); border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease, background 0.35s ease;
  transform-origin: center;
}
#navbar:not(.scrolled) .hamburger span { background: rgba(255,255,255,0.92); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }




/* ============================================================
   HERO — CINEMATIC SPLIT LAYOUT
   ============================================================ */

/* --- Base --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* --- Particles Canvas --- */
.hero-particles-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}

/* --- Dark control-room background --- */
.hero-bg-layer {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 72% 38%, rgba(80,120,200,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 70% 80% at 70% 60%, rgba(17,35,60,0.9) 0%, transparent 70%),
    linear-gradient(160deg, #060b16 0%, #0d1525 40%, #111827 70%, #0e1a30 100%);
  z-index: 0;
  filter: contrast(1.04) brightness(1.01);
}

/* --- Subtle tech grid lines --- */
.hero-tech-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(96,165,250,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* --- Blurred CCTV screen decorations (ambient motion, not a content slider) --- */
.hero-bg-screens {
  position: absolute; inset: 0;
  z-index: 1; pointer-events: none;
  overflow: hidden;
}
.bg-screen {
  position: absolute;
  border-radius: 8px;
  border: 1px solid rgba(99,132,255,0.15);
  background: rgba(30,60,120,0.12);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 20px rgba(60,100,220,0.08) inset;
  animation: screenGlow 4s ease-in-out infinite alternate;
}
.bg-screen.s1 { width: 200px; height: 130px; top: 12%; left: -30px; transform: rotate(-6deg); animation-delay: 0s; }
.bg-screen.s2 { width: 160px; height: 100px; bottom: 20%; left: 5%;  transform: rotate(4deg);  animation-delay: 1s; }
.bg-screen.s3 { width: 140px; height: 90px;  top: 18%;  right: 2%;  transform: rotate(5deg);  animation-delay: 2s; }
.bg-screen.s4 { width: 170px; height: 110px; bottom: 15%; right: 0%; transform: rotate(-3deg); animation-delay: 0.5s; }
@keyframes screenGlow {
  from { border-color: rgba(99,132,255,0.10); box-shadow: 0 0 20px rgba(60,100,220,0.06) inset; }
  to   { border-color: rgba(99,132,255,0.25); box-shadow: 0 0 40px rgba(60,100,220,0.18) inset; }
}

/* --- Vignette — strong cinematic edge darkening --- */
.hero-vignette {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    /* top edge — heavier, like a cinema curtain */
    linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, transparent 20%),
    /* bottom edge — grounds the scene */
    linear-gradient(to top,    rgba(0,0,0,0.72) 0%, transparent 28%),
    /* left edge */
    linear-gradient(to right,  rgba(0,0,0,0.50) 0%, transparent 22%),
    /* right edge */
    linear-gradient(to left,   rgba(0,0,0,0.40) 0%, transparent 22%),
    /* radial — darkens corners, keeps centre bright */
    radial-gradient(ellipse 65% 65% at 50% 44%, transparent 42%, rgba(0,0,0,0.50) 100%);
}

/* --------------------------------------------------------
   DEPTH BLUR — camera depth-of-field illusion
   A blurred ring around the outer edge mimics a wide
   aperture lens pushing the background slightly soft.
   -------------------------------------------------------- */
.hero-depth-blur {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  /* Uses backdrop-filter only at the edges via mask */
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  /* Mask: transparent in the centre, opaque at edges — so only the periphery blurs */
  mask-image: radial-gradient(ellipse 60% 58% at 50% 48%, transparent 48%, black 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 58% at 50% 48%, transparent 48%, black 100%);
}

/* --- Light rays — slow volumetric beams --- */
.hero-light-rays {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  overflow: hidden;
}
.ray {
  position: absolute;
  top: -10%;
  right: 35%;
  width: 2px;
  height: 130%;
  border-radius: 100px;
  transform-origin: top center;
  opacity: 0;
  animation: rayDrift 10s ease-in-out infinite;
}
.r1 {
  width: 120px;
  background: linear-gradient(to bottom, rgba(96,165,250,0.07) 0%, transparent 80%);
  transform: rotate(22deg);
  animation-delay: 0s;    animation-duration: 12s;
}
.r2 {
  width: 60px;
  background: linear-gradient(to bottom, rgba(147,197,253,0.06) 0%, transparent 75%);
  transform: rotate(30deg);
  right: 28%;
  animation-delay: -3s;   animation-duration: 14s;
}
.r3 {
  width: 180px;
  background: linear-gradient(to bottom, rgba(59,130,246,0.05) 0%, transparent 70%);
  transform: rotate(15deg);
  right: 42%;
  animation-delay: -6s;   animation-duration: 16s;
}
.r4 {
  width: 40px;
  background: linear-gradient(to bottom, rgba(165,210,255,0.08) 0%, transparent 65%);
  transform: rotate(38deg);
  right: 20%;
  animation-delay: -9s;   animation-duration: 11s;
}
.r5 {
  width: 90px;
  background: linear-gradient(to bottom, rgba(96,165,250,0.04) 0%, transparent 85%);
  transform: rotate(8deg);
  right: 55%;
  animation-delay: -4.5s; animation-duration: 18s;
}
@keyframes rayDrift {
  0%   { opacity: 0;    transform: rotate(var(--r, 22deg)) translateX(0px);   }
  15%  { opacity: 1; }
  50%  { opacity: 0.6;  transform: rotate(var(--r, 22deg)) translateX(30px);  }
  85%  { opacity: 1; }
  100% { opacity: 0;    transform: rotate(var(--r, 22deg)) translateX(-15px); }
}
.r1 { --r: 22deg; }
.r2 { --r: 30deg; }
.r3 { --r: 15deg; }
.r4 { --r: 38deg; }
.r5 { --r:  8deg; }

/* --- Main grid layout --- */
.hero-grid {
  position: relative; z-index: 5;
  width: 100%; max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw;
  padding-top: calc(var(--nav-height) + var(--announcement-offset, 0px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 100vh;
}

/* ==============================
   LEFT — TEXT COLUMN
   ============================== */
.hero-text-col {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 1.6rem;
  opacity: 0; transform: translateX(-40px);
  animation: heroTextIn 0.9s cubic-bezier(0.34,1.28,0.64,1) 1.2s forwards;
}

@keyframes heroTextIn {
  to { opacity: 1; transform: translateX(0); }
}

/* Badge pill */
.hero-badge-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-sub); font-size: 0.72rem;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 50px;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.hero-badge-pill i { color: #60a5fa; font-size: 0.9rem; }

/* Headline */
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero-headline-accent {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtext */
.hero-subtext {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
}

/* Mini stats row */
.hero-stats-row {
  display: flex; align-items: center; gap: 1rem 1.25rem; flex-wrap: wrap;
}
.h-stat {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.h-stat span {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1;
}
.h-stat small {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.h-stat-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.15);
}

/* Buttons */
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #1f2937;
  color: #ffffff;
  font-family: var(--font-sub); font-weight: 700;
  font-size: 0.88rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 30px; border-radius: 50px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.hero-btn-primary:hover {
  background: #374151;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  color: #ffffff;
}
a.hero-btn-primary[href*="contact"] {
  background: var(--clr-contact, #22c55e);
  box-shadow: 0 10px 32px rgba(34, 197, 94, 0.4);
}
a.hero-btn-primary[href*="contact"]:hover {
  background: var(--clr-contact-hover, #16a34a);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 44px rgba(22, 163, 74, 0.5);
  color: #fff;
}
.hero-btn-secondary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-sub); font-weight: 700;
  font-size: 0.88rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 13px 28px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.35);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ==============================
   RIGHT — AGENT COLUMN
   ============================== */
.hero-agent-col {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  height: 100%;
  min-height: 500px;
}


/* ---- Character spotlight: a pseudo-element cone of light that sits
   directly behind the agent image inside the column ---- */
.hero-agent-col::before {
  content: '';
  position: absolute;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 520px; height: 520px;
  border-radius: 50%;
  pointer-events: none; z-index: 1;
  background: radial-gradient(
    ellipse at center,
    rgba(60, 110, 220, 0.18) 0%,
    rgba(30,  80, 180, 0.10) 35%,
    rgba(10,  30,  80, 0.06) 60%,
    transparent 75%
  );
  animation: spotlightPulse 5s ease-in-out infinite;
}
@keyframes spotlightPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1);    }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.06); }
}

/* Floating animation after entry */
/* Real team photo (replaces illustrative hero character) */
.hero-agent-img--pss {
  max-height: min(78vh, 520px);
  width: min(100%, 400px);
  object-fit: cover;
  object-position: center 20%;
  border-radius: 14px;
  filter:
    drop-shadow(0 0 20px rgba(59, 130, 246, 0.35))
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
  animation:
    agentIntroRise 1.1s cubic-bezier(0.34, 1.28, 0.64, 1) 0.5s both,
    agentFloat 4s ease-in-out 1.8s infinite;
}
.hero-agent-img--pss::after {
  display: none;
}

.hero-agent-img {
  position: relative; z-index: 4;
  max-height: 75vh;
  width: auto;
  object-fit: contain;

  /* Transparent PNG blends naturally — mix-blend-mode: normal keeps colours true */
  /* Multi-layer drop-shadow:
     1. Blue character glow outline (user-requested)
     2. Soft ambient depth shadow
     3. Tight contact shadow at base */
  filter:
    drop-shadow(0 0 25px rgba(59, 130, 246, 0.45))
    drop-shadow(0 0 60px rgba(59, 130, 246, 0.18))
    drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));

  /* 4-second float — exactly as specified */
  animation:
    agentIntroRise 1.1s cubic-bezier(0.34,1.28,0.64,1) 0.5s both,
    agentFloat 4s ease-in-out 1.8s infinite;

  transform-origin: bottom center;
  will-change: transform, filter;
}

/* Intro: rises from below (runs once) */
@keyframes agentIntroRise {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Continuous 4-second float — max -8px exactly as specified */
@keyframes agentFloat {
  0%   { transform: translateY(0px);  }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px);  }
}



/* === SHIELD AURA SYSTEM === */
.shield-aura-wrap {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 420px; height: 420px;
  z-index: 2;
  pointer-events: none;
  /* Intro: hidden, then expands in with pulse */
  opacity: 0;
  animation: auraIntro 1.4s cubic-bezier(0.34,1.28,0.64,1) 0.9s forwards;
}
@keyframes auraIntro {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.7); }
  60%  { opacity: 1; transform: translate(-50%,-50%) scale(1.08); }
  75%  { transform: translate(-50%,-50%) scale(0.97); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}

/* ---- Rings ---- */
.shield-ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
/* Outer ring: slow rotation, dashed glow border */
.shield-ring-outer {
  width: 400px; height: 400px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#060b16, #060b16) padding-box,
    conic-gradient(
      rgba(96,165,250,0.7) 0deg,
      transparent 60deg,
      rgba(59,130,246,0.5) 120deg,
      transparent 180deg,
      rgba(147,197,253,0.6) 240deg,
      transparent 300deg,
      rgba(96,165,250,0.7) 360deg
    ) border-box;
  animation: outerSpin 12s linear infinite;
}
@keyframes outerSpin {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}
/* Middle ring: pulsing solid ring */
.shield-ring-mid {
  width: 330px; height: 330px;
  border: 2px dashed rgba(96,165,250,0.25);
  animation: midSpin 20s linear infinite reverse, midPulse 3s ease-in-out infinite;
}
@keyframes midSpin {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes midPulse {
  0%, 100% { border-color: rgba(96,165,250,0.18); box-shadow: none; }
  50%       { border-color: rgba(96,165,250,0.45); box-shadow: 0 0 30px rgba(59,130,246,0.2) inset, 0 0 20px rgba(59,130,246,0.12); }
}
/* Inner bright halo */
.shield-ring-inner {
  width: 240px; height: 240px;
  background: radial-gradient(
    ellipse,
    rgba(59,130,246,0.15) 0%,
    rgba(30,80,200,0.08) 50%,
    transparent 75%
  );
  border: 1px solid rgba(96,165,250,0.3);
  box-shadow: 0 0 40px rgba(59,130,246,0.18) inset, 0 0 60px rgba(59,130,246,0.12);
  animation: innerPulse 3s ease-in-out infinite;
}
@keyframes innerPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.04); }
}

/* ---- Security grid pattern inside aura ---- */
.shield-grid {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 310px; height: 310px;
  border-radius: 50%;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(96,165,250,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.8;
  animation: gridFade 3s ease-in-out infinite alternate;
}
@keyframes gridFade {
  from { opacity: 0.5; } to { opacity: 0.9; }
}

/* ---- Shield icon backdrop ---- */
.shield-icon-bg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 7rem;
  color: rgba(59,130,246,0.07);
  animation: iconFade 3s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes iconFade {
  from { opacity: 0.5; transform: translate(-50%,-50%) scale(0.95); }
  to   { opacity: 1;   transform: translate(-50%,-50%) scale(1.05); }
}

/* ---- Spark nodes orbiting the ring ---- */
.spark {
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #93c5fd;
  box-shadow: 0 0 8px 2px rgba(147,197,253,0.8), 0 0 18px rgba(96,165,250,0.5);
  transform-origin: 0 0;
  animation: sparkOrbit 8s linear infinite;
}
/* Each spark placed at a different angle around a 200px radius circle */
.sk1 { animation-delay: 0s;    animation-duration: 8s; }
.sk2 { animation-delay: -1s;   animation-duration: 8s; }
.sk3 { animation-delay: -2s;   animation-duration: 8s; }
.sk4 { animation-delay: -3s;   animation-duration: 8s; }
.sk5 { animation-delay: -4s;   animation-duration: 10s; width:4px; height:4px; }
.sk6 { animation-delay: -5s;   animation-duration: 10s; width:4px; height:4px; }
.sk7 { animation-delay: -6.5s; animation-duration: 10s; width:3px; height:3px; opacity:0.7; }
.sk8 { animation-delay: -7s;   animation-duration: 10s; width:3px; height:3px; opacity:0.7; }
@keyframes sparkOrbit {
  0%   { transform: rotate(0deg)   translate(200px, 0) rotate(0deg);   opacity:0.9; }
  25%  {                                                                opacity:0.4; }
  50%  { transform: rotate(180deg) translate(200px, 0) rotate(-180deg); opacity:0.9; }
  75%  {                                                                opacity:0.4; }
  100% { transform: rotate(360deg) translate(200px, 0) rotate(-360deg); opacity:0.9; }
}

/* Glow rings behind agent — keep for ambient fill */
.agent-glow-ring {
  display: none; /* replaced by shield aura system */
}

/* === Floor spotlight / depth shadow under agent === */
.agent-platform {
  position: absolute;
  bottom: 4%; left: 50%; transform: translateX(-50%);
  z-index: 3; pointer-events: none;
}
.agent-platform::before {
  content: '';
  display: block;
  width: 280px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 45%, transparent 75%);
  animation: shadowBreath 4s ease-in-out infinite;
}
.agent-platform::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 260px;
  background: radial-gradient(ellipse at bottom, rgba(96,165,250,0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: beamBreath 4s ease-in-out infinite;
}
@keyframes shadowBreath {
  0%, 100% { opacity: 0.8; width: 260px; }
  50%       { opacity: 0.5; width: 300px; }
}
@keyframes beamBreath {
  0%, 100% { opacity: 0.6; height: 240px; }
  50%       { opacity: 1;   height: 280px; }
}

/* --- Scroll indicator --- */
.scroll-indicator {
  position: absolute; bottom: 35px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px; z-index: 6;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1) translateY(0); }
  50% { opacity: 0.3; transform: scaleY(0.5) translateY(10px); }
}
.scroll-indicator span {
  font-family: var(--font-sub); font-size: 0.6rem; letter-spacing: 3px;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
}

/* ==============================
   RESPONSIVE — Mobile / Tablet
   ============================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
    padding-top: calc(var(--nav-height) + var(--announcement-offset, 0px) + 20px);
    align-content: center;
    gap: 0;
    min-height: 100vh;
  }
  .hero-agent-col {
    order: -1;
    min-height: 300px;
    align-items: center;
    justify-content: center;
  }
  .hero-agent-img { max-height: 260px; }
  .hero-agent-img--pss {
    max-height: min(52vh, 300px);
    width: min(100%, 320px);
  }
  .hero-text-col { align-items: center; }
  .hero-headline { font-size: clamp(2rem, 9vw, 3.5rem); }
  .hero-subtext { text-align: center; }
  .hero-stats-row { justify-content: center; }
  .hero-btns { justify-content: center; }
  .bg-screen { display: none; }
  .hero-tech-grid { opacity: 0.5; }
  /* Scale down aura for tablets */
  .shield-aura-wrap { width: 280px; height: 280px; }
  .shield-ring-outer { width: 270px; height: 270px; }
  .shield-ring-mid   { width: 220px; height: 220px; }
  .shield-ring-inner { width: 160px; height: 160px; }
  .shield-grid       { width: 200px; height: 200px; }
  .shield-icon-bg    { font-size: 4.5rem; }
  @keyframes sparkOrbit {
    0%   { transform: rotate(0deg)   translate(135px,0) rotate(0deg);   }
    100% { transform: rotate(360deg) translate(135px,0) rotate(-360deg); }
  }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .hero-agent-img { max-height: 200px; }
  .hero-agent-img--pss {
    max-height: min(48vh, 240px);
    width: min(100%, 280px);
  }
  /* On small phones animation simplified */
  .shield-aura-wrap { width: 220px; height: 220px; }
  .shield-ring-outer { width: 210px; height: 210px; }
  .shield-ring-mid   { width: 170px; height: 170px; }
  .shield-ring-inner { width: 120px; height: 120px; }
  .shield-grid, .shield-icon-bg { display: none; }
  .sk5, .sk6, .sk7, .sk8 { display: none; }
  @keyframes sparkOrbit {
    0%   { transform: rotate(0deg)   translate(105px,0) rotate(0deg);   }
    100% { transform: rotate(360deg) translate(105px,0) rotate(-360deg); }
  }
}


/* ============================================================
   STATS BAR ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Modern animated counter layout
   ============================================================ */
.stats-bar {
  background: #0c1220;
  padding: 52px 0; position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.stats-bar::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(59,130,246,0.06), transparent 70%);
}
.stats-container {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.stat-item {
  flex: 1 1 180px; display: flex; flex-direction: column; align-items: center;
  gap: 0.4rem; padding: 1.2rem;
}
.stat-num {
  font-family: var(--font-heading); font-size: 52px; line-height: 1;
  letter-spacing: 2px;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item:nth-child(1) .stat-num { background-image: linear-gradient(135deg,#3b82f6,#60a5fa); }
.stat-item:nth-child(3) .stat-num { background-image: linear-gradient(135deg,#f59e0b,#fcd34d); }
.stat-item:nth-child(5) .stat-num { background-image: linear-gradient(135deg,#10b981,#34d399); }
.stat-item:nth-child(7) .stat-num { background-image: linear-gradient(135deg,#8b5cf6,#a78bfa); }
.stat-plus { font-family: var(--font-heading); font-size: 2rem; display: inline; }
.stat-label {
  font-family: var(--font-sub); font-size: 0.72rem; letter-spacing: 2.5px;
  color: rgba(255,255,255,0.45); text-transform: uppercase;
}
.stat-divider { width: 1px; height: 55px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* ============================================================
   SERVICES OVERVIEW — Premium Card Grid
   ============================================================ */
.svc-overview-section {
  background: var(--clr-section-bg);
  position: relative; overflow: hidden;
}
.svc-overview-light {
  background: #f4f6f9;
}
.svc-overview-light .svc-section-bg-pattern {
  opacity: 0.85;
}

/* Subtle diagonal-stripe background pattern */
.svc-section-bg-pattern {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 22px,
    rgba(0,0,0,0.022) 22px,
    rgba(0,0,0,0.022) 23px
  );
}
.svc-section-bg-pattern::after {
  content: '';
  position: absolute; bottom: -80px; left: -60px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.055) 0%, transparent 70%);
  pointer-events: none;
}
.svc-overview-section .container { position: relative; z-index: 1; }

.svc-section-sub {
  color: var(--clr-text-muted); font-size: 0.92rem; margin-top: 0.6rem;
  font-family: var(--font-body); max-width: 520px; margin-inline: auto;
  line-height: 1.7;
}

/* Grid */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  margin-top: 2.6rem;
}

/* Homepage “What We Offer” — 5 cards: 3 top, 2 bottom (centered) */
.services-grid--offer {
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}
.services-grid--offer .service-card {
  grid-column: span 2;
}
.services-grid--offer .service-card:nth-child(4),
.services-grid--offer .service-card:nth-child(5) {
  grid-column: span 3;
}

.svc-offer-cta-row {
  text-align: center;
  margin-top: 2.75rem;
}

/* ---- Base card ---- */
.service-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 18px;
  padding: 2rem 1.7rem 1.65rem;
  position: relative; overflow: hidden;
  cursor: pointer;
  opacity: 0; transform: translateY(30px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.32s ease,
    border-color 0.28s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
}

/* Fully clickable card (anchor) */
a.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
a.service-card:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}
a.service-card p {
  flex-grow: 1;
  margin-bottom: 0;
}
a.service-card .svc-card-link {
  margin-top: auto;
  padding-top: 1rem;
}
.service-card.svc-visible {
  opacity: 1; transform: translateY(0);
}
.service-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.11), 0 6px 14px rgba(0,0,0,0.06);
}

/* Top coloured accent bar */
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3.5px; border-radius: 18px 18px 0 0;
  transition: height 0.3s ease;
}
.service-card:hover::before { height: 5px; }

/* ---- Icon wrap ---- */
.svc-icon-wrap {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; color: #fff; margin-bottom: 1.3rem;
  position: relative; flex-shrink: 0;
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.service-card:hover .svc-icon-wrap { transform: scale(1.13) rotate(-4deg); }

.svc-icon-glow {
  position: absolute; inset: -6px; border-radius: 20px;
  filter: blur(14px); opacity: 0.28; z-index: -1;
  transition: opacity 0.35s ease;
}
.service-card:hover .svc-icon-glow { opacity: 0.56; }

/* ---- Typography ---- */
.service-card h3 {
  font-family: var(--font-sub); font-size: 1.05rem; font-weight: 700;
  color: var(--clr-text); letter-spacing: 0.8px; margin-bottom: 0.55rem;
  text-transform: uppercase; line-height: 1.3;
}
.service-card p { font-size: 0.85rem; color: var(--clr-text-muted); line-height: 1.65; }

/* ---- CTA row (text) on clickable cards ---- */
.svc-card-link {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.1rem;
  font-family: var(--font-sub); font-size: 0.78rem; letter-spacing: 1.8px;
  text-transform: uppercase; font-weight: 700;
  transition: gap 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}
.svc-card-link i { transition: transform 0.25s ease; font-size: 0.72rem; }
a.service-card:hover .svc-card-link { gap: 0.85rem; opacity: 0.92; }
a.service-card:hover .svc-card-link i { transform: translateX(4px); }

/* ---- Per-card colour themes ---- */
.svc-card-1::before                { background: linear-gradient(90deg,#3b82f6,#60a5fa); }
.svc-card-1 .svc-icon-wrap         { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.svc-card-1 .svc-icon-glow         { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.svc-card-1 .svc-card-link         { color: #2563eb; }
.svc-card-1:hover                  { border-color: rgba(59,130,246,0.35); box-shadow: 0 22px 52px rgba(59,130,246,0.14),0 6px 14px rgba(59,130,246,0.08), 0 0 0 1px rgba(59,130,246,0.08); }

/* Pickeye — cyan / tech */
.svc-card-2::before                { background: linear-gradient(90deg,#06b6d4,#22d3ee); }
.svc-card-2 .svc-icon-wrap         { background: linear-gradient(135deg,#0891b2,#06b6d4); }
.svc-card-2 .svc-icon-glow         { background: linear-gradient(135deg,#0891b2,#06b6d4); }
.svc-card-2 .svc-card-link         { color: #0891b2; }
.svc-card-2:hover                  { border-color: rgba(6,182,212,0.35); box-shadow: 0 22px 52px rgba(6,182,212,0.14),0 6px 14px rgba(6,182,212,0.08), 0 0 0 1px rgba(6,182,212,0.08); }

.svc-card-3::before                { background: linear-gradient(90deg,#4f46e5,#818cf8); }
.svc-card-3 .svc-icon-wrap         { background: linear-gradient(135deg,#4f46e5,#3730a3); }
.svc-card-3 .svc-icon-glow         { background: linear-gradient(135deg,#4f46e5,#3730a3); }
.svc-card-3 .svc-card-link         { color: #4338ca; }
.svc-card-3:hover                  { border-color: rgba(79,70,229,0.35); box-shadow: 0 22px 52px rgba(79,70,229,0.12),0 6px 14px rgba(79,70,229,0.07), 0 0 0 1px rgba(79,70,229,0.08); }

/* Facilities — orange */
.svc-card-4::before                { background: linear-gradient(90deg,#f97316,#fb923c); }
.svc-card-4 .svc-icon-wrap         { background: linear-gradient(135deg,#f97316,#ea580c); }
.svc-card-4 .svc-icon-glow         { background: linear-gradient(135deg,#f97316,#ea580c); }
.svc-card-4 .svc-card-link         { color: #ea580c; }
.svc-card-4:hover                  { border-color: rgba(249,115,22,0.35); box-shadow: 0 22px 52px rgba(249,115,22,0.12),0 6px 14px rgba(249,115,22,0.07), 0 0 0 1px rgba(249,115,22,0.08); }

/* Training — purple */
.svc-card-5::before                { background: linear-gradient(90deg,#8b5cf6,#a78bfa); }
.svc-card-5 .svc-icon-wrap         { background: linear-gradient(135deg,#8b5cf6,#6d28d9); }
.svc-card-5 .svc-icon-glow         { background: linear-gradient(135deg,#8b5cf6,#6d28d9); }
.svc-card-5 .svc-card-link         { color: #7c3aed; }
.svc-card-5:hover                  { border-color: rgba(139,92,246,0.35); box-shadow: 0 22px 52px rgba(139,92,246,0.12),0 6px 14px rgba(139,92,246,0.07), 0 0 0 1px rgba(139,92,246,0.08); }

.svc-card-6::before                { background: linear-gradient(90deg,#f43f5e,#fb7185); }
.svc-card-6 .svc-icon-wrap         { background: linear-gradient(135deg,#f43f5e,#e11d48); }
.svc-card-6 .svc-icon-glow         { background: linear-gradient(135deg,#f43f5e,#e11d48); }
.svc-card-6 .svc-card-link         { color: #e11d48; }
.svc-card-6:hover                  { border-color: rgba(244,63,94,0.3); box-shadow: 0 20px 48px rgba(244,63,94,0.11),0 6px 14px rgba(244,63,94,0.07); }

/* Legacy aliases — keep for other pages */
.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem;
  font-family: var(--font-sub); font-size: 0.8rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--clr-brand); font-weight: 600;
}
.card-link:hover { gap: 0.8rem; color: var(--clr-highlight); }
.card-link i { transition: var(--transition); }
.card-link:hover i { transform: translateX(4px); }
.card-glow { display: none; }
.card-icon-wrap {
  width: 56px; height: 56px; background: rgba(17,17,17,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--clr-brand); margin-bottom: 1.2rem;
  transition: var(--transition);
}
.featured-card { border-color: rgba(17,17,17,0.35); background: linear-gradient(135deg,var(--clr-white),var(--clr-section-bg)); }

/* ============================================================
   TECHNICAL SERVICES ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Clean cards, brand icons
   ============================================================ */
.tech-section { background: var(--clr-primary-bg); }
.tech-bg-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 30px, var(--clr-border) 30px, var(--clr-border) 31px
  ), repeating-linear-gradient(
    90deg, transparent, transparent 30px, var(--clr-border) 30px, var(--clr-border) 31px
  );
}
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 1.5rem; }
.tech-card {
  background: var(--clr-section-bg); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 2rem; display: flex; align-items: flex-start; gap: 1.5rem;
  position: relative; overflow: hidden; transition: var(--transition);
  box-shadow: var(--shadow-soft);
}
.tech-card:hover {
  border-color: rgba(17, 17, 17, 0.4); transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.tech-icon {
  width: 64px; height: 64px; flex-shrink: 0; background: rgba(17, 17, 17, 0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--clr-brand);
  transition: var(--transition);
}
.tech-card:hover .tech-icon { background: rgba(17, 17, 17, 0.2); transform: scale(1.08); }
.tech-content h3 {
  font-family: var(--font-sub); font-size: 1.1rem; font-weight: 700;
  color: var(--clr-text); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem;
}
.tech-content p { font-size: 0.87rem; color: var(--clr-text-muted); line-height: 1.65; }
.tech-number {
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-heading); font-size: 3.5rem; color: rgba(17, 17, 17, 0.08);
  letter-spacing: 2px; line-height: 1;
}

/* ============================================================
   GALLERY ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Modern portfolio grid, hover zoom, overlay fade
   ============================================================ */
.gallery-section { background: var(--clr-section-bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); cursor: pointer;
  box-shadow: var(--shadow-soft);
  background: #0f172a;
  min-height: 120px;
}
.gallery-item.g-large { grid-column: span 2; }
.gallery-item.g-tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease; display: block;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0.3) 60%, transparent 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; opacity: 0; transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; color: var(--clr-brand); }
.gallery-overlay span {
  font-family: var(--font-sub); font-size: 0.8rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--clr-white);
}

/* ============================================================
   OUR AIM ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Bright section, brand accents
   ============================================================ */
/* ============================================================
   TECHNICAL SOLUTIONS SECTION — Premium Feature Cards
   ============================================================ */
.aim-section {
  background: var(--clr-primary-bg);
  position: relative; overflow: hidden;
}
.aim-section-bg-pattern {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(13,148,136,0.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.aim-section-bg-pattern::after {
  content: '';
  position: absolute; top: -100px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 68%);
  pointer-events: none;
}
.aim-section .container { position: relative; z-index: 1; }
.aim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.aim-img-wrap { position: relative; }
.aim-img-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
}
.aim-img-frame img { width: 100%; height: 480px; object-fit: cover; display: block; }
.aim-img-overlay-shimmer {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg,rgba(255,255,255,0.06) 0%,transparent 50%,rgba(0,0,0,0.1) 100%);
}
.aim-overlay-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: linear-gradient(135deg,#1e293b,#0f172a);
  color: #fff; padding: 1rem 1.35rem; border-radius: 12px;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  font-family: var(--font-sub);
  border: 1px solid rgba(255,255,255,0.1);
}
.aim-overlay-badge i { font-size: 1.6rem; color: #2dd4bf; flex-shrink: 0; }
.aim-overlay-badge strong { font-family: var(--font-heading); font-size: 1.15rem; letter-spacing: 1px; display: block; line-height: 1; }
.aim-overlay-badge span { font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.aim-badge-pulse {
  position: absolute; top: -5px; right: -5px;
  width: 12px; height: 12px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: aimPulse 1.8s ease-in-out infinite;
}
@keyframes aimPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.aim-stat-pill {
  position: absolute; top: -18px; right: -18px;
  background: #fff; border-radius: 40px;
  padding: 0.65rem 1.1rem; display: flex; align-items: center; gap: 0.6rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1),0 1px 4px rgba(0,0,0,0.06);
  font-family: var(--font-sub); border: 1px solid rgba(0,0,0,0.06);
}
.aim-stat-pill i { font-size: 1.1rem; color: #3b82f6; }
.aim-stat-pill strong { font-family: var(--font-heading); font-size: 1.1rem; color: var(--clr-text); display: block; line-height: 1; }
.aim-stat-pill span { font-size: 0.62rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--clr-text-muted); }
.aim-lead { font-size: 0.96rem; color: var(--clr-text-muted); line-height: 1.85; margin-bottom: 0.5rem; }
.aim-lead strong { color: var(--clr-text); font-weight: 600; }
.aim-feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1.5rem 0 0;
}
.aim-feature-card {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: #fff; border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.055),0 1px 3px rgba(0,0,0,0.04);
  cursor: default; position: relative; overflow: hidden;
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.45s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.28s ease;
}
.aim-feature-card.afc-visible { opacity: 1; transform: translateY(0); }
.aim-feature-card:hover { transform: translateY(-5px) !important; box-shadow: 0 14px 36px rgba(0,0,0,0.1),0 4px 10px rgba(0,0,0,0.06); }
.aim-feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: 14px 14px 0 0; transition: height 0.28s ease;
}
.aim-feature-card:hover::before { height: 4.5px; }
.afc-icon-wrap {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; flex-shrink: 0; position: relative;
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
}
.aim-feature-card:hover .afc-icon-wrap { transform: scale(1.12) rotate(-4deg); }
.afc-icon-glow {
  position: absolute; inset: -5px; border-radius: 16px;
  filter: blur(12px); opacity: 0.25; z-index: -1; transition: opacity 0.32s ease;
}
.aim-feature-card:hover .afc-icon-glow { opacity: 0.52; }
.afc-content h4 {
  font-family: var(--font-sub); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 0.2rem;
}
.afc-content p { font-size: 0.78rem; color: var(--clr-text-muted); line-height: 1.55; margin: 0; }
.afc-1::before { background: linear-gradient(90deg,#3b82f6,#60a5fa); }
.afc-1 .afc-icon-wrap { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.afc-1 .afc-icon-glow { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.afc-1 .afc-content h4 { color: #2563eb; }
.afc-1:hover { border-color: rgba(59,130,246,0.28); box-shadow: 0 14px 36px rgba(59,130,246,0.1),0 4px 10px rgba(59,130,246,0.07); }
.afc-2::before { background: linear-gradient(90deg,#8b5cf6,#a78bfa); }
.afc-2 .afc-icon-wrap { background: linear-gradient(135deg,#8b5cf6,#6d28d9); }
.afc-2 .afc-icon-glow { background: linear-gradient(135deg,#8b5cf6,#6d28d9); }
.afc-2 .afc-content h4 { color: #7c3aed; }
.afc-2:hover { border-color: rgba(139,92,246,0.28); box-shadow: 0 14px 36px rgba(139,92,246,0.1),0 4px 10px rgba(139,92,246,0.07); }
.afc-3::before { background: linear-gradient(90deg,#0d9488,#2dd4bf); }
.afc-3 .afc-icon-wrap { background: linear-gradient(135deg,#0d9488,#0f766e); }
.afc-3 .afc-icon-glow { background: linear-gradient(135deg,#0d9488,#0f766e); }
.afc-3 .afc-content h4 { color: #0f766e; }
.afc-3:hover { border-color: rgba(13,148,136,0.28); box-shadow: 0 14px 36px rgba(13,148,136,0.1),0 4px 10px rgba(13,148,136,0.07); }
.afc-4::before { background: linear-gradient(90deg,#f97316,#fb923c); }
.afc-4 .afc-icon-wrap { background: linear-gradient(135deg,#f97316,#ea580c); }
.afc-4 .afc-icon-glow { background: linear-gradient(135deg,#f97316,#ea580c); }
.afc-4 .afc-content h4 { color: #ea580c; }
.afc-4:hover { border-color: rgba(249,115,22,0.28); box-shadow: 0 14px 36px rgba(249,115,22,0.1),0 4px 10px rgba(249,115,22,0.07); }
.aim-feature i { display: none; }

/* ============================================================
   CTA STRIP ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Bright gradient, modern buttons
   ============================================================ */
.cta-strip { position: relative; padding: 80px 0; overflow: hidden; }
.cta-strip-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1f2937, #374151);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.cta-strip-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(17, 17, 17, 0.06) 0%, transparent 70%);
}
.cta-strip-content {
  position: relative; z-index: 1; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-strip-text { display: flex; align-items: center; gap: 1.5rem; }
.cta-shield-icon { font-size: 3rem; color: var(--clr-brand); }
.cta-strip-text h2 {
  font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--clr-text); letter-spacing: 3px;
}
.cta-strip-text p { font-family: var(--font-sub); color: var(--clr-text-muted); font-size: 0.95rem; letter-spacing: 1px; }
.cta-strip-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-sub); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 28px; border-radius: 50px; transition: var(--transition);
}
.cta-call { background: linear-gradient(135deg, var(--clr-brand), var(--clr-highlight)); color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(17, 17, 17, 0.35); }
.cta-call:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(17, 17, 17, 0.4); }
.cta-whatsapp { background: #25d366; color: var(--clr-white); box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
.cta-whatsapp:hover { background: #1da851; transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4); }

/* ============================================================
   CONTACT ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Bright form, rounded inputs, focus state
   ============================================================ */
.contact-section { background: var(--clr-section-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.contact-info h3 {
  font-family: var(--font-sub); font-size: 1.4rem; font-weight: 700;
  color: var(--clr-text); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.8rem;
}
.contact-info > p { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.7; margin-bottom: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
  border: 1px solid var(--clr-border); border-radius: var(--radius);
  margin-bottom: 0.8rem; transition: var(--transition); background: var(--clr-section-bg);
  box-shadow: var(--shadow-soft);
}
.contact-item:hover { border-color: var(--clr-brand); transform: translateX(4px); box-shadow: var(--shadow-soft); }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0; background: rgba(17, 17, 17, 0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--clr-brand);
}
.contact-label {
  display: block; font-family: var(--font-sub); font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--clr-brand); margin-bottom: 0.2rem;
}
.contact-value {
  display: block; font-family: var(--font-sub); font-size: 1rem; font-weight: 600;
  color: var(--clr-text);
}
a.contact-value:hover { color: var(--clr-brand); }
.social-links { display: flex; gap: 0.8rem; margin-top: 1.5rem; }
.social-link {
  width: 44px; height: 44px; border-radius: 50%; background: var(--clr-section-bg);
  border: 1px solid var(--clr-border); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--clr-text-muted); transition: var(--transition);
  box-shadow: var(--shadow-soft);
}
.social-link:hover { background: var(--clr-brand); color: var(--clr-white);
  border-color: var(--clr-brand); transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.35); }

/* Contact Form */
.contact-form-wrap {
  background: var(--clr-section-bg); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-card);
}
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-sub); font-size: 0.75rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--clr-brand);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--clr-section-bg); border: 1px solid var(--clr-border);
  color: var(--clr-text); padding: 14px 18px; border-radius: var(--radius);
  font-size: 0.9rem; transition: var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-brand); background: var(--clr-section-bg);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--clr-text-muted); }
.form-group select option { background: var(--clr-section-bg); color: var(--clr-text); }
.form-group textarea { resize: vertical; min-height: 110px; }
.submit-btn { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; border-radius: 50px; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17, 17, 17, 0.35); }

/* ============================================================
   FOOTER ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Clean corporate, light grey, section dividers
   ============================================================ */
/* ============================================================
   FOOTER — Premium Dark Redesign
   ============================================================ */
#footer {
  background: #0c1220;
  position: relative;
  overflow: hidden;
}

/* Gradient top accent bar */
.footer-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 35%, #f59e0b 65%, #ef4444 100%);
}

/* Dot-grid background pattern */
.footer-bg-pattern {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
}
.footer-bg-pattern::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 5% 10%, rgba(59,130,246,0.07), transparent 60%),
    radial-gradient(ellipse 50% 60% at 95% 90%, rgba(139,92,246,0.07), transparent 60%);
}

.footer-main {
  padding: 72px 0 48px;
  position: relative; z-index: 1;
}

/* Legacy .footer-grid kept for non-corporate pages */
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 3rem;
}

/* Logo */
.footer-logo { display: flex; align-items: center; margin-bottom: 1.2rem; }
.footer-logo-img {
  height: 60px; width: auto; max-width: 210px; object-fit: contain;
  filter: invert(1) brightness(1.1) drop-shadow(0 0 8px rgba(255,255,255,0.15));
}

/* Description */
.footer-desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Cert badges */
.footer-certifications { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-sub); font-size: 0.62rem; letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 13px; border-radius: 20px;
  background: rgba(255,255,255,0.07);
  transition: background 0.25s, border-color 0.25s;
}
.cert-badge i { color: #f59e0b; }
.cert-badge:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.28); }

/* Social icons */
.footer-social-row { display: flex; gap: 0.55rem; }
.footer-soc {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.25s, border-color 0.25s, color 0.25s;
}
.footer-soc:hover { transform: translateY(-4px) scale(1.1); color: #fff; border-color: transparent; }
.footer-soc-fb:hover  { background: #1877f2; }
.footer-soc-ig:hover  { background: linear-gradient(135deg,#f9a825,#e1306c,#8b5cf6); }
.footer-soc-li:hover  { background: #0a66c2; }
.footer-soc-wa:hover  { background: #25d366; }

/* Column headings */
.footer-heading {
  font-family: var(--font-sub); font-size: 0.72rem; letter-spacing: 2.5px;
  text-transform: uppercase; margin-bottom: 1.4rem;
  padding-bottom: 0.7rem; position: relative;
  color: rgba(255,255,255,0.9);
}
.footer-heading::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 2px;
}

/* Links (Quick + Services) */
.footer-svc-links, .footer-quick-links {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.footer-svc-links a, .footer-quick-links a {
  font-family: var(--font-sub); font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 0.5rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-svc-links a i, .footer-quick-links a i {
  font-size: 0.6rem; color: #f59e0b; flex-shrink: 0;
  transition: transform 0.2s ease;
}
.footer-svc-links a:hover, .footer-quick-links a:hover {
  color: #fff; padding-left: 4px;
}
.footer-svc-links a:hover i, .footer-quick-links a:hover i { transform: translateX(2px); }

/* Contact list */
.footer-contact-list { display: flex; flex-direction: column; gap: 1.1rem; list-style: none; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.9rem; }
.fci-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: #f59e0b;
}
.footer-contact-list div { display: flex; flex-direction: column; gap: 2px; }
.footer-contact-list span {
  font-family: var(--font-sub); font-size: 0.6rem;
  letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.footer-contact-list a {
  font-size: 0.875rem; color: rgba(255,255,255,0.8); transition: color 0.2s;
}
.footer-contact-list a:hover { color: #f59e0b; }

/* Locations list */
.footer-locations { display: flex; flex-direction: column; gap: 1.1rem; list-style: none; }
.footer-locations li { display: flex; align-items: flex-start; gap: 0.9rem; }
.fli-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: #60a5fa;
}
.footer-locations div { display: flex; flex-direction: column; gap: 2px; }
.footer-locations strong {
  font-family: var(--font-sub); font-size: 0.9rem;
  color: rgba(255,255,255,0.85); letter-spacing: 0.3px;
}
.footer-locations span {
  font-family: var(--font-sub); font-size: 0.68rem;
  letter-spacing: 1px; color: rgba(255,255,255,0.38);
}

/* Bottom bar */
.footer-bottom {
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.1rem 0;
  position: relative; z-index: 1;
}
.footer-bottom-content {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem 1.75rem; flex-wrap: wrap;
}
.footer-make-india {
  display: flex; align-items: center; justify-content: center;
  flex: 1 1 auto; min-width: 0;
}
.footer-mii-logo {
  height: 38px; width: auto; max-width: 132px;
  object-fit: contain; opacity: 0.94;
  filter: brightness(1.08);
}
.footer-bottom p {
  font-family: var(--font-sub); font-size: 0.78rem;
  color: rgba(255,255,255,0.3); letter-spacing: 0.8px;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  font-family: var(--font-sub); font-size: 0.75rem;
  color: rgba(255,255,255,0.35); transition: color 0.2s;
}
.footer-bottom-links a:hover { color: #f59e0b; }

/* Footer responsive */
@media (max-width: 560px) {
  .footer-bottom-content {
    flex-direction: column; text-align: center;
    align-items: center; gap: 0.85rem;
  }
  .footer-make-india { order: -1; flex: none; width: 100%; }
  .footer-mii-logo { height: 34px; max-width: 118px; }
  .footer-logo-img { height: 50px; }
}

/* ============================================================
   FLOATING CONTACT ACTION MENU (FAB)
   ============================================================ */
.fab-menu {
  position: fixed; bottom: 28px; right: 28px; z-index: 990;
}
.fab-toggle {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-brand), #8a6e1e);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; color: var(--clr-white);
  box-shadow: 0 8px 32px rgba(200,168,75,0.55);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.fab-toggle::before {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid rgba(200,168,75,0.35);
  animation: fabPulse 2.4s ease-in-out infinite; pointer-events: none;
}
@keyframes fabPulse {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.18); opacity: 0.15; }
}
.fab-toggle:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(200,168,75,0.7); }
.fab-menu.open .fab-toggle {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 8px 32px rgba(239,68,68,0.5);
  transform: rotate(45deg);
}
.fab-menu.open .fab-toggle:hover { transform: rotate(45deg) scale(1.1); }
.fab-menu.open .fab-toggle::before { border-color: rgba(239,68,68,0.35); }

.fab-icon-open, .fab-icon-close {
  position: absolute; transition: all 0.3s ease;
}
.fab-icon-close { opacity: 0; transform: rotate(-45deg) scale(0); }
.fab-menu.open .fab-icon-open  { opacity: 0; transform: rotate(90deg) scale(0); }
.fab-menu.open .fab-icon-close { opacity: 1; transform: rotate(0deg) scale(1); }

/* Action items sit absolutely above the toggle */
.fab-actions {
  position: absolute; bottom: calc(62px + 16px); right: 0;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  pointer-events: none;
}
.fab-action-item {
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(16px) scale(0.75);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.fab-menu.open .fab-actions { pointer-events: all; }
.fab-menu.open .fab-action-item { opacity: 1; transform: translateY(0) scale(1); }
/* Stagger: bottom item first → gives "pop up" effect */
.fab-menu.open .fab-action-item:nth-child(4) { transition-delay: 0s;    }
.fab-menu.open .fab-action-item:nth-child(3) { transition-delay: 0.06s; }
.fab-menu.open .fab-action-item:nth-child(2) { transition-delay: 0.12s; }
.fab-menu.open .fab-action-item:nth-child(1) { transition-delay: 0.18s; }

.fab-action-btn {
  width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--clr-white);
  transition: all 0.25s ease; text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3); flex-shrink: 0;
}
.fab-action-btn:hover { transform: scale(1.16); box-shadow: 0 8px 28px rgba(0,0,0,0.4); color: var(--clr-white); }
.fab-call     { background: linear-gradient(135deg, #22c55e, #16a34a); }
.fab-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.fab-contact  { background: linear-gradient(135deg, #f59e0b, #d97706); }
.fab-chat     { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.fab-tooltip {
  background: rgba(15,15,15,0.92); color: var(--clr-white);
  font-family: var(--font-sub); font-size: 0.7rem; letter-spacing: 1px;
  white-space: nowrap; padding: 6px 12px; border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35); backdrop-filter: blur(8px);
  pointer-events: none;
}

@media (max-width: 576px) {
  .fab-menu   { bottom: 20px; right: 16px; }
  .fab-toggle { width: 56px; height: 56px; font-size: 1.3rem; }
  .fab-actions { bottom: calc(56px + 14px); }
  .fab-action-btn { width: 46px; height: 46px; font-size: 1.05rem; }
  .fab-tooltip { font-size: 0.65rem; padding: 5px 10px; }
}

/* ============================================================
   CONTACT FORM POPUP
   ============================================================ */
.contact-popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px); z-index: 9995;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.contact-popup-overlay.active { opacity: 1; pointer-events: all; }
.contact-popup-card {
  background: var(--clr-card); border: 1px solid var(--clr-border);
  border-radius: 16px; width: 100%; max-width: 480px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55); overflow: hidden;
  transform: scale(0.88) translateY(24px);
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
}
.contact-popup-overlay.active .contact-popup-card { transform: scale(1) translateY(0); }
.contact-popup-header {
  display: flex; align-items: center; gap: 12px; padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, var(--clr-brand), #8a6e1e);
}
.contact-popup-title { display: flex; align-items: center; gap: 12px; flex: 1; }
.contact-popup-title > i { font-size: 1.5rem; color: rgba(255,255,255,0.9); }
.contact-popup-title h3 {
  color: #fff; font-size: 1.05rem; margin: 0;
  font-family: var(--font-main); letter-spacing: 1px;
}
.contact-popup-title p {
  color: rgba(255,255,255,0.72); font-size: 0.74rem;
  margin: 2px 0 0; font-family: var(--font-sub);
}
.contact-popup-close {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.15);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: background 0.2s ease; flex-shrink: 0;
}
.contact-popup-close:hover { background: rgba(255,255,255,0.32); }
.contact-popup-form {
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
}
.cpf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cpf-group { display: flex; flex-direction: column; gap: 6px; }
.cpf-group label {
  font-family: var(--font-sub); font-size: 0.7rem; letter-spacing: 1px;
  text-transform: uppercase; color: var(--clr-text-muted);
}
.cpf-group label i { color: var(--clr-brand); margin-right: 4px; }
.cpf-group input,
.cpf-group textarea {
  background: var(--clr-section-bg); border: 1px solid var(--clr-border);
  border-radius: 8px; padding: 10px 14px; color: var(--clr-text);
  font-family: var(--font-sub); font-size: 0.84rem;
  transition: border-color 0.2s ease; outline: none; resize: none;
  width: 100%; box-sizing: border-box;
}
.cpf-group input:focus,
.cpf-group textarea:focus { border-color: var(--clr-brand); }
.cpf-submit-btn {
  background: var(--clr-contact, #22c55e);
  color: #fff; border: none; border-radius: 8px; padding: 12px 24px;
  font-family: var(--font-sub); font-size: 0.82rem; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer; transition: all 0.25s ease;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}
.cpf-submit-btn:hover {
  background: var(--clr-contact-hover, #16a34a);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45);
}
.cpf-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.cpf-submit-msg {
  text-align: center; font-family: var(--font-sub); font-size: 0.8rem; min-height: 1.2em;
}
@media (max-width: 480px) {
  .cpf-row { grid-template-columns: 1fr; }
  .contact-popup-form { padding: 1.2rem; }
}

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chatbot-widget {
  position: fixed; bottom: 108px; right: 28px; z-index: 989;
  width: 320px; background: var(--clr-card); border: 1px solid var(--clr-border);
  border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; pointer-events: none;
  transform: translateY(20px) scale(0.94);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  transform-origin: bottom right;
}
.chatbot-widget.open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }
.chatbot-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 15px; background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  flex-shrink: 0;
}
.chatbot-header-info { display: flex; align-items: center; gap: 10px; }
.chatbot-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; flex-shrink: 0;
}
.chatbot-header-info strong {
  display: block; color: #fff; font-family: var(--font-sub);
  font-size: 0.84rem; letter-spacing: 0.5px;
}
.chatbot-header-info span { color: rgba(255,255,255,0.68); font-family: var(--font-sub); font-size: 0.68rem; }
.chatbot-close {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.15);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; transition: background 0.2s ease;
}
.chatbot-close:hover { background: rgba(255,255,255,0.3); }
.chatbot-messages {
  flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px;
  max-height: 256px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.chatbot-msg { display: flex; }
.chatbot-msg.bot  { justify-content: flex-start; }
.chatbot-msg.user { justify-content: flex-end; }
.chatbot-msg-bubble {
  max-width: 86%; padding: 9px 13px; border-radius: 12px;
  font-family: var(--font-sub); font-size: 0.78rem; line-height: 1.65;
  white-space: pre-line;
}
.chatbot-msg.bot  .chatbot-msg-bubble { background: rgba(255,255,255,0.06); color: #fff; border-bottom-left-radius: 4px; }
.chatbot-msg.user .chatbot-msg-bubble { background: linear-gradient(135deg,#8b5cf6,#6d28d9); color: #fff; border-bottom-right-radius: 4px; }
.chatbot-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0; }
.chatbot-quick-btn {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 5px 12px; color: var(--clr-brand);
  font-family: var(--font-sub); font-size: 0.69rem; cursor: pointer;
  transition: all 0.2s ease; white-space: nowrap;
}
.chatbot-quick-btn:hover { background: rgba(200,168,75,0.14); border-color: var(--clr-brand); }
.chatbot-input-row {
  display: flex; align-items: center; gap: 8px; padding: 10px 13px;
  border-top: 1px solid var(--clr-border); flex-shrink: 0;
}
.chatbot-input {
  flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--clr-border);
  border-radius: 20px; padding: 8px 14px; color: var(--clr-text);
  font-family: var(--font-sub); font-size: 0.8rem; outline: none;
  transition: border-color 0.2s ease;
}
.chatbot-input:focus { border-color: #8b5cf6; }
.chatbot-input::placeholder { color: var(--clr-text-muted); }
.chatbot-send-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg,#8b5cf6,#6d28d9);
  border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; transition: all 0.2s ease; flex-shrink: 0;
}
.chatbot-send-btn:hover { transform: scale(1.1); }
/* Typing indicator */
.chatbot-typing-bubble { display: flex; gap: 5px; padding: 10px 14px; background: rgba(255,255,255,0.06); border-radius: 12px; border-bottom-left-radius: 4px; width: fit-content; }
.chatbot-typing-bubble span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--clr-text-muted);
  animation: typingDot 1.2s ease-in-out infinite;
}
.chatbot-typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%,100% { opacity: 0.3; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(-4px); }
}
@media (max-width: 576px) {
  .chatbot-widget { width: calc(100vw - 32px); right: 16px; bottom: 96px; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 108px; right: 28px; z-index: 990;
  width: 48px; height: 48px; background: var(--clr-section-bg);
  border: 1px solid var(--clr-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--clr-brand); transition: var(--transition);
  opacity: 0; pointer-events: none; box-shadow: var(--shadow-card);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--clr-brand); color: var(--clr-white); border-color: var(--clr-brand); transform: translateY(-3px); }

/* ============================================================
   LIGHTBOX ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Smooth transition
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; background: rgba(17, 17, 17, 0.96); z-index: 9998;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius-lg); box-shadow: 0 24px 48px rgba(0,0,0,0.4); }
#lightboxCaption { font-family: var(--font-sub); font-size: 0.85rem; letter-spacing: 2px; color: var(--clr-brand); text-transform: uppercase; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; font-size: 1.5rem; color: var(--clr-white);
  transition: var(--transition); background: rgba(255,255,255,0.15); border-radius: 50%;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { color: var(--clr-brand); background: var(--clr-section-bg); }

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(30px);  } to { opacity: 1; transform: translateY(0); } }

/* AOS-like scroll animations */
[data-aos] { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos].aos-visible { opacity: 1; transform: translateY(0); }
[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }

/* ============================================================
   PAGE HERO (inner pages) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Bright banner
   ============================================================ */
.page-hero {
  position: relative; padding: 160px 0 80px; text-align: center;
  background: linear-gradient(135deg, #1f2937, #374151);
  border-bottom: 1px solid var(--clr-border);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0.5rem; margin-bottom: 1rem; font-family: var(--font-sub);
  font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--clr-text-muted);
}
.breadcrumbs a { color: var(--clr-brand); }
.breadcrumbs a:hover { color: var(--clr-highlight); }
.breadcrumbs span { color: var(--clr-border); }
.page-hero .section-title { margin-bottom: 0.5rem; color: var(--clr-text); }

/* ============================================================
   GALLERY MASONRY (gallery page)
   ============================================================ */
.gallery-masonry {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 220px; gap: 1rem;
}
.gallery-masonry .gallery-item { min-height: 220px; }
.gallery-masonry .gallery-item.g-large { grid-column: span 2; grid-row: span 2; }
.gallery-masonry .gallery-item.g-tall { grid-row: span 2; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .aim-grid { gap: 3rem; }
}

@media (max-width: 992px) {
  .nav-container {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.5rem;
  }
  .nav-actions .btn-protected.nav-cta-full {
    display: none !important;
  }
  .nav-brochure-icon-btn {
    display: inline-flex !important;
  }
}

@media (max-width: 900px) {
  :root {
    /* Slimmer fixed header on phones/tablets */
    --nav-height: 64px;
  }
  .hamburger { display: flex; }
  .nav-logo-img { height: 48px; max-width: 168px; }
  .nav-menu {
    flex: none;
    position: fixed;
    top: calc(var(--nav-height) + var(--announcement-offset, 0px));
    left: 0;
    right: 0;
    max-height: min(72vh, calc(100vh - var(--nav-height) - var(--announcement-offset, 0px) - 12px));
    max-height: min(72vh, calc(100dvh - var(--nav-height) - var(--announcement-offset, 0px) - 12px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--clr-border);
    /* -120% left ~20% of panel visible over the navbar (overlap with logo). Fully slide above the bar. */
    transform: translateY(calc(-100% - 16px));
    visibility: hidden;
    transition:
      transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      visibility 0s linear 0.4s;
    pointer-events: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    z-index: 1002;
  }
  .nav-menu.open {
    transform: translateY(0);
    visibility: visible;
    transition:
      transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      visibility 0s linear 0s;
    pointer-events: auto;
  }
  .nav-link {
    width: 100%; padding: 15px 2rem;
    border-bottom: 1px solid var(--clr-border); color: var(--clr-text);
    animation: none; transform: none;
  }
  .nav-link:hover { transform: translateX(6px); color: var(--clr-brand); }
  .nav-link::after { display: none; }

  /* Mobile dropdown — no hover gap bridge (would block touches) */
  .nav-dropdown::after {
    display: none;
    content: none;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
  }

  /* Mobile dropdown */
  .nav-dropdown { width: 100%; flex-direction: column; align-items: flex-start; }
  .nav-dropdown-toggle {
    width: 100%; padding: 15px 2rem; justify-content: space-between;
    border-bottom: 1px solid var(--clr-border); color: var(--clr-text);
    animation: none; transform: none;
  }
  .nav-dropdown-chevron { font-size: 0.65rem; transition: transform 0.32s cubic-bezier(0.34,1.4,0.64,1); }
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    z-index: auto;
    box-shadow: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--clr-border);
    background: rgba(37,99,235,0.03);
    min-width: 100%;
    padding: 0.3rem 0;
    /* Smooth accordion animation */
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease, visibility 0.2s;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 420px;
    padding: 0.3rem 0;
    visibility: visible;
    pointer-events: auto;
  }

  /* Mobile items — left indent, icon on left */
  .nav-dropdown-item {
    padding: 11px 1.5rem 11px 2.5rem;
    border-radius: 0;
    font-size: 0.77rem;
    letter-spacing: 0.8px;
    gap: 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transform: none !important;
  }
  .nav-dropdown-item:last-child { border-bottom: none; }
  .nav-dropdown-item > i,
  .nav-dropdown-item .ddi-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    font-size: 0.75rem;
  }
  .nav-dropdown-item:hover {
    transform: none !important;
    padding-left: 2.9rem;
    background: rgba(37,99,235,0.05);
  }
  .nav-dropdown-item.divider-above {
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 0; padding-top: 11px;
  }
  .aim-grid { grid-template-columns: 1fr; }
  .aim-stat-pill { top: -14px; right: -10px; padding: 0.55rem 0.9rem; }
  .aim-img-frame img { height: 360px; }
  .aim-feature-grid { grid-template-columns: 1fr 1fr; }
  .aim-img-frame img { height: 350px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item.g-large, .gallery-item.g-tall { grid-column: auto; grid-row: auto; }
  .gallery-masonry .gallery-item.g-large,
  .gallery-masonry .gallery-item.g-tall { grid-column: auto; grid-row: auto; }

  /* What We Offer — tablet: 2 columns */
  .services-grid--offer {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid--offer .service-card,
  .services-grid--offer .service-card:nth-child(4),
  .services-grid--offer .service-card:nth-child(5) {
    grid-column: span 1;
  }
}
@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .nav-logo-img { height: 46px; max-width: 150px; }
  .footer-logo-img { height: 52px; max-width: 180px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid--offer { grid-template-columns: 1fr; }
  .services-grid--offer .service-card,
  .services-grid--offer .service-card:nth-child(4),
  .services-grid--offer .service-card:nth-child(5) {
    grid-column: span 1;
  }
  .svc-icon-wrap { width: 50px; height: 50px; font-size: 1.25rem; }
  .tech-grid { grid-template-columns: 1fr; }
  .stats-container { gap: 0; }
  .stat-divider { display: none; }
  .stat-item { padding: 1.5rem 0.5rem; }
  .stat-num { font-size: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-strip-content { flex-direction: column; text-align: center; }
  .cta-strip-text { flex-direction: column; gap: 0.5rem; }
  .hero-title { font-size: 2.5rem; }
  .aim-features { grid-template-columns: 1fr; }
  .aim-feature-grid { grid-template-columns: 1fr; }
  .aim-stat-pill { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .footer-bottom-content { flex-direction: column; text-align: center; }
  .desktop-br { display: none; }
  .btn-primary, .btn-secondary, .cta-btn { padding: 14px 24px; min-height: 48px; }
}








/* ============================================================
   JOB APPLICATION POPUP
   ============================================================ */

/* --- Overlay --- */
.job-popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.job-popup-overlay.active {
  opacity: 1; visibility: visible;
}

/* --- Card --- */
.job-popup-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.15);
  width: 100%; max-width: 680px;
  max-height: 90vh; overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  transform: scale(0.88) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34,1.28,0.64,1);
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb transparent;
}
.job-popup-overlay.active .job-popup-card {
  transform: scale(1) translateY(0);
}
.job-popup-card::-webkit-scrollbar { width: 5px; }
.job-popup-card::-webkit-scrollbar-track { background: transparent; }
.job-popup-card::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 10px; }

/* --- Header --- */
.job-popup-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.4rem 1.6rem 1.2rem;
  background: linear-gradient(135deg, #0f1c38 0%, #1f2937 100%);
  border-radius: 20px 20px 0 0;
  position: relative;
}
.popup-logo-img {
  height: 42px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.job-popup-titles { flex: 1; }
.job-popup-titles h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem; letter-spacing: 2px; text-transform: uppercase;
  color: #ffffff; margin: 0 0 0.15rem;
  line-height: 1.1;
}
.job-popup-titles p {
  font-family: var(--font-sub);
  font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin: 0;
}
.job-popup-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 34px; height: 34px;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.job-popup-close:hover {
  background: rgba(255,255,255,0.25); color: #fff;
  transform: rotate(90deg) scale(1.05);
}

/* --- Badges --- */
.job-popup-badges {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  background: #f0f4ff;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: wrap;
}
.job-popup-badges span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-sub); font-size: 0.68rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #374151; background: #fff;
  border: 1px solid #d1d5db;
  padding: 4px 10px; border-radius: 20px;
}
.job-popup-badges span i { color: #1f2937; font-size: 0.7rem; }

/* --- Form area --- */
.job-popup-form {
  padding: 1.4rem 1.6rem 1.6rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.jf-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem;
}
.jf-group {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.jf-full { grid-column: 1 / -1; }

.jf-group label {
  font-family: var(--font-sub); font-size: 0.72rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #374151; font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem;
}
.jf-group label i { color: #6b7280; font-size: 0.75rem; }
.jf-group label span { color: #ef4444; }
.jf-optional { font-size: 0.65rem; color: #9ca3af; font-weight: 400; text-transform: none; letter-spacing: 0; }

.jf-group input,
.jf-group select,
.jf-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9rem; color: #111827;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none; font-family: inherit;
}
.jf-group input::placeholder,
.jf-group textarea::placeholder { color: #9ca3af; font-size: 0.85rem; }
.jf-group input:focus,
.jf-group select:focus,
.jf-group textarea:focus {
  border-color: #1f2937;
  box-shadow: 0 0 0 3px rgba(31,41,55,0.1);
  background: #fff;
}
.jf-group textarea { resize: vertical; min-height: 80px; }
.jf-group select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 36px;
}

.jf-file-label {
  display: flex; align-items: center; gap: 0.8rem;
  border: 1.5px dashed #d1d5db; border-radius: 10px;
  padding: 12px 16px; cursor: pointer;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.85rem; color: #6b7280;
}
.jf-file-label:hover { border-color: #1f2937; background: #f3f4f6; color: #1f2937; }
.jf-file-label i { font-size: 1.2rem; color: #9ca3af; flex-shrink: 0; }
.jf-file-label input[type="file"] { display: none; }

.jf-submit-btn {
  width: 100%; padding: 14px;
  background: #111827; color: #ffffff;
  font-family: var(--font-sub); font-size: 0.9rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border: none; border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 14px rgba(17,24,39,0.25);
  min-height: 50px;
}
.jf-submit-btn:hover {
  background: #374151; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17,24,39,0.3);
}
.jf-submit-btn:active { transform: translateY(0); }
.jf-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.jf-submit-msg {
  font-size: 0.88rem; text-align: center; border-radius: 8px;
  padding: 0; max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.jf-submit-msg.show { max-height: 80px; padding: 10px 14px; }
.jf-submit-msg.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.jf-submit-msg.error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.jf-alt-actions {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
}
.jf-alt-label {
  font-family: var(--font-sub); font-size: 0.65rem;
  letter-spacing: 1.5px; text-transform: uppercase; color: #9ca3af;
}
.jf-alt-btns {
  display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; width: 100%;
}
.jf-wa-btn, .jf-call-btn {
  flex: 1; min-width: 140px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 12px 20px; border-radius: 10px;
  font-family: var(--font-sub); font-size: 0.82rem;
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 48px;
}
.jf-wa-btn {
  background: #25d366; color: #fff;
  box-shadow: 0 4px 12px rgba(37,211,102,0.25);
}
.jf-wa-btn:hover { background: #1ebe5c; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,0.35); color: #fff; }
.jf-call-btn {
  background: #22c55e; color: #fff;
  border: 1.5px solid transparent;
}
.jf-call-btn:hover {
  background: #16a34a;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.45);
  color: #fff;
}

@media (max-width: 600px) {
  .job-popup-card { border-radius: 16px; max-height: 92vh; }
  .job-popup-header { padding: 1.1rem 1rem 1rem; flex-wrap: wrap; }
  .job-popup-titles h2 { font-size: 1.15rem; }
  .popup-logo-img { height: 32px; }
  .jf-row { grid-template-columns: 1fr; }
  .job-popup-form { padding: 1rem 1rem 1.2rem; gap: 0.85rem; }
  .job-popup-badges { padding: 0.6rem 1rem; }
  .jf-alt-btns { flex-direction: column; }
  .jf-wa-btn, .jf-call-btn { min-width: 100%; }
}

/* ============================================================
   ISO CERTIFICATION TRUST BADGES
   ============================================================ */
.hero-iso-badge {
  display: inline-flex; align-items: center; gap: 0.65rem;
  margin-top: 0.85rem; margin-bottom: 0.25rem;
  padding: 0.45rem 1rem 0.45rem 0.55rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  max-width: 100%;
}
.hero-iso-badge-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(234, 179, 8, 0.2));
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fcd34d;
  font-size: 0.95rem;
}
.hero-iso-badge-text {
  font-family: var(--font-sub);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
  padding-right: 0.25rem;
}
@media (max-width: 480px) {
  .hero-iso-badge { margin-top: 0.65rem; padding: 0.4rem 0.85rem 0.4rem 0.45rem; gap: 0.5rem; }
  .hero-iso-badge-icon { width: 32px; height: 32px; font-size: 0.85rem; }
  .hero-iso-badge-text { font-size: 0.58rem; letter-spacing: 1.2px; }
}

.iso-about-highlight {
  display: flex; align-items: flex-start; gap: 1.1rem;
  padding: 1.15rem 1.25rem;
  margin: 0 0 1.5rem 0;
  border-radius: var(--radius-lg, 14px);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(245, 158, 11, 0.06));
  border: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.iso-about-highlight-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #d97706;
  font-size: 1.25rem;
}
.iso-about-highlight strong {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 0.35rem;
}
.iso-about-highlight p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--clr-text-muted);
}

/* ============================================================
   BROCHURE DOWNLOAD MODAL
   ============================================================ */
button.btn-protected {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  margin: 0;
  cursor: pointer;
}

.brochure-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 12, 22, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.brochure-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.brochure-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #141c2e 0%, #0c1220 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: scale(0.94) translateY(16px);
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}
.brochure-modal-overlay.is-open .brochure-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.brochure-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.brochure-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.brochure-modal h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 2.5rem 0.35rem 0;
  line-height: 1.15;
}
.brochure-modal-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1.35rem;
  line-height: 1.5;
}
.brochure-modal-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.brochure-option-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.brochure-option-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.brochure-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  font-size: 1.2rem;
}
.brochure-option-icon--teal {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.35), rgba(15, 118, 110, 0.2));
  border-color: rgba(45, 212, 191, 0.4);
  color: #5eead4;
}
.brochure-option-title {
  display: block;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}
.brochure-option-hint {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.2rem;
  letter-spacing: 0.5px;
}

/* ============================================================
   CAREERS — SIMPLIFIED APPLICATION FORM
   ============================================================ */
.career-form-simple .form-group {
  margin-bottom: 1.35rem;
}
.career-form-simple .form-input,
.career-form-simple .form-select {
  min-height: 52px;
  padding: 14px 18px;
  font-size: 1rem;
  border-radius: 12px;
}
.career-form-simple .form-label {
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
}
.career-form-simple .btn-career-submit {
  width: 100%;
  justify-content: center;
  min-height: 54px;
  font-size: 0.85rem;
  letter-spacing: 2.2px;
  margin-top: 0.25rem;
  border-radius: 12px;
}
#careerForm.is-success .career-form-fields {
  display: none;
}
.career-form-success {
  text-align: center;
  padding: 2rem 1.25rem 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(22, 163, 74, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.career-form-success[hidden] {
  display: none !important;
}
.career-form-success i {
  font-size: 2.75rem;
  color: #22c55e;
  margin-bottom: 1rem;
  display: block;
}
.career-form-success p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--clr-text);
  font-weight: 500;
}
.career-field-error {
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.35rem;
  display: none;
}
.career-field-error.is-visible {
  display: block;
}
.form-input.is-invalid,
.form-select.is-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* ============================================================
   HOMEPAGE — INSTAGRAM / SOCIAL FEED (static showcase)
   ============================================================ */
.instagram-feed-section {
  background: var(--clr-section-bg, #f8fafc);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.instagram-feed-sub {
  max-width: 560px;
  margin: 1rem auto 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--clr-text-muted);
}

.ig-feed-scroll {
  margin-top: 2.25rem;
  -webkit-overflow-scrolling: touch;
}

.ig-feed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ig-feed-grid--loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ig-feed-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.07),
    0 12px 28px -8px rgba(15, 23, 42, 0.12);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.ig-feed-card:focus-visible {
  outline: 3px solid var(--clr-brand, #c8a84b);
  outline-offset: 3px;
}
.ig-feed-card:hover {
  box-shadow:
    0 8px 16px -4px rgba(15, 23, 42, 0.12),
    0 20px 40px -12px rgba(15, 23, 42, 0.18);
  transform: translateY(-3px);
}

.ig-feed-card-inner {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e2e8f0;
}

.ig-feed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ig-feed-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.ig-feed-overlay .fab.fa-instagram {
  font-size: 2.35rem;
  color: #fff;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

.ig-feed-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.5rem 1rem 0.85rem;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .ig-feed-card:hover .ig-feed-img {
    transform: scale(1.08);
  }
  .ig-feed-card:hover .ig-feed-overlay {
    opacity: 1;
  }
  .ig-feed-card:hover .ig-feed-caption {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Touch / coarse pointers: keep legible without hover */
@media (hover: none), (pointer: coarse) {
  .ig-feed-overlay {
    opacity: 0.35;
  }
  .ig-feed-overlay .fab.fa-instagram {
    font-size: 1.85rem;
  }
  .ig-feed-caption {
    opacity: 1;
    transform: none;
    padding-top: 1.75rem;
    font-size: 0.68rem;
  }
  .ig-feed-card:hover {
    transform: none;
  }
}

.ig-feed-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.ig-feed-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.82rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.ig-feed-cta-btn .fab.fa-instagram {
  font-size: 1.15rem;
}

@media (max-width: 1100px) {
  .ig-feed-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
}

@media (max-width: 768px) {
  .instagram-feed-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .ig-feed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .ig-feed-scroll {
    overflow-x: auto;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
  }
  .ig-feed-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    grid-template-columns: unset;
  }
  .ig-feed-card {
    flex: 0 0 min(88vw, 300px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .ig-feed-card:hover {
    transform: none;
    box-shadow:
      0 4px 6px -1px rgba(15, 23, 42, 0.07),
      0 12px 28px -8px rgba(15, 23, 42, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ig-feed-img,
  .ig-feed-overlay,
  .ig-feed-caption,
  .ig-feed-card {
    transition: none !important;
  }
  .ig-feed-card:hover .ig-feed-img {
    transform: none;
  }
}
