/* ============================================================
   LGS Solution v2 — Premium Modern Redesign
   Design language:
     • Deep navy + warm orange accent (LGS brand)
     • Space Grotesk display + Inter body
     • Gradient mesh hero, glass cards, bento grid
     • Subtle motion, premium feel
   ============================================================ */

:root {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #fb923c;
  --primary-rgb: 234, 88, 12;
  --accent: #f59e0b;
  --navy-900: #0a0e27;
  --navy-800: #131938;
  --navy-700: #1e293b;
  --navy-600: #334155;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-700: #334155;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --white: #ffffff;
  --nav-h: 72px;
  --grad-warm: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
  --grad-cool: linear-gradient(135deg, #0a0e27 0%, #1e293b 100%);
  --grad-mesh: radial-gradient(at 20% 30%, rgba(234,88,12,.25) 0px, transparent 50%),
               radial-gradient(at 80% 20%, rgba(245,158,11,.18) 0px, transparent 50%),
               radial-gradient(at 50% 80%, rgba(30,41,59,.5) 0px, transparent 50%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 50px -10px rgba(0,0,0,.15);
  --shadow-xl: 0 30px 80px -15px rgba(0,0,0,.25);
  --shadow-primary: 0 10px 40px -10px rgba(234,88,12,.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  padding-top: var(--nav-h);
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-dark);
}

a { color: inherit; text-decoration: none; transition: color .25s; }
img { max-width: 100%; height: auto; display: block; }
section { position: relative; scroll-margin-top: var(--nav-h); }

/* ============ NAVBAR (glass) ============ */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 1030;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
#mainNav.scrolled {
  background: rgba(10, 14, 39, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,.2);
  height: 64px;
}
#mainNav .navbar-brand { display: flex; align-items: center; gap: .65rem; padding: 0; }
#mainNav .navbar-brand img { height: 40px; transition: transform .3s; }
#mainNav .navbar-brand:hover img { transform: scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.brand-subtitle { font-size: .62rem; color: rgba(255,255,255,.6); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; }

#mainNav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .92rem;
  padding: .5rem 1.1rem !important;
  position: relative;
  transition: color .25s;
}
#mainNav .nav-link::before {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--grad-warm);
  transform: translateX(-50%);
  transition: width .3s cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
}
#mainNav .nav-link:hover, #mainNav .nav-link.active {
  color: #fff !important;
}
#mainNav .nav-link:hover::before, #mainNav .nav-link.active::before { width: 60%; }

#mainNav .btn-cta {
  background: var(--grad-warm);
  color: #fff;
  border: none;
  padding: .55rem 1.4rem !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: var(--shadow-primary);
  transition: all .25s;
}
#mainNav .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 35px -8px rgba(234,88,12,.55); }
#mainNav .btn-cta::before { display: none; }

#mainNav .navbar-toggler { color: #fff; border-color: rgba(255,255,255,.15); }
#mainNav .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(255,255,255,.15); }

@media (max-width: 991.98px) {
  :root { --nav-h: 60px; }
  #mainNav .navbar-brand img { height: 34px; }
  .brand-title { font-size: .95rem; }
  #mainNavMenu {
    background: rgba(10, 14, 39, .98);
    border-radius: 14px;
    padding: 1rem;
    margin-top: .8rem;
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(20px);
  }
  #mainNav .nav-item { border-bottom: 1px solid rgba(255,255,255,.06); }
  #mainNav .nav-item:last-child { border: none; padding-top: .5rem; }
  #mainNav .btn-cta { display: inline-block; margin-top: .3rem; }
}

