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

/* --- CUSTOM DESIGN SYSTEM VARIABLES --- */
:root {
  --font-heading: 'Outfit', 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette */
  --color-primary: #0A3D91;      /* Deep futuristic blue */
  --color-secondary: #5B8CFF;    /* Bright electric blue */
  --color-accent-purple: #7B61FF;/* Neon purple */
  --color-accent-cyan: #00D4FF;  /* High-tech cyan */
  --color-bg-main: #F7F9FC;      /* Clean off-white bg */
  --color-bg-card: rgba(255, 255, 255, 0.75);
  --color-bg-glass: rgba(255, 255, 255, 0.45);
  --color-text-dark: #111827;    /* Slate-900 */
  --color-text-muted: #4B5563;   /* Slate-600 */
  --color-border: rgba(10, 61, 145, 0.08);
  --color-border-glow: rgba(91, 140, 255, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent-purple));
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary), var(--color-accent-cyan));
  --gradient-cta: linear-gradient(135deg, #5B8CFF, #7B61FF);
  --gradient-mesh: radial-gradient(at 0% 0%, rgba(91, 140, 255, 0.15) 0px, transparent 50%),
                    radial-gradient(at 50% 0%, rgba(123, 97, 255, 0.12) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, rgba(0, 212, 255, 0.15) 0px, transparent 50%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(10, 61, 145, 0.05);
  --shadow-lg: 0 20px 40px rgba(10, 61, 145, 0.08);
  --shadow-glow: 0 0 25px rgba(91, 140, 255, 0.25);
  --shadow-glow-purple: 0 0 25px rgba(123, 97, 255, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* --- BASE STYLES & RESETS --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

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

button, input, textarea, select {
  font-family: inherit;
}

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

ul {
  list-style: none;
}

/* --- TYPOGRAPHY (Fluid with clamping) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* 64px Desktop / 48px Tablet / 34px Mobile */
h1.hero-heading {
  font-size: clamp(2.125rem, 4.5vw + 1rem, 4rem);
}

/* 48px Desktop / 36px Tablet / 28px Mobile */
h2.section-heading {
  font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
  margin-bottom: 1rem;
}

h3.card-heading {
  font-size: clamp(1.25rem, 1.5vw + 0.75rem, 1.5rem);
}

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

p.subheading {
  font-size: clamp(1rem, 1vw + 0.8rem, 1.25rem);
  line-height: 1.7;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.section-padding {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

/* --- PREMIUM INTERACTION COMPONENTS --- */

/* Glassmorphism */
.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.05));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

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

/* Glowing Border Effect specifically for services/process cards */
.glow-card {
  position: relative;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid rgba(10, 61, 145, 0.05);
  transition: var(--transition-normal);
  overflow: hidden;
}

.glow-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 250px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(91, 140, 255, 0.15), transparent 80%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  z-index: 1;
}

.glow-card:hover::after {
  opacity: 1;
}

.glow-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 140, 255, 0.3);
  box-shadow: 0 10px 30px rgba(10, 61, 145, 0.08), var(--shadow-glow);
}

/* Dynamic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(123, 97, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(123, 97, 255, 0.5), 0 0 15px rgba(91, 140, 255, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--color-bg-glass);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(10, 61, 145, 0.05);
  border-color: rgba(10, 61, 145, 0.2);
  transform: translateY(-2px);
}

/* Text Gradient Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 20%, var(--color-accent-purple) 60%, var(--color-accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* --- SECTION SPECIFIC STYLES --- */

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  transition: var(--transition-normal);
}

header.scrolled {
  background: rgba(247, 249, 252, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 61, 145, 0.06);
  height: 70px;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 35px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 35px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cta);
  transition: var(--transition-normal);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.menu-bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--color-text-dark);
  transition: var(--transition-fast);
  border-radius: 2px;
}

@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: -10px 0 30px rgba(10, 61, 145, 0.1);
    flex-direction: column;
    padding: 100px 30px 40px;
    transition: var(--transition-normal);
  }

  .nav-menu.active {
    right: 0;
  }

  .menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active .menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 80px;
  background: radial-gradient(at 0% 0%, rgba(91, 140, 255, 0.12) 0px, transparent 50%),
              radial-gradient(at 100% 100%, rgba(123, 97, 255, 0.08) 0px, transparent 50%),
              #F7F9FC;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(10, 61, 145, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 61, 145, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
}

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

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(91, 140, 255, 0.08);
  border: 1px solid rgba(91, 140, 255, 0.15);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.hero-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent-cyan);
  animation: pulse 2s infinite;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.trust-indicators {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.trust-item svg {
  color: var(--color-secondary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero Illustration Redesign - Premium 2026 Laptop & Phone Composition */
.hero-illustration {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Enhancement Blobs & Grids */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.blob-blue {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.25) 0%, transparent 70%);
  top: 10%;
  left: 10%;
}
.blob-purple {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.2) 0%, transparent 70%);
  bottom: 10%;
  right: 10%;
}

