/* HTM AI AUTOMATION - Premium Red Sci-Fi Dark Theme CSS Design System */
/* Karachi, Pakistan Edition — 2026 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  --bg-dark: #070709;
  --bg-card: rgba(14, 14, 18, 0.85);
  --bg-card-hover: rgba(22, 22, 30, 0.95);
  --bg-panel: #0d0d12;
  
  --accent-red: #ff1e27;
  --accent-red-bright: #ff3b43;
  --accent-red-dark: #b80d14;
  --accent-gradient: linear-gradient(135deg, #ff1e27 0%, #a10006 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(255, 30, 39, 0.3) 0%, rgba(161, 0, 6, 0.1) 100%);
  
  --text-main: #ffffff;
  --text-muted: #9aa1b0;
  --text-dim: #5c6270;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-red: rgba(255, 30, 39, 0.3);
  --border-red-glow: rgba(255, 30, 39, 0.6);
  
  --shadow-red-sm: 0 0 15px rgba(255, 30, 39, 0.25);
  --shadow-red-lg: 0 0 40px rgba(255, 30, 39, 0.4);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.6);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Canvas & Grid Overlay */
#circuitCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 30, 39, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 30, 39, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: linear-gradient(90deg, #a10006 0%, #ff1e27 50%, #a10006 100%);
  padding: 7px 16px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
}

.ann-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulseDot 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Typography & General Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-red { color: var(--accent-red); }

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 30, 39, 0.1);
  border: 1px solid var(--border-red);
  color: var(--accent-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: var(--shadow-red-sm);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-red-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-lg);
  background: linear-gradient(135deg, #ff3b43 0%, #c40008 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--border-red);
  color: var(--accent-red);
  background: rgba(255, 30, 39, 0.08);
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: var(--ann-height, 34px); /* dynamically set by JS */
  left: 0;
  right: 0;
  height: 70px;
  z-index: 100;
  background: rgba(7, 7, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: top 0.2s ease, background 0.3s ease;
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.logo-text span.t-red {
  color: var(--accent-red);
  text-shadow: 0 0 12px rgba(255, 30, 39, 0.8);
}

.logo-subtext {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-links a:hover { color: var(--accent-red); }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  padding-top: var(--hero-top, 170px); /* dynamically set by JS */
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

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

.hero-tagline {
  color: var(--accent-red);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-tagline::before {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--accent-red);
  box-shadow: var(--shadow-red-sm);
  flex-shrink: 0;
}

.pk-flag { font-size: 1.1rem; }

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  max-width: 600px;
}

.hero-description-en {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 560px;
  font-style: italic;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-contact-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.contact-pill:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

/* HUD Portal */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hud-portal {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px rgba(255, 30, 39, 0.2);
}

.hud-ring-outer {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 30, 39, 0.35);
  animation: spin 30s linear infinite;
}

.hud-ring-mid {
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 1px solid rgba(255, 30, 39, 0.2);
  animation: spin 20s linear infinite reverse;
}

.hud-ring-inner {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  border-top-color: transparent;
  border-right-color: transparent;
  animation: spin 8s linear infinite;
}

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

.hud-core {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 39, 0.25) 0%, rgba(7, 7, 9, 0.95) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 30px rgba(255, 30, 39, 0.5), var(--shadow-red-lg);
  border: 2px solid var(--accent-red);
  gap: 2px;
}

.hud-pk-flag { font-size: 1.2rem; margin-bottom: 2px; }

.hud-core-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px var(--accent-red);
  line-height: 1;
}

.hud-core-subtitle {
  font-size: 0.6rem;
  color: var(--accent-red);
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hud-core-city {
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Floating Card Mockup Badge */
.card-mockup-badge {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  background: rgba(14, 14, 18, 0.95);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), var(--shadow-red-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-mockup-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(14, 14, 18, 0.95);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-red-sm);
  animation: floatBadge 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.floating-badge i { color: var(--accent-red); }

.badge-1 { top: 10px; left: -20px; animation-delay: 0s; }
.badge-2 { top: 50%; right: -20px; animation-delay: 1.5s; }
.badge-3 { bottom: 50px; left: -30px; animation-delay: 3s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   CHEVRON STATS BAR
============================================================ */
.chevron-divider-bar {
  background: linear-gradient(90deg, rgba(255,30,39,0.15) 0%, rgba(7,7,9,1) 50%, rgba(255,30,39,0.15) 100%);
  border-top: 1px solid var(--border-red);
  border-bottom: 1px solid var(--border-red);
  padding: 28px 0;
  margin: 60px 0 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item { padding: 8px 0; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
}

.stat-number span { color: var(--accent-red); }

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* ============================================================
   SERVICES SECTION
============================================================ */
.services-section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.service-card-glow {
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0.4;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-card), var(--shadow-red-sm);
  background: var(--bg-card-hover);
}

.service-card:hover .service-card-glow {
  opacity: 1;
  box-shadow: var(--shadow-red-sm);
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(255, 30, 39, 0.1);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-red-sm);
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.service-tagline {
  font-size: 0.85rem;
  color: var(--accent-red);
  font-weight: 700;
}

.service-body {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 20px;
  flex: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-main);
}

.service-features li i {
  color: var(--accent-red);
  font-size: 0.85rem;
}

.service-card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  margin-top: auto;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-red);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.service-cta:hover { gap: 14px; }

/* ============================================================
   WHY KARACHI SECTION
============================================================ */
.why-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(255,30,39,0.03) 50%, var(--bg-dark) 100%);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition);
  text-align: center;
  backdrop-filter: blur(10px);
}

