/* ======================================
   DNEXTWELT Global Stylesheet
   ====================================== */

:root {
  --primary:    #0a1f44;
  --secondary:  #1a6cf0;
  --accent:     #f0a500;
  --light:      #f4f7fb;
  --dark:       #0d0d0d;
  --text:       #333;
  --muted:      #6b7280;
  --white:      #ffffff;
  --radius:     8px;
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: #06101f;
  line-height: 1.7;
}

/* ── ANIMATED ORB BACKGROUND ── */
.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #06101f;
  overflow: hidden;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.bg-orb-1 {
  width: 600px; height: 600px;
  background: rgba(26,108,240,0.35);
  top: -180px; left: -180px;
  animation: orbFloat1 18s ease-in-out infinite alternate;
}
.bg-orb-2 {
  width: 500px; height: 500px;
  background: rgba(124,58,237,0.28);
  bottom: -120px; right: -120px;
  animation: orbFloat2 22s ease-in-out infinite alternate;
}
.bg-orb-3 {
  width: 360px; height: 360px;
  background: rgba(240,165,0,0.15);
  top: 55%; left: 55%;
  animation: orbFloat3 16s ease-in-out infinite alternate;
}
@keyframes orbFloat1 { 0% { transform: translate(0,0); } 100% { transform: translate(80px,70px); } }
@keyframes orbFloat2 { 0% { transform: translate(0,0); } 100% { transform: translate(-80px,-60px); } }
@keyframes orbFloat3 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-60px,-50px) scale(1.15); } }

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5,10,30,0.65) 0%, rgba(5,10,30,0.45) 40%, rgba(5,10,30,0.62) 100%);
  pointer-events: none;
}

/* All content sits above overlay */
header, .hero, .page-hero, .features-strip,
.section, .section-light, .section-dark,
.cta-banner, footer { position: relative; z-index: 2; }

.section       { background: rgba(255,255,255,0.88); }
.section-light { background: rgba(244,247,251,0.88); }
.section-dark  { background: rgba(10,31,68,0.90); color: var(--white); }
.features-strip { background: rgba(26,108,240,0.90); }
.hero          { background: linear-gradient(135deg, rgba(10,31,68,0.82) 0%, rgba(22,45,90,0.76) 60%, rgba(26,108,240,0.68) 100%); }
.page-hero     { background: linear-gradient(135deg, rgba(10,31,68,0.82) 0%, rgba(22,45,90,0.78) 100%); }
footer         { background: rgba(13,13,13,0.96); }

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

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title {
  font-size: 2rem; font-weight: 700;
  margin-bottom: 12px; color: var(--primary);
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
  color: var(--muted); font-size: 1.05rem;
  margin-bottom: 48px; max-width: 600px;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }
.accent-bar { width: 50px; height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 16px; }

