/* ============================================================
   PRIMESHIELD SOLUTIONS — CSS ARCHITECTURE (WHITE THEME)
   1. Variables & Cross-Browser Resets
   2. Typography & Base Elements
   3. Utilities & Helpers (Cursor, Loader, Grid)
   4. Navigation & Mobile Menu
   5. Buttons & Form Elements
   6. Page Layouts (Hero, Sections, Footer)
   ============================================================ */

/* 1. VARIABLES & RESETS */
:root {
  /* Backgrounds */
  --bg-main: #FFFFFF;         /* Primary Corporate Background */
  --bg-alt: #F4F7FB;          /* Slightly off-white for alternating sections */
  --bg-dark: #051539;         /* Navy for footer/contrast */
  
  /* Brand Blues */
  --navy: #051539;            /* Primary Text Color */
  --navy-light: #0a1f4f;      
  --navy-dark: #030f2b;       
  --royal: #0244D0;           /* Primary Accent */
  --royal-light: #3d6ff5;     /* Hover states & bright accents */
  --royal-dim: #021a6b;       /* Borders and dark accents */
  
  /* Neutrals */
  --text-main: #051539;       /* Main text (Navy for max contrast) */
  --text-dim: #3D4A66;        /* Secondary text */
  --text-muted: #7A8599;      /* Tertiary text / placeholders */
  
  --border: rgba(5, 21, 57, 0.1);
  --border-strong: rgba(2, 68, 208, 0.3);
}

/* Universal Cross-Browser Reset */
*, *::before, *::after { 
  box-sizing: border-box; 
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale; 
  margin: 0; 
  padding: 0; 
}

html { 
  scroll-behavior: smooth; 
  -webkit-text-size-adjust: 100%; 
  text-size-adjust: 100%;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  cursor: none;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
@media (max-width: 768px) { 
  body { cursor: auto; } 
  html, body { overscroll-behavior: none; } 
}

/* 2. TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

.font-display { font-family: 'Fraunces', serif; font-optical-sizing: auto; letter-spacing: -0.02em; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--royal);
  margin-bottom: 24px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--royal); }

.section-title {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--navy);
}
.section-title em { font-style: italic; color: var(--royal); }

.page-title {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem); line-height: 0.95; letter-spacing: -0.04em;
  margin-top: 20px; color: var(--navy);
}
.page-title em { font-style: italic; color: var(--royal); }

.lead-text { font-size: 1.25rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 24px; }
.body-text { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.dim { color: var(--text-muted); }

/* 3. UTILITIES & HELPERS */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grid-bg {
  background-image: linear-gradient(rgba(5, 21, 57, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 21, 57, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Custom Cursor */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--royal); transition: transform 0.15s; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid var(--royal-dim); transition: transform 0.25s, width 0.3s, height 0.3s, border-color 0.3s; }
.cursor-hover .cursor-ring { width: 64px; height: 64px; border-color: var(--royal); }
.cursor-hover .cursor-dot { transform: translate(-50%, -50%) scale(0); }
@media (max-width: 768px) { .cursor-dot, .cursor-ring { display: none; } }

/* Preloader */
.loader {
  position: fixed; inset: 0; background: #ffffff; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-shield { width: 200px; height: 200px; position: relative; display: flex; align-items: center; justify-content: center; }
.loader-logo { width: 140px; height: auto; z-index: 2; opacity: 0; animation: fade-in 1s ease forwards 0.2s; }
@keyframes fade-in { to { opacity: 1; } }
.loader-shield .ring { position: absolute; inset: 0; border: 3px solid var(--royal); border-radius: 50%; border-top-color: transparent; animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--royal); }

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.65s; }

/* 4. NAVIGATION */
.floating-nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 1000; width: calc(100% - 32px); max-width: 1280px;
}
.nav-container {
  background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid var(--border);
  border-radius: 100px; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; 
  box-shadow: 0 4px 20px rgba(5, 21, 57, 0.05);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 36px; width: auto; }

