/* ==========================================================================
   HEXACOM SYSTEMS — Enterprise IT Infrastructure, Networking & Security
   Theme System: Dark Mode, Light Mode, and System Default
   ========================================================================== */

:root {
  /* Dark Mode Default Theme Variables */
  --bg-primary: #070b14;
  --bg-secondary: #0c1322;
  --bg-tertiary: #121c32;
  --bg-card: rgba(18, 28, 50, 0.65);
  --bg-card-hover: rgba(26, 40, 72, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.75);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 229, 255, 0.4);
  --border-glow: rgba(56, 189, 248, 0.35);

  --accent-cyan: #00e5ff;
  --accent-blue: #2563eb;
  --accent-indigo: #4f46e5;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-gradient: linear-gradient(135deg, #00e5ff 0%, #3b82f6 50%, #6366f1 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(0, 229, 255, 0.25) 0%, rgba(59, 130, 246, 0.25) 100%);
  --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070b14;
  --heading-color: #ffffff;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(0, 229, 255, 0.22);
  --shadow-blue-glow: 0 0 40px rgba(37, 99, 235, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Light Mode Theme Variables
   ========================================================================== */
html[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --border-glass: rgba(15, 23, 42, 0.09);
  --border-hover: rgba(2, 132, 199, 0.45);
  --border-glow: rgba(2, 132, 199, 0.25);

  --accent-cyan: #0284c7;
  --accent-blue: #2563eb;
  --accent-indigo: #4338ca;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4338ca 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
  --gold-gradient: linear-gradient(135deg, #d97706 0%, #b45309 100%);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --heading-color: #0f172a;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.15);
  --shadow-blue-glow: 0 0 30px rgba(37, 99, 235, 0.15);
}

/* System Default Light Mode (when data-theme is system and OS prefers light) */
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]):not([data-theme="light"]),
  html[data-theme="system"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-hover: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --border-glass: rgba(15, 23, 42, 0.09);
    --border-hover: rgba(2, 132, 199, 0.45);
    --border-glow: rgba(2, 132, 199, 0.25);

    --accent-cyan: #0284c7;
    --accent-blue: #2563eb;
    --accent-indigo: #4338ca;
    --accent-emerald: #059669;
    --accent-amber: #d97706;
    --accent-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4338ca 100%);
    --accent-gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
    --gold-gradient: linear-gradient(135deg, #d97706 0%, #b45309 100%);

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    --heading-color: #0f172a;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.15);
    --shadow-blue-glow: 0 0 30px rgba(37, 99, 235, 0.15);
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* Background Atmosphere */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 15% 15%, rgba(0, 229, 255, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(79, 70, 229, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -2;
}

html[data-theme="light"] body::before,
html[data-theme="system"] body::before {
  background: 
    radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(37, 99, 235, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(79, 70, 229, 0.04) 0%, transparent 50%);
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  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: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

html[data-theme="light"] body::after {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Container — widened to 1380px to comfortably fit clean horizontal nav */
.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
}

html[data-theme="light"] .badge {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.25);
  color: var(--accent-cyan);
}

.badge.badge-gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

html[data-theme="light"] .badge.badge-gold {
  color: #b45309;
  border-color: rgba(180, 83, 9, 0.3);
  background: rgba(217, 119, 6, 0.1);
}

.badge.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

html[data-theme="light"] .badge.badge-blue {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.25);
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseDot 2s infinite;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  outline: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

html:not([data-theme="light"]) .btn-primary {
  color: #050a14;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 229, 255, 0.5);
  filter: brightness(1.08);
}

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

html[data-theme="light"] .btn-secondary {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

html:not([data-theme="light"]) .btn-whatsapp {
  color: #03200e;
}

.btn-whatsapp:hover {
  background: #22bf5b;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Glass Card */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Header & Navigation (Fixed Horizontal Fit & No Text Wrapping)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
  background: rgba(7, 11, 20, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.75);
}

.site-header.scrolled {
  background: rgba(7, 11, 20, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.7rem 0;
  box-shadow: var(--shadow-sm);
}

html[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--heading-color);
  flex-shrink: 0;
}

.brand-icon-hex {
  width: 38px;
  height: 38px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(37, 99, 235, 0.25));
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-icon-hex {
  transform: rotate(15deg) scale(1.05);
  border-color: var(--accent-cyan);
}

.brand-text-container {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--heading-color);
  white-space: nowrap;
}

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

.brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Nav Menu: Single Line, No Wrapping, Clean Gaps */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-link:hover, .nav-link.active {
  color: var(--heading-color);
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active {
  color: var(--accent-cyan);
}

.mobile-nav-cta {
  display: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-base);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Theme Dropdown Option */
.theme-dropdown {
  position: relative;
  display: inline-block;
}

.theme-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
  white-space: nowrap;
}

html[data-theme="light"] .theme-dropdown-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.theme-dropdown-btn:hover,
.theme-dropdown.open .theme-dropdown-btn {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.theme-current-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.theme-chevron {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.theme-dropdown.open .theme-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.theme-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 175px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 229, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 1200;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

html[data-theme="light"] .theme-dropdown-menu {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.theme-dropdown.open .theme-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.theme-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  outline: none;
}

.theme-item-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-menu-item:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--heading-color);
}

html[data-theme="light"] .theme-menu-item:hover {
  background: rgba(2, 132, 199, 0.08);
  color: #0f172a;
}

.theme-menu-item.active {
  background: rgba(0, 229, 255, 0.14);
  color: var(--accent-cyan);
}

html[data-theme="light"] .theme-menu-item.active {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
}

.theme-check-icon {
  opacity: 0;
  color: var(--accent-cyan);
  transition: opacity var(--transition-fast);
}

.theme-menu-item.active .theme-check-icon {
  opacity: 1;
}

.phone-badge-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  white-space: nowrap;
}

html[data-theme="light"] .phone-badge-nav {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.phone-badge-nav:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.3rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 130px;
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-tagline {
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: 3.3rem;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  max-width: 650px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  width: 100%;
}

.trust-item {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
}

.trust-number {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--heading-color);
  line-height: 1.15;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.35rem;
  line-height: 1.35;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--bg-tertiary);
}