/* ============ HERO — gradient mesh + grid ============ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  display: flex; align-items: center;
  padding: 4rem 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-mesh);
  background-color: var(--navy-900);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(234,88,12,.12);
  border: 1px solid rgba(234,88,12,.3);
  color: var(--primary-light);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .3px;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-light);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.hero h1 .grad {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--grad-warm);
  color: #fff;
  border: none;
  padding: .9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: var(--shadow-primary);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px -10px rgba(234,88,12,.6);
  color: #fff;
}
.btn-hero-ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  padding: .9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  backdrop-filter: blur(10px);
  transition: all .3s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-3px);
  color: #fff;
}

/* Hero floating cards */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 380px;
}
.hero-card-float {
  position: absolute;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 1.2rem;
  display: flex; align-items: center; gap: .9rem;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero-card-float .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}
.hero-card-float .icon.warm { background: var(--grad-warm); }
.hero-card-float .icon.cool { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.hero-card-float .icon.green { background: linear-gradient(135deg, #10b981, #047857); }
.hero-card-float .text strong { display: block; color: #fff; font-size: .95rem; font-weight: 600; }
.hero-card-float .text small { color: rgba(255,255,255,.6); font-size: .75rem; }
.hero-card-float.c1 { top: 10%; left: 5%; animation-delay: 0s; }
.hero-card-float.c2 { top: 35%; right: 0; animation-delay: 2s; }
.hero-card-float.c3 { bottom: 15%; left: 15%; animation-delay: 4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@media (max-width: 991.98px) { .hero-visual { display: none; } }

/* ============ STATS BAR (floating) ============ */
.stats-bar {
  background: var(--navy-800);
  color: #fff;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-item .label {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ============ SECTION TITLES ============ */
.section { padding: 5rem 0; }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-light { background: var(--slate-100); }
.section-tint { background: linear-gradient(180deg, #fff 0%, var(--slate-100) 100%); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(234,88,12,.1);
  color: var(--primary-dark);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-dark .section-eyebrow {
  background: rgba(234,88,12,.18);
  color: var(--primary-light);
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-dark .section-head p { color: rgba(255,255,255,.7); }

/* ============ ABOUT — asymmetric split ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 991.98px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.about-left h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1.5rem; }
.about-left .lead { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.5rem; line-height: 1.75; }

.visi-card {
  background: var(--grad-cool);
  color: #fff;
  padding: 2.5rem;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.visi-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(234,88,12,.25), transparent 70%);
  border-radius: 50%;
}
.visi-card .icon-wrap {
  width: 60px; height: 60px;
  background: var(--grad-warm);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-primary);
  position: relative; z-index: 2;
}
.visi-card h3 { color: #fff; margin-bottom: 1rem; font-size: 1.5rem; position: relative; z-index: 2; }
.visi-card p { color: rgba(255,255,255,.8); line-height: 1.75; position: relative; z-index: 2; }

.misi-list { list-style: none; padding: 0; margin-top: 2rem; }
.misi-list li {
  display: flex; gap: 1.2rem;
  padding: 1.4rem;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid var(--slate-200);
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.misi-list li:hover {
  transform: translateX(6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.misi-list .num {
  width: 42px; height: 42px;
  background: rgba(234,88,12,.1);
  color: var(--primary-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  flex-shrink: 0;
}
.misi-list h5 { font-size: 1rem; margin-bottom: .3rem; color: var(--text-dark); }
.misi-list p { color: var(--text-muted); font-size: .92rem; margin: 0; line-height: 1.6; }

/* ============ SERVICES — bento grid ============ */
.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.service-tile {
  background: #fff;
  border-radius: 22px;
  padding: 2rem;
  border: 1px solid var(--slate-200);
  position: relative;
  overflow: hidden;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}
.service-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.service-tile::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -50%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(234,88,12,.08), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .4s;
}
.service-tile:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service-tile:hover::before { transform: scaleX(1); }
.service-tile:hover::after { opacity: 1; }

.service-tile .icon-box {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(234,88,12,.15), rgba(245,158,11,.05));
  color: var(--primary-dark);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  position: relative; z-index: 2;
  transition: all .4s;
}
.service-tile:hover .icon-box {
  background: var(--grad-warm);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.service-tile h4 {
  font-size: 1.2rem;
  margin-bottom: .6rem;
  position: relative; z-index: 2;
}
.service-tile p {
  color: var(--text-muted);
  font-size: .92rem;
  margin-bottom: 1.2rem;
  line-height: 1.65;
  position: relative; z-index: 2;
}
.service-tile .more {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: .88rem;
  position: relative; z-index: 2;
}
.service-tile .more i { transition: transform .3s; }
.service-tile:hover .more i { transform: translateX(4px); }

/* Bento sizing */
.bento-lg { grid-column: span 6; }
.bento-md { grid-column: span 3; }
.bento-sm { grid-column: span 3; }
@media (max-width: 991.98px) {
  .bento-lg, .bento-md, .bento-sm { grid-column: span 6; }
}
@media (max-width: 640px) {
  .bento-lg, .bento-md, .bento-sm { grid-column: span 12; }
}

/* Featured large tile */
.service-tile.featured {
  background: var(--grad-cool);
  color: #fff;
  border: none;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px;
}
.service-tile.featured::before { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.service-tile.featured h4 { color: #fff; font-size: 1.5rem; }
.service-tile.featured p { color: rgba(255,255,255,.75); }
.service-tile.featured .icon-box {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.service-tile.featured:hover .icon-box {
  background: var(--grad-warm);
}

/* ============ PARTNERS — infinite marquee ============ */
.partners-section {
  background: var(--navy-900);
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}
.partners-section::before, .partners-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 150px;
  z-index: 3;
  pointer-events: none;
}
.partners-section::before { left: 0; background: linear-gradient(90deg, var(--navy-900), transparent); }
.partners-section::after { right: 0; background: linear-gradient(-90deg, var(--navy-900), transparent); }

.marquee {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partner-logo {
  flex-shrink: 0;
  width: 200px;
  height: 100px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.partner-logo::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--partner-color, var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.partner-logo:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-4px);
}
.partner-logo:hover::before { transform: scaleX(1); }
.partner-logo img {
  max-width: 100%; max-height: 60px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.3);
  opacity: .7;
  transition: all .3s;
}
.partner-logo:hover img { filter: none; opacity: 1; }
.partner-logo .text-logo {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
}
.partner-logo .text-logo .short {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--partner-color, var(--primary-light));
  letter-spacing: -.02em;
  line-height: 1;
}
.partner-logo .text-logo .full {
  font-size: .68rem;
  color: rgba(255,255,255,.55);
  margin-top: .4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ GALLERY — masonry ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
@media (max-width: 991.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; } }

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  grid-row: span 1;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,39,.85) 0%, transparent 60%);
  display: flex; align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay h6 { color: #fff; font-size: 1rem; margin: 0 0 .2rem; font-weight: 600; }
.gallery-item .overlay small { color: rgba(255,255,255,.75); }
.gallery-item .cat-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(234,88,12,.95);
  color: #fff;
  padding: .25rem .8rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 2;
  opacity: 0;
  transform: translateY(-5px);
  transition: all .3s;
}
.gallery-item:hover .cat-badge { opacity: 1; transform: translateY(0); }

.gallery-filter {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: .5rem; margin-bottom: 3rem;
}
.gallery-filter button {
  background: #fff;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  padding: .5rem 1.4rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: .88rem;
  cursor: pointer;
  transition: all .25s;
}
.gallery-filter button:hover { border-color: var(--primary); color: var(--primary-dark); }
.gallery-filter button.active {
  background: var(--grad-warm);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}

/* ============ DOCUMENTS — modern table ============ */
.docs-wrap {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}
.docs-table { width: 100%; border-collapse: collapse; }
.docs-table thead {
  background: var(--grad-cool);
}
.docs-table th {
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1.2rem 1.5rem;
  text-align: left;
}
.docs-table td {
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--slate-200);
  vertical-align: middle;
}
.docs-table tbody tr { transition: background .2s; }
.docs-table tbody tr:hover { background: rgba(234,88,12,.03); }
.docs-table .doc-icon {
  width: 40px; height: 40px;
  background: rgba(234,88,12,.1);
  color: var(--primary-dark);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: .8rem;
  vertical-align: middle;
}
.docs-table .doc-title { font-weight: 600; color: var(--text-dark); }
.docs-table .year-badge {
  background: var(--slate-100);
  color: var(--slate-700);
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
}
.docs-table .btn-download {
  background: var(--grad-warm);
  color: #fff;
  border: none;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: all .25s;
}
.docs-table .btn-download:hover { transform: translateY(-2px); box-shadow: var(--shadow-primary); color: #fff; }

/* ============ CONTACT INFO (no form) ============ */
.contact-section {
  background: var(--navy-900);
  color: #fff;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-mesh);
  z-index: 0;
}
.contact-section .container { position: relative; z-index: 1; }
.contact-section .section-head { margin-bottom: 2.5rem; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.contact-card {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.contact-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(234,88,12,.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.contact-card .icon-wrap {
  width: 64px; height: 64px;
  background: var(--grad-warm);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-primary);
  transition: transform .35s;
}
.contact-card:hover .icon-wrap { transform: rotate(-8deg) scale(1.05); }
.contact-card h5 { color: #fff; margin-bottom: .6rem; font-size: 1.1rem; }
.contact-card p, .contact-card a { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.6; word-break: break-word; }
.contact-card a:hover { color: var(--primary-light); }
.contact-card .social-row {
  display: flex; justify-content: center; gap: .6rem;
  margin-top: 1.2rem;
}
.contact-card .social-row a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all .25s;
}
.contact-card .social-row a:hover {
  background: var(--grad-warm);
  color: #fff;
  transform: translateY(-3px);
}

.contact-cta-banner {
  background: var(--grad-warm);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 2.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.contact-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.2), transparent 70%);
  border-radius: 50%;
}
.contact-cta-banner h3 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
  position: relative; z-index: 2;
}
.contact-cta-banner p {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  position: relative; z-index: 2;
}
.contact-cta-banner .btn-white {
  background: #fff;
  color: var(--primary-dark);
  border: none;
  padding: .9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  position: relative; z-index: 2;
  transition: all .25s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.contact-cta-banner .btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px -8px rgba(0,0,0,.3);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 991.98px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem; }
.footer-brand img { height: 44px; }
.footer-brand .name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem; color: #fff; }
.footer-brand .sub { font-size: .7rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; }
.footer-desc { font-size: .9rem; line-height: 1.75; margin-bottom: 1.5rem; }
.footer h6 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: .6rem;
}
.footer h6::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--grad-warm);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; transition: all .2s; }
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: .8rem;
  margin-bottom: 1rem;
  font-size: .9rem;
}
.footer-contact-item .material-icons { color: var(--primary-light); font-size: 1.2rem; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.75); }
.footer-contact-item a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom small { color: rgba(255,255,255,.5); font-size: .82rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  transition: all .25s;
}
.footer-social a:hover {
  background: var(--grad-warm);
  color: #fff;
  transform: translateY(-3px);
}