.floating-particle {
  position: absolute;
  background: rgba(91, 140, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.floating-particle.p-1 { width: 8px; height: 8px; top: 15%; left: 10%; animation: float-slow 12s infinite alternate; }
.floating-particle.p-2 { width: 6px; height: 6px; bottom: 25%; right: 10%; animation: float-fast 8s infinite alternate-reverse; }
.floating-particle.p-3 { width: 10px; height: 10px; top: 50%; left: 45%; animation: float-slow 15s infinite alternate; }

/* Center: Laptop Mockup */
.laptop-mockup {
  position: relative;
  width: 90%;
  max-width: 440px;
  z-index: 5;
  perspective: 1200px;
  transform: rotateX(6deg) rotateY(-8deg) rotateZ(2deg);
  transition: transform var(--transition-slow);
}
.laptop-mockup:hover {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.02);
}
.laptop-screen {
  background: #0d1117;
  border-radius: 20px 20px 0 0;
  padding: 10px 10px 4px;
  box-shadow: 0 30px 60px -15px rgba(10, 61, 145, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}
.laptop-screen-content {
  background: #ffffff;
  border-radius: 10px 10px 0 0;
  height: 240px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.browser-header {
  height: 26px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(10, 61, 145, 0.06);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}
.browser-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #eab308; }
.browser-dot.green { background: #22c55e; }
.browser-address {
  flex-grow: 1;
  height: 16px;
  background: #ffffff;
  border: 1px solid rgba(10, 61, 145, 0.08);
  border-radius: 6px;
  font-size: 8px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-family: monospace;
}
.laptop-screen-body {
  flex-grow: 1;
  padding: 16px;
  background: radial-gradient(at 0% 0%, rgba(91, 140, 255, 0.06) 0px, transparent 50%), #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.screen-brand {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}
.screen-hero {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.25;
  margin-top: 4px;
}
.screen-hero span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.screen-chart-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 65px;
  margin-top: 8px;
  background: rgba(91, 140, 255, 0.03);
  border-radius: 8px;
  padding: 10px;
  border: 1px dashed rgba(91, 140, 255, 0.15);
}
.screen-chart-bar {
  flex-grow: 1;
  background: var(--gradient-primary);
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
}
.screen-footer {
  font-size: 7px;
  font-weight: 700;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(10, 61, 145, 0.06);
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.laptop-base {
  position: relative;
  height: 12px;
  background: #cbd5e1;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-bottom: 3px solid #94a3b8;
}
.laptop-base::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 4px;
  background: #94a3b8;
  border-radius: 0 0 5px 5px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Bottom Right: Smartphone Mockup */
.phone-mockup {
  position: absolute;
  width: 140px;
  height: 250px;
  background: #090d16;
  border-radius: 26px;
  padding: 6px;
  right: -30px;
  bottom: -35px;
  z-index: 6;
  box-shadow: 0 25px 50px rgba(10, 61, 145, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transform: rotateZ(-8deg);
  transition: transform var(--transition-slow);
  animation: float-phone 5s ease-in-out infinite alternate;
}
.phone-mockup:hover {
  transform: rotateZ(0deg) scale(1.05) translateY(-5px);
  z-index: 10;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px 10px 10px;
}
.phone-notch {
  width: 60px;
  height: 14px;
  background: #090d16;
  border-radius: 0 0 8px 8px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-header {
  font-size: 8px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  text-align: center;
}
.phone-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 10px;
}
.phone-metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px;
  text-align: center;
}
.phone-metric-label {
  font-size: 7px;
  color: #94a3b8;
  margin-bottom: 2px;
}
.phone-metric-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-accent-cyan);
}
.phone-chart {
  flex-grow: 1;
  margin: 6px 0;
  display: flex;
  align-items: flex-end;
}
.phone-chart svg {
  width: 100%;
  height: 55px;
}
.phone-tag {
  font-size: 7px;
  text-align: center;
  font-weight: 800;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.12);
  border-radius: 6px;
  padding: 4px 0;
  border: 1px solid rgba(167, 139, 250, 0.2);
}

/* Floating Glassmorphic Performance Cards */
.dashboard-widget.widget-glass {
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  z-index: 7;
  transition: transform var(--transition-normal), background-color var(--transition-normal);
  overflow: hidden;
}
.dashboard-widget.widget-glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 120px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(91, 140, 255, 0.18), transparent 85%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  z-index: 1;
}
.dashboard-widget.widget-glass:hover::after {
  opacity: 1;
}
.dashboard-widget.widget-glass:hover {
  transform: scale(1.05) translateY(-5px);
  background: rgba(255, 255, 255, 0.75);
  z-index: 11;
}
.dashboard-widget.widget-glass > * {
  position: relative;
  z-index: 2;
}

.widget-seo {
  left: -50px;
  top: 50px;
  width: 180px;
  animation: float-seo 6s ease-in-out infinite alternate;
}
.widget-ads {
  right: -50px;
  top: 30px;
  width: 195px;
  animation: float-ads 5s ease-in-out infinite alternate;
}
.widget-leads {
  left: -40px;
  bottom: 20px;
  width: 170px;
  animation: float-leads 5.5s ease-in-out infinite alternate;
}
.widget-rank {
  left: 22%;
  top: -45px;
  width: 175px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-rank 4.5s ease-in-out infinite alternate;
}

/* Small Floating Badges */
.widget-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: var(--shadow-sm);
  z-index: 8;
  transition: transform var(--transition-normal);
}
.widget-badge:hover {
  transform: scale(1.08) translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
  z-index: 12;
}