.hero-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image-card:hover .hero-img-main {
  transform: scale(1.03);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 20, 0.95) 100%);
  pointer-events: none;
}

html[data-theme="light"] .hero-overlay-gradient {
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.8) 100%);
}

/* Hero Floating Badges */
.floating-badge {
  position: absolute;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(12, 19, 34, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 3;
  animation: floatAnim 6s ease-in-out infinite;
}

html[data-theme="light"] .floating-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.floating-badge.badge-top {
  top: 25px;
  left: -25px;
}

.floating-badge.badge-bottom {
  bottom: 30px;
  right: -20px;
  animation-delay: -3s;
}

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

.badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.badge-text-primary {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
}

.badge-text-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Trust & Credentials Marquee Bar
   ========================================================================== */
.credentials-bar {
  padding: 1.6rem 0;
  background: rgba(12, 19, 34, 0.6);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

html[data-theme="light"] .credentials-bar {
  background: rgba(241, 245, 249, 0.85);
  border-color: rgba(15, 23, 42, 0.08);
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cred-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-glass);
}

.cred-box:last-child {
  border-right: none;
}

.cred-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cred-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
}

.cred-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section-pad {
  padding: 100px 0;
  position: relative;
}

.section-pad-alt {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(12, 19, 34, 0.3) 0%, rgba(7, 11, 20, 0.8) 100%);
  position: relative;
}

html[data-theme="light"] .section-pad-alt {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.5) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.8rem;
}

.section-header .badge {
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   Capabilities & Solutions Grid (PDF Page 3)
   ========================================================================== */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filter-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

html[data-theme="light"] .filter-tab-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}

.filter-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--heading-color);
}

html[data-theme="light"] .filter-tab-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.filter-tab-btn.active,
html[data-theme="light"] .filter-tab-btn.active {
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}

html[data-theme="dark"] .filter-tab-btn.active,
:root:not([data-theme="light"]) .filter-tab-btn.active {
  color: #050a14 !important;
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.35);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 229, 255, 0.12);
  background: var(--bg-card-hover);
}

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

.solution-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-base);
}

.solution-card:hover .solution-icon-wrap {
  background: var(--accent-gradient);
  color: #070b14;
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.solution-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: var(--heading-color);
}