.nav-links { display: flex; gap: 40px; }
.nav-link {
  text-decoration: none; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); transition: color 0.3s; position: relative; padding: 6px 0;
}
.nav-link:hover { color: var(--navy); }
.nav-link.active { color: var(--royal); }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--royal); transition: width 0.4s; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 50%; width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.menu-close { position: absolute; top: 32px; right: 32px; background: none; border: 1px solid var(--border-strong); border-radius: 50%; width: 48px; height: 48px; cursor: pointer; display: flex; align-items: center; justify-content: center; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; background: #ffffff; z-index: 9000;
  transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column; justify-content: center; padding: 40px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-content { display: flex; flex-direction: column; gap: 8px; }
.mobile-link {
  font-family: 'Fraunces', serif; font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 300;
  color: var(--navy); text-decoration: none; padding: 8px 0; transition: color 0.3s, padding-left 0.4s;
}
.mobile-link:hover { color: var(--royal); padding-left: 24px; }
.mobile-link .num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--royal); vertical-align: super; margin-right: 12px; }

/* 5. BUTTONS & FORMS */
.btn-primary {
  position: relative; display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0;
  padding: 16px 32px; background: var(--royal); color: #ffffff;
  font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; overflow: hidden; transition: transform 0.3s; border: none; cursor: pointer;
}
.btn-primary::before { content: ''; position: absolute; inset: 0; background: var(--navy); transform: translateX(-101%); transition: transform 0.5s; }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 2; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 32px; flex-shrink: 0;
  border: 1px solid var(--border-strong); color: var(--navy);
  font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; background: transparent; transition: all 0.3s; cursor: pointer;
}
.btn-ghost:hover { border-color: var(--royal); color: var(--royal); background: rgba(2, 68, 208, 0.05); }

.magnetic { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

/* Form Elements */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field { position: relative; margin-bottom: 32px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 18px 0 12px; background: transparent; border: none;
  border-bottom: 1px solid var(--border-strong); color: var(--navy);
  font-family: 'Inter', sans-serif; font-size: 15px; outline: none; transition: border-color 0.3s;
  -webkit-appearance: none; 
  appearance: none;
  border-radius: 0; 
}
.form-field label {
  position: absolute; left: 0; top: 18px; font-size: 14px; color: var(--text-muted);
  pointer-events: none; transition: all 0.3s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--royal); }
.form-field input:focus + label, .form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label, .form-field textarea:not(:placeholder-shown) + label {
  top: -4px; font-size: 11px; color: var(--royal); letter-spacing: 0.1em; text-transform: uppercase;
}

/* Beautiful Custom Select */
.custom-select-wrap { height: fit-content; }
.custom-select { position: relative; }
.select-trigger {
  width: 100%; padding: 18px 0 12px; background: transparent; border: none;
  border-bottom: 1px solid var(--border-strong); color: var(--navy);
  font-family: 'Inter', sans-serif; font-size: 15px; display: flex; justify-content: space-between;
  align-items: center; cursor: pointer; transition: border-color 0.3s;
}
.select-trigger:focus { outline: none; border-color: var(--royal); }
.select-trigger svg { transition: transform 0.3s; }
.custom-select.open .select-trigger svg { transform: rotate(180deg); }
.custom-select.open .select-trigger { border-color: var(--royal); }

.select-options {
  position: absolute; top: calc(100% + 8px); left: 0; width: 100%;
  background: #ffffff; border: 1px solid var(--border-strong);
  max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.3s, opacity 0.3s; z-index: 10;
  box-shadow: 0 10px 30px rgba(5, 21, 57, 0.08);
}
.custom-select.open .select-options { max-height: 300px; opacity: 1; overflow-y: auto; }
.option { padding: 12px 16px; cursor: pointer; font-size: 14px; color: var(--text-dim); transition: background 0.2s, color 0.2s; }
.option:hover { background: var(--bg-alt); color: var(--royal); }
.select-value.placeholder { color: var(--text-muted); }

/* Custom Checkbox */
.form-interests { margin-bottom: 32px; }
.interests-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--royal); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; }
.interests-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .interests-grid { grid-template-columns: 1fr; } }
.custom-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; color: var(--text-dim); }
.custom-check input { display: none; }
.check-box { width: 18px; height: 18px; border: 1px solid var(--border-strong); position: relative; flex-shrink: 0; margin-top: 2px; transition: all 0.3s; }
.custom-check input:checked + .check-box { background: var(--royal); border-color: var(--royal); }
.check-box::after { content: ''; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.2s; }
.custom-check input:checked + .check-box::after { transform: rotate(45deg) scale(1); }

