:root {
  /* Dark Mode (Default variables) */
  --primary: #2997ff;
  --primary-dark: #0071e3;
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --card-bg: #1e293b;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
  --nav-bg: rgba(15, 23, 42, 0.8);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Chatbot Colors */
  --chat-bg: rgba(30, 41, 59, 0.95);
  --chat-input-bg: rgba(255, 255, 255, 0.05);
  --chat-user-bg: #2997ff;
  --chat-bot-bg: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
  --primary: #0071e3;
  --primary-dark: #005bb5;
  --bg: #f5f5f7;
  --bg-alt: #ffffff;
  --card-bg: #ffffff;
  --text: #1d1d1f;
  --text-muted: #86868b;
  --border: #d2d2d7;
  --nav-bg: rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);

  /* Chatbot Colors Light */
  --chat-bg: rgba(255, 255, 255, 0.95);
  --chat-input-bg: rgba(0, 0, 0, 0.05);
  --chat-user-bg: #0071e3;
  --chat-bot-bg: rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s var(--ease);
  padding: 1rem 0;
}

.navbar.scrolled {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-menu>* {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ... existing styles ... */

/* Mobile Nav Styles (Triggered by Media Query OR Class) */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    gap: 2rem;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Force Mobile Class (For JS Calculation) */
.navbar.force-mobile .nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 80%;
  max-width: 300px;
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
  flex-direction: column;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 2rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  gap: 2rem;
}

.navbar.force-mobile .nav-menu.active {
  transform: translateX(0);
}

.navbar.force-mobile .nav-toggle {
  display: flex;
  z-index: 1001;
}

.navbar.force-mobile .nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar.force-mobile .nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar.force-mobile .nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.contact-info a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--text);
  color: var(--bg);
  padding: 0.6rem 1.2rem;
  border-radius: 980px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  transform: scale(1.02);
  background: var(--primary);
  color: #fff;
}

