/* Data One Technologies — Version 4.0 | CSS | Released: August 2026 | Target: APAC · Gulf · Pakistan */
/* =============================================
   DATA ONE TECHNOLOGIES — Global Stylesheet
   Theme: Pearl White · Orange · Black
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── Variables ── */
:root {
  --pearl:    #F8FAFB;
  --pearl-2:  #EFF2F5;
  --pearl-3:  #E0E6EA;
  --orange:   #5A6A7A;
  --orange-d: #3D5060;
  --orange-l: #7A8F9E;
  --black:    #0D0D0D;
  --dark:     #1C1C1C;
  --mid:      #3A3A3A;
  --muted:    #7A7268;
  --white:    #FFFFFF;
  --border:   rgba(13,13,13,0.1);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius:   4px;
  --transition: 0.25s ease;
  --shadow:   0 4px 24px rgba(13,13,13,0.08);
  --shadow-lg: 0 12px 48px rgba(13,13,13,0.14);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--pearl);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--black);
}
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { font-size: 1rem; color: var(--mid); line-height: 1.75; }

/* ── Layout ── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
section { padding: 100px 0; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}
.section-title { margin-bottom: 20px; }
.section-body { font-size: 1.05rem; max-width: 640px; line-height: 1.8; }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  height: 72px;
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 32px;
  box-sizing: border-box;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 48px;
  width: auto !important;
  max-width: none !important;
  display: block;
  object-fit: contain;
  mix-blend-mode: lighten;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--orange); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange-d) !important; color: var(--white) !important; transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* ── Hero ── */
.hero {
  padding-top: 160px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 90% 20%, rgba(232,87,10,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(232,87,10,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,13,13,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,13,13,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.8s ease both;
}
.hero-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--orange);
}
.hero-headline {
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-headline .accent { color: var(--orange); }
.hero-sub {
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 48px;
  color: var(--mid);
  line-height: 1.8;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 64px;
  animation: fadeUp 0.8s 0.4s ease both;
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge .dot-icon {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,87,10,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-secondary:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 40px;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.card-icon {
  width: 56px; height: 56px;
  background: rgba(232,87,10,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--orange); }
.card h4 { font-size: 1.15rem; margin-bottom: 12px; color: var(--black); }
.card p { font-size: 0.92rem; }

/* ── Stats Strip ── */
.stats-strip {
  background: var(--black);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* ── Tech Stack Strip ── */
.tech-strip {
  background: var(--pearl-2);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tech-strip-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.tech-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 32px;
}
.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.tech-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.tech-pill .tp-icon {
  width: 20px; height: 20px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

/* ── Services Page ── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.service-num {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--pearl-3);
  line-height: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(232,87,10,0.08);
  border: 1px solid rgba(232,87,10,0.2);
  border-radius: 100px;
  color: var(--orange);
}

/* ── Dark Section ── */
.section-dark {
  background: var(--black);
  color: var(--white);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.6); }
.section-dark .section-label { color: var(--orange); }

/* ── Industry Cards ── */
.industry-card {
  position: relative;
  background: var(--dark);
  border-radius: 8px;
  padding: 40px;
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}
.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.industry-card:hover::before { transform: scaleX(1); }
.industry-card:hover { transform: translateY(-4px); }
.industry-card h4 { color: var(--white); margin-bottom: 12px; }
.industry-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.industry-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--black);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(232,87,10,0.12) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); margin-bottom: 20px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 560px; }
.page-hero .section-label { color: var(--orange); }

/* ── About ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-box {
  background: var(--orange);
  border-radius: 8px;
  padding: 60px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-box::after {
  content: 'DATA';
  position: absolute;
  bottom: -20px; right: -10px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  pointer-events: none;
}
.about-box h3 { color: var(--white); font-size: 2.5rem; margin-bottom: 16px; }
.about-box p { color: rgba(255,255,255,0.8); }
.values-list { margin-top: 40px; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.value-item:last-child { border-bottom: none; }
.value-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--orange);
  line-height: 1;
  min-width: 36px;
}

/* ── R&D Section ── */
.patent-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.patent-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--orange);
}
.patent-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.patent-card h4 { margin-bottom: 10px; }
.patent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(232,87,10,0.08);
  border: 1px solid rgba(232,87,10,0.2);
  border-radius: 100px;
  color: var(--orange);
  margin-bottom: 14px;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.ci-icon {
  width: 44px; height: 44px;
  background: rgba(232,87,10,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 20px; height: 20px; color: var(--orange); }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--pearl);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
}
.form-group textarea { height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--orange);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-inner {
  position: relative;
  text-align: center;
}
.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 40px; }

/* ── Footer ── */
footer {
  background: var(--black);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 20px;  }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  color: rgba(255,255,255,0.35);
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: var(--orange); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Divider ── */
.divider { height: 1px; background: var(--border); }
.orange-line {
  width: 60px; height: 3px;
  background: var(--orange);
  margin: 20px 0 32px;
}

/* ── Highlight Box ── */
.highlight-box {
  background: rgba(232,87,10,0.06);
  border: 1px solid rgba(232,87,10,0.15);
  border-radius: 8px;
  padding: 32px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--black); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 24px; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-block { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