.badge-1 { top: -10px; left: -10px; animation: float-slow 11s infinite alternate; }
.badge-2 { top: 160px; left: -85px; animation: float-fast 9s infinite alternate-reverse; }
.badge-3 { bottom: -15px; left: 10%; animation: float-slow 13s infinite alternate-reverse; }
.badge-4 { top: 120px; right: -80px; animation: float-slow 14s infinite alternate; }
.badge-5 { bottom: 65px; right: -95px; animation: float-fast 10s infinite alternate; }

/* Floating Badges & Cards Keyframes */
@keyframes float-seo {
  0% { transform: translateY(0px) rotate(-1.5deg); }
  100% { transform: translateY(-10px) rotate(1.5deg); }
}
@keyframes float-ads {
  0% { transform: translateY(0px) rotate(1.5deg); }
  100% { transform: translateY(-12px) rotate(-1.5deg); }
}
@keyframes float-leads {
  0% { transform: translateY(0px) rotate(-1deg); }
  100% { transform: translateY(-8px) rotate(1deg); }
}
@keyframes float-rank {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px) translateY(-2px); }
}
@keyframes float-phone {
  0% { transform: rotateZ(-8deg) translateY(0px); }
  100% { transform: rotateZ(-8deg) translateY(-8px); }
}
@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  100% { transform: translate(15px, -20px) scale(1.05); opacity: 0.9; }
}
@keyframes float-fast {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  100% { transform: translate(-20px, -15px) scale(0.95); opacity: 0.9; }
}
@keyframes barGrow {
  0% { transform: scaleY(0.25); }
  100% { transform: scaleY(1); }
}

/* Trust Indicator Badge Cards */
.hero-trust-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.trust-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.trust-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 140, 255, 0.3);
  box-shadow: var(--shadow-md);
}
.trust-icon {
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}
.trust-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

