/* ===== CYBER HARBOUR — Corporate Cybersecurity ===== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy-900: #091222;
  --navy-800: #0E2240;
  --navy-700: #143262;
  --navy-600: #1E4578;
  --navy-500: #2E6098;
  --gold-500: #C9A227;
  --gold-400: #D4B43E;
  --gold-300: #E0C75E;
  --gold-600: #A8861E;
  --slate-100: #F6F8FA;
  --slate-200: #E6EBF1;
  --slate-300: #B8C3D2;
  --slate-400: #6B7A8F;
  --slate-600: #3A4A5E;
  --slate-800: #1E2D42;
  --white: #FFFFFF;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(7,15,30,0.06);
  --shadow-md: 0 4px 16px rgba(7,15,30,0.08);
  --shadow-lg: 0 8px 32px rgba(7,15,30,0.11);
  --shadow-xl: 0 16px 48px rgba(7,15,30,0.14);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold-500); }
.bg-navy { background: var(--navy-800); color: var(--white); }
.bg-light { background: var(--slate-100); }
.bg-dark { background: var(--navy-900); color: var(--white); }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; color: var(--slate-600); }
.lead { font-size: 1.2rem; font-weight: 300; line-height: 1.8; }

/* --- Section Headers --- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 20px; }
.section-subtitle {
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  color: var(--slate-400);
}
.bg-navy .section-subtitle,
.bg-dark .section-subtitle { color: var(--slate-300); }
.bg-navy p, .bg-dark p { color: var(--slate-300); }

/* --- Divider --- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold-500);
  margin: 20px auto 0;
  border-radius: 2px;
}
.text-center .divider { margin-left: auto; margin-right: auto; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(7,15,30,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,162,39,0.12);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(7,15,30,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}
.logo-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 100%; height: 100%; }
.logo span { color: var(--gold-500); }

/* Nav */
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-300);
  letter-spacing: 0.3px;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 100%);
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201,162,39,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(42,90,148,0.1) 0%, transparent 50%);
  pointer-events: none;
}
/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s both;
}
.hero-label::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold-500);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s both;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-400);
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--slate-300);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s both;
}

/* Floating shield graphic */
.hero-graphic {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.07;
  pointer-events: none;
}
.hero-graphic svg { width: 100%; height: 100%; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--gold-500);
  color: #091222 !important;
  border-color: var(--gold-500);
}
.btn-primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: #091222 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201,162,39,0.3);
}
.btn-outline {
  background: transparent;
  color: #FFFFFF !important;
  border-color: rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-400) !important;
}
.btn-dark {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.btn-dark:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
}
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid var(--slate-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.card-icon svg { width: 28px; height: 28px; stroke: var(--gold-400); fill: none; stroke-width: 1.5; }
.card h3 { margin-bottom: 12px; color: var(--navy-800); }
.card p { font-size: 0.95rem; margin-bottom: 16px; }
.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover { color: var(--navy-700); gap: 10px; }

/* Source verification links */
.source-link {
  color: var(--navy-700);
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 2px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.source-link:hover {
  color: var(--gold-600);
  text-decoration-color: var(--navy-700);
}
.source-strip {
  font-size: 0.72rem;
  color: var(--slate-400);
  margin-bottom: 12px;
  line-height: 1.6;
  border-top: 1px solid var(--slate-200);
  padding-top: 10px;
}
.source-strip a { color: var(--slate-600); text-decoration: underline; text-underline-offset: 2px; }
.source-strip a:hover { color: var(--gold-600); }

/* Dark cards */
.card-dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.card-dark h3 { color: var(--white); }
.card-dark p { color: var(--slate-400); }
.card-dark .card-icon {
  background: rgba(201,162,39,0.1);
}
.card-dark:hover { border-color: var(--gold-500); background: rgba(255,255,255,0.06); }

/* ===== GRID LAYOUTS ===== */
.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: 24px; }

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: -60px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-xl);
}
.stat-item {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-400);
  letter-spacing: 0.5px;
}

/* ===== TRUST / CLIENTS ===== */
.trust-strip {
  padding: 48px 0;
  border-bottom: 1px solid var(--slate-200);
}
.trust-strip p {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate-400);
  text-align: center;
  margin-bottom: 28px;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-300);
  letter-spacing: 1px;
  opacity: 0.5;
  transition: opacity var(--transition);
}
.trust-logo:hover { opacity: 0.8; }

/* ===== WHY US ===== */
.why-item {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}
.why-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-800);
  color: var(--gold-400);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
}
.why-item h4 { margin-bottom: 6px; color: var(--navy-800); }
.why-item p { font-size: 0.92rem; margin-bottom: 0; }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(201,162,39,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-content h2 { color: var(--white); margin-bottom: 16px; }
.cta-content p { color: var(--slate-300); font-size: 1.1rem; margin-bottom: 32px; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  padding: 160px 0 96px;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero .hero-content { max-width: 640px; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: var(--slate-300); font-size: 1.1rem; max-width: 520px; }

/* ===== SERVICE DETAIL ===== */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--slate-200);
  scroll-margin-top: 90px;
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(201,162,39,0.1), transparent 50%);
}
.service-visual svg {
  width: 80px; height: 80px;
  stroke: var(--gold-400);
  fill: none;
  stroke-width: 1;
  position: relative;
  z-index: 1;
}
.service-info h3 { font-size: 1.8rem; margin-bottom: 16px; color: var(--navy-800); }
.service-info p { font-size: 1rem; margin-bottom: 20px; }
.service-features {
  list-style: none;
  margin-bottom: 24px;
}
.service-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--slate-600);
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
}

/* ===== ABOUT / VALUES ===== */
.value-card {
  text-align: center;
  padding: 40px 24px;
}
.value-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,39,0.08);
  border-radius: 50%;
}
.value-icon svg { width: 30px; height: 30px; stroke: var(--gold-500); fill: none; stroke-width: 1.5; }
.value-card h4 { margin-bottom: 10px; color: var(--navy-800); }
.value-card p { font-size: 0.92rem; }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: var(--slate-200);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 6px;
  width: 12px; height: 12px;
  background: var(--gold-500);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold-500);
}
.timeline-item h4 { color: var(--navy-800); margin-bottom: 6px; }
.timeline-item p { font-size: 0.92rem; margin-bottom: 0; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-800);
  border-radius: var(--radius-md);
}
.contact-icon svg { width: 22px; height: 22px; stroke: var(--gold-400); fill: none; stroke-width: 1.5; }
.contact-info-item h4 { margin-bottom: 4px; color: var(--navy-800); font-size: 1rem; }
.contact-info-item p { font-size: 0.92rem; margin-bottom: 0; }

/* Form */
.contact-form { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--slate-200); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  color: var(--slate-800);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-900);
  color: var(--slate-400);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: var(--slate-400); max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--slate-400);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: var(--gold-400); }
.footer-legal { display: flex; gap: 24px; }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy-900);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(201,162,39,0.12);
  }
  .mobile-toggle { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; margin-top: -30px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat-item:last-child { border-bottom: none; }
  .hero { min-height: auto; padding: 140px 0 100px; }
  .hero-graphic { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 64px 0; }
}