/* 6. PAGE LAYOUTS */
/* Hero */
.hero-section { 
  position: relative; 
  min-height: 100vh; 
  min-height: 100svh; 
  min-height: 100dvh; 
  display: flex; align-items: center; padding-top: 120px; padding-bottom: 60px; overflow: hidden; 
}
.hero-glow { position: absolute; top: 20%; left: 50%; transform: translateX(-50%); width: 80%; height: 60%; background: radial-gradient(circle, rgba(2, 68, 208, 0.08), transparent 60%); pointer-events: none; }
.hero-container { width: 100%; }
.hero-meta { display: flex; justify-content: space-between; margin-bottom: 60px; }
.meta-item { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-muted); letter-spacing: 0.2em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; background: var(--royal); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: flex; } }

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.4fr 1fr; } }

.hero-title { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(3.5rem, 11vw, 9rem); line-height: 0.9; margin-bottom: 32px; color: var(--navy); }
.hero-title em { font-style: italic; color: var(--royal); }
.hero-desc { font-size: 1.125rem; color: var(--text-dim); max-width: 540px; line-height: 1.7; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Shield Visual */
.shield-visual { position: relative; width: 100%; aspect-ratio: 1; max-width: 450px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.hero-logo-img { 
  width: 68%; height: auto; z-index: 2; position: relative; 
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(2, 68, 208, 0.15));
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* Scanning Effects */
.scan-ring { position: absolute; inset: 15%; border: 1px solid var(--royal-dim); border-radius: 50%; opacity: 0; }
.scan-ring.r1 { animation: pulse-ring 4s ease-out infinite; }
.scan-ring.r2 { animation: pulse-ring 4s ease-out infinite 1.3s; }
@keyframes pulse-ring { 0% { transform: scale(0.5); opacity: 0.8; border-color: var(--royal); } 100% { transform: scale(1.1); opacity: 0; } }
.scan-line { position: absolute; left: 20%; right: 20%; height: 1px; background: var(--royal); top: 50%; animation: scan 4s ease-in-out infinite; box-shadow: 0 0 12px var(--royal); z-index: 3; mix-blend-mode: multiply; }
@keyframes scan { 0%, 100% { top: 20%; opacity: 0; } 50% { top: 80%; opacity: 1; } }

/* Stats - Changed to Dark Navy to break up white */
.hero-stats { 
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; 
  margin-top: 80px; padding: 60px 40px; 
  background: var(--navy); border-radius: 16px; 
  box-shadow: 0 20px 50px rgba(5, 21, 57, 0.15);
}
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-num { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(3rem, 6vw, 4.5rem); color: var(--royal-light); }
.stat-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(255,255,255,0.6); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 8px; }

/* Snapshot / Intro Section */
.snapshot-section { padding: 120px 0; }
.snapshot-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .snapshot-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--royal); text-decoration: none; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 16px; transition: gap 0.3s; }
.text-link:hover { gap: 16px; }

/* Services Preview (Home) */
.services-preview { padding: 120px 0; background: var(--bg-alt); }
.preview-header { margin-bottom: 60px; }
.preview-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .preview-grid { grid-template-columns: repeat(3, 1fr); } }

.preview-card { padding: 40px; border: 1px solid var(--border); background: #ffffff; transition: all 0.4s; }
.preview-card:hover { border-color: var(--royal); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(5, 21, 57, 0.06); }
.card-icon { width: 48px; height: 48px; margin-bottom: 24px; }
.card-icon svg { width: 100%; height: 100%; stroke: var(--royal); }
.preview-card h3 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 400; margin-bottom: 12px; color: var(--navy); }
.preview-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.preview-footer { margin-top: 60px; text-align: center; }

/* Trust Teaser */
.trust-teaser { padding: 120px 0; }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: 1.2fr 1fr; gap: 80px; } }
.trust-img { width: 100%; height: 500px; object-fit: cover; filter: grayscale(0.1) contrast(1.05); border-radius: 8px; box-shadow: 0 10px 30px rgba(5, 21, 57, 0.1); }

/* Generic Page Header */
.page-header { padding: 180px 0 80px; border-bottom: 1px solid var(--border); position: relative; }