.solution-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.sol-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.76rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

html[data-theme="light"] .sol-tag {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
  color: #0369a1;
}

.card-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition-fast);
}

.card-link-btn:hover {
  gap: 0.8rem;
  color: var(--heading-color);
}

/* ==========================================================================
   Pharma & Specialized Environment Spotlight
   ========================================================================== */
.pharma-spotlight {
  background: linear-gradient(135deg, rgba(14, 23, 42, 0.9) 0%, rgba(10, 16, 30, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 229, 255, 0.1);
}

html[data-theme="light"] .pharma-spotlight {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: var(--shadow-lg);
}

.pharma-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.pharma-content {
  padding: 4rem;
}

.pharma-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

html[data-theme="light"] .pharma-badge {
  color: #059669;
  border-color: rgba(5, 150, 105, 0.3);
  background: rgba(5, 150, 105, 0.1);
}

.pharma-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.pharma-lead {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.pharma-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.pharma-feat-item {
  display: flex;
  gap: 0.9rem;
}

.pharma-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pharma-feat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.2rem;
}

.pharma-feat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pharma-visual-wrapper {
  position: relative;
  height: 100%;
  min-height: 480px;
}

.pharma-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pharma-hotspot {
  position: absolute;
  padding: 0.6rem 1rem;
  background: rgba(12, 19, 34, 0.88);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] .pharma-hotspot {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pharma-hotspot-1 {
  top: 18%;
  left: 20%;
}

.pharma-hotspot-2 {
  bottom: 25%;
  left: 12%;
}

/* ==========================================================================
   Landmark Projects & Capability Proofs (PDF Page 2 & 5)
   ========================================================================== */
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.milestone-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.milestone-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.milestone-value {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.6rem;
  font-family: var(--font-heading);
}

.milestone-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.6rem;
}

.milestone-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Lifecycle Pipeline */
.lifecycle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.lifecycle-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.lifecycle-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.lifecycle-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, #00e5ff, #3b82f6, #6366f1);
  z-index: 0;
  opacity: 0.4;
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-num-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--heading-color);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
  transition: transform var(--transition-base);
}

.step-item:hover .step-num-box {
  transform: scale(1.15);
  background: var(--accent-gradient);
  color: #070b14;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Technology Partners & OEM Ecosystem (PDF Page 4)
   ========================================================================== */
.oem-category-nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.oem-cat-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

html[data-theme="light"] .oem-cat-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}

.oem-cat-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--heading-color);
}

html[data-theme="light"] .oem-cat-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.oem-cat-btn.active,
html[data-theme="light"] .oem-cat-btn.active {
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
}

html[data-theme="dark"] .oem-cat-btn.active,
:root:not([data-theme="light"]) .oem-cat-btn.active {
  color: #050a14 !important;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 1.4rem;
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
  background: var(--bg-card-hover);
}

.partner-logo-box {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  width: 100%;
}

.partner-logo-svg {
  max-height: 44px;
  max-width: 130px;
  transition: all var(--transition-base);
}

.partner-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.35rem;
}

.partner-category {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.partner-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Industries We Serve (PDF Page 6)
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.industry-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.industry-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.ind-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

.ind-title {
  font-size: 1.25rem;
  color: var(--heading-color);
  margin-bottom: 0.8rem;
}

.ind-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.3rem;
}

.ind-features-list {
  list-style: none;
  border-top: 1px solid var(--border-glass);
  padding-top: 1rem;
}

.ind-features-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.ind-features-list li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   Surveillance, NOC & Video Wall Project Showcase Visual
   ========================================================================== */
.project-showcase-visual {
  margin-bottom: 3.5rem;
}

.project-showcase-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  background: var(--bg-tertiary);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.project-showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.project-showcase-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-showcase-card:hover .project-showcase-img {
  transform: scale(1.03);
}

.project-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.2) 0%, rgba(7, 11, 20, 0.88) 75%, rgba(7, 11, 20, 0.96) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2.8rem;
}

html[data-theme="light"] .project-showcase-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.85) 75%, rgba(15, 23, 42, 0.95) 100%);
}

