/* ===================================================================
   UltraLinks GH - Enterprise Tech Design System
   Brand Colors: Cobalt/Royal Navy (#031373) & Vibrant Amber-Orange (#EF8305)
   Tagline: ThinkIT, We CreateIT
   =================================================================== */

:root {
  /* Brand Palette */
  --color-brand-blue: #031373;
  --color-brand-blue-rgb: 3, 19, 115;
  --color-brand-blue-light: #0d27ad;
  --color-brand-blue-glow: rgba(3, 19, 115, 0.5);

  --color-brand-orange: #ef8305;
  --color-brand-orange-rgb: 239, 131, 5;
  --color-brand-orange-light: #ff9820;
  --color-brand-orange-glow: rgba(239, 131, 5, 0.4);

  /* Modern Dark Canvas & Glassmorphic Surfaces */
  --bg-canvas: #050917;
  --bg-surface: #09122c;
  --bg-card: rgba(13, 23, 53, 0.72);
  --bg-card-hover: rgba(18, 33, 77, 0.88);
  --bg-elevated: #111e47;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8493af;
  --text-accent: #ef8305;

  /* Borders & Glass Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(239, 131, 5, 0.5);
  --border-blue-glow: rgba(13, 39, 173, 0.45);
  
  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #031373 0%, #0d27ad 50%, #ef8305 100%);
  --gradient-orange: linear-gradient(135deg, #ef8305 0%, #ff9820 100%);
  --gradient-blue: linear-gradient(135deg, #031373 0%, #0d27ad 100%);
  --gradient-hero-text: linear-gradient(120deg, #ffffff 10%, #cbd5e1 40%, #ff9820 90%);
  --gradient-glow-orb: radial-gradient(circle, rgba(239, 131, 5, 0.18) 0%, rgba(3, 19, 115, 0.15) 50%, transparent 75%);

  /* UI Tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 12px 36px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border-subtle);
  --shadow-hover: 0 20px 48px -10px rgba(0, 0, 0, 0.7), 0 0 28px rgba(239, 131, 5, 0.22);
  --shadow-btn-orange: 0 8px 24px -4px rgba(239, 131, 5, 0.45);
  --shadow-btn-blue: 0 8px 24px -4px rgba(13, 39, 173, 0.5);

  /* Layout */
  --container-max: 1240px;
  --header-height: 84px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ===================================================================
   Glassmorphism Utilities
   =================================================================== */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: rgba(239, 131, 5, 0.3);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ===================================================================
   Buttons & CTAs
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(239, 131, 5, 0.6);
  background: linear-gradient(135deg, #ff9820 0%, #ef8305 100%);
}

.btn-secondary {
  background: rgba(3, 19, 115, 0.45);
  color: #ffffff;
  border: 1px solid rgba(13, 39, 173, 0.6);
  box-shadow: var(--shadow-btn-blue);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(13, 39, 173, 0.65);
  border-color: var(--color-brand-orange);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--color-brand-orange);
  background: rgba(239, 131, 5, 0.08);
  color: var(--color-brand-orange-light);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* Badge Utility */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(3, 19, 115, 0.5);
  border: 1px solid rgba(239, 131, 5, 0.35);
  color: #ff9820;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand-orange);
  box-shadow: 0 0 10px var(--color-brand-orange);
  animation: pulseGlow 2s infinite;
}

/* ===================================================================
   Header & Navigation
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(5, 9, 23, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
  background: rgba(5, 9, 23, 0.92);
  border-bottom: 1px solid rgba(239, 131, 5, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-frame {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(239, 131, 5, 0.4);
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo-frame {
  transform: rotate(3deg) scale(1.05);
}

.brand-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

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

.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-style: italic;
  font-weight: 500;
  color: var(--color-brand-orange-light);
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-brand-orange);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.5rem;
  cursor: pointer;
}

/* ===================================================================
   Hero Section
   =================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-glow-orb-1 {
  position: absolute;
  top: 15%;
  left: -10%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 19, 115, 0.45) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-orb-2 {
  position: absolute;
  top: 30%;
  right: -8%;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 131, 5, 0.22) 0%, transparent 68%);
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-tag {
  align-self: flex-start;
}

.hero-title {
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-title-gradient {
  background: var(--gradient-hero-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-dynamic-text-wrapper {
  display: inline-block;
  color: var(--color-brand-orange-light);
  border-bottom: 3px solid var(--color-brand-orange);
  min-height: 1.15em;
  padding-bottom: 2px;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-item h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.hero-stat-item h3 span {
  color: var(--color-brand-orange);
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* Hero Visual Graphic / Floating Card Ecosystem */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-globe-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
}

.hero-core-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(13, 23, 53, 0.95), rgba(7, 12, 28, 0.95));
  border: 1px solid rgba(239, 131, 5, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(3, 19, 115, 0.4);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.core-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.status-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.core-card-body {
  margin: 1.5rem 0;
}

.code-preview {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  color: #cbd5e1;
  background: rgba(3, 19, 115, 0.25);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-brand-orange);
  line-height: 1.6;
}

