@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Core Custom Variables & Design System --- */
:root {
  --bg-primary: #0a0f1d;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --card-bg: rgba(15, 23, 42, 0.65);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(6, 182, 212, 0.25);

  /* Accents */
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-blue: #3b82f6;

  /* Font Families */
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Header Height */
  --nav-height: 80px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* --- Base & Scrollbar Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* --- Background Cyber-grid & Ambient Blobs --- */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
}

.ambient-blob-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  filter: blur(80px);
  animation: float-blob-1 25s infinite alternate ease-in-out;
}

.ambient-blob-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  filter: blur(100px);
  animation: float-blob-2 30s infinite alternate ease-in-out;
}

@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10%, 15%) scale(1.1); }
  100% { transform: translate(-5%, -5%) scale(0.9); }
}

@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-15%, -10%) scale(1.05); }
  100% { transform: translate(5%, 10%) scale(0.95); }
}

/* --- Container & Typography System --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-muted);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-cyan) 70%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.gradient-accent {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* --- Buttons & Badges --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.45);
  background: linear-gradient(135deg, var(--accent-cyan) 20%, var(--accent-blue) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.15);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(8, 145, 178, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(8, 145, 178, 0.2);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 10px rgba(8, 145, 178, 0.05);
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(10, 15, 29, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(10, 15, 29, 0.9);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-main);
}

.logo span {
  color: var(--accent-cyan);
}

.logo-img {
  height: 36px;
  width: auto;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Visual Shield Component */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-container {
  width: 360px;
  height: 360px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-glow-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.12) 0%, rgba(124, 58, 237, 0.05) 50%, transparent 70%);
  filter: blur(40px);
  animation: pulse-glow 6s infinite alternate ease-in-out;
}

.shield-orbit-1, .shield-orbit-2 {
  position: absolute;
  border: 1.5px dashed rgba(8, 145, 178, 0.2);
  border-radius: 50%;
}

.shield-orbit-1 {
  width: 100%;
  height: 100%;
  border-color: rgba(8, 145, 178, 0.18);
  animation: spin 30s linear infinite;
}

.shield-orbit-2 {
  width: 80%;
  height: 80%;
  border-color: rgba(124, 58, 237, 0.15);
  animation: spin 20s linear infinite reverse;
}

.shield-core {
  width: 240px;
  height: 240px;
  background: #0f172a;
  border: 2px solid rgba(6, 182, 212, 0.2);
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow:
    0 8px 32px rgba(6, 182, 212, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 2;
  transition: var(--transition-smooth);
  overflow: hidden;
  padding: 20px;
}

.shield-core:hover {
  border-color: var(--accent-cyan);
  box-shadow:
    0 16px 48px rgba(8, 145, 178, 0.22),
    0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-6px);
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.shield-core:hover .hero-logo-img {
  transform: scale(1.05);
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 1; }
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* --- Section Global Layout --- */
section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
  position: relative;
}

.section-header h2 {
  margin-top: 0.5rem;
}

/* --- Expertise Section --- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.expertise-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  isolation: isolate;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  opacity: 0;
  transition: var(--transition-smooth);
}

.expertise-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 145, 178, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(8, 145, 178, 0.1);
}

.expertise-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(8, 145, 178, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(8, 145, 178, 0.12);
  transition: var(--transition-smooth);
}

.expertise-card:hover .card-icon {
  background: rgba(8, 145, 178, 0.1);
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 0 15px rgba(8, 145, 178, 0.12);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.expertise-card:hover .card-icon svg {
  fill: var(--accent-cyan);
  transform: scale(1.1);
}

.expertise-card h3 {
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.expertise-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Why CITS Section --- */
.why-section {
  background: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.why-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-info-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  align-items: flex-start;
  transition: var(--transition-smooth);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.why-info-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateX(5px);
}

.why-check-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.why-check-circle svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-emerald);
}

.why-info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.why-info-item p {
  font-size: 0.9rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- Interactive Service Configurator & Form --- */
.configurator-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.config-options h3 {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.config-options h3 svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-cyan);
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.config-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  user-select: none;
}