/* ============ BACK TO TOP ============ */
#backToTop {
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--grad-warm);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  z-index: 999;
  box-shadow: var(--shadow-primary);
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 14px 35px -8px rgba(234,88,12,.6); }

/* ============ MODAL (service detail) ============ */
.modal-content { border: none; border-radius: 22px; overflow: hidden; }
.modal-header { background: var(--grad-cool); color: #fff; padding: 1.5rem 2rem; }
.modal-header h5 { color: #fff; font-size: 1.2rem; }
.modal-header .btn-close { filter: invert(1); }
.modal-body { padding: 2rem; }
.modal-body p { white-space: pre-line; color: var(--text-muted); line-height: 1.75; }

/* ============ EMPTY STATE ============ */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 4rem; color: var(--slate-300); margin-bottom: 1rem; }
.empty-state p { font-size: .95rem; }
.section-dark .empty-state .icon { color: rgba(255,255,255,.15); }
.section-dark .empty-state p { color: rgba(255,255,255,.5); }

/* ============ ALERTS ============ */
.alert { border-radius: 12px; border: none; padding: 1rem 1.2rem; }

/* ============ COOKIE CONSENT BANNER ============ */
.cookie-consent {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(10, 14, 39, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  box-shadow: 0 25px 60px -10px rgba(0,0,0,.4);
  z-index: 9999;
  color: #fff;
  padding: 1.3rem 1.5rem;
  opacity: 0;
  transform: translateY(20px) scale(.98);
  pointer-events: none;
  transition: all .45s cubic-bezier(.4,0,.2,1);
}
.cookie-consent.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cookie-consent-inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.cookie-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--grad-warm);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.cookie-content { flex: 1; min-width: 0; }
.cookie-content h6 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .4rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}
.cookie-content p {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  line-height: 1.55;
  margin-bottom: .9rem;
}
.cookie-content a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-content a:hover { color: #fff; }
.cookie-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.cookie-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  padding: .55rem 1.1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
}
.cookie-btn:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-1px);
}
.cookie-btn-accept {
  background: var(--grad-warm);
  border: none;
  box-shadow: 0 6px 18px -4px rgba(234,88,12,.5);
}
.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -6px rgba(234,88,12,.65);
}
.cookie-btn-reject, .cookie-btn-custom {
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
}
.cookie-details {
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem;
  animation: cookieSlide .35s ease-out;
}
@keyframes cookieSlide {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 400px; }
}
.cookie-details h6 {
  color: #fff;
  font-size: .9rem;
  margin-bottom: .8rem;
  font-family: 'Space Grotesk', sans-serif;
}
.cookie-toggle {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .7rem 0;
  cursor: pointer;
  margin-bottom: .3rem;
}
.cookie-toggle input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 38px;
  height: 22px;
  background: rgba(255,255,255,.15);
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: background .25s;
  flex-shrink: 0;
  margin-top: 2px;
}
.cookie-toggle input[type="checkbox"]::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .25s;
}
.cookie-toggle input[type="checkbox"]:checked {
  background: var(--primary);
}
.cookie-toggle input[type="checkbox"]:checked::before {
  transform: translateX(16px);
}
.cookie-toggle-label {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
}
.cookie-toggle-label strong {
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
}
.cookie-toggle-label small {
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .cookie-consent {
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 1.2rem;
  }
  .cookie-actions .cookie-btn { flex: 1; justify-content: center; padding: .55rem .8rem; font-size: .78rem; }
  .cookie-btn-custom { display: none; } /* hide on mobile to save space */
}

