/* ====================================================
   Ramh Smart — Luxury Identity
   Brand: Deep Navy + Royal Blue + Gold accents
   Fonts: Cairo (Arabic) + Playfair Display + Inter (English)
   ==================================================== */

:root {
  /* Brand colors derived from logo */
  --navy-900: #0E1F3B;
  --navy-800: #14305C;
  --navy-700: #1B3F73;
  --blue-600: #2E5BAC;
  --blue-500: #3D7DC9;
  --blue-400: #5A9AE0;
  --blue-100: #E6EFFA;
  --gold-500: #C9A961;
  --gold-400: #DCC07C;
  --gold-100: #F5EDD8;
  --ink: #0E1F3B;
  --ink-soft: #4A5A75;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --bg-dark: #0A1628;
  --shadow-sm: 0 2px 8px rgba(14, 31, 59, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 31, 59, 0.10);
  --shadow-lg: 0 20px 60px rgba(14, 31, 59, 0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --font-ar: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', 'Cairo', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ar);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body[lang="en"] { font-family: var(--font-en); }

/* Headings — luxury display font */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
body[lang="ar"] h1,
body[lang="ar"] h2,
body[lang="ar"] h3,
body[lang="ar"] h4,
body[lang="ar"] h5 {
  font-family: var(--font-ar);
  font-weight: 800;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

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

/* ============== Header ============== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14, 31, 59, 0.06);
  transition: all .3s;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
}
.brand img {
  height: 50px;
  width: auto;
}
.brand-name {
  font-size: 22px;
  color: var(--navy-900);
  letter-spacing: 0.5px;
}
.brand-tag {
  display: block;
  font-size: 11px;
  color: var(--gold-500);
  font-family: var(--font-ar);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: all .25s;
  position: relative;
}
.nav-links a:hover { color: var(--blue-600); background: var(--blue-100); }
.nav-links a.active { color: var(--blue-600); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--gold-500));
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  background: transparent;
  border: 1.5px solid var(--line);
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--navy-800);
  transition: all .2s;
}
.lang-switch:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 0;
  transition: all .25s;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 91, 172, .3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(46, 91, 172, .4);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--navy-800);
}
.btn-ghost:hover {
  background: var(--navy-800);
  color: #fff;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  margin: 5px 0;
  border-radius: 2px;
  transition: all .3s;
}

/* ============== Hero ============== */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at 80% 20%, rgba(46, 91, 172, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #F7F9FC 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,31,59,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,31,59,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--blue-100);
  color: var(--blue-600);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(46, 91, 172, 0.15);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-500);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, .6); }
  50% { box-shadow: 0 0 0 8px rgba(201, 169, 97, 0); }
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-600) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .gold-text {
  background: linear-gradient(135deg, var(--gold-500), #B8924A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero visual: stacked card mosaic */
.hero-visual {
  position: relative;
  height: 540px;
}
.hero-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(14,31,59,.06);
}
.hc-1 {
  top: 0; left: 0;
  width: 65%; height: 60%;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hc-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(255,255,255,.08), transparent 50%);
  pointer-events: none;
}
.hc-1 .label {
  font-size: 12px; opacity: .7;
  letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 700;
}
.hc-1 h3 {
  color: #fff;
  font-size: 26px;
  margin: 8px 0;
}
.hc-1 .pills {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.hc-1 .pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.hc-1 .rack {
  display: flex; gap: 4px;
  margin-top: 16px;
}
.hc-1 .rack-bar {
  flex: 1;
  height: 28px;
  background: rgba(61, 125, 201, .25);
  border-radius: 4px;
  border-top: 2px solid var(--blue-400);
}
.hc-1 .rack-bar:nth-child(odd) { background: rgba(201, 169, 97, .2); border-top-color: var(--gold-400); }

.hc-2 {
  top: 30%; right: 0;
  width: 50%; height: 45%;
  padding: 24px;
}
.hc-2 .icon-large {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-100), #fff);
  border: 1px solid var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.hc-2 .icon-large svg { width: 30px; height: 30px; color: var(--blue-600); }
.hc-2 h4 { font-size: 18px; margin-bottom: 6px; }
.hc-2 p { font-size: 13px; color: var(--ink-soft); }

.hc-3 {
  bottom: 0; left: 10%;
  width: 60%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
}
.hc-3 .badge-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(14,31,59,.12);
  display: flex; align-items: center; justify-content: center;
}
.hc-3 .badge-icon svg { width: 26px; height: 26px; color: var(--navy-900); }
.hc-3 .b-title { font-weight: 800; font-size: 15px; }
.hc-3 .b-sub { font-size: 12px; opacity: .8; }

