/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --primary:      #6366f1;
  --primary-dark: #4f46e5;
  --secondary:    #8b5cf6;
  --accent:       #06b6d4;
  --accent2:      #ec4899;
  --dark:         #0a0f1e;
  --darker:       #050810;
  --light:        #f1f5f9;
  --text:         #334155;
  --muted:        #64748b;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(0,0,0,.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.2);
  --glow:         0 0 24px rgba(99,102,241,.35);
  --glow-cyan:    0 0 20px rgba(6,182,212,.3);
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

/* ── Navbar ────────────────────────────────────────────────────────────────── */
#mainNav {
  background: transparent;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 1.25rem 0;
}
#mainNav.scrolled {
  background: rgba(5, 8, 20, .95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(99,102,241,.15);
  padding: .75rem 0;
}
.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.navbar-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter .35s;
}
.navbar-logo-color { filter: none !important; }
.logo-color { filter: none !important; opacity: 1 !important; }
.brand-icon { margin-right: .4rem; }

/* ── Footer logo ────────────────────────────────────────────────────────────── */
.footer-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.nav-link {
  font-size: .92rem;
  font-weight: 500;
  padding: .45rem .9rem !important;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav-link.active,
.nav-link:hover { background: rgba(99,102,241,.15); color: #a5b4fc !important; }

/* ── Navbar Dropdown toggle (button reset) ────────────────────────────────── */
.navbar .nav-link.btn-link {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  background: transparent;
  padding: .45rem .9rem !important;
}
.navbar .nav-link.btn-link:hover,
.navbar .nav-link.btn-link:focus {
  background: rgba(99,102,241,.15);
  color: #a5b4fc !important;
  box-shadow: none;
}

/* ── Navbar Dropdown ──────────────────────────────────────────────────────── */
.navbar .dropdown-menu {
  background: rgba(10,15,30,.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: 10px;
  padding: .5rem;
  margin-top: .5rem;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  z-index: 9999;
}
.navbar .dropdown-item {
  color: #c7d0f0;
  border-radius: 6px;
  padding: .45rem .9rem;
  font-size: .9rem;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: rgba(99,102,241,.2);
  color: #a5b4fc;
}
.navbar .nav-link.dropdown-toggle::after {
  vertical-align: .2em;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #050810 0%, #0a0f2e 50%, #0f172a 100%);
  overflow: hidden;
}

/* Tech grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.07) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 40%, rgba(99,102,241,.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 30%, rgba(139,92,246,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 50% 80%, rgba(6,182,212,.12) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* ── Hero slideshow ──────────────────────────────────────────────────────────── */
.hero.has-slides { background: #050810; }
.hero.has-slides::before { display: none; }
.hero.has-slides::after { z-index: 2; }
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero.has-slides .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(5,8,20,.65) 0%,
    rgba(5,8,20,.4) 50%,
    rgba(5,8,20,.75) 100%
  );
}

/* Pagination dots */
.hero-dots {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .45rem;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .35s ease;
}
.hero-dot.active {
  width: 26px;
  border-radius: 4px;
  background: var(--primary);
  box-shadow: var(--glow);
}
.hero-dot:hover { background: rgba(255,255,255,.7); }

.hero-content { position: relative; z-index: 3; padding: 8rem 1rem 6rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.4);
  backdrop-filter: blur(8px);
  color: #a5b4fc;
  padding: .45rem 1.25rem;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
/* Gradient text on hero title */
.hero-title .gradient-text {
  background: linear-gradient(135deg, #818cf8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: .8;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}
.hero-actions .btn { border-radius: 50px; padding: .75rem 2rem; font-weight: 600; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  box-shadow: var(--glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #7c3aed);
  box-shadow: 0 0 32px rgba(99,102,241,.5);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.4);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  z-index: 3;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Floating orbs (decorative) ──────────────────────────────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(99,102,241,.12);
  top: -100px; left: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(139,92,246,.1);
  bottom: -50px; right: -50px;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: rgba(6,182,212,.08);
  top: 40%; left: 40%;
}

/* ── Animations ────────────────────────────────────────────────────────────── */
.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .7s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section-padding { padding: 5rem 0; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(99,102,241,.1);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .75rem;
  border: 1px solid rgba(99,102,241,.2);
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .75rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Feature cards ──────────────────────────────────────────────────────────── */
.feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity .25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99,102,241,.3);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.feature-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: var(--dark);
}
.feature-desc { color: var(--muted); font-size: .95rem; margin: 0; }

/* ── Page cards (services preview) ─────────────────────────────────────────── */
.page-card-link { text-decoration: none; }
.page-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.page-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.page-card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.page-card h5 { color: var(--dark); font-weight: 600; margin-bottom: .75rem; }
.page-card-arrow { color: var(--primary); font-size: .9rem; font-weight: 600; }

/* ── CTA section ────────────────────────────────────────────────────────────── */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(99,102,241,.12) 0%, transparent 70%),
    linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
  background-size: auto, 50px 50px, 50px 50px;
}
.cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  position: relative;
}
.cta-subtitle { font-size: 1.1rem; opacity: .8; position: relative; }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta-contact-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(99,102,241,.2);
  border: 1px solid rgba(99,102,241,.4);
  color: #fff;
  padding: .7rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background .2s, box-shadow .2s;
}
.cta-contact-btn:hover {
  background: rgba(99,102,241,.35);
  box-shadow: var(--glow);
  color: #fff;
}

