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

:root {
  --color-bg-main: #FAFAFA;
  --color-bg-alt: #F3F4F6;
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #4B5563;
  --color-text-muted: #9CA3AF;
  --color-border: rgba(255, 255, 255, 0.6);
  --color-card-bg: rgba(255, 255, 255, 0.65);
  
  --color-primary: #2563EB;
  --color-primary-light: #EFF6FF;
  --color-accent-dark: #111827;
  --color-accent-blue: #2563EB;
  --color-success: #10B981;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-base: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section: clamp(60px, 8vw, 100px);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-float: 0 20px 40px rgba(0,0,0,0.1);
}

/* Custom Cursor Hide */
body.has-custom-cursor {
  cursor: none;
}
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor textarea,
body.has-custom-cursor .magnetic {
  cursor: none;
}

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

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background-color: var(--color-bg-main);
  color: var(--color-text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Glassmorphism Background Orbs */
body::before, body::after {
  content: '';
  position: fixed;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -2;
  opacity: 0.6;
  pointer-events: none;
}
body::before {
  top: -10vw;
  left: -10vw;
  background: rgba(37, 99, 235, 0.15);
}
body::after {
  bottom: -10vw;
  right: -10vw;
  background: rgba(139, 92, 246, 0.15);
}

/* Progress Bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--color-success);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Custom Cursor Styles */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background-color: var(--color-accent-dark);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.2s ease, background-color 0.2s ease, width 0.2s ease, height 0.2s ease;
  display: none; /* Shown via JS if not mobile */
}

#custom-cursor.expand {
  width: 48px;
  height: 48px;
  background-color: var(--color-success);
  opacity: 0.5;
}

#custom-cursor.expand {
  width: 48px;
  height: 48px;
  background-color: var(--color-success);
  opacity: 0.5;
}

/* Fluid Typography */
h1, h2, h3, h4 { color: var(--color-text-primary); letter-spacing: -0.02em; }
h1 { 
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: var(--space-base); 
  background: linear-gradient(135deg, #111827 0%, #2563EB 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: var(--space-base); }
h3 { font-size: clamp(1.1rem, 2vw, 1.25rem); font-weight: 600; margin-bottom: var(--space-sm); }
p { color: var(--color-text-secondary); font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.6; }
.text-muted { color: var(--color-text-muted); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-section) 0; }
.section-bg-alt { background: linear-gradient(180deg, var(--color-bg-main) 0%, var(--color-bg-alt) 100%); }
.text-center { text-align: center; }
.section-header { max-width: 700px; margin: 0 auto var(--space-xxl); }

/* Buttons & Micro-interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  will-change: transform;
}

.btn:active {
  transform: scale(0.95) !important;
}

.btn-primary { background: linear-gradient(135deg, var(--color-primary) 0%, #1D4ED8 100%); color: #FFF; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2); }
.btn-primary:hover { background: linear-gradient(135deg, #1D4ED8 0%, #1E3A8A 100%); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--color-text-primary); border: 1px solid var(--color-border); }
.btn-secondary:hover { background-color: var(--color-bg-alt); }
.btn-success { background-color: var(--color-success); color: #FFF; }
.btn-success:hover { background-color: #15803d; }

/* Header & Glassmorphism */
.header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  padding: 12px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.header.scrolled { 
  top: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); 
  background-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(200, 200, 200, 0.3);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.25rem; font-weight: 700; color: var(--color-text-primary); text-decoration: none; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: var(--space-lg); align-items: center; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--color-text-primary); font-weight: 500; font-size: 0.95rem; transition: color 0.2s ease; }
.nav-links a:not(.btn):hover { color: var(--color-text-muted); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-text-primary); }

/* Glassmorphism utility */
.glass-effect {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Animations (Reveal & Skeleton & Shake) */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}
@keyframes loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.shake {
  animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* Hero Section */
.hero { 
  padding: 100px 0 120px; 
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=2564&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(250,250,250,0.85) 0%, rgba(250,250,250,0.98) 100%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xxl); align-items: center; }
.hero-content p { margin-bottom: var(--space-xl); font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
.hero-ctas { display: flex; gap: var(--space-base); }
.hero-visual { position: relative; width: 100%; }

.browser-mockup {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: #000;
}
.browser-header {
  height: 40px; background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; padding: 0 var(--space-base); gap: 6px;
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); }
.browser-dot:nth-child(1) { background: #ff5f56; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #27c93f; }
.browser-body { height: 400px; position: relative; overflow: hidden; }
.browser-body video { width: 100%; height: 100%; object-fit: cover; }

.floating-card {
  position: absolute; padding: var(--space-base); border-radius: var(--radius-md);
  box-shadow: var(--shadow-float); display: flex; align-items: center; gap: var(--space-sm);
  z-index: 3; animation: float 6s ease-in-out infinite;
}
.fc-1 { top: -20px; left: -40px; animation-delay: 0s; }
.fc-2 { bottom: 40px; right: -30px; animation-delay: -2s; }
.fc-3 { bottom: -30px; left: 20px; animation-delay: -4s; }
.floating-card svg { width: 24px; height: 24px; color: var(--color-success); }
.floating-card span { font-weight: 600; font-size: 0.9rem; color: var(--color-text-primary); }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }

/* Trust Strip & Counters */
.trust-strip { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: var(--space-lg) 0; background: var(--color-bg-alt); }
.trust-content { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--space-md); color: var(--color-text-muted); font-weight: 500; font-size: 0.95rem; margin-bottom: var(--space-md); }
.trust-dot { font-size: 1.2rem; line-height: 0; }

.counters-grid { display: flex; justify-content: center; gap: var(--space-xxl); padding-top: var(--space-md); }
.counter-item { text-align: center; }
.counter-item h3 { font-size: 2.5rem; color: var(--color-primary); font-weight: 800; margin-bottom: 4px; }
.counter-item p { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-secondary); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-lg); }
.service-card { background: var(--color-card-bg); backdrop-filter: blur(24px); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-xl); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 8px 32px rgba(0,0,0,0.04); }
.service-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12); border-color: rgba(255, 255, 255, 0.8); }
.service-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--color-primary-light) 0%, #E0E7FF 100%); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-lg); color: var(--color-primary); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1); }
.service-icon svg { color: var(--color-primary) !important; width: 28px; height: 28px; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--space-xl); }
.portfolio-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-card-bg); backdrop-filter: blur(24px); border: 1px solid var(--color-border); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 8px 32px rgba(0,0,0,0.04); }
.portfolio-card:hover { box-shadow: 0 24px 48px rgba(37, 99, 235, 0.12); transform: translateY(-8px) scale(1.02); border-color: rgba(255, 255, 255, 0.8); }
.portfolio-browser { height: 240px; border-bottom: 1px solid var(--color-border); background-size: cover; background-position: top; }
.pb-1 { background-image: url('assets/portfolio/portfolio_dental.png'); }
.pb-2 { background-image: url('assets/portfolio/portfolio_academy.png'); }
.pb-3 { background-image: url('assets/portfolio/portfolio_architecture.png'); }
.pb-4 { background-image: url('assets/portfolio/portfolio_cafe.png'); }
.pb-5 { background-image: url('assets/portfolio/portfolio_design.png'); }
.pb-6 { background-image: url('assets/portfolio/portfolio_finance.png'); }
.pb-7 { background-image: url('assets/portfolio/portfolio_legal.png'); }
.pb-8 { background-image: url('assets/portfolio/portfolio_automotive.png'); }
.pb-9 { background-image: url('assets/portfolio/portfolio_wellness.png'); }
.portfolio-label { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, 0.9); padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; border: 1px solid var(--color-border); z-index: 2; }
.portfolio-content { padding: var(--space-lg); }