/* ============== Section base ============== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 16px;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-soft);
}
.section-dark .section-head p { color: rgba(255,255,255,.7); }

/* ============== Services Grid ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--line);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(46, 91, 172, 0.04) 100%);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-500);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card.gold-accent .service-icon {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
}
.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
  position: relative; z-index: 1;
}
.service-card .more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 14px;
  position: relative; z-index: 1;
}

/* ============== Why Us ============== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-list {
  list-style: none;
  display: grid;
  gap: 22px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 24px; height: 24px; }
.why-item h4 { font-size: 18px; margin-bottom: 4px; }
.why-item p { color: var(--ink-soft); font-size: 15px; }

.why-visual {
  position: relative;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.why-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.why-visual::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 97, .25), transparent 70%);
  top: 20%; right: 15%;
}
.why-visual .core {
  position: relative;
  z-index: 2;
  width: 70%;
  height: 70%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}
.why-visual .tile {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
}
.why-visual .tile.center {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: transparent;
}
.why-visual .tile svg { width: 28px; height: 28px; }

/* ============== Stats / Numbers ============== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
.stat-block {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--line);
}
.stat-block:last-child { border-right: 0; }
body[lang="ar"] .stat-block { border-right: 0; border-left: 1px solid var(--line); }
body[lang="ar"] .stat-block:last-child { border-left: 0; }
.stat-block .num {
  font-size: 42px;
  font-weight: 800;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.stat-block .lbl {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
  margin-top: 4px;
}

/* ============== CTA ============== */
.cta-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-600) 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(201, 169, 97, .15), transparent 50%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: 36px; }
.cta-inner p { color: rgba(255,255,255,.8); margin-top: 8px; }

/* ============== Footer ============== */
.site-footer {
  background: var(--bg-dark);
  color: #B7C2D6;
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 56px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer-col h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 32px; height: 2px;
  background: var(--gold-500);
}
body[lang="en"] .footer-col h5::after { right: auto; left: 0; }
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: #B7C2D6;
  font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold-400); }
.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact-line svg {
  width: 18px; height: 18px;
  color: var(--blue-400);
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7B889E;
}
.footer-social {
  display: flex; gap: 8px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: #B7C2D6;
  transition: all .2s;
}
.footer-social a:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}
.footer-social svg { width: 18px; height: 18px; }

/* ============== Page Hero (subpages) ============== */
.page-hero {
  padding: 160px 0 70px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 30%, rgba(201, 169, 97, .12), transparent 50%);
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  position: relative;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
  position: relative;
}
.breadcrumb a { color: var(--gold-400); }

/* ============== Form ============== */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  max-width: 760px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--navy-800);
}
.form-field label .req { color: #DA3434; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  font-family: inherit;
  transition: all .2s;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46, 91, 172, .12);
}

.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 14px;
  display: none;
}
.alert.success { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; display: block; }
.alert.error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; display: block; }