.config-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.08);
}

.config-item.selected {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.15);
}

.config-checkbox-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.config-checkbox-row h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.config-item.selected .custom-checkbox {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.custom-checkbox svg {
  width: 10px;
  height: 10px;
  fill: #ffffff;
  opacity: 0;
  transition: var(--transition-fast);
}

.config-item.selected .custom-checkbox svg {
  opacity: 1;
}

.config-item p {
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Config Assessment / Preview Pane */
.config-preview-pane {
  background: rgba(10, 15, 29, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.preview-top h4 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  color: var(--text-main);
}

.selected-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  min-height: 100px;
}

.selected-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
  animation: slideIn 0.3s ease forwards;
}

.selected-list-item svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-cyan);
}

.empty-list-placeholder {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.readiness-score-container {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: auto;
}

.readiness-score-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.readiness-score-label span:last-child {
  color: var(--accent-cyan);
  font-weight: 600;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.readiness-message {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Contact/Consultation Form */
.form-section-header {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-control {
  background: rgba(10, 15, 29, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
  background: rgba(10, 15, 29, 0.8);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-feedback {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.2);
  color: var(--accent-emerald);
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* --- Footer Section --- */
footer {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 0 3rem 0;
  position: relative;
}

footer p, footer h4 {
  color: rgba(255, 255, 255, 0.7);
}

footer .logo {
  color: #ffffff;
}

footer .logo-icon {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 2;
  width: 28px;
  height: 28px;
}

footer .logo span {
  color: #ffffff;
}

.footer-links-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

footer .footer-links a {
  color: rgba(255, 255, 255, 0.5);
}

footer .footer-links a:hover {
  color: #38bdf8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.social-icon:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Mobile / Responsiveness Media Queries --- */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.8rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .configurator-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* =============================================
   TABLET (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* --- Typography --- */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.25rem; }

  .container {
    padding: 0 1.25rem;
  }

  /* --- Hero --- */
  .hero {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 3rem;
    min-height: auto;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
  .hero-visual {
    display: none; /* Hide shield visual on small screens to save space */
  }

  /* --- Nav Mobile Menu --- */
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-smooth);
    z-index: 99;
    overflow-y: auto;
    padding: 2rem 1rem;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-links a {
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
    padding: 0.75rem 0;
  }
  .nav-links .btn {
    width: 85%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0.85rem 1.5rem;
  }

  /* --- Sections --- */
  section {
    padding: 5rem 0;
  }
  .section-header {
    margin-bottom: 3rem;
  }

  /* --- Partners --- */
  .partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
  .partners-tabs {
    gap: 0.5rem;
  }
  .partners-tab {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  /* --- Expertise --- */
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .expertise-card {
    padding: 1.75rem;
  }

  /* --- Why CITS --- */
  .why-grid {
    grid-template-columns: 1fr;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-card {
    padding: 1.5rem 1rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }

  /* --- Stats Section --- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }
  .stat-suffix, .stat-prefix {
    font-size: 1.8rem;
  }
  .stat-number-wrapper {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.1rem;
  }

  /* --- Configurator --- */
  .configurator-wrapper {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
    border-radius: 16px;
  }
  .config-grid {
    grid-template-columns: 1fr;
  }
  .config-item {
    padding: 1rem;
  }
  .config-preview-pane {
    padding: 1.5rem;
  }

  /* --- Forms --- */
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .form-section-header {
    font-size: 1.1rem;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  footer {
    padding: 3.5rem 0 2rem;
  }
}

/* =============================================
   SMALL MOBILE (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
  :root {
    --nav-height: 60px;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }

  .container {
    padding: 0 1rem;
  }

  /* --- Hero badge & cta --- */
  .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
  }
  .hero-cta .btn {
    max-width: 100%;
    font-size: 0.9rem;
    padding: 0.7rem 1.25rem;
  }

  /* --- Partners --- */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-tab {
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
  }

  /* --- Stats --- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-suffix, .stat-prefix {
    font-size: 1.4rem;
  }
  .stat-label {
    font-size: 0.85rem;
  }
  .stat-icon {
    width: 48px;
    height: 48px;
  }
  .stat-number-wrapper {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.1rem;
  }

  /* --- Why CITS stats grid --- */
  .stats-container {
    grid-template-columns: 1fr;
  }

  /* --- Configurator --- */
  .configurator-wrapper {
    padding: 1.25rem;
  }
  .config-grid {
    grid-template-columns: 1fr;
  }

  /* --- Section --- */
  section {
    padding: 4rem 0;
  }

  /* --- Clients slider badges --- */
  .client-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .client-badge img {
    height: 22px;
  }

  /* --- Why info items --- */
  .why-info-item {
    padding: 1.25rem;
    gap: 1rem;
  }

  /* --- Expertise card --- */
  .expertise-card {
    padding: 1.5rem;
  }
}

/* --- Technology Partners Section --- */
.partners-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.partners-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.partners-tabs-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 2.25rem;
  letter-spacing: 0.03em;
}

.partners-tabs-hint span {
  color: var(--accent-cyan);
  opacity: 0.75;
}

.partners-tab {
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-display);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.partners-tab:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.partners-tab.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

.partner-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  isolation: isolate;
}

.partner-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.15);
}

.partner-card.hidden {
  display: none;
}

.partner-card-logo {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card-logo img {
  height: 38px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  transition: var(--transition-fast);
}

.partner-card:hover .partner-card-logo img {
  transform: scale(1.05);
}

.partner-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}

.partner-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  background: rgba(8, 145, 178, 0.07);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* --- Enterprise Clients Section --- */
.clients-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.clients-section .section-header {
  margin-bottom: 3.5rem;
}

/* Slider wrapper — same mask as partners */
.clients-slider {
  position: relative;
  width: 100%;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

/* Track — scrolls left */
.clients-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll-clients 38s linear infinite;
}

/* Track — scrolls right (reverse) */
.clients-track-reverse {
  animation: scroll-clients-reverse 38s linear infinite;
}

@keyframes scroll-clients {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1rem)); }
}