/* Responsive Overrides for Hero Section */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }
  .hero {
    padding-top: 120px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-grid {
    display: flex;
    flex-direction: column-reverse; /* Stacked layout with visual first on tablet */
    gap: 5rem;
  }
  .hero-illustration {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-content {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-trust-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    margin: 2rem auto 0;
  }
}

@media (max-width: 767px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  .hero-content {
    display: contents; /* Break wrapper to allow precise element ordering on mobile */
  }
  .hero-label {
    order: 1;
  }
  .hero-heading {
    order: 2;
    text-align: center;
  }
  .hero-subtitle {
    order: 3;
    text-align: center;
    margin-bottom: 2rem;
  }
  .hero-buttons {
    order: 4;
    width: 100%;
    justify-content: center;
    margin-bottom: 2rem;
  }
  .hero-trust-cards {
    order: 5;
    width: 100%;
    grid-template-columns: 1fr;
  }
  .hero-illustration {
    order: 6;
    width: 100%;
    height: 400px;
    margin-top: 2rem;
  }
  .laptop-mockup {
    max-width: 340px;
  }
  .phone-mockup {
    width: 110px;
    height: 200px;
    right: -15px;
    bottom: -30px;
  }
  .widget-seo { width: 140px; left: -25px; top: 40px; }
  .widget-ads { width: 140px; right: -25px; top: 20px; }
  .widget-leads { width: 130px; left: -20px; bottom: 10px; }
  .widget-rank { width: 140px; left: 15%; top: -35px; }
  .widget-badge { font-size: 0.65rem; padding: 0.35rem 0.7rem; }
  .badge-2 { left: -50px; }
  .badge-4 { right: -50px; }
  .badge-5 { right: -50px; }
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* Service Card Extras */
.service-icon-container {
  width: 60px;
  height: 60px;
  background: rgba(91, 140, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: var(--transition-normal);
  position: relative;
  z-index: 2;
}

.service-icon-container svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.glow-card:hover .service-icon-container {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 61, 145, 0.2);
  transform: scale(1.1);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.glow-card:hover .card-link svg {
  transform: translateX(5px);
}

/* Why Choose Us Stats & Info */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 7.5rem; /* Increased from 5rem to 7.5rem for a more spacious, premium separation on desktop */
}

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

@media (max-width: 991px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 5.5rem; /* Increased from 3.5rem to 5.5rem to provide spacious vertical breathing room when stacked */
  }
}

@media (max-width: 576px) {
  .why-features {
    grid-template-columns: 1fr;
  }
}

.feature-mini-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-mini-card svg {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
}

.feature-mini-card h4 {
  font-size: 1.1rem;
}

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

.stat-item {
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw + 1rem, 3.25rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

/* Case Studies Section */
.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.625rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: var(--transition-normal);
  color: var(--color-text-muted);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  aspect-ratio: auto;
  cursor: default;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.portfolio-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.05), rgba(123, 97, 255, 0.05));
  border-bottom: 1px solid var(--color-border);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.portfolio-info {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-industry {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.portfolio-details {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.project-detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-label {
  font-weight: 700;
  color: var(--color-text-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.detail-value {
  color: var(--color-text-muted);
}

.portfolio-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(10, 61, 145, 0.04);
  border: 1px solid rgba(10, 61, 145, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.portfolio-card:hover .tech-badge {
  background: rgba(91, 140, 255, 0.08);
  border-color: rgba(91, 140, 255, 0.15);
}

.btn-case-study {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  margin-top: auto;
  align-self: flex-start;
}

.btn-case-study:hover {
  color: var(--color-accent-purple);
  transform: translateX(4px);
}

/* Client Logos Carousel */
.logos-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.logos-container::before, .logos-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos-container::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-main), transparent);
}

.logos-container::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-main), transparent);
}

.logos-slide {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

.logo-item {
  padding: 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.client-logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.logo-item:hover .client-logo-img {
  transform: scale(1.05);
}

/* Testimonials Slider */
.slider-container {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.slider-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.slides-track {
  display: flex;
  transition: transform var(--transition-normal);
}

.slide-item {
  min-width: 100%;
  box-sizing: border-box;
}

.testimonial-card {
  text-align: center;
  padding: 4rem 3rem;
}

.quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: var(--color-secondary);
  opacity: 0.15;
  margin-bottom: -1rem;
}

.testimonial-quote {
  font-size: clamp(1.15rem, 1.5vw + 0.8rem, 1.6rem);
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 2rem;
  font-style: italic;
  line-height: 1.6;
}

.client-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.client-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.client-meta h4 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.client-meta p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.star-rating {
  display: flex;
  gap: 0.25rem;
  color: #FBBF24; /* Amber star color */
  margin-top: 0.5rem;
}

.star-rating svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition-normal);
}

.slider-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.slider-btn svg {
  width: 20px;
  height: 20px;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 61, 145, 0.15);
  cursor: pointer;
  transition: var(--transition-normal);
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-primary);
}

/* Insights / Blog */
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-img-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-img-box img {
  transform: scale(1.08);
}

.blog-content {
  padding: 2rem;
}

.blog-meta-info {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
  transition: var(--transition-fast);
}

.blog-card:hover .blog-title {
  color: var(--color-primary);
}

.blog-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-more svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-more svg {
  transform: translateX(4px);
}

/* Technology Stack Cloud Grid */
.tech-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 99px;
  font-weight: 600;
  color: var(--color-text-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  cursor: pointer;
}

.tech-badge svg,
.tech-badge img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: filter var(--transition-fast);
}

.tech-badge:hover img {
  filter: brightness(0) invert(1);
}