/* ============== Contact ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info {
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: #fff;
  padding: 48px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(201, 169, 97, .15), transparent 50%);
}
.contact-info h3 { color: #fff; margin-bottom: 24px; position: relative; }
.contact-info-line {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
}
.contact-info-line .ic {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.contact-info-line .ic svg { width: 20px; height: 20px; color: var(--gold-400); }
.contact-info-line strong { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 2px; font-weight: 600; }

/* ============== About / Sectors ============== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.sector-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: all .25s;
}
.sector-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--blue-500); }
.sector-tile .ic {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-100), #fff);
  display: flex; align-items: center; justify-content: center;
}
.sector-tile .ic svg { width: 28px; height: 28px; color: var(--blue-600); }
.sector-tile h4 { font-size: 16px; margin-bottom: 4px; }
.sector-tile p { font-size: 13px; color: var(--ink-soft); }

/* ============== Process timeline ============== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 30px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--gold-500));
  z-index: 0;
}
.tl-step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.tl-num {
  width: 60px; height: 60px;
  background: #fff;
  border: 2px solid var(--blue-500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-weight: 800;
  color: var(--blue-600);
  font-size: 20px;
  font-family: var(--font-display);
  box-shadow: var(--shadow-sm);
}
.tl-step h4 { font-size: 17px; margin-bottom: 6px; }
.tl-step p { font-size: 14px; color: var(--ink-soft); }

/* ============== Responsive ============== */
@media (max-width: 980px) {
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 420px; }
  .stats-bar, .timeline, .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-block { border: 0; }
  .nav-links {
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
}
@media (max-width: 600px) {
  .stats-bar, .footer-grid, .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .section { padding: 70px 0; }
  .hero { padding: 120px 0 50px; }
}

/* RTL/LTR helpers */
body[lang="ar"] { direction: rtl; }
body[lang="en"] { direction: ltr; }

/* ============== Floating WhatsApp ============== */
.wa-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  animation: wa-pulse 2s ease-in-out infinite;
  transition: transform .25s;
}
body[lang="en"] .wa-float { left: auto; right: 24px; }
.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
.wa-float:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}
.wa-float .wa-tip {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-900);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  font-family: var(--font-ar);
}
.wa-float .wa-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--navy-900);
}
.wa-float:hover .wa-tip { opacity: 1; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, .8), 0 0 0 12px rgba(37, 211, 102, .15); }
}
@media (max-width: 600px) {
  .wa-float { width: 54px; height: 54px; bottom: 18px; left: 18px; }
  body[lang="en"] .wa-float { right: 18px; }
}

/* Smooth fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============== Icon Animations ============== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(46, 91, 172, .4); }
  70% { box-shadow: 0 0 0 14px rgba(46, 91, 172, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 91, 172, 0); }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-6deg); }
  75% { transform: rotate(6deg); }
}
@keyframes scan-bar {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(38px); opacity: .5; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes bounce-y {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.05); }
}
@keyframes wifi-wave {
  0%, 100% { opacity: .25; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Service card icons — gentle floating + colorful gradient cycle */
.service-card .service-icon {
  animation: float 4s ease-in-out infinite;
  transition: transform .3s, box-shadow .3s;
}
.service-card:nth-child(2n) .service-icon { animation-delay: 0.4s; }
.service-card:nth-child(3n) .service-icon { animation-delay: 0.8s; }
.service-card:nth-child(4n) .service-icon { animation-delay: 1.2s; }

.service-card:hover .service-icon {
  animation: bounce-y .6s ease;
  box-shadow: 0 16px 30px rgba(46, 91, 172, .35);
}
.service-card:hover .service-icon svg {
  animation: wiggle .6s ease;
}

/* Why-icon shaking pulse on hover */
.why-icon { transition: all .3s; }
.why-item:hover .why-icon {
  background: var(--blue-600);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(46, 91, 172, .35);
}
.why-item:hover .why-icon svg { animation: wiggle .5s ease; }