/* Vision & Mission (About) */
.vision-mission { padding: 120px 0; background: var(--bg-alt); }
.vm-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .vm-grid { grid-template-columns: 1fr 1fr; } }
.vm-card { padding: 48px; border: 1px solid var(--border); background: #ffffff; }
.vm-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.vm-icon { width: 40px; height: 40px; }
.vm-icon svg { stroke: var(--royal); }
.vm-title { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 300; line-height: 1.2; margin-bottom: 16px; color: var(--navy); }
.vm-title em { color: var(--royal); }
.vm-card p { color: var(--text-muted); line-height: 1.7; }

/* Core Values (About) */
.core-values { padding: 120px 0; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card { padding: 40px; border: 1px solid var(--border); background: #ffffff; transition: all 0.4s; }
.value-card:hover { background: var(--bg-alt); border-color: var(--royal-dim); }
.value-icon { width: 40px; height: 40px; margin-bottom: 24px; }
.value-icon svg { stroke: var(--royal); }
.value-card h3 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 400; margin-bottom: 12px; color: var(--navy); }
.value-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* Team Section */
.team-section { padding: 120px 0; background: var(--bg-alt); }

/* Services List (Services Page) */
.services-list { padding: 120px 0; }
.service-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 40px; padding: 60px 0; align-items: center; scroll-margin-top: 120px; }
@media (max-width: 768px) { .service-row { grid-template-columns: 1fr; gap: 20px; } }
.service-row-num { font-family: 'Fraunces', serif; font-size: 48px; font-weight: 300; color: var(--border-strong); }
.service-row-icon { width: 56px; height: 56px; margin-bottom: 24px; }
.service-row-icon svg { stroke: var(--royal); }
.service-row-content h2 { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 300; margin-bottom: 16px; color: var(--navy); }
.service-row-desc { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 32px; max-width: 700px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { padding: 8px 16px; border: 1px solid var(--border-strong); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; background: #fff; }
.service-row-img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 30px rgba(5, 21, 57, 0.1); background-size: cover; background-position: center; }
.divider { height: 1px; background: var(--border); }

/* Sectors Grid (Services Page) */
.sectors-section { padding: 120px 0; background: var(--bg-alt); }
.sectors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
@media (min-width: 768px) { .sectors-grid { grid-template-columns: repeat(4, 1fr); } }
.sector-item { background: #ffffff; padding: 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; transition: background 0.3s; }
.sector-item:hover { background: var(--bg-alt); }
.sector-item svg { width: 32px; height: 32px; stroke: var(--royal); }
.sector-item span { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.sectors-note { text-align: center; color: var(--text-muted); margin-top: 40px; font-size: 14px; }

/* Contact Page */
.contact-section { padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 60px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.5fr; gap: 80px; } }

.info-list { margin: 40px 0; display: flex; flex-direction: column; gap: 32px; }
.info-item { display: flex; gap: 20px; align-items: flex-start; }
.info-icon { width: 48px; height: 48px; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #fff; }
.info-icon svg { width: 20px; height: 20px; stroke: var(--royal); }
.info-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--royal); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 4px; }
.info-text a { color: var(--navy); text-decoration: none; transition: color 0.3s; }
.info-text a:hover { color: var(--royal); }

.contact-info-img-wrap { margin: 40px 0; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(5, 21, 57, 0.1); }
.contact-info-img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; display: block; }

.trust-badge { padding: 24px; border: 1px solid var(--royal); background: rgba(2, 68, 208, 0.03); }
.badge-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.badge-title { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--royal); letter-spacing: 0.2em; text-transform: uppercase; }
.trust-badge p { font-size: 14px; color: var(--text-dim); }