.tech-badge:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

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

.process-line {
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 140, 255, 0.1) 0%, rgba(123, 97, 255, 0.6) 50%, rgba(0, 212, 255, 0.1) 100%);
  z-index: 0;
}

@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .process-line {
    top: 0;
    left: 28px;
    width: 2px;
    height: 80%;
    right: auto;
  }
}

.process-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step {
  width: 60px;
  height: 60px;
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  position: relative;
  z-index: 2;
  transition: var(--transition-normal);
}

.process-card:hover .process-step {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
}

@media (max-width: 991px) {
  .process-card {
    text-align: left;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
  }
  .process-step {
    margin: 0;
    flex-shrink: 0;
  }
  .process-info {
    padding-top: 0.5rem;
  }
}

/* CTA Banner */
.cta-banner {
  background: var(--gradient-mesh);
  border-radius: var(--radius-lg);
  padding: 5rem 4rem;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.08) 0%, transparent 60%);
  animation: float 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  margin-bottom: 2.5rem;
}

.cta-banner .hero-buttons {
  justify-content: center;
  margin-bottom: 0;
}

/* Footer Section (Recreated Premium Dark Theme) */
/* Footer Section (SaaS Premium Theme - Light Mode styled like Stripe, Vercel, Framer) */
footer {
  background: #ffffff;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(10, 61, 145, 0.08);
  padding: 4.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(10, 61, 145, 0.08);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-newsletter-box {
  max-width: 420px;
  width: 100%;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-newsletter-form input {
  background: #f8fafc;
  border: 1px solid rgba(10, 61, 145, 0.1);
  color: var(--color-text-dark);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  width: 100%;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-normal);
}

.footer-newsletter-form input::placeholder {
  color: #94a3b8;
}

.footer-newsletter-form input:focus {
  background: #ffffff;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

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

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 61, 145, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.social-btn:hover {
  background: var(--gradient-cta);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.social-btn svg {
  width: 16px;
  height: 16px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.footer-list a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.footer-list a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
}

.contact-info-item {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.contact-info-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(10, 61, 145, 0.08);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

/* Inner Page Banner styling (About, Services, Case Studies, Insights, Contact) */
.page-header {
  padding: 160px 0 80px;
  background: var(--gradient-mesh);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.25rem);
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.2rem;
}

/* Contact Page Grid Layout & Components */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.6);
  outline: none;
  transition: var(--transition-normal);
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.form-control:focus {
  border-color: var(--color-secondary);
  background: #fff;
  box-shadow: 0 0 10px rgba(91, 140, 255, 0.15);
}

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

.service-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
  .service-select-grid {
    grid-template-columns: 1fr;
  }
}

.service-select-item {
  position: relative;
}

.service-select-item input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.service-select-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-normal);
}

.service-select-item input:checked + .service-select-label {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow-purple);
}

.map-container {
  height: 380px;
  background: rgba(10, 61, 145, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  margin-top: 2.5rem;
}

.map-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.marker-point {
  width: 16px;
  height: 16px;
  background: var(--color-accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(123, 97, 255, 0.2);
  animation: pulse-purple 2s infinite;
}

.marker-label {
  margin-top: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* Interactive Calculator Container */
.calculator-box {
  max-width: 600px;
  margin: 3rem auto 0;
}

.calc-slider-group {
  margin-bottom: 2rem;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.calc-slider {
  width: 100%;
  height: 6px;
  background: rgba(10, 61, 145, 0.08);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  accent-color: var(--color-secondary);
}

.calc-result-box {
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  color: #fff;
  margin-top: 2rem;
}

.calc-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.5rem 0;
  font-family: var(--font-heading);
}

/* About Timeline */
.about-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.about-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .about-timeline::before {
    left: 20px;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 50%;
  padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

@media (max-width: 768px) {
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  top: 5px;
  z-index: 10;
  box-shadow: 0 0 0 5px rgba(10, 61, 145, 0.1);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

@media (max-width: 768px) {
  .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

/* Team Grid styling */
.team-card {
  text-align: center;
}

.team-img-box {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  position: relative;
}

.team-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.team-card:hover .team-img-box img {
  transform: scale(1.1);
}

/* Animations Keyframes */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(0, 212, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
  }
}

@keyframes pulse-purple {
  0% {
    box-shadow: 0 0 0 0 rgba(123, 97, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(123, 97, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(123, 97, 255, 0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-12px);
  }
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Scroll Animation Hooks (triggered via scroll reveal logic in main.js) */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
