:root {
  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.12);
  --rose: #e11d48;
  --rose-glow: rgba(225, 29, 72, 0.15);
  --gold: #d97706;
  --gold-glow: rgba(217, 119, 6, 0.15);
  --blue: #2563eb;
  --blue-glow: rgba(37, 99, 235, 0.15);
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(226, 232, 240, 0.8);
  --surface: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --google-blue: #4285f4;
  --google-red: #ea4335;
  --google-yellow: #fbbc05;
  --google-green: #34a853;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #f8fafc;
  padding-bottom: 75px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

/* Accessibility & SEO utility for hidden headings */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar {
  width: min(1180px, calc(100% - 16px));
  min-height: 32px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: max-content;
}

.brand-mark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.brand:hover .brand-mark {
  transform: scale(1.02);
}

.brand-sub {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  border-left: 1px solid var(--line);
  padding-left: 4px;
}

.b-blue { color: var(--primary); }
.b-red { color: var(--rose); }
.b-yellow { color: var(--gold); }
.b-green { color: #10b981; }

.search-box {
  flex: 1;
  max-width: 200px;
}

.search-box input {
  width: 100%;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--ink);
  font-size: 11px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.12);
  background: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}

.nav-links a {
  color: #475569;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.admin-link {
  color: var(--primary) !important;
}

.nav-cta {
  border: 0;
  border-radius: 999px;
  min-height: 24px;
  padding: 0 10px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 11px;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
  background: #4338ca;
}

.menu-toggle {
  display: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
}

.menu-toggle span {
  display: block;
  width: 10px;
  height: 1.5px;
  margin: 2px auto;
  background: var(--ink);
}

.marquee {
  background: #0f172a;
  border-bottom: 2px solid #f59e0b;
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-text {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: 0.5px;
  animation: marqueeScroll 25s linear infinite;
  padding-left: 100%;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 60px 0 54px;
  text-align: center;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--google-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 28px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.3s ease;
}

.primary-btn {
  color: #fff;
  background: var(--google-blue);
  box-shadow: 0 10px 24px rgba(66, 133, 244, 0.28);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(66, 133, 244, 0.35);
  background: #3b78e7;
}

.secondary-btn {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(32, 33, 36, 0.12);
  border-color: var(--google-blue);
  color: var(--google-blue);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.proof-row strong {
  color: var(--ink);
  font-size: 20px;
}

.service-band {
  padding: 2px max(8px, calc((100vw - 1180px) / 2)) 2px;
  background: radial-gradient(circle at 50% 0%, #f8fafc, #f1f5f9);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: auto;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-6px) scale(1.005);
}

/* Category Specific Hover Glows */
.service-card:nth-child(1):hover {
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.08), 0 0 0 1px rgba(225, 29, 72, 0.12);
}
.service-card:nth-child(2):hover {
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.08), 0 0 0 1px rgba(217, 119, 6, 0.12);
}
.service-card:nth-child(3):hover {
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  flex-shrink: 0;
  overflow: hidden;
  background: #000;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: auto;
}

.card-overlay {
  position: relative;
  z-index: 2;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
  background: #ffffff;
  color: var(--ink);
  pointer-events: auto;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.badge.red { background: var(--rose-glow); color: var(--rose); border: 1px solid rgba(225,29,72,0.15); }
.badge.yellow { background: var(--gold-glow); color: var(--gold); border: 1px solid rgba(217,119,6,0.15); }
.badge.blue { background: var(--blue-glow); color: var(--blue); border: 1px solid rgba(37,99,235,0.15); }

.card-overlay h3 {
  margin: 0 0 2px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: var(--ink);
}

.card-overlay p {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
}

.card-btn {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--ink);
  font-weight: 700;
  font-size: 11px;
  border: 1px solid var(--line);
  width: fit-content;
  pointer-events: auto;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-btn:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
  border-color: var(--ink);
}

.process-section {
  padding: 80px max(16px, calc((100vw - 1180px) / 2));
  background: #fff;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
  transition: background 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.process-step:last-child {
  border-right: 0;
}

.process-step:hover {
  background: var(--soft-blue);
  transform: scale(1.02);
}

.process-step span {
  color: var(--google-blue);
  font-size: 14px;
  font-weight: 800;
}

.process-step strong {
  display: block;
  margin-top: 16px;
  font-size: 20px;
}

.process-step p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.packages-section {
  padding: 80px max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(90deg, rgba(66,133,244,0.06), rgba(234,67,53,0.06), rgba(251,188,5,0.1), rgba(52,168,83,0.06)), #fff;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.quick-action:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(32, 33, 36, 0.1);
  border-color: transparent;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.dot.blue { background: var(--google-blue); }
.dot.red { background: var(--google-red); }
.dot.yellow { background: var(--google-yellow); }
.dot.green { background: var(--google-green); }

.contact-section {
  padding: 80px max(16px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 420px);
  gap: 48px;
  align-items: start;
}

.contact-section h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.12;
}

.contact-section p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  color: var(--google-blue);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(60, 64, 67, 0.1);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #3c4043;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--google-blue);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form button {
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: var(--google-blue);
  box-shadow: 0 10px 24px rgba(66, 133, 244, 0.28);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(66, 133, 244, 0.35);
  background: #3b78e7;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px max(16px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  background: #ffffff;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.footer span {
  white-space: nowrap;
}

.bottom-dock {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, calc(100% - 32px));
  z-index: 40;
  display: flex;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  padding: 5px;
  gap: 4px;
}