.code-keyword { color: #ff9820; font-weight: 600; }
.code-fn { color: #60a5fa; }
.code-str { color: #34d399; }
.code-comment { color: #64748b; font-style: italic; }

.core-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Floating Satellite Badges */
.floating-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  background: rgba(9, 18, 44, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.floating-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.icon-blue {
  background: rgba(3, 19, 115, 0.4);
  color: #60a5fa;
  border: 1px solid rgba(13, 39, 173, 0.5);
}

.icon-orange {
  background: rgba(239, 131, 5, 0.25);
  color: #ff9820;
  border: 1px solid rgba(239, 131, 5, 0.4);
}

.floating-pill-text {
  display: flex;
  flex-direction: column;
}

.floating-pill-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.floating-pill-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.pill-top-right {
  top: -18px;
  right: -24px;
  animation: floatSlow 5s ease-in-out infinite;
}

.pill-bottom-left {
  bottom: -20px;
  left: -24px;
  animation: floatSlow 6s ease-in-out infinite reverse;
}

/* ===================================================================
   Section Headers
   =================================================================== */
.section {
  padding: 7rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

/* ===================================================================
   Services Showcase (6 Core Services)
   =================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-blue);
  transition: background var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 131, 5, 0.45);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(239, 131, 5, 0.15);
  background: var(--bg-card-hover);
}

.service-card:hover::before {
  background: var(--gradient-orange);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(3, 19, 115, 0.6) 0%, rgba(13, 39, 173, 0.3) 100%);
  border: 1px solid rgba(239, 131, 5, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-orange-light);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(4deg);
  background: linear-gradient(135deg, rgba(239, 131, 5, 0.25) 0%, rgba(3, 19, 115, 0.6) 100%);
}

.service-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.service-desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-feature-item svg {
  flex-shrink: 0;
  color: var(--color-brand-orange);
}

.service-card-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-link-btn {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-brand-orange-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: gap var(--transition-fast);
}

.service-link-btn:hover {
  gap: 0.7rem;
  color: #ffffff;
}



/* ===================================================================
   Workflow / Process Section
   =================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  position: relative;
}

.process-step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 131, 5, 0.4);
  background: var(--bg-card-hover);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  color: rgba(239, 131, 5, 0.25);
  line-height: 1;
  transition: color var(--transition-fast);
}

.process-step:hover .step-number {
  color: var(--color-brand-orange);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

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

/* ===================================================================
   Why UltraLinks (Value Proposition & Trust)
   =================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.why-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: all var(--transition-normal);
}

.why-feature-card:hover {
  border-color: rgba(13, 39, 173, 0.6);
  transform: translateY(-4px);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(3, 19, 115, 0.45);
  border: 1px solid rgba(239, 131, 5, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-orange);
  margin-bottom: 1rem;
}

.why-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.why-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ===================================================================
   Contact & Consultation Section
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-card-item:hover {
  border-color: rgba(239, 131, 5, 0.4);
  background: var(--bg-card-hover);
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(3, 19, 115, 0.5);
  border: 1px solid rgba(239, 131, 5, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-orange);
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-details p, .contact-details a {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.contact-form-panel {
  background: linear-gradient(145deg, rgba(13, 23, 53, 0.85), rgba(7, 12, 28, 0.95));
  border: 1px solid rgba(239, 131, 5, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

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

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

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(3, 19, 115, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-brand-orange);
  box-shadow: 0 0 16px rgba(239, 131, 5, 0.3);
  background: rgba(3, 19, 115, 0.35);
}

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

/* ===================================================================
   Modal for Detailed Service Exploration
   =================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  width: 100%;
  max-width: 680px;
  background: linear-gradient(145deg, #0a132c, #060a18);
  border: 1px solid rgba(239, 131, 5, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(239, 131, 5, 0.25);
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

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

.modal-close-btn:hover {
  background: var(--color-brand-orange);
  color: #ffffff;
  transform: rotate(90deg);
}

/* ===================================================================
   Toast Notification System
   =================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.4rem;
  background: rgba(9, 18, 44, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-brand-orange);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(239, 131, 5, 0.3);
  color: #ffffff;
  font-size: 0.92rem;
  transform: translateX(120%);
  transition: transform var(--transition-normal);
}

.toast.show {
  transform: translateX(0);
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: #030612;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 0 2.5rem 0;
  position: relative;
}

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

.footer-brand p {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.4rem;
}

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

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

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

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

/* ===================================================================
   Responsive Breakpoints
   =================================================================== */
@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-tag {
    align-self: center;
  }
  .hero-description {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats-row {
    margin-top: 1.5rem;
  }
  .hero-visual {
    margin-top: 2rem;
  }
  .why-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .nav-links, .nav-cta .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