.theme-toggle {
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(128, 128, 128, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 140px 24px 80px;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(41, 151, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 151, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  z-index: 1;
  pointer-events: none;
}

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

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-title {
  font-size: clamp(4rem, 6vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.hero-description {
  font-size: 1.4rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

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

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/10;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease);
}

.image-wrapper:hover {
  transform: scale(1.02);
}

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

.image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.badge-icon {
  color: #ffd700;
  font-size: 1.2rem;
}

.badge-text {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(41, 151, 255, 0.3);
}

.btn-secondary {
  background: rgba(128, 128, 128, 0.1);
  color: var(--text);
  padding: 1rem 2rem;
  border-radius: 980px;
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(128, 128, 128, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Animations */
/* Premium Animations */
:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Text Reveal Animation */
.reveal-text-wrapper {
  overflow: hidden;
  display: block;
  line-height: 1.2;
}

.reveal-text {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1.2s var(--ease-out-expo), opacity 1.2s var(--ease-out-expo);
  will-change: transform, opacity;
}

.reveal-text.visible,
.reveal-text-wrapper.visible .reveal-text {
  transform: translateY(0);
  opacity: 1;
}

/* Image Blur-Scale Reveal */
.reveal-image-wrapper {
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
  /* Placeholder color */
}

.reveal-image {
  opacity: 0;
  filter: blur(20px);
  transform: scale(1.1);
  transition: opacity 1.5s var(--ease-out-expo),
    filter 1.5s var(--ease-out-expo),
    transform 1.5s var(--ease-out-expo);
  will-change: opacity, filter, transform;
}

.reveal-image.visible {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* Staggered Fade Up (General Content) */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  will-change: opacity, transform;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delays */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
}

/* Skeleton Loading State */
.skeleton-loader {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--card-bg) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.skeleton-loader.loaded {
  opacity: 0;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}



.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 24px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float-card 6s ease-in-out infinite;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

[data-theme="dark"] .floating-card {
  background: rgba(29, 29, 31, 0.9);
}

.floating-card:hover {
  transform: scale(1.05) !important;
}

.card-1 {
  top: 8%;
  right: -60px;
  animation-delay: 0s;
  z-index: 3;
}

.card-2 {
  bottom: 40%;
  left: -80px;
  animation-delay: 2s;
  z-index: 3;
}

.card-3 {
  bottom: 40px;
  right: -40px;
  animation-delay: 4s;
  z-index: 3;
}

.hero-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.image-wrapper:hover~.hero-cards {
  opacity: 0.2;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.card-icon.graph {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
}

.card-icon.avatar {
  background: var(--primary);
  color: white;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.card-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.card-stars {
  color: #ffd700;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

@keyframes float-card {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 968px) {
  .hero-cards {
    display: none;
  }
}

/* Services Section */
.services {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: var(--card-bg);
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: none;
  cursor: pointer;
  position: relative;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-image::after {
  opacity: 1;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: linear-gradient(180deg, var(--card-bg) 0%, var(--bg) 100%);
}

.service-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.service-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 1.05rem;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
  font-size: 1rem;
}

.service-card:hover .service-link {
  gap: 0.8rem;
  color: var(--primary-dark);
}

/* Service Modal */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
  padding: 20px;
}

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

.service-modal {
  background: var(--card-bg);
  width: 100%;
  max-width: 900px;
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s var(--ease-out-expo);
  border: none;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  max-height: 85vh;
}

.service-modal-overlay.active .service-modal {
  transform: scale(1) translateY(0);
}

.modal-image-col {
  position: relative;
  height: 100%;
  min-height: 300px;
}

.modal-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content-col {
  padding: 3rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.1);
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.modal-close-btn:hover {
  background: var(--text);
  color: var(--bg);
  transform: rotate(90deg);
}

.modal-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(41, 151, 255, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}

.modal-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--text);
}

.modal-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.modal-features {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 500;
}

.modal-features li svg {
  color: #00ff88;
  flex-shrink: 0;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 968px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .service-modal {
    grid-template-columns: 1fr;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
  }

  .modal-image-col {
    height: 180px;
    min-height: 180px;
    flex-shrink: 0;
  }

  .modal-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .modal-content-col {
    padding: 1.5rem;
  }

  .modal-tag {
    order: 1;
    margin-bottom: 0.5rem;
  }

  .modal-title {
    font-size: 1.75rem;
    order: 2;
    margin-bottom: 1rem;
  }

  /* Move Actions to top on mobile */
  .modal-actions {
    order: 3;
    margin-top: 0;
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .modal-actions .btn-primary {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0.8rem;
  }

  .modal-description {
    order: 4;
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .modal-features {
    order: 5;
    margin-bottom: 1rem;
  }
}

/* Testimonials */
.testimonials {
  padding: 120px 0;
  background: var(--bg-alt);
  overflow: hidden;
}

.testimonial-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-card {
  position: absolute;
  width: 400px;
  background: var(--card-bg);
  border: none;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card.left {
  transform: translateX(-450px) scale(0.85);
  opacity: 0.4;
  z-index: 1;
  filter: blur(2px);
  box-shadow: var(--shadow-sm);
}

.testimonial-card.center {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  border: none;
}

.testimonial-card.right {
  transform: translateX(450px) scale(0.85);
  opacity: 0.4;
  z-index: 1;
  filter: blur(2px);
  box-shadow: var(--shadow-sm);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.testimonial-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-info span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stars {
  color: #ffd700;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
}

.carousel-controls {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--text);
  color: var(--bg);
}

/* Mobile Carousel */
.mobile-carousel {
  display: none;
}

/* Contact Section styles moved to end of file */

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

.footer-social a {
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.1);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Chatbot Widget */
.chatbot-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: var(--shadow-lg);
}

.chat-window {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: 380px;
  height: 600px;
  background: var(--chat-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-window.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  padding: 20px;
  background: var(--chat-input-bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88;
}

.chat-close {
  background: transparent;
  border: none;
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s;
}

.chat-close:hover {
  background: rgba(128, 128, 128, 0.1);
}

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

.message {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.message.bot {
  background: var(--chat-bot-bg);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.message.user {
  background: var(--chat-user-bg);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: white;
  box-shadow: 0 5px 15px rgba(41, 151, 255, 0.3);
}

.message.typing {
  background: var(--chat-bot-bg);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 4px;
  padding: 16px;
  width: fit-content;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

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

.chat-input-area input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.2s;
}

.chat-input-area input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-alt);
}

.chat-input-area button {
  padding: 12px 20px;
  background: var(--primary);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.chat-input-area button:hover {
  transform: scale(1.05);
}





/* Assessment Section */
.assessment {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.assessment::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.assessment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.assessment-content {
  background: var(--card-bg);
  border-radius: 32px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: none;
}

.assessment-image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
  height: 100%;
  min-height: 500px;
}

.assessment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.assessment-image:hover img {
  transform: scale(1.03);
}

.assessment-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.assessment-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.assessment-form-wrapper {
  position: relative;
  z-index: 2;
}

.assessment-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.1);
}

.full-width {
  width: 100%;
}

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

  .assessment-image {
    order: -1;
    aspect-ratio: 16/9;
  }

  .assessment-content {
    padding: 2rem;
    text-align: center;
  }

  .assessment-subtitle {
    margin: 0 auto 2rem;
  }
}

/* Chatbot Tooltip */
.cb-tip {
  position: fixed;
  bottom: 100px;
  right: 90px;
  background: var(--card-bg);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  max-width: 280px;
}

.cb-tip.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cb-tip::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: -6px;
  width: 12px;
  height: 12px;
  background: var(--card-bg);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(-45deg);
}

/* Quiz Modal */
#quizOverlay {
  animation: fadeIn 0.3s ease forwards;
}

#quizModal {
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.quiz-btn:hover {
  transform: translateX(4px);
}

/* Contact Section - Premium Apple Style */
.contact {
  padding: 140px 0;
  background: var(--bg);
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 6rem;
  margin-top: 4rem;
  align-items: start;
}

.contact-col-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-col-right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-top: 1rem;
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  font-family: inherit;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  padding: 1.5rem 1.5rem 0.5rem;
}

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

.form-group input:hover,
.form-group textarea:hover {
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--bg);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.15);
}

.form-group label {
  position: absolute;
  left: 1.5rem;
  top: 1.2rem;
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left top;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
  transform: translateY(-0.6rem) scale(0.75);
  color: var(--primary);
  font-weight: 600;
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  background: var(--bg-alt);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.info-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  background: var(--card-bg);
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(41, 151, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-item:hover .info-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.info-content a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.info-content a:hover {
  color: var(--primary);
}

.info-item h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

.info-item p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
}

/* Map Container */
.map-container {
  margin-top: 4rem;
  border-radius: 24px;
  overflow: hidden;
  height: 350px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(100%) contrast(1.1);
  transition: all 0.5s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%) contrast(1);
}

/* Responsive */
@media (max-width: 968px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-col-right {
    /* Info first on mobile? Or keep form first? Let's keep form first usually, or info if it's contact details. Apple usually puts form then info or side by side. */
    order: 1;
    padding-top: 0;
  }

  .map-container {
    height: 300px;
    margin-top: 3rem;
  }
}

/* Team Section */
.team-section {
  padding: 120px 0;
  background: var(--bg-alt);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--card-bg);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.team-image-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease);
}