.why-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-red-sm);
}

.why-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  background: rgba(255, 30, 39, 0.1);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 2rem;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-red-sm);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: rgba(255, 30, 39, 0.2);
  box-shadow: var(--shadow-red-lg);
}

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Industries Strip */
.industries-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-md);
  padding: 28px 36px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-red-sm);
}

.industries-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.industries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 30, 39, 0.08);
  border: 1px solid var(--border-red);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: default;
}

.industry-tag:hover {
  background: rgba(255, 30, 39, 0.2);
  color: #fff;
}

.industry-tag i { color: var(--accent-red); font-size: 0.8rem; }

/* ============================================================
   INTERACTIVE DEMO / CHATBOT SIMULATOR
============================================================ */
.demo-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-panel) 50%, var(--bg-dark) 100%);
  position: relative;
}

.simulator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-red-sm);
}

.simulator-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.simulator-chat {
  background: #09090d;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  height: 540px;
}

.chat-header {
  padding: 18px 24px;
  background: #111117;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 0.7rem;
  box-shadow: var(--shadow-red-sm);
  letter-spacing: 0.05em;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}

.karachi-badge {
  background: rgba(255, 30, 39, 0.15);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 0.72rem;
  color: var(--accent-red);
  font-weight: 700;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  line-height: 1.5;
}

.msg-bot {
  background: rgba(255, 30, 39, 0.1);
  border: 1px solid var(--border-red);
  color: #ffffff;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.msg-user {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-input-area {
  padding: 14px 20px;
  background: #111117;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 10px;
}

.chat-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.chat-input:focus { border-color: var(--accent-red); }

.suggested-prompts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.prompt-chip {
  background: rgba(255, 30, 39, 0.08);
  border: 1px solid var(--border-red);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
}

.prompt-chip:hover {
  background: var(--accent-red);
  color: #fff;
}

/* ============================================================
   ROI CALCULATOR SECTION
============================================================ */
.calc-section { padding: 100px 0; }

.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  backdrop-filter: blur(10px);
}

.calc-control { margin-bottom: 28px; }

.calc-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.calc-label span.val { color: var(--accent-red); }

.calc-slider {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-red);
  cursor: pointer;
  box-shadow: var(--shadow-red-sm);
}

.calc-pk-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 12px 16px;
  background: rgba(255, 30, 39, 0.05);
  border: 1px dashed var(--border-red);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.calc-result-card {
  background: rgba(255, 30, 39, 0.05);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-red-sm);
}

.calc-result-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-red);
  line-height: 1;
  margin-bottom: 8px;
}

.calc-result-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calc-pkr-eq {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

/* ============================================================
   PROCESS SECTION
============================================================ */
.process-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(255,30,39,0.02) 50%, var(--bg-dark) 100%);
}