.project-showcase-content {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.project-showcase-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.8rem 0 0.6rem;
  line-height: 1.25;
}

.project-showcase-desc {
  font-size: 0.96rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.project-showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.project-showcase-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}


/* ==========================================================================
   About Us & Company Highlights (PDF Page 2)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-specs-table {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid var(--border-glass);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-key {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.spec-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading-color);
  text-align: right;
}

/* ==========================================================================
   Contact & RFP Section (PDF Page 7)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: all var(--transition-base);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  overflow: hidden;
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-card-body,
.contact-card > div:not(.contact-card-icon) {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.contact-card-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.contact-card-main {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.2rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-card-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  overflow-wrap: break-word;
}

/* Contact Form */
.rfp-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  box-shadow: var(--shadow-lg);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.6rem;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.85rem 1.1rem;
  background: rgba(8, 13, 24, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-select {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

html[data-theme="light"] .form-input,
html[data-theme="light"] .form-select,
html[data-theme="light"] .form-textarea {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

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

.form-input.invalid, .form-select.invalid, .form-textarea.invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25) !important;
}

.field-error {
  display: block;
  font-size: 0.76rem;
  color: #ef4444;
  margin-top: 0.3rem;
  min-height: 1rem;
  font-weight: 500;
}

#rfpSubmitBtn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.form-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1.1rem;
  text-align: center;
}

.form-security-note svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #050913;
  border-top: 1px solid var(--border-glass);
  padding: 70px 0 30px;
  position: relative;
}

html[data-theme="light"] .site-footer {
  background: #f1f5f9;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 1.2rem 0 1.5rem;
  max-width: 340px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1.4rem;
  position: relative;
}

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

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-contact-item svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-phone-num {
  color: var(--text-secondary);
  font-weight: 400;
  transition: color var(--transition-fast);
}

html[data-theme="light"] .footer-phone-num {
  color: var(--text-secondary) !important;
}

.footer-phone-num:hover {
  color: var(--accent-cyan) !important;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-developer-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.footer-developer-link:hover {
  text-decoration: underline;
  color: #38bdf8;
}

html[data-theme="light"] .footer-developer-link {
  color: #0284c7;
}

html[data-theme="light"] .footer-developer-link:hover {
  color: #0369a1;
}

/* ==========================================================================
   Floating Action Bar & Modal
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  position: relative;
}

.float-whatsapp {
  background: #25d366;
}

.float-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.float-top {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  color: var(--accent-cyan);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.float-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-top:hover {
  background: var(--accent-gradient);
  color: #070b14;
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 229, 255, 0.2);
  transform: scale(0.95);
  transition: transform var(--transition-base);
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--heading-color);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-secondary);
  border: 1px solid var(--accent-cyan);
  color: var(--heading-color);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0;
  transition: all var(--transition-base);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 0.95rem;
  }
  .nav-link {
    font-size: 0.84rem;
  }
  .theme-btn-label {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .cred-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cred-box {
    border-right: none;
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pharma-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 100%;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .nav-wrapper {
    gap: 0.5rem;
  }
  .brand-logo {
    gap: 0.5rem;
  }
  .brand-icon-hex {
    width: 32px;
    height: 32px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .nav-actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }
  /* Compact Icon-Only Theme Dropdown on Mobile */
  #themeCurrentLabel,
  .theme-chevron {
    display: none !important;
  }
  .theme-dropdown-btn {
    padding: 0;
    width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: var(--radius-sm);
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 2.2rem 1.5rem;
    gap: 1.3rem;
    border-bottom: 1px solid var(--border-glass);
    transform: translateY(-130%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    flex-shrink: 0;
  }
  html[data-theme="light"] .mobile-toggle {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.15);
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  .phone-badge-nav {
    display: none !important;
  }
  .nav-actions > .btn {
    display: none !important;
  }
  .mobile-nav-cta {
    display: block !important;
    width: 100%;
    margin-top: 0.5rem;
  }
  .mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .cred-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .cred-box {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    padding: 0.9rem 0.5rem;
  }
  .cred-box:last-child {
    border-bottom: none;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  /* Modern Touch-Scroll Chips for Filter Tabs */
  .filter-tabs-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.5rem 0.25rem 0.8rem;
    margin-bottom: 2rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }
  .filter-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .milestones-grid {
    grid-template-columns: 1fr;
  }
  .lifecycle-steps {
    grid-template-columns: 1fr;
  }
  .lifecycle-steps::before {
    display: none;
  }
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .pharma-content {
    padding: 2rem 1.5rem;
  }
  .project-showcase-card {
    border-radius: var(--radius-lg);
  }
  .project-showcase-img {
    min-height: 420px;
    height: auto;
  }
  .project-showcase-overlay {
    padding: 1.5rem;
  }
  .project-showcase-title {
    font-size: 1.35rem;
  }
  .project-showcase-desc {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }
  .project-showcase-tags span {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 0;
  }
  .contact-card {
    padding: 1.25rem 1rem;
    gap: 0.95rem;
  }
  .contact-card-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .rfp-form-card {
    padding: 1.6rem 1.2rem;
    border-radius: var(--radius-lg);
  }
  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 0.8rem 0.95rem;
  }
  .floating-badge.badge-top {
    left: 10px;
    top: 15px;
  }
  .floating-badge.badge-bottom {
    right: 10px;
    bottom: 15px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    margin-bottom: 2rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 1.5rem;
    text-align: center;
  }
  .trust-item {
    flex: none;
    width: 100%;
  }
  .trust-number {
    font-size: 1.25rem;
  }
  .trust-label {
    font-size: 0.72rem;
    line-height: 1.2;
  }
  .pharma-hotspot {
    padding: 0.35rem 0.65rem;
    font-size: 0.7rem;
    gap: 0.4rem;
  }
  .pharma-hotspot-1 {
    top: 10%;
    left: 6%;
  }
  .pharma-hotspot-2 {
    bottom: 10%;
    left: 6%;
  }
}