@keyframes scroll-clients-reverse {
  0%   { transform: translateX(calc(-50% - 1rem)); }
  100% { transform: translateX(0); }
}

/* Individual badge — same pill style as partner-badge */
.client-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  user-select: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}

.client-badge img {
  height: 28px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.client-badge:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 92, 246, 0.35);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

/* Pause on hover */
.clients-slider:hover .clients-track,
.clients-slider:hover .clients-track-reverse {
  animation-play-state: paused;
}

/* --- Right-To-Left (RTL) Layout Overrides --- */
html[dir="rtl"] {
  --font-display: 'Cairo', 'Outfit', sans-serif;
  --font-body: 'Cairo', 'Inter', sans-serif;
}

/* RTL Typography adjust */
html[dir="rtl"] body {
  font-family: var(--font-body);
}

/* Language selector link styling */
.lang-switch {
  color: var(--accent-cyan) !important;
  font-weight: 600 !important;
  font-family: 'Cairo', sans-serif;
}

/* Header links padding fix in RTL */
html[dir="rtl"] .nav-links {
  flex-direction: row;
}

@media (max-width: 768px) {
  html[dir="rtl"] .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: 100%;
    left: auto;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition-smooth);
    padding: 2rem 1rem;
    overflow-y: auto;
  }
  html[dir="rtl"] .nav-links.active {
    right: 0;
    left: auto;
  }
  html[dir="rtl"] .hero-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  html[dir="rtl"] .hero-cta .btn {
    width: 100%;
    max-width: 340px;
  }
  html[dir="rtl"] .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  html[dir="rtl"] .configurator-wrapper {
    padding: 1.5rem;
  }
  html[dir="rtl"] .config-grid {
    grid-template-columns: 1fr;
  }
  html[dir="rtl"] .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html[dir="rtl"] .nav-links a {
    text-align: center;
  }
  html[dir="rtl"] .stats-container {
    grid-template-columns: 1fr;
  }
  html[dir="rtl"] .why-info-item {
    padding: 1.25rem;
    gap: 1rem;
  }
}