/* ── Page hero (inner pages) ────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 7rem 0 4rem;
  background: linear-gradient(135deg, #050810, #0a0f2e);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.06) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(99,102,241,.15), transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
}
.page-hero-subtitle { font-size: 1.1rem; opacity: .8; }
.breadcrumb-dark { --bs-breadcrumb-divider-color: rgba(255,255,255,.4); }
.breadcrumb-dark .breadcrumb-item a { color: rgba(255,255,255,.6); text-decoration: none; }
.breadcrumb-dark .breadcrumb-item.active { color: #a5b4fc; }

/* ── Content card ────────────────────────────────────────────────────────────── */
.content-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.content-body {
  padding: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.content-body h1, .content-body h2, .content-body h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark);
  margin-top: 1.75rem;
  margin-bottom: .75rem;
}
.content-body h2 { font-size: 1.6rem; }
.content-body h3 { font-size: 1.3rem; }
.content-body img { max-width: 100%; height: auto; border-radius: 8px; }
.content-body a { color: var(--primary); }
.content-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(99,102,241,.05);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  font-style: italic;
}
.content-footer {
  padding: 1rem 2.5rem;
  background: var(--light);
  border-top: 1px solid #e2e8f0;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--darker);
  padding: 4rem 0 1.5rem;
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.footer-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}
.footer-heading {
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: #a5b4fc; }
.footer-contact { font-size: .92rem; color: #94a3b8; margin-bottom: .5rem; }
.text-muted-light { color: #64748b; }
.footer-divider { border-color: #1e293b; margin: 2rem 0 1rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: #1e293b;
  border-radius: 8px;
  color: #94a3b8;
  margin-right: .4rem;
  text-decoration: none;
  font-size: 1rem;
  transition: background .2s, color .2s, transform .2s;
}
.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ── 404 ─────────────────────────────────────────────────────────────────────── */
.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}
.error-code {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  opacity: .15;
}
.error-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2rem; }
.error-subtitle { color: var(--muted); }

/* ── Gallery Grid ────────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
@media (min-width: 1200px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.gallery-thumb-btn {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,8,20,.9) 0%,
    rgba(5,8,20,.4) 50%,
    rgba(5,8,20,0) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem 1rem;
  opacity: 0;
  transition: opacity .35s ease;
}
.gallery-overlay-inner {
  text-align: center;
  color: #fff;
  transform: translateY(10px);
  transition: transform .35s ease;
}
.gallery-zoom-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: .4rem;
  color: var(--accent);
  filter: drop-shadow(0 2px 8px rgba(6,182,212,.5));
}
.gallery-overlay-title {
  font-size: .88rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.gallery-thumb-btn:hover img,
.gallery-thumb-btn:focus-visible img { transform: scale(1.08); }
.gallery-thumb-btn:hover .gallery-overlay,
.gallery-thumb-btn:focus-visible .gallery-overlay { opacity: 1; }
.gallery-thumb-btn:hover .gallery-overlay-inner,
.gallery-thumb-btn:focus-visible .gallery-overlay-inner { transform: translateY(0); }
.gallery-thumb-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ── Lightbox ─────────────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 20, .95);
  backdrop-filter: blur(8px);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  background: rgba(99,102,241,.2);
  border: 1px solid rgba(99,102,241,.4);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(99,102,241,.4); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(99,102,241,.2);
  border: 1px solid rgba(99,102,241,.35);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-nav:hover { background: rgba(99,102,241,.4); }
.lightbox-nav:active { transform: translateY(-50%) scale(.92); }
.lightbox-nav.lb-hidden { opacity: 0; pointer-events: none; }

.lightbox-stage {
  position: relative;
  z-index: 5;
  max-width: min(90vw, 1100px);
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: min(90vw, 1100px);
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 80px rgba(0,0,0,.8);
  display: block;
  opacity: 0;
  transform: scale(.94);
  transition: opacity .35s ease, transform .35s ease;
}
.lightbox.img-loaded .lightbox-img { opacity: 1; transform: scale(1); }
.lightbox-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}
.lb-spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(99,102,241,.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: lbSpin .7s linear infinite;
}
@keyframes lbSpin { to { transform: rotate(360deg); } }
.lightbox.img-loaded .lightbox-loader { display: none; }
.lightbox-caption {
  position: relative;
  z-index: 5;
  text-align: center;
  color: #fff;
  padding: .75rem 2rem .5rem;
  max-width: 700px;
  min-height: 60px;
}
.lb-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .25rem;
}
.lb-desc { font-size: .9rem; opacity: .75; margin-bottom: .25rem; }
.lb-counter { font-size: .78rem; opacity: .45; letter-spacing: .5px; }

/* ── Services Strip ─────────────────────────────────────────────────────────── */
.section-padding-sm { padding: 2.5rem 0; }
.services-strip {
  background: var(--dark);
  border-bottom: 1px solid rgba(99,102,241,.15);
  position: relative;
  overflow: hidden;
}
.services-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.service-strip-item {
  padding: 1rem .5rem;
  transition: transform .2s;
  position: relative;
}
.service-strip-item:hover { transform: translateY(-5px); }
.service-strip-icon {
  width: 56px; height: 56px;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .65rem;
  font-size: 1.4rem;
  color: #818cf8;
  transition: background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.service-strip-item:hover .service-strip-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--glow);
  border-color: transparent;
}
.service-strip-label {
  font-size: .82rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.3;
}
a.service-strip-link {
  text-decoration: none;
  cursor: pointer;
}
a.service-strip-link:hover .service-strip-label {
  color: var(--primary, #6366f1);
}

/* ── Training Section ───────────────────────────────────────────────────────── */
.training-section {
  background: #f8fafc;
  position: relative;
}
.training-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

/* ── Training Card ───────────────────────────────────────────────────────────── */
.training-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.training-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(99,102,241,.15);
  border-color: rgba(99,102,241,.3);
}