@media (max-width: 480px) {
  .section-pad {
    padding: 3.5rem 0;
  }
  .hero-title {
    font-size: 1.9rem;
    line-height: 1.18;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .section-subtitle {
    font-size: 0.92rem;
  }
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .hero-trust-bar {
    gap: 0.4rem;
  }
  .trust-number {
    font-size: 1.05rem;
  }
  .trust-label {
    font-size: 0.65rem;
  }
  .floating-actions {
    bottom: 18px;
    right: 18px;
    gap: 10px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
  }
  .float-btn svg {
    width: 22px;
    height: 22px;
  }
  .brand-logo {
    gap: 0.5rem;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-icon-hex {
    width: 32px;
    height: 32px;
  }
  .theme-dropdown-btn {
    padding: 0.38rem 0.65rem;
    font-size: 0.78rem;
    gap: 0.35rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1rem 1.2rem;
  }
  .spec-val {
    text-align: left;
  }
  .floating-badge {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
  }
  .badge-icon-box {
    width: 28px;
    height: 28px;
  }
  /* Contact Section & Form Mobile Precision */
  .contact-grid {
    gap: 1.75rem;
  }
  .contact-info-cards {
    gap: 0.85rem;
  }
  .contact-card {
    padding: 1rem 0.85rem;
    gap: 0.8rem;
    border-radius: var(--radius-sm);
  }
  .contact-card-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 1.05rem;
    border-radius: 10px;
  }
  .contact-card-title {
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
  }
  .contact-card-main {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  .contact-card-sub {
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .rfp-form-card {
    padding: 1.35rem 0.95rem;
    border-radius: var(--radius-md);
  }
  .form-header {
    margin-bottom: 1.15rem;
  }
  .form-title {
    font-size: 1.35rem;
  }
  .form-subtitle {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .form-group {
    margin-bottom: 0.95rem;
  }
  .form-label {
    font-size: 0.8rem;
  }
  .form-input, .form-select, .form-textarea {
    padding: 0.72rem 0.85rem;
    font-size: 16px;
  }
  #rfpSubmitBtn {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }
  .form-security-note {
    font-size: 0.72rem;
    line-height: 1.35;
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------------------
   In-Form Direct Success State
   -------------------------------------------------------------------------- */
.form-success-card {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.4s ease-out;
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  border: 2px solid rgba(52, 211, 153, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.8rem;
}

.success-message {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 360px;
  margin: 0 auto;
}