/* Sector tile icons */
.sector-tile .ic { transition: all .35s; }
.sector-tile:hover .ic {
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  transform: rotate(8deg) scale(1.1);
}
.sector-tile:hover .ic svg { color: #fff; animation: bounce-y .5s; }

/* Hero cards float together */
@keyframes float-card-1 {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
}
@keyframes float-card-2 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-14px) rotate(-0.5deg); }
}
@keyframes float-card-3 {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}
@keyframes blink-led {
  0%, 100% { background: var(--blue-400); box-shadow: 0 0 0 0 rgba(61,125,201,0); }
  50% { background: var(--gold-400); box-shadow: 0 0 12px 2px rgba(220, 192, 124, .8); }
}
@keyframes glow-card {
  0%, 100% { box-shadow: 0 20px 60px rgba(14, 31, 59, 0.18); }
  50% { box-shadow: 0 30px 80px rgba(46, 91, 172, .35); }
}
@keyframes data-flow {
  0% { transform: translateX(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}
@keyframes pill-glow {
  0%, 100% { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); }
  50% { background: rgba(201,169,97,.28); border-color: rgba(220,192,124,.6); }
}

.hero-card.hc-1 {
  animation: float-card-1 6s ease-in-out infinite, glow-card 4s ease-in-out infinite;
}
.hero-card.hc-2 {
  animation: float-card-2 6.5s ease-in-out infinite;
  animation-delay: -1s;
}
.hero-card.hc-3 {
  animation: float-card-3 5.5s ease-in-out infinite;
  animation-delay: -2s;
}

/* Pulsing glow ring around the whole hc-1 card (data center) */
.hero-card.hc-1::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--blue-500), var(--gold-500), var(--blue-500));
  background-size: 200% 200%;
  animation: shimmer 4s linear infinite;
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
}
.hero-card.hc-1:hover::after { opacity: .6; }

/* Rack bars: scanning blink like real server LEDs */
.hero-card.hc-1 .rack-bar {
  animation: scan-bar 2.4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.hero-card.hc-1 .rack-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue-400);
  animation: blink-led 1.4s ease-in-out infinite;
}
.hero-card.hc-1 .rack-bar:nth-child(odd)::before { animation-delay: 0.3s; background: var(--gold-400); }
.hero-card.hc-1 .rack-bar:nth-child(1) { animation-delay: 0s; }
.hero-card.hc-1 .rack-bar:nth-child(2) { animation-delay: 0.15s; }
.hero-card.hc-1 .rack-bar:nth-child(3) { animation-delay: 0.3s; }
.hero-card.hc-1 .rack-bar:nth-child(4) { animation-delay: 0.45s; }
.hero-card.hc-1 .rack-bar:nth-child(5) { animation-delay: 0.6s; }
.hero-card.hc-1 .rack-bar:nth-child(6) { animation-delay: 0.75s; }
.hero-card.hc-1 .rack-bar:nth-child(7) { animation-delay: 0.9s; }

/* Pills inside hc-1 glow alternately */
.hero-card.hc-1 .pill { animation: pill-glow 3s ease-in-out infinite; }
.hero-card.hc-1 .pill:nth-child(2) { animation-delay: 0.7s; }
.hero-card.hc-1 .pill:nth-child(3) { animation-delay: 1.4s; }
.hero-card.hc-1 .pill:nth-child(4) { animation-delay: 2.1s; }

/* Shield icon in hc-2: pulse ring */
.hero-card.hc-2 .icon-large {
  position: relative;
  animation: pulse-ring 2.5s ease-out infinite;
}
.hero-card.hc-2 .icon-large svg { animation: bounce-y 2s ease-in-out infinite; }
.hero-card.hc-2 .icon-large::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--blue-500);
  animation: pulse-ring 2.5s ease-out infinite;
  animation-delay: 0.6s;
}

/* CCTV camera in hc-3: rotation + recording dot */
.hero-card.hc-3 .badge-icon { animation: wiggle 3s ease-in-out infinite; }
.hero-card.hc-3 .badge-icon svg { animation: bounce-y 1.8s ease-in-out infinite; }
.hero-card.hc-3::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DA3434;
  box-shadow: 0 0 0 0 rgba(218, 52, 52, .7);
  animation: pulse-rec 1.4s ease-in-out infinite;
}
@keyframes pulse-rec {
  0% { box-shadow: 0 0 0 0 rgba(218, 52, 52, .7); }
  70% { box-shadow: 0 0 0 8px rgba(218, 52, 52, 0); }
  100% { box-shadow: 0 0 0 0 rgba(218, 52, 52, 0); }
}