/* Header */
.training-card-header {
  position: relative;
  padding: 2rem 1.75rem 1.5rem;
  color: #fff;
  text-align: center;
}
.training-color-primary   { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.training-color-danger    { background: linear-gradient(135deg, #dc2626, #f97316); }
.training-color-warning   { background: linear-gradient(135deg, #d97706, #f59e0b); }
.training-color-success   { background: linear-gradient(135deg, #059669, #10b981); }
.training-color-info      { background: linear-gradient(135deg, #0284c7, #06b6d4); }
.training-color-secondary { background: linear-gradient(135deg, #475569, #64748b); }

.training-badge {
  position: absolute;
  top: .9rem;
  right: .9rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 50px;
}
.badge-warning   { background: #fef3c7; color: #92400e; }
.badge-danger    { background: #fee2e2; color: #991b1b; }
.badge-success   { background: #d1fae5; color: #065f46; }
.badge-info      { background: #e0f2fe; color: #075985; }
.badge-secondary { background: #f1f5f9; color: #475569; }

.training-icon {
  width: 68px; height: 68px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  border: 2px solid rgba(255,255,255,.25);
}
.training-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.training-subtitle {
  font-size: .82rem;
  opacity: .85;
  margin: 0;
  font-weight: 500;
}

/* Body */
.training-card-body { padding: 1.5rem 1.75rem; flex: 1; }
.training-desc {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.training-meta {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--light);
  border-radius: 10px;
}
.training-meta-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text);
  font-weight: 500;
}
.training-meta-item i {
  color: var(--primary);
  font-size: .9rem;
  width: 16px;
  flex-shrink: 0;
}
.training-topics-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin-bottom: .5rem;
}
.training-topics-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.training-topics-list li {
  font-size: .88rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  line-height: 1.4;
}
.training-topics-list li i { color: var(--primary); font-size: .9rem; flex-shrink: 0; margin-top: .1rem; }

/* Footer */
.training-card-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid #f1f5f9;
}
.btn-daftar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(99,102,241,.3);
  text-decoration: none;
}
.btn-daftar:hover {
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,.45);
  color: #fff;
}
.btn-daftar:active { transform: translateY(0); }

/* ── Contact Page ────────────────────────────────────────────────────────────── */
.contact-page-section { padding: 4rem 0 5rem; background: #f8fafc; }
.contact-info-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(99,102,241,.12);
  border-color: rgba(99,102,241,.25);
}
.contact-info-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.contact-info-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .95rem; color: var(--dark); margin-bottom: .5rem; }
.contact-info-text { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: .75rem; }
.contact-info-link { font-size: .83rem; font-weight: 600; color: var(--primary); text-decoration: none; transition: opacity .2s; }
.contact-info-link:hover { opacity: .75; color: var(--primary); }
.contact-socials { display: flex; flex-wrap: wrap; gap: .4rem; }
.contact-social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(0,0,0,.05);
  color: var(--sc-color, #475569);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.contact-social-btn:hover {
  background: var(--sc-color, #475569);
  color: #fff;
  transform: translateY(-2px);
}
.contact-form-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
}
.contact-form-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--dark); margin-bottom: .5rem; }
.contact-map-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 440px;
}
.contact-map-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: .9rem;
  gap: .5rem;
  flex-shrink: 0;
}
.contact-map-frame { flex: 1; min-height: 360px; }
.contact-map-frame iframe { width: 100%; height: 100%; display: block; }
.contact-map-footer {
  padding: .9rem 1.25rem;
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
  line-height: 1.5;
}
.contact-map-empty { align-items: center; justify-content: center; text-align: center; padding: 3rem; }
.maps-preview-container { border-radius: 10px; overflow: hidden; border: 1px solid #e2e8f0; }

/* ── Artikel Cards ───────────────────────────────────────────────────────────── */
.artikel-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.artikel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.artikel-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f5f9;
}
.artikel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.artikel-card:hover .artikel-thumb img { transform: scale(1.06); }
.artikel-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: #cbd5e1;
}
.artikel-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(99,102,241,.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  opacity: 0;
  transition: opacity .3s ease;
}
.artikel-card:hover .artikel-thumb-overlay { opacity: 1; }
.artikel-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.artikel-meta { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.artikel-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .5rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.artikel-excerpt {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}
.artikel-read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.artikel-card:hover .artikel-read-more { text-decoration: underline; }

/* Tombol tambahan di bawah "Baca Selengkapnya" */
.artikel-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid #f1f5f9;
}
.artikel-btn {
  display: inline-flex;
  align-items: center;
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 50px;
  background: rgba(99,102,241,.08);
  color: var(--primary);
  border: 1px solid rgba(99,102,241,.25);
  text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.artikel-btn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99,102,241,.3);
}

/* Judul artikel sebagai link */
.text-inherit { color: inherit; }
.text-inherit:hover { color: var(--primary); }

/* ── Tech stats strip ─────────────────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, #0a0f2e, #0f0c29);
  padding: 3rem 0;
  border-top: 1px solid rgba(99,102,241,.15);
  border-bottom: 1px solid rgba(99,102,241,.15);
}
.stat-item { text-align: center; padding: .5rem; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #818cf8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-label {
  font-size: .85rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: .25rem;
}
.stat-divider {
  width: 1px;
  background: rgba(99,102,241,.2);
  align-self: stretch;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-content { padding: 7rem 1rem 4rem; }
  .section-padding { padding: 3rem 0; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.1rem; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
  .lightbox-caption { padding: .5rem 3rem; }
}

/* ── Utility: neon text & borders ─────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.border-glow { border-color: rgba(99,102,241,.4) !important; box-shadow: var(--glow); }

/* ── Why Choose / bg-light override ─────────────────────────────────────── */
.section-why { background: #f8fafc; }