.contact-form-wrap { padding: 48px; background: #ffffff; border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(5, 21, 57, 0.06); }
@media (max-width: 600px) { .contact-form-wrap { padding: 32px 24px; } }
.form-submit { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.form-disclaimer { font-size: 12px; color: var(--text-muted); max-width: 400px; }

/* Footer */
.footer { padding-top: 80px; border-top: 1px solid var(--border); background: var(--bg-dark); color: #fff; }
.footer-top { display: flex; flex-direction: column; gap: 32px; margin-bottom: 80px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-cta-title { font-family: 'Fraunces', serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.1; color: #fff; }
.footer-cta-title em { color: var(--royal-light); }

.footer-main { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
@media (min-width: 768px) { .footer-main { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* Updated Footer Logo Styles for JPG */
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; text-decoration: none; }
.footer-logo-img { 
  height: 50px; width: auto; background: #ffffff; padding: 6px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
}
.footer-logo .logo-text { display: flex; flex-direction: column; line-height: 1; }
.footer-logo .logo-name { font-family: 'Fraunces', serif; font-size: 18px; color: #fff; font-weight: 500; }
.footer-logo .logo-sub { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(255,255,255,0.6); letter-spacing: 0.2em; margin-top: 4px; }

.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; margin: 16px 0; max-width: 300px; }
.tagline { font-family: 'Fraunces', serif; font-style: italic; color: var(--royal-light); font-size: 18px; }
.footer-heading { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; margin-bottom: 12px; transition: color 0.3s; }
.footer-col a:hover { color: var(--royal-light); }
.footer-col p { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 12px; }

.footer-bottom { padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; } }
.copyright { font-size: 12px; color: rgba(255,255,255,0.4); }
.signature { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.3s; }
.signature:hover { color: var(--royal-light); }
.sig-dot { width: 6px; height: 6px; background: var(--royal-light); border-radius: 50%; display: inline-block; }

/* Toast Notification */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9500;
  padding: 18px 28px; background: #ffffff;
  border: 1px solid var(--royal); color: var(--navy);
  transform: translateY(120%); transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; align-items: center; gap: 16px; max-width: 350px;
  box-shadow: 0 10px 40px rgba(5, 21, 57, 0.1);
}
.toast.show { transform: translateY(0); }
.toast-dot { width: 8px; height: 8px; background: var(--royal); border-radius: 50%; animation: pulse 1.5s infinite; }
.toast-title { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--royal); letter-spacing: 0.2em; text-transform: uppercase; }
.toast-msg { font-size: 14px; color: var(--navy); margin-top: 4px; }

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   FAQ ACCORDION STYLES
   ============================================================ */
.faq-section { padding: 120px 0; background: var(--bg-alt); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; transition: background 0.3s; }
.faq-item:hover { background: rgba(255, 255, 255, 0.5); }

.faq-header { 
  display: flex; justify-content: space-between; align-items: center; 
  padding: 24px 16px; cursor: pointer; user-select: none; 
}
.faq-header span { 
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 400; 
  color: var(--navy); transition: color 0.3s; 
}
.faq-icon { 
  width: 32px; height: 32px; background: rgba(2, 68, 208, 0.08); 
  border-radius: 50%; display: flex; align-items: center; justify-content: center; 
  flex-shrink: 0; transition: background 0.3s; 
}
.faq-icon svg { transition: transform 0.3s; }

.faq-content { 
  max-height: 0; overflow: hidden; 
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}
.faq-content-inner { 
  padding: 0 16px 24px 16px; color: var(--text-dim); 
  line-height: 1.7; font-size: 15px; 
}

/* Open State */
.faq-item.open .faq-icon { background: var(--royal); }
.faq-item.open .faq-icon svg path { stroke: #ffffff; transition: stroke 0.3s; }
.faq-item.open .faq-icon svg .faq-plus-v { opacity: 0; transition: opacity 0.3s; } 
.faq-item.open .faq-header span { color: var(--royal); }

/* ============================================================
   CLIENTS CAROUSEL (Touch & Drag Enabled)
   ============================================================ */
.clients-carousel-section { 
  padding: 100px 0; 
  background: var(--bg-alt); 
  overflow: hidden; 
}

.carousel-wrapper { 
  width: 100%; 
  overflow-x: scroll; 
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; 
  cursor: grab; 
  scrollbar-width: none; 
  -ms-overflow-style: none; 
}
.carousel-wrapper::-webkit-scrollbar { 
  display: none; 
}
.carousel-wrapper:active { 
  cursor: grabbing; 
}

.carousel-track { 
  display: flex; 
  gap: 50px; 
  width: max-content; 
  padding: 0 50px;
}

.carousel-slide { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  height: 100px; 
}

.carousel-slide img { 
  height: 85px; 
  width: auto; 
  pointer-events: none; 
  user-select: none;
  transition: transform 0.4s ease;
}

.carousel-slide:hover img { 
  transform: scale(1.08); 
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-track { gap: 20px; padding: 0 30px; } 
  .carousel-slide { height: 80px; }
  .carousel-slide img { height: 72px; } 
}

/* ============================================================
   FLOATING BUTTONS (WhatsApp & Back to Top)
   ============================================================ */
.floating-buttons { position: fixed; bottom: 32px; right: 32px; z-index: 9000; display: flex; flex-direction: column; gap: 16px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: all 0.3s; text-decoration: none; }
.whatsapp-btn { background: #25D366; }
.whatsapp-btn:hover { background: #1da851; transform: scale(1.05); }
.back-to-top { background: var(--royal); border: none; opacity: 0; visibility: hidden; transform: translateY(20px); }
.back-to-top svg { color: #fff; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--royal-light); }