/* Interactive Before / After Slider */
.ba-slider-container {
  position: relative; width: 100%; max-width: 900px; margin: 0 auto; height: 400px;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-md);
  user-select: none;
}
.ba-image {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.after-img { background-color: var(--color-bg-alt); }
.before-img { background-color: #f3f4f6; width: 50%; overflow: hidden; border-right: 2px solid #FFF; }
.ba-overlay-card {
  width: 300px; background: #fff; padding: var(--space-xl); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); pointer-events: none;
}
.ba-overlay-card.before { position: absolute; left: 50px; }
.ba-overlay-card.after { position: absolute; right: 50px; border: 1px solid var(--color-success); }
.ba-title { font-weight: 600; margin-bottom: var(--space-base); display: flex; align-items: center; gap: var(--space-sm); }
.ba-title span { padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.8rem; background: var(--color-bg-alt); }
.ba-overlay-card.after .ba-title span { background: #DCFCE7; color: var(--color-success); }
.ba-list { list-style: none; }
.ba-list li { display: flex; align-items: flex-start; gap: var(--space-sm); margin-bottom: var(--space-sm); font-size: 0.9rem; color: var(--color-text-secondary); }
.ba-list li svg { width: 18px; height: 18px; margin-top: 2px; }
.ba-overlay-card.before .ba-list li svg { color: #EF4444; }
.ba-overlay-card.after .ba-list li svg { color: var(--color-success); }

.ba-slider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 40px;
  margin-left: -20px; background: rgba(0,0,0,0); cursor: ew-resize;
  display: flex; align-items: center; justify-content: center; z-index: 10;
}
.ba-slider::before {
  content: ''; position: absolute; width: 40px; height: 40px; background: var(--color-accent-dark);
  border-radius: 50%; display: block; border: 3px solid #FFF; box-shadow: var(--shadow-md);
}
.ba-slider svg { position: relative; z-index: 11; pointer-events: none; width: 16px; margin: -2px; }

/* Testimonial Carousel */
.carousel-container { width: 100%; overflow: hidden; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  gap: var(--space-lg); padding-bottom: var(--space-lg);
}
.carousel-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  min-width: 300px; max-width: 400px; flex: 0 0 80%; scroll-snap-align: center;
  background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-xl);
}
.testimonial-card p { font-style: italic; font-size: 1.1rem; color: var(--color-text-primary); margin-bottom: var(--space-md); }
.testimonial-card h4 { font-size: 0.9rem; color: var(--color-text-muted); }

/* Process */
.process-timeline { display: flex; justify-content: space-between; position: relative; gap: var(--space-lg); }
.process-timeline::before { content: ''; position: absolute; top: 24px; left: 0; right: 0; height: 2px; background: var(--color-border); z-index: 1; }
.process-step { position: relative; z-index: 2; flex: 1; }
.step-number { width: 48px; height: 48px; background: var(--color-bg-main); border: 2px solid var(--color-accent-dark); color: var(--color-accent-dark); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; margin-bottom: var(--space-base); }

/* Solutions */
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-lg); }
.solution-card { background: var(--color-card-bg); backdrop-filter: blur(24px); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-xl); display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 8px 32px rgba(0,0,0,0.04); }
.solution-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12); }
.solution-card.featured { border-color: var(--color-primary); box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15); position: relative; }
.featured-label { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-accent-dark); color: #FFF; padding: 4px 16px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-xxl); }
.contact-info { background: var(--color-card-bg); backdrop-filter: blur(24px); border: 1px solid var(--color-border); padding: var(--space-xl); border-radius: var(--radius-lg); box-shadow: 0 8px 32px rgba(0,0,0,0.04); }
.contact-item { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-lg); }
.contact-item-icon { width: 40px; height: 40px; background: #FFF; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; color: var(--color-accent-dark); box-shadow: var(--shadow-sm); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-base); }
.form-group.full { grid-column: span 2; }
.form-label { display: block; font-weight: 500; margin-bottom: var(--space-xs); font-size: 0.95rem; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form-control:focus { outline: none; border-color: var(--color-accent-dark); box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Chatbot UI / Floating Quick Contact */
.chatbot-trigger {
  position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px;
  background: var(--color-accent-dark); border-radius: 50%; border: none;
  box-shadow: var(--shadow-lg); cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 999; transition: transform 0.3s ease;
}
.chatbot-trigger:hover { transform: scale(1.05); }

.chatbot-container {
  position: fixed; bottom: 100px; right: 24px; width: 320px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  z-index: 1000; display: none; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(20px); transition: all 0.3s ease;
}
.chatbot-container.open { display: flex; opacity: 1; transform: translateY(0); }
.chatbot-header { background: var(--color-accent-dark); color: #FFF; padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.chatbot-header h4 { color: #FFF; font-size: 1rem; margin: 0; }
.chatbot-header button { background: none; border: none; color: #FFF; font-size: 1.5rem; cursor: pointer; }
.chatbot-body { padding: 24px 16px; min-height: 150px; max-height: 350px; overflow-y: auto; display: flex; flex-direction: column; }
.chat-message.received { background: var(--color-bg-alt); padding: 12px; border-radius: 12px; border-bottom-left-radius: 2px; font-size: 0.95rem; display: inline-block; max-width: 85%; margin-bottom: 8px; }
.chat-message.sent { background: var(--color-accent-dark); color: #FFF; padding: 12px; border-radius: 12px; border-bottom-right-radius: 2px; font-size: 0.95rem; display: inline-block; max-width: 85%; margin-bottom: 8px; align-self: flex-end; }
.chat-opt-btn { font-size: 0.85rem; padding: 10px 14px; text-align: left; border: 1px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-card-bg); color: var(--color-text-primary); cursor: pointer; transition: all 0.2s ease; font-weight: 500; }
.chat-opt-btn:hover { background: var(--color-bg-alt); }
.chatbot-footer { padding: 16px; border-top: 1px solid var(--color-border); }

/* Footer */
.footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); padding: var(--space-xxl) 0 var(--space-xl); }
.footer-grid { display: flex; justify-content: space-between; gap: var(--space-xl); }
.footer h4 { font-size: 1rem; margin-bottom: var(--space-base); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: var(--space-sm); }
.footer ul a { text-decoration: none; color: var(--color-text-secondary); transition: color 0.2s ease; }
.footer ul a:hover { color: var(--color-text-primary); }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .ba-container, .contact-grid { grid-template-columns: 1fr; }
  .process-timeline { flex-direction: column; }
  .process-timeline::before { left: 24px; top: 0; bottom: 0; width: 2px; height: auto; }
  .process-step { padding-left: var(--space-section); }
  .step-number { position: absolute; left: 0; top: 0; }
  .ba-overlay-card { width: auto; max-width: 200px; padding: var(--space-md); }
  .ba-overlay-card.before { left: 10px; }
  .ba-overlay-card.after { right: 10px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #FFF; padding: var(--space-lg); box-shadow: var(--shadow-md); border-bottom: 1px solid var(--color-border); }
  .mobile-toggle { display: block; }
  .form-group { grid-column: span 2; }
  .floating-card { display: none; }
  .ba-slider-container { height: 300px; }
  .ba-list { display: none; } /* Hide list on mobile to save space */
  .chatbot-container { width: calc(100% - 48px); right: 24px; bottom: 90px; }
}

/* Magnetic Button Hitbox Fix */
.magnetic {
  position: relative;
}
.magnetic::after {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  z-index: -1;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-main);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Beautiful Focus States */
*:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .form-control:focus-visible {
  outline-offset: 2px;
  border-radius: inherit;
}