/* Gentle hover boost for any card */
.hero-card:hover {
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.02) !important;
  transition: transform .35s ease;
}

/* Why-visual tiles */
.why-visual .tile { animation: float 4s ease-in-out infinite; }
.why-visual .tile:nth-child(2) { animation-delay: 0.2s; }
.why-visual .tile:nth-child(3) { animation-delay: 0.4s; }
.why-visual .tile:nth-child(4) { animation-delay: 0.6s; }
.why-visual .tile:nth-child(5) { animation-delay: 0.8s; }
.why-visual .tile:nth-child(6) { animation-delay: 1.0s; }
.why-visual .tile:nth-child(7) { animation-delay: 1.2s; }
.why-visual .tile:nth-child(8) { animation-delay: 1.4s; }
.why-visual .tile:nth-child(9) { animation-delay: 1.6s; }
.why-visual .tile.center {
  animation: pulse-ring 2s ease-in-out infinite, float 4s ease-in-out infinite;
}
.why-visual .tile.center svg { animation: spin-slow 14s linear infinite; }

/* Timeline numbers */
.tl-step .tl-num { transition: all .35s; }
.tl-step:hover .tl-num {
  background: var(--blue-600);
  color: #fff;
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 12px 28px rgba(46, 91, 172, .35);
}

/* Footer social icons */
.footer-social a { transition: all .25s; }
.footer-social a:hover { transform: translateY(-4px) scale(1.1); }

/* Hero pulse ring on eyebrow dot already exists — keep */

/* Reduced motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
  .service-card .service-icon,
  .hero-card .badge-icon,
  .hero-card .icon-large,
  .why-visual .tile,
  .hero-card.hc-1 .rack-bar { animation: none !important; }
}

/* ============== Partners Section ============== */
.partners-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Partners as moving marquee strip */
.partners-grid {
  margin-top: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.partners-grid::before, .partners-grid::after { content: none; }
.partners-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.partners-grid:hover .partners-track { animation-play-state: paused; }
.partner-tile {
  flex: 0 0 200px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: #fff;
  transition: all .3s;
  filter: grayscale(100%);
  opacity: 0.7;
}
body[lang="en"] .partner-tile { border-right: 0; border-left: 1px solid var(--line); }
.partner-tile:hover {
  filter: grayscale(0);
  opacity: 1;
  background: var(--bg-soft);
}
.partner-tile img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
body[dir="rtl"] .partners-track { animation-name: marquee-scroll-rtl; }
@keyframes marquee-scroll-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
@media (max-width: 600px) {
  .partner-tile { flex: 0 0 150px; height: 90px; padding: 16px; }
}

/* ============== Data Center Showcase ============== */
.dc-showcase {
  padding: 100px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
}
.dc-feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(14, 31, 59, .25);
  margin: 0 auto;
  max-width: 1100px;
}
.dc-feature-image img { width: 100%; height: auto; display: block; }
.dc-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 32px auto 0;
}
.dc-feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  text-align: center;
  transition: all .25s;
}
.dc-feat:hover {
  border-color: var(--blue-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.dc-feat-num {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dc-feat-lbl {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
  font-weight: 600;
}

/* ============== CCTV Showcase ============== */
.cctv-showcase {
  padding: 100px 0;
}
.cctv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cctv-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cctv-image img { width: 100%; height: auto; display: block; }
@media (max-width: 980px) {
  .cctv-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============== MOI Accreditation Bar ============== */
.moi-bar {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-600) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.moi-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(201, 169, 97, .15), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201, 169, 97, .12), transparent 50%);
}
.moi-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.moi-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--gold-500), #B8924A);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy-900);
  box-shadow: 0 10px 30px rgba(201, 169, 97, .4);
  animation: float 4s ease-in-out infinite;
}
.moi-icon svg { width: 42px; height: 42px; }
.moi-text {
  display: flex;
  flex-direction: column;
  text-align: start;
}
.moi-text strong {
  font-size: 22px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 4px;
  font-family: var(--font-display);
}
.moi-text span {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  max-width: 480px;
}
.moi-stamp {
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(201, 169, 97, .35);
}
@media (max-width: 700px) {
  .moi-inner { flex-direction: column; }
  .moi-text { text-align: center; }
}