.dock-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 999px;
  gap: 6px;
}

.dock-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.dock-btn:first-child {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.dock-btn:first-child:hover {
  background: #4338ca;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.45);
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(32, 33, 36, 0.5);
}

.popup.is-open {
  display: flex;
}

.popup-box {
  position: relative;
  width: min(100%, 400px);
  padding: 28px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(32, 33, 36, 0.2);
}

.close-popup {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.close-popup:hover {
  background: var(--soft-red);
  transform: rotate(90deg);
}

.popup-box h2 {
  margin: 0 0 20px;
  font-size: 24px;
}

.popup-box form {
  display: grid;
  gap: 12px;
}

.popup-box input,
.popup-box select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
}

.submit-btn {
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: var(--google-blue);
  box-shadow: 0 10px 24px rgba(66, 133, 244, 0.28);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(66, 133, 244, 0.35);
  background: #3b78e7;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(32, 33, 36, 0.46);
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(100%, 420px);
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin: 0;
  font-size: 28px;
}

.modal-panel p {
  margin: 8px 0 18px;
  color: var(--muted);
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.close-modal:hover {
  background: var(--soft-red);
  transform: rotate(90deg);
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 6px;
  color: #3c4043;
  font-size: 13px;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
}

.remember input {
  width: 16px;
  min-height: 16px;
}

.login-form button {
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: var(--google-blue);
  box-shadow: 0 10px 24px rgba(66, 133, 244, 0.28);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.3s ease;
}

.login-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(66, 133, 244, 0.35);
  background: #3b78e7;
}

.login-form a {
  color: var(--google-blue);
  font-weight: 800;
  text-align: center;
  font-size: 14px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-36px);
}

[data-reveal="left"].is-visible {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(36px);
}

[data-reveal="right"].is-visible {
  transform: translateX(0);
}

[data-reveal="up"].is-visible {
  transform: translateY(0);
}