/* Flip arrow SVGs on buttons and cards for RTL readability */
html[dir="rtl"] .btn svg,
html[dir="rtl"] .btn-primary svg,
html[dir="rtl"] .expertise-card svg,
html[dir="rtl"] #btn-submit-blueprint svg {
  transform: scaleX(-1);
}

/* Invert translations in hover animations for RTL flow */
html[dir="rtl"] .why-info-item:hover {
  transform: translateX(-5px);
}

html[dir="rtl"] .footer-links a:hover {
  padding-right: 4px;
  padding-left: 0;
}

/* Stats items alignment in RTL */
html[dir="rtl"] .why-info-item {
  text-align: right;
}

/* Form layout alignment check */
html[dir="rtl"] .form-group {
  text-align: right;
}

html[dir="rtl"] .config-options h3,
html[dir="rtl"] .form-section-header,
html[dir="rtl"] .config-preview-pane h4,
html[dir="rtl"] .readiness-score-label {
  text-align: right;
}

html[dir="rtl"] .selected-list-item {
  text-align: right;
}

html[dir="rtl"] .footer-brand p,
html[dir="rtl"] .footer-links-col h4,
html[dir="rtl"] .footer-links {
  text-align: right;
}

html[dir="rtl"] .footer-links a:hover {
  padding-right: 4px;
  padding-left: 0;
}

/* --- Support Ticket Section --- */
.support-section {
  padding: 6rem 0;
  background-color: var(--bg-dark);
  position: relative;
}

.support-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 3rem;
}

.support-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.support-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.support-info-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.03);
}

.support-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-info-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-cyan);
}

.support-info-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.support-info-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}

.support-form {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.support-form-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
}

.support-form-title svg {
  width: 28px;
  height: 28px;
  fill: var(--accent-cyan);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.support-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

html[dir="rtl"] .support-select {
  background-position: left 1rem center;
  padding-right: 1rem;
  padding-left: 2.5rem;
}

@media (max-width: 992px) {
  .support-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .support-section {
    padding: 4rem 0;
  }
  .support-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }
  .support-form {
    padding: 1.5rem;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .support-info-card {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .support-form {
    padding: 1.25rem;
  }
  .support-form-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  .support-info-card {
    padding: 1rem;
    gap: 1rem;
  }
  .support-info-icon {
    width: 40px;
    height: 40px;
  }
}

/* --- Statistics Section --- */
.stats-section {
  padding: 5rem 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(15, 23, 42, 0.6) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 2rem;
  margin-bottom: 2rem;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.3);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  transition: transform 0.4s ease, background 0.4s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1);
  background: rgba(56, 189, 248, 0.2);
}

.stat-icon svg {
  width: 32px;
  height: 32px;
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.stat-suffix, .stat-prefix {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin: 0 0.1rem;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin: 0;
}

/* RTL Adjustments */
html[dir="rtl"] .stat-number-wrapper {
  flex-direction: row;
}

/* ====================================================
   ULTRA-MODERN PREMIUM EFFECTS — CITS 2026
   ==================================================== */

/* --- Page Loader --- */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0a0f1d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}
#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 2rem;
  animation: loader-pulse 1.5s ease-in-out infinite;
}
.loader-bar-track {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 100px;
  animation: loader-fill 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loader-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(6,182,212,0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 28px rgba(6,182,212,0.8)); }
}
@keyframes loader-fill {
  0% { width: 0%; }
  60% { width: 80%; }
  100% { width: 100%; }
}

/* --- Custom Magnetic Cursor --- */
#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1),
              height 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s,
              opacity 0.3s;
  mix-blend-mode: difference;
}
body:hover #cursor-dot { opacity: 1; }
body.cursor-hover #cursor-dot { width: 14px; height: 14px; }
body.cursor-hover #cursor-ring { width: 60px; height: 60px; border-color: var(--accent-cyan); }
@media (pointer: coarse) {
  #cursor-dot, #cursor-ring { display: none; }
}