.btn {
  display: inline-block; padding: 12px 30px;
  border-radius: var(--radius); font-weight: 600;
  font-size: 0.95rem; transition: var(--transition);
  cursor: pointer; border: 2px solid transparent;
}
.btn-primary  { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-primary:hover  { background: #1558c7; border-color: #1558c7; transform: translateY(-2px); }
.btn-outline  { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover  { background: var(--white); color: var(--primary); transform: translateY(-2px); }
.btn-accent   { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.btn-accent:hover   { background: #d4920a; border-color: #d4920a; transform: translateY(-2px); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 28px; }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; transition: var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.14); }
.card-icon { width: 56px; height: 56px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.6rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--primary); }
.card p { color: var(--muted); font-size: 0.95rem; }

.tag { display: inline-block; padding: 4px 12px; background: rgba(26,108,240,0.10); color: var(--secondary); border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; }

/* ── HEADER / NAV ── */
header { position: sticky; top: 0; z-index: 1000; background: var(--primary); box-shadow: 0 2px 16px rgba(0,0,0,0.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; font-weight: 700; color: var(--white); white-space: nowrap; flex-shrink: 0; }
.logo span { color: var(--accent); }
.logo-icon { width: 70px; height: 70px; flex-shrink: 0; filter: drop-shadow(0 0 12px rgba(26,108,240,0.6)); }
.logo-globe-svg { width: 100%; height: 100%; }

/* Globe animations */
.globe-bg { animation: globeBgColor 8s infinite linear; }
.globe-ring-group { transform-box: fill-box; transform-origin: center; animation: ringRotate 12s infinite linear; }
.globe-ring-text { animation: ringColor 6s infinite linear; }
.globe-dnw { animation: dnwColor 4s infinite alternate; }

@keyframes globeBgColor {
  0%   { fill: rgba(26,108,240,0.78); }
  20%  { fill: rgba(124,58,237,0.78); }
  40%  { fill: rgba(5,150,105,0.78); }
  60%  { fill: rgba(217,119,6,0.78); }
  80%  { fill: rgba(239,68,68,0.78); }
  100% { fill: rgba(26,108,240,0.78); }
}
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ringColor {
  0%   { fill: #ffe066; } 25% { fill: #80ffea; }
  50%  { fill: #ff80b3; } 75% { fill: #b3ff66; }
  100% { fill: #ffe066; }
}
@keyframes dnwColor {
  0% { fill: #ffffff; } 50% { fill: #ffe066; } 100% { fill: #80ffea; }
}

nav ul { display: flex; align-items: center; gap: 2px; }
nav ul li a { color: rgba(255,255,255,0.85); padding: 6px 10px; border-radius: var(--radius); font-size: 0.82rem; font-weight: 500; white-space: nowrap; transition: var(--transition); }
nav ul li a:hover, nav ul li a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.nav-cta a { background: var(--accent) !important; color: var(--primary) !important; font-weight: 700 !important; padding: 6px 14px !important; white-space: nowrap !important; }
.nav-cta a:hover { background: #d4920a !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
.hero { color: var(--white); padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 420px; height: 420px; background: rgba(240,165,0,0.07); border-radius: 50%; }
.hero::after  { content: ''; position: absolute; bottom: -100px; left: -60px; width: 340px; height: 340px; background: rgba(26,108,240,0.10); border-radius: 50%; }
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-tag { display: inline-block; background: rgba(240,165,0,0.2); color: var(--accent); border: 1px solid rgba(240,165,0,0.35); padding: 5px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 800; line-height: 1.22; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.82); margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { color: var(--white); padding: 70px 0 60px; text-align: center; }
.page-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.breadcrumb a { color: var(--accent); }

/* ── FEATURES STRIP ── */
.features-strip { padding: 28px 0; }
.features-list { display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; }
.features-list li { color: var(--white); font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.features-list li::before { content: '✓'; background: rgba(255,255,255,0.2); border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; }

/* ── PRODUCT CARDS ── */
.product-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.14); }
.product-banner { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.banner-blue   { background: linear-gradient(135deg,#0a1f44,#1a6cf0); }
.banner-green  { background: linear-gradient(135deg,#064e3b,#10b981); }
.banner-orange { background: linear-gradient(135deg,#78350f,#f59e0b); }
.banner-purple { background: linear-gradient(135deg,#4c1d95,#7c3aed); }
.product-body  { padding: 28px; }
.product-body h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.1rem; }
.product-body p  { color: var(--muted); font-size: 0.93rem; margin-bottom: 18px; }

/* ── SAP / NUMBERED ITEMS ── */
.sap-item { display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.sap-num { min-width: 40px; height: 40px; background: var(--secondary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.sap-item h4 { color: var(--primary); margin-bottom: 4px; }
.sap-item p { color: var(--muted); font-size: 0.88rem; }

/* ── SERVICE DETAIL BLOCK ── */
.service-block { padding: 60px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.service-block:last-child { border-bottom: none; }
.service-block h2 { font-size: 1.7rem; color: var(--primary); margin-bottom: 12px; }
.service-block p { color: var(--muted); margin-bottom: 20px; }
.service-block ul li { color: var(--muted); padding: 6px 0 6px 20px; position: relative; }
.service-block ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── TESTIMONIAL ── */
.testimonial-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 36px; }
.testimonial-card blockquote { font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.testimonial-card blockquote::before { content: '\201C'; font-size: 3rem; color: var(--accent); line-height: 0; vertical-align: -0.5em; margin-right: 4px; }
.testimonial-meta { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--secondary); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); font-size: 1.1rem; }
.testimonial-meta h5 { color: var(--white); margin-bottom: 2px; }
.testimonial-meta span { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg,var(--secondary),#0a3d8f); padding: 70px 0; text-align: center; color: var(--white); }
.cta-banner h2 { font-size: 2rem; margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,0.8); margin-bottom: 30px; font-size: 1.05rem; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 16px; border: 1.5px solid #e5e7eb;
  border-radius: var(--radius); font-size: 0.95rem; font-family: inherit;
  transition: var(--transition); background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--secondary); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button { align-self: flex-start; }
.contact-info p { color: var(--muted); margin-bottom: 20px; font-size: 1.05rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-detail-icon { width: 44px; height: 44px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-detail h4 { color: var(--primary); font-size: 0.9rem; margin-bottom: 2px; }
.contact-detail p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ── INDUSTRY CARD ── */
.industry-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 32px; transition: var(--transition); border-top: 4px solid var(--accent); }
.industry-card:hover { transform: translateY(-5px); }
.industry-card h3 { color: var(--primary); margin: 14px 0 10px; font-size: 1.1rem; }
.industry-card p { color: var(--muted); font-size: 0.93rem; }
.industry-icon { font-size: 2.4rem; }

/* ── BLOG ── */
.blog-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.blog-card:hover { transform: translateY(-5px); }
.blog-banner { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-body { padding: 24px; }
.blog-body h3 { color: var(--primary); margin: 8px 0 10px; font-size: 1.05rem; line-height: 1.4; }
.blog-body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.blog-meta { font-size: 0.8rem; color: var(--muted); display: flex; gap: 12px; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── FOOTER ── */
footer { color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 8px; }
.footer-contact p span { color: var(--white); font-weight: 600; margin-right: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: var(--transition); }
.social-links a:hover { background: var(--secondary); color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: var(--primary); padding: 20px; gap: 4px; z-index: 999; }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .hero { padding: 70px 0 60px; }
  .hero-stats { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