.team-card:hover .team-image-wrapper img {
  transform: scale(1.05);
}

.team-info {
  padding: 2rem;
  text-align: center;
}

.team-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.team-role {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.team-info p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1rem;
}

/* Join Team Section - Minimal Apple Style */
.join-team {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.join-content-wrapper {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.join-text h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.join-text p {
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

.join-action .btn-primary {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.join-action .btn-primary:hover {
  transform: scale(1.02);
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

/* Lead Gen Modal */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.lead-modal {
  background: var(--card-bg);
  width: 90%;
  max-width: 480px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
}

.lead-modal-overlay.active .lead-modal {
  transform: scale(1) translateY(0);
}

.lead-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.1);
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.lead-modal-close:hover {
  background: rgba(128, 128, 128, 0.2);
  color: var(--text);
}

.lead-modal-content {
  padding: 3rem 2.5rem;
}

.lead-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.lead-modal-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.lead-modal-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

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

.lead-form .form-group input {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 1rem;
}

.lead-form .form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.1);
}

/* Responsive Enhancements */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .image-wrapper {
    max-width: 100%;
    aspect-ratio: 16/9;
  }

  .hero-cards {
    display: none;
    /* Hide floating cards on tablet/mobile to reduce clutter */
  }
}

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

  .hero {
    padding-top: 140px;
    /* Increased padding */
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 2.5rem;
    /* Slightly smaller title */
    margin-bottom: 1rem;
  }

  .hero-container {
    gap: 2rem;
  }

  .image-wrapper {
    max-width: 100%;
    aspect-ratio: 16/10;
    /* Keep aspect ratio consistent */
    margin-top: 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Assessment - Mobile Redesign */
  .assessment-grid {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0071e3 0%, #00c6fb 100%);
    /* Premium Blue Gradient */
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: none;
    padding: 3rem 1.5rem;
    text-align: center;
  }

  [data-theme="dark"] .assessment-grid {
    background: linear-gradient(135deg, #003366 0%, #005bb5 100%);
  }

  .assessment-image {
    display: none;
    /* Hide image on mobile for cleaner look */
  }

  .assessment-content {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: white;
  }

  .assessment-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .assessment-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
  }

  .assessment-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .assessment-form input {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
  }

  .assessment-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }

  .assessment-form input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
  }

  .assessment-form .btn-primary {
    background: white;
    color: #0071e3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .assessment-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: white;
    color: #005bb5;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .team-image-wrapper {
    height: 300px;
  }

  /* Join Team */
  .join-content-wrapper {
    padding: 3rem 1.5rem;
  }

  .join-text h2 {
    font-size: 2rem;
  }

  /* Contact */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-col-right {
    order: -1;
    /* Info first on mobile */
  }

  .map-container {
    height: 300px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  /* Modal */
  .lead-modal {
    width: 95%;
    padding: 2rem;
  }

  .lead-modal-content {
    padding: 2rem 1.5rem;
  }
}

/* Info Modals (About & Resources) */
.info-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
  padding: 20px;
}

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