/* ============ SERVICE TILE FOCUS STATE (accessibility) ============ */
.service-tile:focus { outline: 2px solid var(--primary); outline-offset: 4px; }

/* ============ MODAL polish ============ */
.modal.show { display: block !important; }
.modal-backdrop.show { opacity: 0.85; }

/* ============ LGS CUSTOM MODAL (Vanilla JS, no framework dependency) ============ */
.lgs-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lgs-modal.show {
  display: flex;
  animation: lgsModalFadeIn .25s ease-out;
}
@keyframes lgsModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lgs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.lgs-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 2rem);
  z-index: 1;
  animation: lgsModalSlideUp .35s cubic-bezier(.4,0,.2,1);
}
@keyframes lgsModalSlideUp {
  from { transform: translateY(30px) scale(.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.lgs-modal-content {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px -15px rgba(0,0,0,.4);
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
}
.lgs-modal-header {
  background: linear-gradient(135deg, #0a0e27, #1e293b);
  color: #fff;
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.lgs-modal-header::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(234,88,12,.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.lgs-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .8rem;
  position: relative;
  z-index: 1;
}
.lgs-modal-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #ea580c, #f59e0b);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 6px 18px -4px rgba(234,88,12,.5);
  flex-shrink: 0;
}
.lgs-modal-close {
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.lgs-modal-close:hover {
  background: rgba(255,255,255,.2);
  transform: rotate(90deg);
}
.lgs-modal-close .material-icons { font-size: 1.2rem; }

.lgs-modal-body {
  padding: 1.8rem;
  overflow-y: auto;
  flex: 1;
}
.lgs-modal-body p {
  color: #475569;
  line-height: 1.75;
  font-size: .97rem;
  margin: 0;
  white-space: pre-line;
}
.lgs-modal-footer {
  padding: 1.2rem 1.8rem 1.8rem;
  border-top: 1px solid #f1f5f9;
}
.lgs-modal-footer .btn-hero-primary {
  width: 100%;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .lgs-modal-dialog { max-width: 100%; }
  .lgs-modal-header { padding: 1.2rem 1.2rem; }
  .lgs-modal-title { font-size: 1.05rem; }
  .lgs-modal-icon { width: 36px; height: 36px; font-size: 1rem; }
  .lgs-modal-body { padding: 1.3rem; }
  .lgs-modal-footer { padding: 1rem 1.3rem 1.3rem; }
}

/* Lock body scroll when modal is open */
body.lgs-modal-open {
  overflow: hidden;
}

/* ============ MOBILE NAVBAR FIX (Vanilla JS toggle, no MDB5 dependency) ============ */
/* Default: hide menu on mobile */
@media (max-width: 991.98px) {
  #mainNavMenu {
    display: none !important;
    position: absolute;
    top: calc(var(--nav-h) + 8px);
    left: 1rem;
    right: 1rem;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 1rem;
    margin-top: 0;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 15px 40px rgba(0,0,0,.3);
    z-index: 1029;
    max-height: calc(100vh - var(--nav-h) - 20px);
    overflow-y: auto;
    animation: mobileMenuSlide .3s ease-out;
  }
  @keyframes mobileMenuSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  /* Show menu when .show class is added */
  #mainNavMenu.show {
    display: block !important;
  }
  #mainNavMenu .navbar-nav {
    flex-direction: column;
    align-items: stretch !important;
    gap: .2rem;
  }
  #mainNavMenu .nav-item {
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: .2rem 0;
  }
  #mainNavMenu .nav-item:last-child {
    border-bottom: none;
  }
  #mainNavMenu .nav-link {
    padding: .8rem .5rem !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 1rem;
    border-radius: 8px;
  }
  #mainNavMenu .nav-link:hover,
  #mainNavMenu .nav-link.active {
    background: rgba(255,255,255,.06);
    color: #fff !important;
  }
  #mainNavMenu .nav-link::before {
    display: none;
  }
  #mainNavMenu .btn-cta {
    margin-top: .5rem !important;
    text-align: center;
    background: var(--grad-warm) !important;
    color: #fff !important;
    padding: .8rem 1rem !important;
  }
  /* Hamburger icon animation */
  #navbarToggleBtn {
    cursor: pointer;
    transition: transform .2s;
  }
  #navbarToggleBtn.active {
    transform: rotate(90deg);
  }
  #navbarToggleBtn.active #navbarToggleIcon::before {
    content: "\f00d"; /* fa-times X icon */
  }
}

/* ============ DOWNLOAD TABLE — Description Styling ============ */
.docs-table .doc-title {
  font-weight: 600;
  color: var(--text-dark);
  font-size: .98rem;
  line-height: 1.4;
  margin-bottom: .2rem;
}
.docs-table .doc-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: .2rem;
  max-width: 480px;
}
.docs-table .doc-meta {
  margin-top: .5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem;
  font-size: .78rem;
  color: var(--text-muted);
}
.docs-table .doc-meta .material-icons {
  color: var(--text-muted);
}
.docs-table td.align-middle {
  vertical-align: middle !important;
}
.docs-table .doc-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.3rem;
}