/* --- Aurora / Chromatic Background (replaces boring blobs) --- */
.aurora-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora-band {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: aurora-fade-in 2s ease forwards;
}
.aurora-band-1 {
  width: 80vw; height: 60vh;
  top: -20vh; left: -20vw;
  background: radial-gradient(ellipse, rgba(139,92,246,0.12) 0%, transparent 70%);
  animation: aurora-drift-1 22s ease-in-out infinite alternate, aurora-fade-in 2s ease forwards;
}
.aurora-band-2 {
  width: 70vw; height: 55vh;
  bottom: -15vh; right: -15vw;
  background: radial-gradient(ellipse, rgba(6,182,212,0.1) 0%, transparent 70%);
  animation: aurora-drift-2 28s ease-in-out infinite alternate, aurora-fade-in 2.5s ease forwards;
}
.aurora-band-3 {
  width: 50vw; height: 40vh;
  top: 30vh; left: 30vw;
  background: radial-gradient(ellipse, rgba(16,185,129,0.06) 0%, transparent 70%);
  animation: aurora-drift-3 35s ease-in-out infinite alternate, aurora-fade-in 3s ease forwards;
}
@keyframes aurora-fade-in { to { opacity: 1; } }
@keyframes aurora-drift-1 {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(8vw,12vh) scale(1.15); }
  100% { transform: translate(-6vw,-8vh) scale(0.9); }
}
@keyframes aurora-drift-2 {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-10vw,-15vh) scale(1.1); }
  100% { transform: translate(6vw,8vh) scale(0.95); }
}
@keyframes aurora-drift-3 {
  0% { transform: translate(0,0) scale(1) rotate(0deg); }
  100% { transform: translate(-5vw,10vh) scale(1.2) rotate(15deg); }
}

/* --- Noise Texture Overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.025;
  background-size: 200px 200px;
}

/* --- Spotlight Glow Cards (JS injects --x, --y CSS vars) --- */
.expertise-card,
.partner-card,
.stat-card,
.why-info-item {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  --spotlight-opacity: 0;
}
.expertise-card::after,
.partner-card::after,
.stat-card::after,
.why-info-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--spotlight-x) var(--spotlight-y),
    rgba(6,182,212,0.12),
    transparent 60%
  );
  opacity: var(--spotlight-opacity);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.expertise-card:hover::after,
.partner-card:hover::after,
.stat-card:hover::after,
.why-info-item:hover::after {
  --spotlight-opacity: 1;
}

/* --- Holographic Badge Shimmer --- */
.badge {
  position: relative;
  overflow: hidden;
}
.badge::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: badge-shimmer 3s ease-in-out infinite;
  border-radius: inherit;
}
@keyframes badge-shimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* --- Scroll-Driven Clip-Path Reveal --- */
.reveal-clip {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(20px);
  transition: clip-path 0.9s cubic-bezier(0.16,1,0.3,1),
              opacity 0.6s ease,
              transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-clip.in-view {
  clip-path: inset(0 0 0% 0);
  opacity: 1;
  transform: translateY(0);
}

/* --- Staggered Fade-Up Reveal --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* --- Particle Burst (generated by JS) --- */
.particle-burst {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: particle-fly 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes particle-fly {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

/* --- Magnetic Button Effect --- */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-emerald));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s;
}
.btn-primary::after {
  opacity: 0.15;
}
.btn-primary:hover::after {
  opacity: 0.3;
}

/* --- Section Dividers (aurora glow line) --- */
.aurora-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-purple), var(--accent-emerald), transparent);
  background-size: 200% 100%;
  animation: aurora-line 4s linear infinite;
  margin: 0;
  border: none;
  opacity: 0.4;
}
@keyframes aurora-line {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* --- Floating Orbs (section decorations) --- */
.section-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.06;
  z-index: 0;
}
.section-orb-1 {
  width: 300px; height: 300px;
  background: var(--accent-cyan);
  top: -80px; right: 10%;
  animation: float-orb 12s ease-in-out infinite alternate;
}
.section-orb-2 {
  width: 200px; height: 200px;
  background: var(--accent-purple);
  bottom: -60px; left: 5%;
  animation: float-orb 16s ease-in-out infinite alternate-reverse;
}
@keyframes float-orb {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(20px,-30px) scale(1.1); }
}

