/*
Theme Name: Data Hub Digital Services
Theme URI: https://datahub-ds.com
Author: Data Hub Digital Services
Author URI: https://datahub-ds.com
Description: A modern, professional single-page theme for Data Hub Digital Services - AI Solutions, Data Services & Innovation.
Version: 1.0
License: Proprietary
Text Domain: datahub
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1E2761;
  --navy-dark: #151C4A;
  --blue: #2E75B6;
  --blue-light: #3B8DD4;
  --ice: #E8EFF7;
  --light-gray: #F5F7FA;
  --white: #FFFFFF;
  --dark: #1A1A2E;
  --text: #333333;
  --text-light: #666666;
  --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--blue-light); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  z-index: 1000;
  transition: all 0.3s;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.logo img { height: 40px; width: auto; }
.nav-menu { display: flex; list-style: none; gap: 32px; }
.nav-menu a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: color 0.3s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.3s;
}
.nav-menu a:hover { color: var(--navy); }
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 50%, #0D1333 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(46,117,182,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46,117,182,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-block;
  background: rgba(46,117,182,0.2);
  color: var(--blue-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(46,117,182,0.3);
}
.hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--blue-light); }
.hero p {
  font-size: 19px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-light); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,117,182,0.3); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }

/* Floating grid pattern */
.hero-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* ===== SECTION STYLES ===== */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-badge {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p { font-size: 17px; color: var(--text-light); line-height: 1.7; }

/* ===== SERVICES ===== */
#services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--white);
  border: 1px solid #E5E9F0;
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(30,39,97,0.1); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--ice);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.service-list { list-style: none; }
.service-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 14px;
  color: var(--text);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

/* ===== EL-NAFEES ===== */
#elnafees { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: var(--white); }
#elnafees .section-badge { color: var(--blue-light); }
#elnafees .section-header h2 { color: var(--white); }
#elnafees .section-header p { color: rgba(255,255,255,0.7); }

.elnafees-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.elnafees-text h3 { font-size: 28px; margin-bottom: 16px; color: var(--white); }
.elnafees-text p { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 24px; }
.elnafees-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.stat-box .number { font-size: 32px; font-weight: 700; color: var(--blue-light); display: block; }
.stat-box .label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; display: block; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}
.step:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.step h4 { font-size: 16px; color: var(--white); margin-bottom: 8px; }
.step p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ===== WHY US ===== */
#why-us { background: var(--light-gray); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #E5E9F0;
  transition: all 0.3s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(30,39,97,0.08); }
.why-icon {
  width: 64px; height: 64px;
  background: var(--ice);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== CONTACT ===== */
#contact { background: var(--white); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-size: 28px; color: var(--navy); margin-bottom: 16px; }
.contact-info p { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #E5E9F0;
}
.contact-detail-icon {
  width: 48px; height: 48px;
  background: var(--ice);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.contact-detail-text span { font-size: 15px; color: var(--text-light); }
.contact-detail-text a { color: var(--blue); }

.contact-form {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 40px;
}
.contact-form h3 { font-size: 22px; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D5DAE5;
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.3s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,117,182,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-submit:hover { background: var(--blue); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 320px; }
.footer-brand img { height: 36px; filter: brightness(0) invert(1); }
.footer-links h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .elnafees-intro { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .nav-menu.active { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 30px; }
  section { padding: 60px 0; }
}