.info-modal {
  background: var(--card-bg);
  width: 100%;
  max-width: 700px;
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s var(--ease-out-expo);
  border: none;
  overflow-y: auto;
  max-height: 85vh;
  padding: 3rem;
}

.info-modal-overlay.active .info-modal {
  transform: scale(1) translateY(0);
}

.info-modal h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 700;
}

.info-modal h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--text);
  font-weight: 600;
}

.info-modal p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Search Overlay Styles - Premium Detached Design */
.nav-search-btn {
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: 8px;
}

.nav-search-btn:hover {
  background: rgba(128, 128, 128, 0.1);
  transform: scale(1.1) rotate(5deg);
  color: var(--primary);
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 15vh;
}

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

.search-wrapper {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 20px;
  perspective: 1000px;
}

/* Floating Input Bar */
.search-bar {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 24px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 20px 40px -10px rgba(0, 0, 0, 0.4);
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .search-bar {
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.search-overlay.active .search-bar {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.search-icon {
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text);
  outline: none;
  font-weight: 500;
  height: 100%;
}

.search-bar input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Floating Shortcuts */
.search-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shortcut-pill {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(128, 128, 128, 0.1);
  padding: 4px 10px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

[data-theme="light"] .shortcut-pill {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.shortcut-pill kbd {
  font-family: inherit;
  background: var(--card-bg);
  padding: 2px 6px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: var(--text);
}

/* Detached Results Container */
.search-results-container {
  display: none;
  /* Hidden by default until results exist */
  flex-direction: column;
  gap: 12px;
  transform-origin: top center;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.search-results-container.has-results {
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-results {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  padding: 12px;
  max-height: 50vh;
  overflow-y: auto;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .search-results {
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.search-result-item {
  padding: 16px 20px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.search-result-item:hover {
  background: var(--primary);
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(41, 151, 255, 0.25);
}

.search-result-item:hover .search-result-title,
.search-result-item:hover .search-result-snippet,
.search-result-item:hover .search-result-type {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.search-result-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-result-type {
  font-size: 0.7em;
  color: var(--text-muted);
  background: rgba(128, 128, 128, 0.1);
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  transition: all 0.2s ease;
}

.search-result-snippet {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.search-helper {
  display: flex;
  justify-content: flex-end;
  padding: 0 8px;
}

/* No Results State */
.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.no-results-icon {
  width: 64px;
  height: 64px;
  color: var(--primary);
  opacity: 0.8;
  filter: drop-shadow(0 0 20px rgba(41, 151, 255, 0.4));
}

.ai-prompt {
  margin-top: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(41, 151, 255, 0.1), rgba(41, 151, 255, 0.05));
  border: 1px solid rgba(41, 151, 255, 0.2);
  border-radius: 16px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ai-prompt:hover {
  background: linear-gradient(135deg, rgba(41, 151, 255, 0.2), rgba(41, 151, 255, 0.1));
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(41, 151, 255, 0.15);
}

/* Custom Scrollbar */
.search-results::-webkit-scrollbar {
  width: 6px;
}

.search-results::-webkit-scrollbar-track {
  background: transparent;
}

/* Premium Country Switch */
.country-switch {
  position: relative;
  display: flex;
  background: rgba(128, 128, 128, 0.1);
  border-radius: 99px;
  padding: 4px;
  margin-left: 8px;
  border: 1px solid rgba(128, 128, 128, 0.1);
  cursor: pointer;
}

.switch-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
  border-radius: 99px;
  position: relative;
}

.switch-btn.active {
  color: var(--text);
}

.switch-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--card-bg);
  border-radius: 99px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slider Positions */
.country-switch[data-active="CA"] .switch-slider {
  transform: translateX(0);
}

.country-switch[data-active="US"] .switch-slider {
  transform: translateX(100%);
}

.search-highlight {
  background: rgba(41, 151, 255, 0.3);
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
  font-weight: inherit;
}

/* Hero Search Bar - Premium Apple Style */
.hero-search-container {
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 560px;
  position: relative;
  z-index: 10;
}

.hero-search-input {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: text;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .hero-search-input {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow:
    0 10px 30px -10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-search-input:hover {
  transform: translateY(-2px) scale(1.01);
  background: rgba(30, 41, 59, 0.8);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(41, 151, 255, 0.3);
}

[data-theme="light"] .hero-search-input:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 113, 227, 0.2);
}

.hero-search-input .search-icon {
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.hero-search-input:hover .search-icon {
  color: var(--primary);
}

.typing-text {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  letter-spacing: -0.01em;
  padding-right: 0;
  margin-right: 0;
}

.typing-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 1.2rem;
  min-height: 1.5em;
}

.cursor {
  display: inline-block;
  width: 2px;
  background-color: var(--primary);
  animation: blink 1s step-end infinite;
  margin-left: 0;
  height: 1.2em;
  vertical-align: -0.2em;
}

@keyframes blink {

  from,
  to {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}