/* ═══════════════════════════════════════════════
   DGNG Solutions — Global Stylesheet
   ═══════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', sans-serif;
  background: #0d0d0d;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* ── HEADER / NAV ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5%;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
header.scrolled {
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-logo img { height: 42px; width: auto; transition: opacity 0.25s; }
.nav-logo img:hover { opacity: 0.8; }
.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: #bbb;
  position: relative; transition: color 0.25s;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 26px; cursor: pointer; padding: 4px 0;
}
.nav-hamburger span {
  display: block; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,13,13,0.97); backdrop-filter: blur(20px);
  z-index: 800; flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
  opacity: 0; transition: opacity 0.3s ease;
}
.mobile-nav.open { display: flex; opacity: 1; }
.mobile-nav a { font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.mobile-nav a:hover { color: #aaa; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 9rem 5% 5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  top: -200px; right: -200px; pointer-events: none;
  animation: orbDrift 14s ease-in-out infinite alternate;
}
@keyframes orbDrift { 0%{transform:translate(0,0);} 100%{transform:translate(30px,25px);} }
.page-hero-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #666; margin-bottom: 0.7rem;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}
.page-hero h1 span { color: rgba(255,255,255,0.28); }
.page-hero p {
  margin-top: 1.2rem; max-width: 560px;
  color: #888; font-size: 1rem; font-weight: 300; line-height: 1.75;
}

/* ── SECTION HELPERS ── */
.section-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #666; margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.2;
}
.section-title span { color: rgba(255,255,255,0.3); }
.section-sub {
  color: #777; font-size: 0.9rem; font-weight: 300; line-height: 1.7;
  margin-top: 0.7rem; max-width: 520px;
}
.divider { height: 1px; background: rgba(255,255,255,0.06); margin: 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-size: 0.88rem; font-weight: 600;
  padding: 0.75rem 1.9rem; border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-white {
  background: #fff; color: #0d0d0d;
}
.btn-white:hover { background: #e8e8e8; box-shadow: 0 8px 28px rgba(255,255,255,0.12); }
.btn-outline {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: #fff; box-shadow: 0 8px 24px rgba(255,255,255,0.06); }

/* ── CARDS ── */
.card {
  background: #111; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; overflow: hidden;
}
.card:hover { background: #161616; transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── FOOTER ── */
footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 4.5rem 5% 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand-logo { height: 36px; margin-bottom: 1rem; }
.footer-brand-name { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.7rem; }
.footer-tagline { font-size: 0.82rem; color: #555; line-height: 1.7; max-width: 270px; }
.footer-contact-list { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-contact-list li {
  font-size: 0.79rem; color: #555; display: flex;
  align-items: flex-start; gap: 0.5rem; line-height: 1.55;
}
.footer-contact-list li .lbl { color: #888; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.footer-col-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #888; margin-bottom: 1.3rem;
}
.footer-link-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link-list a {
  font-size: 0.86rem; color: #555;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.footer-link-list a:hover { color: #ddd; padding-left: 4px; }
.footer-bottom {
  padding-top: 1.8rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.76rem; color: #444;
}
.footer-bottom a { color: #444; transition: color 0.2s; }
.footer-bottom a:hover { color: #aaa; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero { padding: 8rem 5% 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