/* ============== Gallery ============== */
.gallery-section { padding: 90px 0; background: var(--bg-soft); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ddd;
  cursor: pointer;
  transition: all .3s;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gcap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(14,31,59,.85));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transform: translateY(100%);
  transition: transform .35s;
}
.gallery-item.has-caption .gcap { transform: translateY(0); }
.gallery-item:hover .gcap { transform: translateY(0); }

/* ============== Projects / Clients ============== */
.projects-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #FAFBFD 0%, #FFFFFF 100%);
}
/* Projects as moving marquee strip */
.projects-grid {
  margin-top: 40px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.projects-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee-scroll 50s linear infinite;
}
.projects-grid:hover .projects-track { animation-play-state: paused; }
body[dir="rtl"] .projects-track { animation-name: marquee-scroll-rtl; }
.projects-track .project-tile { flex: 0 0 280px; min-width: 280px; }
@media (max-width: 600px) {
  .projects-track .project-tile { flex: 0 0 240px; min-width: 240px; }
}
.project-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.project-tile::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(46,91,172,.08), transparent 70%);
  pointer-events: none;
}
.project-tile:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.project-logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.project-logo img {
  max-height: 56px;
  max-width: 160px;
  object-fit: contain;
}
.project-initial {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-display);
}
.project-meta h4 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--navy-900);
}
.project-meta p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 10px;
}
.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ptag {
  background: var(--blue-100);
  color: var(--blue-600);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

/* Show More button helper */
.btn-more {
  margin: 32px auto 0;
  display: flex;
  width: fit-content;
}

/* ============== Data Center Visual Section ============== */
.dc-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, #061427 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61,125,201,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,125,201,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.dc-section h2 { color: #fff; }
.dc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.dc-visual {
  position: relative;
  aspect-ratio: 1/1;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  padding: 24px;
  gap: 12px;
}
.dc-rack {
  flex: 1;
  background: linear-gradient(180deg, #0a1d3a, #061427);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 10px 8px;
  gap: 6px;
  position: relative;
}
.dc-rack::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: var(--blue-500);
  border-radius: 0 0 4px 4px;
}
.dc-server {
  height: 18px;
  background: rgba(46,91,172,.18);
  border: 1px solid rgba(61,125,201,.3);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.dc-server::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(61,125,201,.4), transparent);
  animation: dc-scan 2.5s linear infinite;
}
.dc-server.led::before {
  content: '';
  position: absolute;
  top: 50%; right: 6px; transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 6px var(--gold-400);
  animation: blink-led 1.6s ease-in-out infinite;
}
@keyframes dc-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.dc-server:nth-child(1) { animation-delay: 0s; }
.dc-rack:nth-child(2) .dc-server::after { animation-delay: -0.5s; }
.dc-rack:nth-child(3) .dc-server::after { animation-delay: -1s; }

.dc-text h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; color: #fff; }
.dc-text p { font-size: 16px; color: rgba(255,255,255,.75); margin-bottom: 16px; line-height: 1.85; }
.dc-features { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.dc-features li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}
.dc-features li svg {
  width: 22px; height: 22px;
  color: var(--gold-400);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .dc-grid { grid-template-columns: 1fr; gap: 40px; }
  .dc-visual { aspect-ratio: 4/3; }
}