@media (max-width: 980px) {
  body {
    padding-top: 48px !important;
  }

  .marquee {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }

  .search-box {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-cta {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .hero {
    padding: 44px 0 40px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin: 0 auto;
    gap: 8px;
  }

  .service-card {
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: unset;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.5);
    margin-bottom: 0px;
  }

  .service-card:nth-child(3) {
    grid-column: span 2;
  }

  .video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #000;
  }

  .video-wrap iframe {
    pointer-events: auto;
  }

  .card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: #fff;
    pointer-events: none;
  }

  .badge {
    display: inline-block !important;
    padding: 2px 6px;
    font-size: 8px;
    margin-bottom: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .card-overlay h3 {
    font-size: 14px;
    margin: 0 0 2px;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  }

  .card-overlay p {
    display: none !important;
  }

  .card-btn {
    pointer-events: auto;
    display: inline-block;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
    background: var(--primary);
    color: #fff !important;
    border: none;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
    width: auto;
    text-align: center;
    margin-top: 2px;
    transition: all 0.2s ease;
  }

  .card-btn:hover {
    background: #4338ca;
    transform: translateY(-1px);
  }

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

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .navbar {
    min-height: 32px;
    width: min(100% - 16px, 1180px);
  }

  .brand {
    gap: 4px;
  }

  .brand-sub {
    display: none;
  }

  .service-band {
    padding: 0 !important;
  }

  .service-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .service-card {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
  }

  .service-card:nth-child(3) {
    grid-column: span 1 !important;
  }

  .process-section,
  .packages-section,
  .contact-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .process-track,
  .quick-actions {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .section-heading,
  .section-heading.left {
    text-align: left;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 10px 16px;
  }

  .footer-links {
    justify-content: center;
    gap: 12px;
  }
}


/* Header ko ek jagah fix karne ke liye */
header, .site-header, #header {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 9999; /* Isse header baki contents ke upar dikhega */
    background-color: #ffffff; /* Background color set karein taki transparent na dikhe */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: Thoda shadow dene ke liye */
}

/* Header fix hone par content thoda niche shift karne ke liye taki header ke piche na chupe */
body {
    padding-top: 72px; /* Is value ko apne header ki height ke hisab se adjust karein */
}

/* TruSof AI Chat Widget Styles */
.ai-chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: "Outfit", "Inter", sans-serif;
}

.chat-toggle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-toggle-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

.chat-badge-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #fff;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 400px; /* Reduced from 480px */
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: none;
  flex-direction: column;
  overflow: visible; /* Changed from hidden to allow floating close button */
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.chat-window.is-open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.chat-header {
  background: #0f172a;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #f59e0b;
  border-top-left-radius: 15px; /* Clip corners manually */
  border-top-right-radius: 15px;
}

.chat-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark-sm {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.chat-header-status {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.chat-bot-name {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.chat-online-indicator {
  color: #10b981;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-online-indicator::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.chat-close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  color: #64748b;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  z-index: 10005;
  transition: all 0.2s ease;
}

.chat-close-btn:hover {
  background: #ea4335;
  color: #fff;
  border-color: #ea4335;
  transform: scale(1.1);
}

.chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.chat-message.user {
  align-self: flex-end;
}

.chat-message.bot {
  align-self: flex-start;
}

.message-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 550;
  word-wrap: break-word;
}

.chat-message.user .message-bubble {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 2px;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.15);
}

.chat-message.bot .message-bubble {
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 2px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.chat-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.chat-footer form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-footer input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 12px;
  outline: none;
  background: #f1f5f9;
  transition: all 0.25s ease;
}

.chat-footer input:focus {
  background: #fff;
  border-color: var(--primary);
}

.chat-footer button {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.chat-footer button:hover {
  background: #4338ca;
  transform: scale(1.05);
}

.typing-indicator {
  display: flex;
  gap: 3px;
  padding: 6px 12px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  animation: typingBounce 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; }
.typing-dot:nth-child(3) { animation-delay: -0.08s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

@media (max-width: 640px) {
  .ai-chat-widget {
    bottom: 74px;
    right: 16px;
  }
  .refresh-btn span {
    display: none;
  }
  .refresh-btn {
    width: 28px;
    height: 28px;
    border-radius: 50% !important;
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
  .chat-window {
    width: calc(100vw - 32px);
    height: 380px; /* Compact height to ensure header remains visible */
    bottom: 70px;
    right: 0;
  }
  .chat-close-btn {
    top: 10px !important;
    right: 10px !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 18px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }
  .chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
  }
}

/* Hard Refresh Button Styles */
.refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s ease;
  margin-left: auto; /* Push to the right next to menu toggle */
}

.refresh-btn:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
  color: var(--primary);
}

.refresh-btn svg {
  display: inline-block;
  vertical-align: middle;
}

/* Ensure Tanu's avatar and chat button are perfect circles */
.chat-toggle-btn img,
.chat-avatar-wrap img {
  border-radius: 50%;
}