/* --- Typewriter cursor blink on hero --- */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent-cyan);
  vertical-align: text-bottom;
  margin-left: 3px;
  animation: cursor-blink 1s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- Glowing CTA ring pulse --- */
.btn-primary {
  position: relative;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.4s;
}
.btn-primary:hover::before {
  opacity: 0.6;
  animation: ring-pulse 1.5s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

/* --- Final Cyber Enhancements --- */
#cyber-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Glitch Effect */
.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 #0ff;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: -2px 0 #f0f;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(21px, 9999px, 94px, 0); }
  5% { clip: rect(65px, 9999px, 81px, 0); }
  10% { clip: rect(53px, 9999px, 86px, 0); }
  15% { clip: rect(98px, 9999px, 13px, 0); }
  20% { clip: rect(31px, 9999px, 84px, 0); }
  25% { clip: rect(3px, 9999px, 60px, 0); }
  30% { clip: rect(82px, 9999px, 35px, 0); }
  35% { clip: rect(7px, 9999px, 15px, 0); }
  40% { clip: rect(11px, 9999px, 92px, 0); }
  45% { clip: rect(1px, 9999px, 5px, 0); }
  50% { clip: rect(18px, 9999px, 88px, 0); }
  55% { clip: rect(81px, 9999px, 26px, 0); }
  60% { clip: rect(33px, 9999px, 58px, 0); }
  65% { clip: rect(76px, 9999px, 16px, 0); }
  70% { clip: rect(27px, 9999px, 91px, 0); }
  75% { clip: rect(44px, 9999px, 37px, 0); }
  80% { clip: rect(88px, 9999px, 7px, 0); }
  85% { clip: rect(12px, 9999px, 48px, 0); }
  90% { clip: rect(65px, 9999px, 82px, 0); }
  95% { clip: rect(31px, 9999px, 22px, 0); }
  100% { clip: rect(54px, 9999px, 69px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(65px, 9999px, 100px, 0); }
  5% { clip: rect(52px, 9999px, 74px, 0); }
  10% { clip: rect(79px, 9999px, 85px, 0); }
  15% { clip: rect(75px, 9999px, 5px, 0); }
  20% { clip: rect(67px, 9999px, 61px, 0); }
  25% { clip: rect(14px, 9999px, 79px, 0); }
  30% { clip: rect(1px, 9999px, 14px, 0); }
  35% { clip: rect(86px, 9999px, 30px, 0); }
  40% { clip: rect(23px, 9999px, 98px, 0); }
  45% { clip: rect(85px, 9999px, 72px, 0); }
  50% { clip: rect(71px, 9999px, 75px, 0); }
  55% { clip: rect(2px, 9999px, 48px, 0); }
  60% { clip: rect(30px, 9999px, 16px, 0); }
  65% { clip: rect(59px, 9999px, 50px, 0); }
  70% { clip: rect(41px, 9999px, 62px, 0); }
  75% { clip: rect(2px, 9999px, 82px, 0); }
  80% { clip: rect(47px, 9999px, 73px, 0); }
  85% { clip: rect(3px, 9999px, 27px, 0); }
  90% { clip: rect(26px, 9999px, 55px, 0); }
  95% { clip: rect(42px, 9999px, 97px, 0); }
  100% { clip: rect(38px, 9999px, 49px, 0); }
}

/* Radar scanner on hero image */
.hero-image {
  position: relative;
}
.hero-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: conic-gradient(from 0deg, transparent 0 320deg, rgba(56, 189, 248, 0.4) 360deg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rotate-radar 6s linear infinite;
  z-index: -1;
  filter: blur(20px);
}
@keyframes rotate-radar {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Extreme Enhancements --- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue), 0 0 20px var(--accent-blue);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Ensure smooth recovery for 3D tilts */
.expertise-card, .stat-card, .partner-card, .assessment-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Pop-out effect for icons in 3D space */
.expertise-card:hover .card-icon,
.stat-card:hover .stat-icon {
  transform: translateZ(40px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.expertise-card:hover h3,
.stat-card:hover h3 {
  transform: translateZ(20px);
}