.process-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 20px;
  flex-wrap: wrap;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.process-step:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-red-sm);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 30, 39, 0.15);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(255, 30, 39, 0.1);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 1.6rem;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-red-sm);
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.process-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-red), transparent);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT & BOOKING SECTION
============================================================ */
.contact-section {
  padding: 100px 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-red-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item:hover { color: var(--accent-red); }

.contact-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(255, 30, 39, 0.1);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon-box {
  background: rgba(255, 30, 39, 0.2);
  box-shadow: var(--shadow-red-sm);
}

.contact-item-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.contact-item-val {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.contact-tagline-box {
  background: rgba(255,30,39,0.08);
  border: 1px dashed var(--border-red);
  padding: 18px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

.contact-tagline-title {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.contact-tagline-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  backdrop-filter: blur(10px);
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-select option { background: #111; color: #fff; }

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-red);
  box-shadow: var(--shadow-red-sm);
}

/* ============================================================
   FLOATING WHATSAPP WIDGET
============================================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: var(--radius-full);
  padding: 14px 20px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  transition: var(--transition);
  animation: pulseGreen 2.5s infinite;
}

.floating-whatsapp i { font-size: 1.4rem; }

.floating-whatsapp:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.7);
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-wa-label { font-size: 0.9rem; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #040406;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 0.92rem;
  max-width: 340px;
  line-height: 1.6;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #ffffff;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--accent-red); }

.footer-links li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255, 30, 39, 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-red); }

/* ============================================================
   RESPONSIVE DESIGN
============================================================ */

/* Fluid typography */
.hero-title    { font-size: clamp(1.8rem, 4.5vw, 3.8rem); }
.section-title { font-size: clamp(1.5rem, 3.5vw, 2.8rem); }

/* ---- TABLETS (max-width: 1100px) ---- */
@media (max-width: 1100px) {
  .stats-grid        { grid-template-columns: repeat(3, 1fr); }
  .why-grid          { grid-template-columns: repeat(2, 1fr); }
  .process-timeline  { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .process-connector { display: none; }
  .hud-portal        { width: 280px; height: 280px; }
  .hud-core          { width: 160px; height: 160px; }
  .hud-core-title    { font-size: 2rem; }
}

/* ---- MOBILE & TABLETS (max-width: 900px) ---- */
@media (max-width: 900px) {
  .container { padding: 0 16px; }

  /* ── NAVBAR & HAMBURGER MOBILE MENU ── */
  .navbar { height: 66px; }
  .logo-text    { font-size: 1.5rem; }
  .logo-subtext { font-size: 0.52rem; letter-spacing: 0.12em; }

  /* Show Hamburger button on mobile */
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
  }
  .mobile-menu-toggle:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background: rgba(255, 30, 39, 0.1);
  }

  /* Hide horizontal nav links by default on mobile */
  .nav-links {
    display: none !important;
  }

  /* Sleek Mobile Menu Dropdown when toggled open */
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: var(--total-header, 100px) !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(9, 9, 13, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid var(--border-red) !important;
    padding: 24px 20px !important;
    gap: 16px !important;
    z-index: 99 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), var(--shadow-red-sm) !important;
    animation: fadeInDown 0.25s ease-out;
  }

  .nav-links.mobile-open li {
    width: 100%;
  }

  .nav-links.mobile-open a {
    display: block;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
  }

  .nav-links.mobile-open a:hover {
    color: var(--accent-red);
    background: rgba(255, 30, 39, 0.1);
    border-color: var(--border-red);
  }

  .nav-links.mobile-open .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
    margin-top: 6px;
  }

  /* ── HERO SECTION ON MOBILE ── */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-tagline {
    justify-content: center;
    font-size: 0.8rem;
  }

  .hero-description, .hero-description-en {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-contact-badge {
    justify-content: center;
  }

  .hero-visual {
    display: flex !important;
    justify-content: center;
    transform: scale(0.9);
  }

  .hud-portal {
    width: 260px;
    height: 260px;
  }

  .hud-core {
    width: 150px;
    height: 150px;
  }

  .hud-core-title {
    font-size: 2.2rem;
  }

  /* ── STATS & SECTIONS ON MOBILE ── */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .simulator-container {
    grid-template-columns: 1fr;
  }

  .simulator-info {
    padding: 24px;
  }

  .simulator-chat {
    height: 400px;
  }

  .calc-box {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* ---- SMALL PHONES (max-width: 480px) ---- */
@media (max-width: 480px) {
  .hero-title { font-size: 2.1rem; }
  .section-title { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hud-portal { width: 220px; height: 220px; }
  .hud-core { width: 130px; height: 130px; }
  .hud-core-title { font-size: 1.8rem; }
}

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

/* ==========================================================
   BLOG SECTION & ARTICLE STYLES
========================================================== */
.blog-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-red-sm);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(255, 30, 39, 0.15), rgba(7, 7, 9, 0.9)), radial-gradient(circle at top right, rgba(255, 30, 39, 0.3), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.blog-card-icon {
  font-size: 3.5rem;
  color: var(--accent-red);
  filter: drop-shadow(0 0 20px rgba(255, 30, 39, 0.6));
}

.blog-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 30, 39, 0.2);
  border: 1px solid var(--accent-red);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.blog-meta i {
  color: var(--accent-red);
  margin-right: 4px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 14px;
  transition: var(--transition);
}

.blog-card:hover .blog-card-title {
  color: var(--accent-red-bright);
}

.blog-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.blog-card-btn i {
  color: var(--accent-red);
  transition: transform 0.3s ease;
}

.blog-card-btn:hover i {
  transform: translateX(6px);
}

/* Standalone Article Layout Styles */
.article-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.article-content-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 100px;
  position: relative;
  z-index: 2;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #fff;
  margin: 36px 0 16px;
  border-left: 4px solid var(--accent-red);
  padding-left: 16px;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  margin: 28px 0 12px;
}

.article-body p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px;
  color: #cbd5e1;
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.article-cta-box {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(255, 30, 39, 0.15) 0%, rgba(14, 14, 18, 0.95) 100%);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
}



